!eWOErHSaiddIbsUNsJ:nixos.org

NixOS CUDA

282 Members
CUDA packages maintenance and support in nixpkgs | https://github.com/orgs/NixOS/projects/27/ | https://nixos.org/manual/nixpkgs/unstable/#cuda58 Servers

Load older messages


SenderMessageTime
4 Sep 2025
@connorbaker:matrix.orgconnor (he/him)I can fill it out and talk about it tomorrow if they’re having anyone from the teams on stage, just for your awareness15:17:28
@connorbaker:matrix.orgconnor (he/him) changed their display name from connor (he/him) (UTC+1) to connor (he/him) (UTC+2).17:03:14
5 Sep 2025
@hexa:lossy.networkhexa
 /nix/store/5l4n9asa41cxqcjm10p1f4k03x694wwj-python3.12-tensorflow-2.19.0/lib/python3.12/site-packages/tensorflow/lite/python/interpreter.py:457: UserWarning:     Warning: tf.lite.Interpreter is deprecated and is scheduled for deletion in
     TF 2.20. Please use the LiteRT interpreter from the ai_edge_litert package.
     See the [migration guide](https://ai.google.dev/edge/litert/migration)
     for details.
     
   warnings.warn(_INTERPRETER_DELETION_WARNING)
20:22:44
@hexa:lossy.networkhexawe don't have that, right?20:23:04
@hexa:lossy.networkhexaand we don't have tflite either, so I patched frigate to use tensorflow.lite.python.interpreter intead of tflite_runtime.interpreter cut-out20:24:07
@hexa:lossy.networkhexaif this is going away I'm in deep shit20:24:21
@hexa:lossy.networkhexa* if this is going away I'm in deep shit with the tf2.20 upgrade20:24:29
6 Sep 2025
@ss:someonex.netSomeoneSerge (back on matrix) changed their display name from SomeoneSerge (Ever OOMed by Element) to SomeoneSerge (@nixcon & back on matrix).09:22:00
@matthewcroughan:defenestrate.itmatthewcroughan changed their display name from matthewcroughan @ nix.camp to matthewcroughan @ nixcon.09:40:16
@connorbaker:matrix.orgconnor (he/him)I personally don't know what those things are or use tensorflow, so I'm not sure12:36:01
@gammieduncan:matrix.orgDuncan Gammie joined the room.14:22:13
@hugo:okeso.euHugo joined the room.20:41:38
7 Sep 2025
@adrian-gierakowski:matrix.orgadrian-gierakowski joined the room.12:08:58
@adrian-gierakowski:matrix.orgadrian-gierakowskiHi all12:09:16
8 Sep 2025
@gregorburger:matrix.orgGregor Burger joined the room.15:27:10
@glepage:matrix.orgGaétan Lepage

It was great meeting (some of) you guys at NixCon!

Have you had a chance to look at the nix-community hydra situation connor (he/him) (UTC+2)?

22:29:30
@connorbaker:matrix.orgconnor (he/him)I have not :(23:59:17
9 Sep 2025
@zowoq:matrix.orgzowoq

the nix-community hydra situation

Is there a problem with it?

01:12:32
@connorbaker:matrix.orgconnor (he/him)Gaétan had mentioned something about (I think, sorry brain is fuzzy from travel) no recent version of PyTorch, either from being outdated or from the build failing02:10:08
@glepage:matrix.orgGaétan Lepage Yes, I was talking about the nvidia (cudaSupport = true) jobset. I have the impression that I didn't get any cache-hits on these packages recently. 08:28:11
@glepage:matrix.orgGaétan LepageMaybe there is nothing wrong and we simply need to wait for nix-community's hydra to catch up.08:28:39
@hugo:okeso.euHugo

Hello!

I am trying to launch tests that rely on CUDA, following help from Gaétan Lepage yesterday, but I do not succeed.
My host is running nixpkgs 25.05, with a clone of nixpkgs/master in the current directory.

Any idea how to get this to run?

09:36:10
@hugo:okeso.euHugo
nix-build -I nixpkgs=. --arg config '{ allowUnfree = true; cudaSupport = true;}' -A python313Packages.triton.tests.axpy-cuda.gpuCheck
this derivation will be built:
  /nix/store/2m1zkm221qr6ziw2qkbds3r37r57f7xj-test-cuda.drv
building '/nix/store/2m1zkm221qr6ziw2qkbds3r37r57f7xj-test-cuda.drv'...
Traceback (most recent call last):
  File "/nix/store/biwmrywsnh5nvfxg13d319cx65956rvc-tester-cuda/bin/tester-cuda", line 38, in <module>
    x = torch.rand(size, device='cuda')
  File "/nix/store/419qp86g5l617y4pv5m0fgj04rhfnxrp-python3-3.13.6-env/lib/python3.13/site-packages/torch/cuda/__init__.py", line 412, in _lazy_init
    torch._C._cuda_init()
    ~~~~~~~~~~~~~~~~~~~^^
RuntimeError: Found no NVIDIA driver on your system. Please check that you have an NVIDIA GPU and installed a driver from http://www.nvidia.com/Download/index.aspx
error: builder for '/nix/store/2m1zkm221qr6ziw2qkbds3r37r57f7xj-test-cuda.drv' failed with exit code 1;
       last 7 log lines:
       > Traceback (most recent call last):
       >   File "/nix/store/biwmrywsnh5nvfxg13d319cx65956rvc-tester-cuda/bin/tester-cuda", line 38, in <module>
       >     x = torch.rand(size, device='cuda')
       >   File "/nix/store/419qp86g5l617y4pv5m0fgj04rhfnxrp-python3-3.13.6-env/lib/python3.13/site-packages/torch/cuda/__init__.py", line 412, in _lazy_init
       >     torch._C._cuda_init()
       >     ~~~~~~~~~~~~~~~~~~~^^
       > RuntimeError: Found no NVIDIA driver on your system. Please check that you have an NVIDIA GPU and installed a driver from http://www.nvidia.com/Download/index.aspx
       For full logs, run:
         nix log /nix/store/2m1zkm221qr6ziw2qkbds3r37r57f7xj-test-cuda.drv
 python
Python 3.12.11 (main, Jun  3 2025, 15:41:47) [GCC 14.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import torch
>>> torch.cuda.is_available()
True
nix-shell -I nixpkgs=. --arg config '{ allowUnfree = true; cudaSupport = true;}' -p python312Packages.torch

[nix-shell:~/Repos/hoh/nixpkgs]$ python
Python 3.12.11 (main, Jun  3 2025, 15:41:47) [GCC 14.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import torch
>>> torch.cuda.is_available()
True
09:36:11
@albertlarsan68:albertlarsan.frAlbert Larsan joined the room.13:31:04
@albertlarsan68:albertlarsan.frAlbert Larsan Hello!
I am packaging the cuda plugin for xmrig.
It supports all the way down to cuda 8, so it is made to use the cuda toolkit.
I am able to make it build with the split packages, but it involves ugly hacks with env vars, as the file /nix/store/vg32acb8vlqyhkhabbgvmralfw0kwhi3-cuda_cudart-12.8.90-dev/include/cuda_runtime.h can't find the crt/host_config.h file.
13:56:49
@aciceri:nixos.devaciceri changed their display name from zrsk to aciceri.15:01:30
@albertlarsan68:albertlarsan.frAlbert LarsanFixed it by using the "root" packages instead of using specific outputs15:33:48
@philipdb:matrix.orgPhiliPdB joined the room.18:44:33
@connorbaker:matrix.orgconnor (he/him) You're trying to run tests which require a GPU in the sandbox. Make sure you've enabled the nix-required-mounts NixOS module option (https://search.nixos.org/options?channel=25.05&show=programs.nix-required-mounts.presets.nvidia-gpu.enable&query=nix-required-mounts) and try again. 23:29:21
@connorbaker:matrix.orgconnor (he/him)Do you have an example of what you were trying to do previously which wasn't working?23:31:08

Show newer messages


Back to Room ListRoom Version: 9