Show HN: Truss – Serve any ML model without boilerplate code
github.com
github.com
For instance in a Rails app the ML model services would probably be served as a completely external service API generated with something like Truss wrapped in a service class that just exposes the outputs and handles errors/input validation!
What I like about it is their idiomatic developer experience. It reminds me of other Pythonic frameworks like Flask and Django in a good way.
I have no affiliation with them whatsoever, just an admirer.
context: I am one of the contributors
Worth looking into if you’ve done any engineering work around deploying ML models as a or within a service.
Take a look at `{truss_name}/model/model.py` to add the code.
Please open up an issue or PR if you think we can improve on the documentation!
MLFlow is awesome; it's powerful and flexible and extends through multiple valuable portions of the ML cycle.
Truss aims to be simpler to use in both straightforward and complex cases, requiring fewer lines of code but more importantly coming in later in the modeling process. Truss is opinionated and focused.
But interoperability is important to us and we are looking into ways to connect Truss and MLFlow.