NixOS CUDA | 308 Members | |
| CUDA packages maintenance and support in nixpkgs | https://github.com/orgs/NixOS/projects/27/ | https://nixos.org/manual/nixpkgs/unstable/#cuda | 60 Servers |
| Sender | Message | Time |
|---|---|---|
| 17 Oct 2025 | ||
| The CUDA 13 PR now has libnvshmem, built from source (that was not fun) It does not have nvshmem4py since that’s gonna be irritating to build and requires stuff we don’t have packaged yet | 01:16:43 | |
| Lost about an hour of my life to figuring out that while they “support CMake” they don’t really support CMake They do a full configure and build of a CMake project during a different project’s build and don’t thread arguments through properly, so there’s a fun note like this: https://github.com/NixOS/nixpkgs/blob/a32200680f4a5511fbc9456ff0fa689a0af12dac/pkgs/development/cuda-modules/packages/libnvshmem.nix#L104 | 01:19:55 | |
| As part of this I also packaged gdrcopy (but not the driver bit, since I’m not sure what the best way to handle that is) | 01:21:18 | |
| Gaétan Lepagedo you know if the PyTorch bump wants the nvshmem library or the Python bindings? | 01:40:29 | |
| Thanks a lot for your work connor (he/him) (UTC-7)!!! The PyTorch bump needs the library, not the python bindings. | 08:02:56 | |
| 18 Oct 2025 | ||
| 00:13:10 | ||
| Various things which need to be fixed outside of the CUDA 13 PR:
There are others but I can’t remember them :/ | 06:38:17 | |
| 17:55:08 | ||
| 19 Oct 2025 | ||
| 17:17:43 | ||
| https://github.com/peylnog/ContinuousSR is incredible | 18:48:03 | |
| And if anyone wanted to run the demo, I've packaged it with a flake: https://github.com/ConnorBaker/ContinuousSR Still need to download the model from their google drive (https://github.com/ConnorBaker/ContinuousSR?tab=readme-ov-file#pretrained-model)
| 19:07:16 | |
| 20 Oct 2025 | ||
| This look super cool! Remings me of the new 100x digital zoom feature of the Pixel Phones. So nice to see something open for that :) | 06:51:27 | |
| That uses something closer to multi-frame super-resolution (which is specifically what I’m interested in — I’d like to rewrite ContinuousSR to support that use case). Here’s a reproducer for an earlier version of the software Google used around the Pixel 3 era: https://github.com/Jamy-L/Handheld-Multi-Frame-Super-Resolution | 14:24:13 | |
| This was also a great way to find out that on master the wrong version of cuDNN is selected when building for Jetson (we get the x86 binary) — that’s mostly why the flake is using my PR with CUDA 13 and the packaging refactor | 14:29:02 | |
| 21 Oct 2025 | ||
| Started work on CUDA-legacy for everyone who needs support for older versions of CUDA https://github.com/nixos-cuda/cuda-legacy/pull/1 | 00:33:26 | |
| There might be interesting stuff in the second commit if you’re unfamiliar with flake-part’s partitions functionality | 06:22:13 | |
| SomeoneSerge (back on matrix) what if 👉👈 you merged my CUDA 13 PR 🥺 | 06:23:32 | |
In reply to @connorbaker:matrix.org'most there | 22:00:59 | |
| 22 Oct 2025 | ||
| Are there any good resources for getting CUDA projects, built with CUDA packages from Nixpkgs, running with libcuda.so provided by a non-NixOS host? Can it be done with LD_LIBRARY_PATH or LD_PRELOAD? | 08:08:09 | |
| nixGL has worked for me in the past | 08:56:54 | |
| Technically that finds a kernel-compatible libcuda.so in Nixpkgs | 08:57:24 | |
In reply to @niclas:overby.meIf you create a /run/opengl-driver/lib (it might be called something slightly different) folder and symlink all the cuda kernel mode drivers in there. It should work out of the box | 14:40:53 | |
| * If you create a /run/opengl-driver/lib (it might be called something slightly different) folder and symlink all the cuda kernel mode drivers into there. It should work out of the box | 14:41:06 | |
| You need to add this folder to the rpaths of those drivers too others they can’t find each other | 14:41:38 | |
| I.e libcuda.so tries to load something else with nix linker | 14:42:05 | |
| * I.e libcuda.so tries to load something else with the nix linker | 14:45:15 | |
| Both nixGL and nixglhost should work I’ve also had success doing what Robbie outlined I’ve also been able to export LD_LIBRARY_PATH and that’s worked as well | 15:02:28 | |
| * You need to add this folder to the rpaths of those drivers too otherwise they can’t find each other | 15:13:26 | |
| 23 Oct 2025 | ||
| Got the majority of redists in https://github.com/nixos-cuda/cuda-legacy/pull/1; still need to verify stuff builds and add more redists to the older package sets Everything being as-is is nice, I don’t have to care nsight_systems uses an old version of Qt with known vulnerabilities | 01:28:19 | |
| If anyone happens to be using datacenter drivers, be aware the the GSP firmware is not loading. This might lead to unexpected performance problems. https://github.com/NixOS/nixpkgs/issues/454772 | 04:58:50 | |