https://rancher.com/ logo
#rancher-desktop
Title
# rancher-desktop
d

damp-daybreak-95993

02/16/2023, 2:39 AM
I'm having some trouble getting cuda working with rancher-desktop. Neither containerd nor dockerd seems to work. With containerd, executing
nerdctl run --rm --gpus all nvidia/cuda:12.0.1-devel-ubuntu22.04 nvidia-smi
I get With dockerd, using
docker run --rm --gpus all  nvidia/cuda:12.0.1-devel-ubuntu22.04 nvidia-smi
I get
ocker: Error response from daemon: could not select device driver "" with capabilities: [[gpu]].
. If I tell it to use the nvidia runtime with
-runtime=nvidia
it fails with
ocker: Error response from daemon: Unknown runtime specified nvidia.
. I'm using W11 with WSL2. It's a clean install. My GPU is a GTX 1080, and I have installed the latest drivers. Cuda does work in WSL (without containers) as executing
nvidia-smi
in my OpenSUSE-Tumbleweed in WSL returns the GPU info as expected.
Copy code
Thu Feb 16 02:36:25 2023
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 525.89.02    Driver Version: 528.49       CUDA Version: 12.0     |
|-------------------------------+----------------------+----------------------+
| 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  On |                  N/A |
| 31%   50C    P0    42W / 200W |    966MiB /  8192MiB |      1%      Default |
|                               |                      |                  N/A |
+-------------------------------+----------------------+----------------------+
p

proud-jewelry-46860

02/16/2023, 6:38 PM
We haven't tested any GPGPU-related things, so it's likely that we'd need to add support (or at least drivers). I see that you created an issue for this — thanks!
28 Views