New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cudaPackages.nccl: only ever builds with default version of cudaPackages
#221895
Comments
We only expose nccl as |
Agreed -- WIP at #217619. Running a |
cudaPackages
cudaPackages
This issue has been mentioned on NixOS Discourse. There might be relevant details there: https://discourse.nixos.org/t/tweag-nix-dev-update-46/26872/1 |
Well, since gh pushed a notification anyway: that's one long nixpkgs-review:) |
Describe the bug
nccl
is only ever built with the default version ofcudaPackages
because the line which adds the derivation never changes the version ofcudaPackages
provided:https://github.com/NixOS/nixpkgs/blob/master/pkgs/top-level/cuda-packages.nix#L48
I confirmed this by making this change to the
nccl
derivationand trying to build it with two different versions of
cudaPackages
. Notice that the error is the same:In
python-packages.nix
the pattern seems to be passingpythonPackages = self
. However, it is relatively rare that the derivation takespythonPackages
as an argument. Instead, it seems to be preferred to have the derivation take, as arguments, the actual python packages required.To bring the NCCL derivation in line with this pattern, it should take the CUDA packages it requires as arguments.
Notify maintainers
@NixOS/cuda-maintainers
The text was updated successfully, but these errors were encountered: