Dear all,
I know that the question has been asked already several times, but the answers given seem not to help in my case. I cannot us cuda in my python scripts, I get torch.cuda.is_available() == False. I have installed pytorch and the cuda_toolkit using the following command:
conda install pytorch torchvision torchaudio cudatoolkit=11.4 -c pytorch -c nvidia
My output of nvidia-smi is:
±----------------------------------------------------------------------------+
| NVIDIA-SMI 470.57.02 Driver Version: 470.57.02 CUDA Version: 11.4 |
|-------------------------------±---------------------±---------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
| | | MIG M. |
|===============================+======================+======================|
| 0 NVIDIA GeForce … On | 00000000:01:00.0 Off | N/A |
| 30% 45C P8 41W / 420W | 163MiB / 24259MiB | 0% Default |
| | | N/A |
±------------------------------±---------------------±---------------------+
| 1 NVIDIA GeForce … On | 00000000:21:00.0 Off | N/A |
| 30% 46C P8 16W / 350W | 5MiB / 24268MiB | 0% Default |
| | | N/A |
±------------------------------±---------------------±---------------------+
| 2 NVIDIA GeForce … On | 00000000:4C:00.0 Off | N/A |
| 30% 38C P8 20W / 350W | 5MiB / 24268MiB | 0% Default |
| | | N/A |
±------------------------------±---------------------±---------------------+
±----------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=============================================================================|
| 0 N/A N/A 1741 G /usr/lib/xorg/Xorg 138MiB |
| 0 N/A N/A 2360 G cinnamon 23MiB |
| 1 N/A N/A 1741 G /usr/lib/xorg/Xorg 4MiB |
| 2 N/A N/A 1741 G /usr/lib/xorg/Xorg 4MiB |
±----------------------------------------------------------------------------+
Thanks in advance for any help