NixOS CUDA | 330 Members | |
| CUDA packages maintenance and support in nixpkgs | https://github.com/orgs/NixOS/projects/27/ | https://nixos.org/manual/nixpkgs/unstable/#cuda | 62 Servers |
| Sender | Message | Time |
|---|---|---|
| 4 Jun 2026 | ||
| thanks a lot! i am here to learn | 10:41:22 | |
| i posted this on the forum a few days ago, has anyone else faced something similar: https://discourse.nixos.org/t/cuda-gdb-works-only-one-time-after-compiling-the-binary/77970 | 10:42:47 | |
| Is cuda_gdb built from source or using the prebuilt binaries? | 18:27:20 | |
| i have cudatoolkit in my devShell packages. how do i check this? | 18:29:58 | |
| It’s the prebuilt binaries (is it source available?) | 20:52:18 | |
| 5 Jun 2026 | ||
| Uhh it's complicated https://github.com/conda-forge/cuda-gdb-feedstock/pull/31 | 00:50:42 | |
| I'm starting to look at getting Orin SBSA support up. I've hacked up the linux-sbsa/linux-aarch64 getRedistSystem logic so that Orin goes through linux-sbsa and it works! But, I think that the logic for deciding linux-sbsa vs linux-aarch64 in getRedistSystem might not be enough? I think we'd rather know the CUDA driver version (i.e. 540.5.0 vs 595.78) + capabilities to know which system to use? Using cudaMajorMinorVersion could be sad: if someone is on SBSA Orin, they might want to use SBSA CUDA 12? I don't personally care for this usecase, so if y'all think it's not something to worry about I've uploaded a PR since code is probably easier to read: https://github.com/NixOS/nixpkgs/pull/528562/changes | 20:29:24 | |
| * I'm starting to look at getting Orin SBSA support up. I've hacked up the linux-sbsa/linux-aarch64 getRedistSystem logic so that Orin goes through linux-sbsa and it works! But, I think that the logic for deciding linux-sbsa vs linux-aarch64 in getRedistSystem might not be enough? I think we'd rather know the CUDA driver version (i.e. 540.5.0 vs 595.78) + capabilities to know which system to use? Using cudaMajorMinorVersion could be sad: if someone is on SBSA Orin, they might want to use SBSA CUDA 12? I don't personally care for this usecase, so if y'all think it's not something to worry about I've uploaded a PR since code is probably easier to read: https://github.com/NixOS/nixpkgs/pull/528562 | 20:29:37 | |
| * I'm starting to look at getting Orin SBSA 1 support up. I've hacked up the linux-sbsa/linux-aarch64 getRedistSystem logic so that Orin goes through linux-sbsa and it works! But, I think that the logic for deciding linux-sbsa vs linux-aarch64 in getRedistSystem might not be enough? I think we'd rather know the CUDA driver version (i.e. 540.5.0 vs 595.78) + capabilities to know which system to use? Using cudaMajorMinorVersion could be sad: if someone is on SBSA Orin, they might want to use SBSA CUDA 12? I don't personally care for this usecase, so if y'all think it's not something to worry about I've uploaded a PR since code is probably easier to read: https://github.com/NixOS/nixpkgs/pull/528562 | 20:42:18 | |
| * I'm starting to look at getting Orin SBSA 1 support up. I've hacked up the linux-sbsa/linux-aarch64 getRedistSystem logic so that Orin goes through linux-sbsa and it works! But, I think that the logic for deciding linux-sbsa vs linux-aarch64 in getRedistSystem might not be enough? I think we'd rather know the CUDA driver version (i.e. 540.5.0 vs 595.78) + capabilities to know which system to use? Using cudaMajorMinorVersion could be sad: if someone is on SBSA Orin, they might want to use SBSA CUDA 12? I don't personally care for this usecase, so if y'all think it's not something to worry about, then we don't have to worry about it I've uploaded a PR since code is probably easier to read: https://github.com/NixOS/nixpkgs/pull/528562 | 20:48:55 | |
| * I'm starting to look at getting Orin SBSA support up. I've hacked up the linux-sbsa/linux-aarch64 getRedistSystem logic so that Orin goes through linux-sbsa and it works! But, I think that the logic for deciding linux-sbsa vs linux-aarch64 in getRedistSystem might not be enough? I think we'd rather know the CUDA driver version (i.e. 540.5.0 vs 595.78) + capabilities to know which system to use? Using cudaMajorMinorVersion could be sad: if someone is on SBSA Orin, they might want to use SBSA CUDA 12? I don't personally care for this usecase, so if y'all think it's not something to worry about, then we don't have to worry about it I've uploaded a PR since code is probably easier to read: https://github.com/NixOS/nixpkgs/pull/528562 | 20:57:01 | |
| 6 Jun 2026 | ||
| Yeah and driver version would be generally helpful, but it tells us about what code could/would run, not usually what to build. Although if we know the driver version we know whether or not we need to use cuda_compat… And I suppose there’s a separate Orin cuda_compat package now too… | 04:54:52 | |
| 09:42:06 | ||
| I just purchased 3x GB10s and slapped NixOS on it. Already made a patch to the kernel's derivation to get IOMMU working on NixOS. I'm following your SGLang PR and approved the ones that I found. Please ping me if you need a review on related PRs. | 09:49:53 | |
Is there documentation when the nvidia OSS kmod gets promoted from new_feature to latest? | 09:51:17 | |
| Thanks, that’d be very helpful. | 10:13:12 | |
| Also it would be nice if you have sparse GPU resources to run those gpuCheck | 10:14:21 | |
| What do you mean by "sparse GPU resources?" | 10:24:20 | |
| Typo I think, meant to say spare | 11:37:19 | |
| https://github.com/NixOS/nixpkgs/pull/528773 cc Kevin Mittman (UTC-7) Bryan Honof connor (burnt/out) (UTC-8) | 12:07:13 | |
| kind of a noob question maybe but i switched my project over to use pyproject.nix and i have torch, torchaudio as deps. and the setup-cuda-hook is compiling nccl 🙃 | 12:51:55 | |
| is there a cachix for this | 12:52:03 | |
| Flox has a cache exactly for this | 12:52:35 | |
| oh | 12:52:44 | |
| https://flox.dev/blog/the-flox-catalog-now-contains-nvidia-cuda/ | 12:53:52 | |
| thanks trying this | 12:54:24 | |
| thanks that helped | 13:21:12 | |
| its still building magma from source tho lol | 13:21:19 | |
| What's magma? | 13:21:34 | |
| idk i have faster-whisper in my pyproject.toml | 13:23:04 | |