2023-11-14, 11:21 PM
(This post was last modified: 2023-11-14, 11:32 PM by PapaTrotsky. Edited 3 times in total.)
(2023-11-14, 11:07 PM)tmsrxzar Wrote: well thats at least something new
i am trying to walk backwards on what /should/ have taken place when you installed and so far it's reminding me why im not an nvidia+linux fan
no matter, nobody cares what i am a fan of
you installed linuxserver.io docker
did you follow this - https://docs.linuxserver.io/images/docke...in/#nvidia
which takes you to installing nvidia-docker - https://github.com/NVIDIA/nvidia-docker
which takes you to a deprecated page but then you should install the container-toolkit - https://github.com/NVIDIA/nvidia-container-toolkit
so what should have taken place is the install instructions for container-toolkit - https://docs.nvidia.com/datacenter/cloud...guide.html
is that correct and was the container-toolkit installed (successfully)?
I hate NVIDIA on Linux, the NVIDIA driver on Linux Mint for the 4070 causes my laptop to run stupidly inefficiently. Talking 1/3 the battery life.
The container toolkit does work, I didn't install it because my server doesn't have apt, or yum/dnf, or Zypper but the sample workload works and basic nvidia-smi works correctly.
Code:
root@HomeServer:~# sudo docker run --rm --runtime=nvidia --gpus all ubuntu nvidia-smi
Unable to find image 'ubuntu:latest' locally
latest: Pulling from library/ubuntu
aece8493d397: Pull complete
Digest: sha256:2b7412e6465c3c7fc5bb21d3e6f1917c167358449fecac8176c6e496e5c1f05f
Status: Downloaded newer image for ubuntu:latest
Tue Nov 14 23:18:46 2023
+---------------------------------------------------------------------------------------+
| NVIDIA-SMI 545.29.02 Driver Version: 545.29.02 CUDA Version: 12.3 |
|-----------------------------------------+----------------------+----------------------+
| 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 GTX 1050 Ti Off | 00000000:08:00.0 Off | N/A |
| 0% 44C P0 N/A / 120W | 0MiB / 4096MiB | 2% Default |
| | | N/A |
+-----------------------------------------+----------------------+----------------------+
+---------------------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=======================================================================================|
| No running processes found |
+---------------------------------------------------------------------------------------+
I did also follow the LSIO guide, I believe I did that part correctly but it's hard to tell because unRaid uses a GUI for that part which makes it really confusing. I attached a few photos with pictures of my variables setup.