Make it for Go, and I am sold. Running ML models in Go services is still an unsolved problem.
This was tensorflow btw which has Go bindings support.
It is a smart & worthwhile move, we also needed to drop python for performance/cost gains.
Actually the docs around this weren’t great. Took the train-in-python & inference-in-go approach. And only for versions greater than tf2
In general writing pure Go inference libraries sucks. Not easy to do array/vector manipulation, not easy to do SIMD/CUDA acceleration, cgo is not go, etc. I wrote a fast XGBoost library at least (https://github.com/stillmatic/arboreal) - it's on par with C implementations, but doing anything more complex is going to be tricky.