!eWOErHSaiddIbsUNsJ:nixos.org

NixOS CUDA

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

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


SenderMessageTime
28 Oct 2025
@connorbaker:matrix.orgconnor (burnt/out) (UTC-8)Good thing this refactor was only about a year and a half in the making02:14:43
@connorbaker:matrix.orgconnor (burnt/out) (UTC-8)Should be much faster this time02:14:48
@indoor_squirrel:matrix.orgindoor_squirrelLet's do it right this time.02:14:57
@indoor_squirrel:matrix.orgindoor_squirrelNixpkgs is critical infrastructure for many projects.02:15:05
@connorbaker:matrix.orgconnor (burnt/out) (UTC-8)Including, but not limited to, Nixpkgs ;)02:15:27
@indoor_squirrel:matrix.orgindoor_squirrelYou get it, I think. We appreciate this initial draft/attempt.02:15:49
@connorbaker:matrix.orgconnor (burnt/out) (UTC-8) changed their profile picture.02:19:15
@connorbaker:matrix.orgconnor (burnt/out) (UTC-8) changed their profile picture.02:19:56
@hsngrmpf:matrix.org@hsngrmpf:matrix.org left the room.06:32:54
@connorbaker:matrix.orgconnor (burnt/out) (UTC-8)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 (burnt/out) (UTC-8)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 (burnt/out) (UTC-8)

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 (burnt/out) (UTC-8)Could I get a review/approval on https://github.com/NixOS/nixpkgs/pull/45651018:09:36

Show newer messages


Back to Room ListRoom Version: 9