!eWOErHSaiddIbsUNsJ:nixos.org

NixOS CUDA

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

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


SenderMessageTime
17 Oct 2025
@connorbaker:matrix.orgconnor (burnt/out) (UTC-8)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 yet01:16:43
@connorbaker:matrix.orgconnor (burnt/out) (UTC-8) 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
@connorbaker:matrix.orgconnor (burnt/out) (UTC-8)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
@connorbaker:matrix.orgconnor (burnt/out) (UTC-8) Gaétan Lepagedo you know if the PyTorch bump wants the nvshmem library or the Python bindings? 01:40:29
@glepage:matrix.orgGaétan Lepage 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
@ihar.hrachyshka:matrix.org@ihar.hrachyshka:matrix.org left the room.00:13:10
@connorbaker:matrix.orgconnor (burnt/out) (UTC-8)

Various things which need to be fixed outside of the CUDA 13 PR:

  • patchelf breaking Jeston binaries because of invalid binary modifications (there’s an open issue for this on Nixpkgs IIRC)
  • packages with stubs should provide a setup hook which replaces the stub in the run path with wherever the library will be found at runtime (without duplicating run path entries — this is part of what started me making arrayUtilities setup hooks)
  • cuda compat library precedence in run path entries is or can be lower than /run/opengl-driver/lib so it won’t be used; need to update hook to fix that (the other driving force behind arrayUtilities)
  • Support for Clang as a host compiler for backendStdenv
  • investigate cc-wrapper scripts to see if there’s anything relevant for NVCC (like random seed, or anything which enables deterministic compilation and linking)

There are others but I can’t remember them :/

06:38:17
@devusb:matrix.orgdevusb joined the room.17:55:08
19 Oct 2025
@kaya:catnip.eekaya 𖤐 changed their display name from kaya to kaya 𖤐.17:17:43

Show newer messages


Back to Room ListRoom Version: 9