[scikit-learn] Recommended way of distributing persisted models so they work on different architectures

Joel Nothman joel.nothman at gmail.com
Tue Jan 28 07:12:05 EST 2020


Yes, ONNX is an appropriate solution when exporting models for prediction.
See http://scikit-learn.org/stable/modules/model_persistence.html

On Tue, 28 Jan 2020 at 23:03, Christopher.samiullah via scikit-learn <
scikit-learn at python.org> wrote:

> Dear admins,
>
>
> I recently encountered an issue attempting to load a model persisted via
> joblib dump on different Python architectures. I wrote up the issue here on
> stackoverflow:
>
> https://stackoverflow.com/questions/59927368/how-to-distribute-sklearn-models-so-that-they-work-on-different-architectures?noredirect=1#59927368
>
> I wondered if there was a recommended approach to mitigate this issue? I
> see there is sklearn-onyx (https://github.com/onnx/sklearn-onnx) is that
> something you would advise?
>
> Any help would be greatly appreciated.
>
> Kind regards,
> Chris
>
> p.s. Apologies if this is a resend, I wasn't signed up to the list when I
> sent previously.
>
>
>
> Sent with ProtonMail <https://protonmail.com> Secure Email.
>
>
> _______________________________________________
> scikit-learn mailing list
> scikit-learn at python.org
> https://mail.python.org/mailman/listinfo/scikit-learn
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/scikit-learn/attachments/20200128/ed2ca78e/attachment-0001.html>


More information about the scikit-learn mailing list