damp-daybreak-95993
02/16/2023, 2:39 AMnerdctl 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.
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 |
+-------------------------------+----------------------+----------------------+
proud-jewelry-46860
02/16/2023, 6:38 PM