Join Slack
Powered by
Hello! I'm trying to run a simple Flask + Torch ap...
# general
m
Marcelo Ramires
03/26/2024, 1:37 AM
Hello! I'm trying to run a simple Flask + Torch app (lightweight, 300kb zip file including 100kb trained model, very small) and it fails deployment with: The container failed due to insufficient memory
e
Eduardo
03/26/2024, 1:38 AM
are you running this with CPUs? if so, you need to modify the way you install pytorch, let me know if this works:
https://docs.cloud.ploomber.io/en/latest/faq/faq.html#installing-pytorch
m
Marcelo Ramires
03/26/2024, 1:39 AM
Cool! let me try that and report back, thanks!
Marcelo Ramires
03/26/2024, 1:59 AM
It worked! Thank you so much!
🙌 1
e
Eduardo
03/26/2024, 4:36 AM
Awesome!
Open in Slack
Previous
Next