The main error seems to be: [manager] Error checking Streamlit healthz: Get "http://localhost:8501/healthz": dial tcp 127.0.0.1:8501: connect: connection refused
I believe this may be related to an incorrect PyTorch install, but I may be wrong. The line for the PyTorch install in the requirements.txt currently is:
the app did work once (horray!) however it’s not working anymore, and I’ve got a similar error: 1. Error checking Streamlit healthz: Get "http://localhost:8501/healthz": dial tcp 127.0.0.1:8501: connect: connection refused
So it looks like this may still be a memory related issue on S4.
Not sure if there would be any sort of workaround if it is indeed memory related, as I believe that this Transformers model is the lightest available in the HuggingFace Library
Note that the app/repo are different from the ones I shared on Monday
Hi @Charly_Wargnier! The app is crashing because even with the lighter model it’s still exceeding the memory limits. Is there any room for optimizing the memory utilization (e.g. use smaller dataset)?
I shall rule out deploying this app on S4 I believe, as this is the lightest possible model.
Out of interest, do you know how much Ram I’d need to run that app smoothly? Even an estimate would help as I’m trying to assess costs to deploy either on Heroku, AWS or GCP