python3Packages.torch: gate NCCL with cudaSupport#273594
python3Packages.torch: gate NCCL with cudaSupport#273594ConnorBaker merged 1 commit intoNixOS:masterfrom
Conversation
|
@natsukium this should fix the error you were running into -- I'm able to eval now on my MacBook. Can you confirm the same? |
|
Note Template PR=273594; \
SYSTEM="aarch64-linux"; \
CUDA_SUPPORT="true"; \
CUDA_CAPABILITIES='[ "7.5" ]'; \
nixpkgs-review pr "$PR" \
--system "$SYSTEM" \
--no-shell \
--checkout commit \
--allow aliases \
--build-args "--max-jobs 1" \
--extra-nixpkgs-config "{
allowUnfree = true;
allowBroken = false;
cudaSupport = ${CUDA_SUPPORT:-false};
cudaCapabilities = ${CUDA_CAPABILITIES:-[]};
}"
|
SomeoneSerge
left a comment
There was a problem hiding this comment.
I don't think we have to wait for nixpkgs-review to merge this:
❯ nix eval github:ConnorBaker/nixpkgs/fix/pytorch-fix-gate-nccl-with-cudaSupport#legacyPackages.x86_64-darwin.python3Packages.torch.outPath
"/nix/store/qwsayvz14v0x7f06g2hmd6hsdssfgbrz-python3.11-torch-2.1.1"
❯ nix eval github:ConnorBaker/nixpkgs/fix/pytorch-fix-gate-nccl-with-cudaSupport#legacyPackages.aarch64-darwin.python3Packages.torch.outPath
"/nix/store/9g147agjr26wdc2g1a6b1c1477vz5qy0-python3.11-torch-2.1.1"Obviously the deeper issues with cudaPackages evaluation would still have to be diagnosed and addressed
|
Successfully created backport PR for |
|
Git push to origin failed for release-23.11 with exitcode 1 |
2 similar comments
|
Git push to origin failed for release-23.11 with exitcode 1 |
|
Git push to origin failed for release-23.11 with exitcode 1 |
Description of changes
This fixes an evaluation error on systems without CUDA support. Originally discovered in #256324 (comment).
Things done
nix.conf? (See Nix manual)sandbox = relaxedsandbox = truenix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/)Add a 👍 reaction to pull requests you find important.