!eWOErHSaiddIbsUNsJ:nixos.org

NixOS CUDA

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

You have reached the beginning of time (for this room).


SenderMessageTime
5 Sep 2025
@hexa:lossy.networkhexa (UTC+1)* 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 (burnt/out) (UTC-8)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 (burnt/out) (UTC-8)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 (burnt/out) (UTC-8)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

Show newer messages


Back to Room ListRoom Version: 9