HNHacker News
TopNewBestAskShowJobs

chaoyu_

5 karma · joined June 18, 2015

submissionscomments
chaoyu_··on Ask HN: What do you use for ML Hosting?
Check out BentoML https://github.com/bentoml
chaoyu_··on Breaking up with Flask and FastAPI: Why they don’t scale for ML model serving
Most team don't really concern about the security side of things when using pickle for model deployment, more about performance and resource utilization. It works ok for very light weight models, but doesn't scale.
chaoyu_··on Breaking up with Flask and FastAPI: Why they don’t scale for ML model serving
Regardless of the architecture, you would still need the model server for online serving use cases. And you’re right that it’s best to decouple the validation/preprocessing logic from the model runtime from architecture perspective, and that’s exactly what BentoML does but a regular web framework can not do.
chaoyu_··on Breaking up with Flask and FastAPI: Why they don’t scale for ML model serving
Exactly! A vertical solution focused on model serving and deployment would make more sense if it can easily integrate with the ML training platform for CICD
chaoyu_··on Breaking up with Flask and FastAPI: Why they don’t scale for ML model serving
That’s is true, it would be more accurate to say FastAPI (or any ASGI) framework along is not enough for ML model serving, you need batching and runner for performance. And some additional Ml focused features for integration with other ML tools