chaoyu_
Re:Ask HN: What do you use for ML Hosting
on Tuesday May 02, 2023 @05:31PM (#35794508)
Check out BentoML https://github.com/bentoml
Show HN: Deploy Stable Diffusion as a Service
Yatai: Model Deployment at Scale on Kubernetes
Re:Breaking up with Flask and FastAPI: Why they don’t scale for ML mod...
on Friday June 17, 2022 @11:56AM (#31780097)
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.
Re:Breaking up with Flask and FastAPI: Why they don’t scale for ML mod...
on Thursday June 16, 2022 @08:41PM (#31772754)
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.
Re:Breaking up with Flask and FastAPI: Why they don’t scale for ML mod...
on Thursday June 16, 2022 @08:36PM (#31772720)
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
Re:Breaking up with Flask and FastAPI: Why they don’t scale for ML mod...
on Thursday June 16, 2022 @08:34PM (#31772700)
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