This is my first time using streamlit and I am stuck at the deployment step. I was able to run my app locally but when I deployed my app to the cloud I first ran into a problem with torch using CUDA specific code.
I followed this dicussion: https://github.com/pytorch/pytorch/issues/26340 so I added the custom pipenv index to grab the CPU only pytorch from there: Added torch cpu version · damianr13/Racoont-AI@ef7e112 · GitHub but that resulted in a dependency conflict which caused
pipenv to fail installing dependencies. It worked locally only by running
pipenv install --skip-lock but I did not find the option of adding args to the pipenv command.
Then I followed this post: Managing your Streamlit dependencies using conda so I tried changing my package manager from
conda. Now the app hangs.
Is there any known solution to run code which depends on pytorch on the Streamlit Cloud?