| 4 Aug 2025 |
aidalgol | nvcc fatal : Unsupported gpu architecture 'compute_35'
| 11:06:18 |
aidalgol | I want to get meshroom in nixpkgs, and it appears that all the CUDA parts are still targeting CUDA pre-11. | 11:07:08 |
connor (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 |
connor (burnt/out) (UTC-8) | Try using the latest commit and make sure to set https://github.com/alicevision/popsift/blob/8623b697ac632f40d74f8773d646d6a804e89893/CMakeLists.txt#L14 | 14:46:54 |
connor (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 variable | 14:49:07 |
connor (burnt/out) (UTC-8) | Example usage: https://github.com/NixOS/nixpkgs/blob/36590ed03f5cd09054978e927af3eb41e89fe838/pkgs/by-name/ll/llama-cpp/package.nix#L140 | 14:49:46 |
connor (burnt/out) (UTC-8) | It’s not documented because there’s basically never time for anything lmao 😭 | 14:50:15 |
connor (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 | Progress!! | 21:06:33 |
aidalgol | https://bpa.st/MDQA | 21:06:35 |
| 5 Aug 2025 |
connor (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 be | 05:16:36 |
| le-chat joined the room. | 11:09:02 |