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
What do you mean "Now pytorch doesn't work anymore." ? What is the problem/error etc. The above statement is too vague.
in the activated environment:
import torch --> ok
torch.cuda.is_available() --> ok
False --> NOT ok
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.or running in 0 gpu mode
Good point, I didn't even think of that
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
why would anyone use conda?
unless you use some script that removes preinstalled pytorch and install cpu version
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
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 😱
Yeah, it uses conda 🤣