timliu99
Re:Breaking up with Flask and FastAPI: Why they don’t scale for ML mod...
on Thursday June 16, 2022 @03:26PM (#31769927)
> While there are several different methods to use your own executor pools or potentially use shared memory for a large model, all of these solutions are not first-class solutions for ML use cases...
Definitely not FastAPI's fault and yes Starlette has the same limitations. BentoML builds additional ML features/abstractions on top of Starlette. We introduced a "runner" concept which automatically creates separate processes for models to run in.
Re:Breaking up with Flask and FastAPI: Why they don’t scale for ML mod...
on Thursday June 16, 2022 @03:19PM (#31769856)
Disclaimer: I'm the author.
We've been using Flask for years as the foundation for our 0.13 version. Our choice to move away from Flask and FastAPI as a core part of our library is based on our experience with hundreds of users and use cases
Re:Breaking up with Flask and FastAPI: Why they don’t scale for ML mod...
on Thursday June 16, 2022 @02:34PM (#31769398)
Wait... so you're tell me FastAPI is slow...