News for hackers. Stuff that matters.
Re:Breaking up with Flask and FastAPI: Why they don’t scale ... by hetspookjee on Friday June 17, 2022 @12:18AM (#31774078)
Just to add some ballparks: I have a yolov5 model that I run in PyTorch on a 3080 and the inference time is roughly 20ms. And inference with a 200estimator random forest is a few ms on a cpu. I can imagine that in some scenarios it’s not enough though.
Re:Breaking up with Flask and FastAPI: Why they don’t scale ... by kroolik on Friday June 17, 2022 @09:49AM (#31778113)
Indeed it might not be enough, and there is no one size that fits them all ;) For inference times of 50ms I wouldn't bother complicating the setup that much. Again, it all depends on your requirement and trade offs available.