Closed aakropotkin closed 1 month ago
nvidia-smi
? We expect something like this:
❯ nvidia-smi
Thu Oct 3 06:53:43 2024
+---------------------------------------------------------------------------------------+
| NVIDIA-SMI 535.183.01 Driver Version: 535.183.01 CUDA Version: 12.2 |
|-----------------------------------------+----------------------+----------------------+
| 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 RTX 4090 Off | 00000000:01:00.0 Off | Off |
| 0% 37C P8 23W / 450W | 164MiB / 24564MiB | 0% Default |
| | | N/A |
+-----------------------------------------+----------------------+----------------------+
+---------------------------------------------------------------------------------------+ | Processes: | | GPU GI CI PID Type Process name GPU Memory | | ID ID Usage | |=======================================================================================| | 0 N/A N/A 1517067 G /usr/lib/xorg/Xorg 137MiB | | 0 N/A N/A 1517153 G /usr/bin/gnome-shell 13MiB | +---------------------------------------------------------------------------------------+
This is nvidia-smi
outside of the development environment:
+-----------------------------------------------------------------------------------------+
| NVIDIA-SMI 560.35.03 Driver Version: 560.35.03 CUDA Version: 12.6 |
|-----------------------------------------+------------------------+----------------------+
| 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 RTX 4080 ... Off | 00000000:01:00.0 On | N/A |
| 58% 77C P0 304W / 320W | 10650MiB / 16376MiB | 99% Default |
| | | N/A |
+-----------------------------------------+------------------------+----------------------+
+-----------------------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=========================================================================================|
| 0 N/A N/A 1746 G ...vyv5iw6fa-xorg-server-21.1.13/bin/X 2080MiB |
| 0 N/A N/A 2542 G ...0dgg416xd-kwin-5.27.11/bin/kwin_x11 150MiB |
| 0 N/A N/A 2562 G ...workspace-5.27.11.1/bin/plasmashell 112MiB |
| 0 N/A N/A 132218 C ...qk84j-python3-3.11.6/bin/python3.11 7842MiB |
| 0 N/A N/A 438551 G ...local/share/Steam/ubuntu12_32/steam 4MiB |
| 0 N/A N/A 441248 G ./steamwebhelper 5MiB |
| 0 N/A N/A 944535 G ...irefox-130.0.1/bin/.firefox-wrapped 272MiB |
+-----------------------------------------------------------------------------------------+
I did notice that inside of the nix
development environment I get this crash when trying to run nvidia-smi
:
Failed to initialize NVML: Driver/library version mismatch
NVML library version: 535.86
I imagine that mismatch of driver versions is a factor, but I don't know enough about Nix to be of assistance, sorry!
Updating flake.lock
seems to have helped - I can launch the back-end now and it detects my device.
Similarly nvidia-smi
inside of the shell show the correct info.
What's missing now is updates to flake.nix
to allow the front-end to be built; it looks like the flake is old and expected a yarn
build to take place so I'll see if I can get that updated and make a PR.
Thank you! That's right, we use pnpm v8 currently (v9 is the current version but we haven't upgraded yet).
Is there an existing issue for this problem?
Operating system
Linux
GPU vendor
Nvidia (CUDA)
GPU model
RTX 4080 Super
GPU VRAM
No response
Version number
5.0.2
Browser
chromium
Python dependencies
No response
What happened
This occurs with either the automatic installer, manual installation, and in the
nix
development env.I use a NixOS system ( v3.x.x works great for me ).
The first few lines are the important ones.
I'm able to generate images from my CPU but it's really really slow.
What you expected to happen
CUDA and my graphics card should be used.
How to reproduce the problem
No response
Additional context
No response
Discord username
No response