NixOS CUDA | 274 Members | |
| CUDA packages maintenance and support in nixpkgs | https://github.com/orgs/NixOS/projects/27/ | https://nixos.org/manual/nixpkgs/unstable/#cuda | 55 Servers |
| Sender | Message | Time |
|---|---|---|
| 25 Oct 2025 | ||
| Thanks! I think it's ready to merge then, I've marked the PR ready to review | 12:43:44 | |
I was away from my computer, but I managed to run nixpkgs-review successfully. Good job Daniel Fahey!I've seen that happysalade merged the PR. | 18:17:00 | |
No problem, thanks for running nixpkgs-review and good to know TorchRL and KServe are OK | 18:24:42 | |
| btw I'm having a quick look into https://hydra.nixos-cuda.org/build/1784 | 18:29:42 | |
| Oh good! | 18:48:06 | |
is there a reason packages like tensorrt require a manual installation and then running nix-store --add-fixed sha256 TensorRT-10.9.0.34.Linux.x86_64-gnu.cuda-12.8.tar.gz to put them in the nix store? | 21:41:07 | |
| as opposed to directly downloading the tarball (eg. from https://developer.nvidia.com/downloads/compute/machine-learning/tensorrt/10.9.0/tars/TensorRT-10.9.0.34.Linux.x86_64-gnu.cuda-12.8.tar.gz) under the relevant license | 21:41:45 | |
| IDK I'm just guessing licensing? | 21:42:17 | |
| yeah it seems like a weird "nvidia requires you to sign in and agree to their eula" thing | 21:42:41 | |
| but i don't think(?) it violates their license if private groups that already have agreed to the eula override the tensorrt package to fetch from the url anyway | 21:43:18 | |
| They relaxed a lot of their law fare bullshit recently | 21:43:38 | |
| a related question - it appears the tensorrt in nixpkgs is labelled only for x86_64 (possibly because nvidia only offers generic linux binaries for x64), but they offer a tarball for ubuntu 24, would i just be able to override the source for the arm build and let patchelf handle the rest? | 21:44:53 | |
| * a related question - it appears the tensorrt in nixpkgs is labelled only for x86_64 (possibly because nvidia only offers generic linux binaries for x64), but they only offer a tarball for arm targeting ubuntu 24, would i just be able to override the source for the arm build and let patchelf handle the rest? | 21:45:20 | |
| * a related question - it appears the tensorrt in nixpkgs is labelled only for x86_64 (possibly because nvidia only offers generic linux binaries for x64), but they only offer a tarball for arm targeting ubuntu 24. would i just be able to override the source for the arm build and let patchelf handle the rest? | 21:45:38 | |
| Try it out, looks like it needs a new maintainer anyway. I nominate you https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/python-modules/tensorrt/default.nix | 21:46:58 | |
| sounds good, perhaps i'll try to figure out how to use nixpkgs' cuda infra first | 21:49:07 | |
| also for anyone with possibly more knowledge on this, tensorrt downloads are public endpoints (https://developer.nvidia.com/downloads/compute/machine-learning/tensorrt/10.9.0/tars/TensorRT-10.9.0.34.Linux.x86_64-gnu.cuda-12.8.tar.gz) that you can get without authenticating would it be a license violation to directly include that in nixpkgs with the relevant package license instead of via separately joining their developer program? | 22:24:21 | |
| Can't remember where I saw this link, I though it was in here, anyone know of any other discussion / context re: Nix? It reports Flox are signed up? https://developer.nvidia.com/blog/developers-can-now-get-cuda-directly-from-their-favorite-third-party-platforms/ | 22:59:54 | |
| DuckDuckGo was better at searching the Discouse, heh, https://discourse.nixos.org/t/nix-flox-nvidia-opening-up-cuda-redistribution-on-nix/69189 | 23:02:41 | |
| asa: only the 10-series are available without a login. They also don't publish the URLs anywhere public except on their TensorRT OSS repo (only for current releases). You can see the URLs for previous releases assuming you log in to NVIDIA's website. See https://github.com/NixOS/nixpkgs/pull/437723; I've got a helper bash script which can be used to generate a manifest file similar to what NVIDIA provides for their other binary archives. | 23:03:12 | |
| As for having only x86_64-linux releases -- that's mostly been because releases for Jetson were few and far in between and I don't have access to hopper or blackwell to verify ARM releases function correctly | 23:04:10 | |
| As I'm working on https://github.com/nixos-cuda/cuda-legacy/pull/1 I'll be making manifests for older versions of TensorRT available publicly | 23:06:27 | |
| oh i see do the arm builds only run on jetsons? | 23:06:38 | |
| * https://developer.nvidia.com/blog/developers-can-now-get-cuda-directly-from-their-favorite-third-party-platforms/ | 23:06:55 | |
| * https://discourse.nixos.org/t/nix-flox-nvidia-opening-up-cuda-redistribution-on-nix/69189 | 23:07:01 | |
| also this is very useful thanks, i didn't know something like cuda-legacy existed | 23:08:50 | |
NVIDIA has historically published two "arm" builds: linux-sbsa and linux-aarch64. These both map to Nixpkgs' aarch64-linux platform, but linux-sbsa is for server-grade ARM and linux-aarch64 for Jetsons.Going forward, it seems new Jetson devices will also use linux-sbsa (e.g., the Jetson Thor). It remains to be seen whether older Jetson devices will be supported on CUDA 13. | 23:09:20 | |
| It's still very much a work in progress and best-effort, so beware 👻 | 23:10:04 | |
| After
| 23:17:03 | |
| * After
That last patch is the latest fix to JAX. Maybe a red herring, but I'm running a fresh build of vLLM to see if the new JAX version (and hence Outlines) breaks vLLM. | 23:21:15 | |