You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently our build-cuda-redist-package.nix puts static archives, executables, and headers with shared libraries into the same output. This means we cannot meaningfully separate buildInputs from nativeBuildInputs, and that CUDAToolkit's static archives end up in runtime closures for packages like jax and pytorch.
Splitting the outputs should be trivial: add an output in build-cuda-redist-package.nix, move .a files to the new output.
There is a chance of breaking discovery for downstream packages though, which may take time to fix
Activity
nixos-discourse commentedon Jun 22, 2023
This issue has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/cuda-team-roadmap-and-call-for-sponsors/29495/1
ConnorBaker commentedon Jun 26, 2023
I'll be working on this.
#229758 seems important for what we aim to do. I'll correspond with the author to see what their thoughts are.
ConnorBaker commentedon Dec 4, 2023
Closed by #240498.