utkuozdemir / nvidia_gpu_exporter

Nvidia GPU exporter for prometheus using nvidia-smi binary

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

getting this working on wsl2

ofsaleem opened this issue · comments

hi im trying to get this working in a docker container on wsl2. following the instructions has given me a couple stumbling blocks; /dev/nvidia0 and /dev/nvidiactl don't exist. i found some sources saying /dev/glx represents the wsl2 nvidia gpu for opengl enabled distros, so i could try that, but no help with nvidiactl.

i also found libnvidia-ml.so.1 in /usr/lib/wsl/lib/ (according to nvidia this folder, which includes nvidia-smi, is mounted into wsl from the host windows), but no libnvidia-ml.so