ONNX: The Open Standard for Seamless Machine Learning Interoperability
github.com
github.com
Had the joy of playing around with TFLite, Pytorch Mobile, GGML for work and nothing came close to ONNX in terms of stability across a wide array of devices.
Also, model conversions are a breeze.
Shameless self promotion here but I wrote a little bit about calling Onnx in Scala here - https://tajd.co.uk/2023/10/15/onnx-interface-scala
Not, I think, for any reason that's inherent to what those components are doing; a lot of it's just that much of the existing Python ML ecosystem was not engineered with robust productionization in mind. Possibly because the very existence of Pickle means everyone has an easy (if horrifying) way to get the job done for 0 effort. As the sklearn maintainers remind people every time they close an issue that asks for it, robust and secure model serialization is something that would have had to have been designed into the project from day 1, and doing it now would essentially require a rewrite.
https://checkoway.net/musings/pickle/
If you want in on the fun.