!eWOErHSaiddIbsUNsJ:nixos.org

NixOS CUDA

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

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


SenderMessageTime
28 Oct 2025
@indoor_squirrel:matrix.orgindoor_squirrelYou get it, I think. We appreciate this initial draft/attempt.02:15:49
@connorbaker:matrix.orgconnor (he/him) changed their profile picture.02:19:15
@connorbaker:matrix.orgconnor (he/him) changed their profile picture.02:19:56
@hsngrmpf:matrix.org@hsngrmpf:matrix.org left the room.06:32:54
@connorbaker:matrix.orgconnor (he/him)More progress on the CUDA-legacy repo — started adding more redistributables to older CUDA releases. Found the upper bound for NCCL for CUDA pre-11.7. Building cccl from source, which also means using a newer version, which is fine since they have a good compat story and newer versions allow older CUDA releases to run more recent software. Beginning to get into the pattern of encoding constraints better using brokenAssertions and platformAssertions (see https://github.com/nixos-cuda/cuda-legacy/blob/8fcaae25cb949fa2070f15835e86fa8c0978e712/pkgs/development/cuda-modules/packages/cudnn.nix#L45 and https://github.com/nixos-cuda/cuda-legacy/blob/8fcaae25cb949fa2070f15835e86fa8c0978e712/pkgs/development/cuda-modules/packages/libcublasmp.nix#L52 for examples).07:09:08
@connorbaker:matrix.orgconnor (he/him)It frustrates me so greatly that we don’t have structured warnings or errors and that I had to roll my own with brokenAssertions and platformAssertions and use trace verbose to avoid polluting output with evaluation warnings. And that outside of providing evalHandler when importing Nixpkgs there’s no way to extend such handling. And that the default evalHandler throws a string unrelated to anything it’s processed so adding to the error context doesn’t help.07:12:27
@connorbaker:matrix.orgconnor (he/him)

Two additional TODOs for me today:

  • Make a note in the changelog about why building redistributables requires config.cudaSupport be enabled even though we're just unpacking binary archives (answer: propagates dependency on config.cudaSupport being enabled to consumers of those packages)
  • Make a note about troubleshooting packages being unavailable using eval with --trace-verbose
13:54:51
@connorbaker:matrix.orgconnor (he/him)Could I get a review/approval on https://github.com/NixOS/nixpkgs/pull/45651018:09:36
@glepage:matrix.orgGaétan Lepage🎉19:45:59
@glepage:matrix.orgGaétan Lepageclipboard.png
Download clipboard.png
19:46:00
@glepage:matrix.orgGaétan Lepageclipboard.png
Download clipboard.png
20:26:41
@glepage:matrix.orgGaétan LepagePeak performance packaging by the pytorch folks20:26:56
@sporeray:matrix.orgRobbie BuxtonOmg20:27:54
@glepage:matrix.orgGaétan Lepageclipboard.png
Download clipboard.png
20:28:39
29 Oct 2025
@connorbaker:matrix.orgconnor (he/him)Thanks, I hate it01:08:50
@connorbaker:matrix.orgconnor (he/him)

1 PR merged fixing nsight_systems GUI, 3 PRs merged with package expression tidying and support for more releases (from CUDA legacy), and 1 PR ready to go for the changelog: https://github.com/NixOS/nixpkgs/pull/456510

There are still a bunch of redist packages to introduce in CUDA legacy and find requirements for :/

Also still need to make a PR to drop all the packages with “withCuda” variants…

And then there’s the setup hook work 🫩

04:40:06
@connorbaker:matrix.orgconnor (he/him)Is that good?04:40:42
@glepage:matrix.orgGaétan LepageYes and no, the "+125" is mostly the new stuff introduced by the CUDA 13 PR.08:48:19
@connorbaker:matrix.orgconnor (he/him)This may be worth considering: https://github.com/garnix-io/yensid14:56:27

Show newer messages


Back to Room ListRoom Version: 9