R
RunPod•7mo ago
JanE

Update image runpod/pytorch:2.0.1-py3.10-cuda11.8.0-devel-ubuntu22.04 ?

I use a conda environment with pytorch for weeks and this worked perfectly on the runpod container - until today. Now pytorch doesn't work anymore. Was something changed on the image?
11 Replies
digigoblin
digigoblin•7mo ago
What do you mean "Now pytorch doesn't work anymore." ? What is the problem/error etc. The above statement is too vague.
JanE
JanEOP•7mo ago
in the activated environment: import torch --> ok torch.cuda.is_available() --> ok
False --> NOT ok
digigoblin
digigoblin•7mo ago
Probably a broken pod. It will probably work fine if you launch a new pod. if torch.cuda.is_available() returns False it often implies a broken pod.
Madiator2011
Madiator2011•7mo ago
or running in 0 gpu mode
digigoblin
digigoblin•7mo ago
Good point, I didn't even think of that
JanE
JanEOP•7mo ago
nah, I created several new pods with different GPUs and its always the same. When I try without conda, it works (see image) and inside the conda env it doesnt anymore (see other image) Yesterday it was still working. During the last weeks I installed this conda env dozens of times and it always worked
Madiator2011
Madiator2011•7mo ago
why would anyone use conda? unless you use some script that removes preinstalled pytorch and install cpu version
JanE
JanEOP•7mo ago
because I run my code on several platforms, runpod is one of them. As I said, it worked perfectly until last night and stopped working on all pods i created today
digigoblin
digigoblin•7mo ago
Some apps like FaceFusion also require conda for some reason, they do checks for conda and fail if you use a venv instead of conda 😱
digigoblin
digigoblin•7mo ago
Yeah, it uses conda 🤣
Want results from more Discord servers?
Add your server