NixOS CUDA | 294 Members | |
| CUDA packages maintenance and support in nixpkgs | https://github.com/orgs/NixOS/projects/27/ | https://nixos.org/manual/nixpkgs/unstable/#cuda | 58 Servers |
| Sender | Message | Time |
|---|---|---|
| 5 Feb 2026 | ||
| * ok, i did make some progress, turns out libcuda has a couple of more dependencies on the jetson
I set LD_LIBRARY_PATH such that the linker is able to load those which did work for a small sample c program that I wrote. Need to try this workaround for the "big app" now ;) | 10:24:24 | |
| Ok that was the issue, it works now ;) | 11:08:10 | |
| Are you using the JetPack NixOS or cuda-legacy overlays? Make sure you’re changing the default CUDA package set globally through an overlay — it’s not okay or enough to just change it for a single package because it doesn’t change it for dependencies etc. Jetson compute capabilities are never built by default so make sure you’re setting cudaCapabilities per the docs | 16:33:58 | |
| 6 Feb 2026 | ||
| https://matrix.to/#/!hQKBiJjjGQdiJBvMgK:matrix.org/$4uVDwhUB5SqzFlJ5lGGTc-419hRN2vzXUoJ0_rJhv-A?via=matrix.org&via=t2bot.io&via=beeper.com
What Garnix said when asked about adding NixOS CUDA Cache to Garnix | 02:16:22 | |
| * https://matrix.to/#/!hQKBiJjjGQdiJBvMgK:matrix.org/$4uVDwhUB5SqzFlJ5lGGTc-419hRN2vzXUoJ0_rJhv-A?via=matrix.org&via=t2bot.io&via=beeper.com
What Garnix team said when asked about adding NixOS CUDA Cache to Garnix | 02:16:27 | |
| Makes sense, why cross-contaminate the caches any further | 02:17:45 | |
| 02:22:45 | ||
| Gaétan LepageI’d like to merge https://github.com/NixOS/nixpkgs/pull/484031 but I’m still concerned about whether the patch needs to be guarded by something — it shouldn’t since the compiler NVCC uses should always use the GLIBC from the default stdenv which should be the newest GLIBC, right? | 16:35:17 | |
| Mind waiting until tomorrow, I'd like to take a look? | 17:20:39 | |
| Sure SomeoneSerge (back on matrix), feel free to double check. | 22:35:32 | |
| Indeed, I don't think so. | 22:35:43 | |
| 8 Feb 2026 | ||
| where can I find libnvidia-ml.so.1? | 03:09:43 | |
| * where can I find libnvidia-ml.so.1 used by py3nvml? | 03:09:50 | |
| nvm … /nix/store/9g9zb0r0hk63fm1xq8582bgjd8d69k0k-nvidia-x11-580.119.02-6.12.68/lib/libnvidia-ml.so.1 | 03:10:49 | |
In reply to @hexa:lossy.networkThis is a nvidia kernel library so if you aren’t on nixos you need to get it from where you install it on the host | 03:37:00 | |
| But looks like you found it! | 03:37:12 | |
| it is below the driverLink path | 03:38:20 | |
| Yeah on nixos iirc it’s symlinked into /run/opengl-driver/lib if I’m not mistaken | 03:39:39 | |
| correct | 03:40:14 | |
| addDriverRunpath.driverLink is the relevant attribute | 03:40:24 | |
| 22:50:15 | ||
| After some testing, our current
| 23:01:20 | |
| I'll try to ship torch 2.10.0 ASAP, hoping that it is compatible with cuda 13.1 (which should unfortunately * | 23:02:38 | |
| * I'll try to ship torch 2.10.0 ASAP, hoping that it is compatible with cuda 13.1 (which should unfortunately not be the case). | 23:02:57 | |
| 23:07:13 | ||
| 9 Feb 2026 | ||
| I'm not using any overlay for that purpose right now. Good point regarding the global override, will do that ;). So the cudaCapabilities would affect packages like the cudart, cublas etc. I guess i.e. what features it will consider available and thus use? the in theory this should yield better performance for the aforementioned libraries? | 07:03:05 | |
Read https://nixos.org/manual/nixpkgs/stable/#cuda -- Jetson isn't built by default and pre-thor uses different binaries so you need to make sure cudaCapabilities is set correctly; you'll get faster builds, smaller closures, and (possibly) better performance if you specify the exact capability | 07:36:40 | |
| 07:49:25 | ||
| VLLM is now 0.15.1 (latest version) | 11:11:17 | |
| SomeoneSerge (back on matrix): let me know if the updates to https://github.com/NixOS/nixpkgs/pull/488199 captured what you suggested. No rush: thanks! | 21:03:44 | |