Pytorch deployment issues!

Hello,

I’m trying to deploy a model which needs cuda support. So, I added on my requirements torch==1.13.1+cu117, but I keep getting the same error message: Could not find a version that satisfies the requirement “torch==1.13.1+cu117”, No matching distribution found for torch==1.13.1+cu117.

However, there is a pytorch version that follows those requirements (Previous PyTorch Versions | PyTorch). I’ve tried different python versions (8, 9 and 10), but I keep getting the same error message. When I try only “torch” and then check if cuda is available (torch.cuda.is_available()), I get “None”. Does anyone know how to install torch with cuda support? Or Streamlit doesn’t support cuda?

Thank you!

If we are talking about Streamlit Cloud, there is no GPU available.

Thank you!

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.