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@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 Secure Email.


_______________________________________________
scikit-learn mailing list
scikit-learn@python.org
https://mail.python.org/mailman/listinfo/scikit-learn