!eWOErHSaiddIbsUNsJ:nixos.org

NixOS CUDA

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

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


SenderMessageTime
4 Aug 2025
@aidalgol:matrix.orgaidalgol
nvcc fatal   : Unsupported gpu architecture 'compute_35'
11:06:18
@aidalgol:matrix.orgaidalgolI want to get meshroom in nixpkgs, and it appears that all the CUDA parts are still targeting CUDA pre-11.11:07:08
@connorbaker:matrix.orgconnor (burnt/out) (UTC-8)Are they manually specifying compute capabilities in the source build system? If so, generally those can be patched out.14:41:22
@connorbaker:matrix.orgconnor (burnt/out) (UTC-8)Try using the latest commit and make sure to set https://github.com/alicevision/popsift/blob/8623b697ac632f40d74f8773d646d6a804e89893/CMakeLists.txt#L1414:46:54
@connorbaker:matrix.orgconnor (burnt/out) (UTC-8)Inside the flags attribute of the CUDA package set (https://github.com/NixOS/nixpkgs/blob/7306c79fa2fd9483e7abd32e8637fc7f20344cbd/pkgs/top-level/cuda-packages.nix#L104) we have a helper attribute (https://github.com/NixOS/nixpkgs/blob/7306c79fa2fd9483e7abd32e8637fc7f20344cbd/pkgs/development/cuda-modules/_cuda/lib/strings.nix#L196) which you can use to set that CMake variable14:49:07
@connorbaker:matrix.orgconnor (burnt/out) (UTC-8)Example usage: https://github.com/NixOS/nixpkgs/blob/36590ed03f5cd09054978e927af3eb41e89fe838/pkgs/by-name/ll/llama-cpp/package.nix#L14014:49:46
@connorbaker:matrix.orgconnor (burnt/out) (UTC-8)It’s not documented because there’s basically never time for anything lmao 😭14:50:15
@connorbaker:matrix.orgconnor (burnt/out) (UTC-8)At the end of August when I’m at Nix Camp / Nix Con I hope I get the chance to write a bunch more documentation, including references for different build systems, and maybe even a tutorial for packing CUDA applications (although they’re all so frustratingly, wildly different that there’s barely a generic way to approach packaging them, and can involve bash scripts templating Python scripts which then run and configure CMake lmao)14:52:27
@aidalgol:matrix.orgaidalgolProgress!!21:06:33
@aidalgol:matrix.orgaidalgolhttps://bpa.st/MDQA21:06:35
5 Aug 2025
@connorbaker:matrix.orgconnor (burnt/out) (UTC-8)CUDA 13 release notes are up, some interesting stuff in there, will hopefully have time this month to take a longer look Still don’t remember whether our setup works with device LTO or separate compilation, not sure how big an issue that’ll be05:16:36
@le-chat:matrix.orgle-chat joined the room.11:09:02

Show newer messages


Back to Room ListRoom Version: 9