Niels_
Niels_
RRunPod
Created by Niels_ on 12/29/2023 in #⛅|pods
CUDA not recognized
fho00ms04wxzxw
10 replies
RRunPod
Created by Niels_ on 12/29/2023 in #⛅|pods
CUDA not recognized
10 replies
RRunPod
Created by Niels_ on 12/29/2023 in #⛅|pods
CUDA not recognized
The template I'm using is runpod/pytorch:2.1.1-py3.10-cuda12.1.1-devel-ubuntu22.04
10 replies
RRunPod
Created by Niels_ on 12/29/2023 in #⛅|pods
CUDA not recognized
I'm getting the following:
>>> import torch
>>> torch.cuda.is_available()
/usr/local/lib/python3.10/dist-packages/torch/cuda/__init__.py:138: UserWarning: CUDA initialization: CUDA unknown error - this may be due to an incorrectly set up environment, e.g. changing env variable CUDA_VISIBLE_DEVICES after program start. Setting the available devices to be zero. (Triggered internally at ../c10/cuda/CUDAFunctions.cpp:108.)
return torch._C._cuda_getDeviceCount() > 0
>>> import torch
>>> torch.cuda.is_available()
/usr/local/lib/python3.10/dist-packages/torch/cuda/__init__.py:138: UserWarning: CUDA initialization: CUDA unknown error - this may be due to an incorrectly set up environment, e.g. changing env variable CUDA_VISIBLE_DEVICES after program start. Setting the available devices to be zero. (Triggered internally at ../c10/cuda/CUDAFunctions.cpp:108.)
return torch._C._cuda_getDeviceCount() > 0
`
10 replies