-
-
Notifications
You must be signed in to change notification settings - Fork 14.8k
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
python3Packages.transformers: don't import torch.distributed on darwin #375117
Conversation
The upstream patch merged. |
Would you mind switching the source of the patch to the main branch and adding a comment to remove this patch on the next version ? |
This patch is in the same spirit as d842a19 where import for torch.distributed was patched out for darwin. This other instance of the incorrect import was spotted while packaging lm-eval through the latter test suite.
c9b5190
to
519a423
Compare
|
Moving to draft so that I can check first if any failures are due to this change. |
|
I dont think the failures are related to this patch |
This patch is in the same spirit as
d842a19 where import for torch.distributed was patched out for darwin. This other instance of the incorrect import was spotted while packaging lm-eval through the latter test suite.
Things done
nix.conf
? (See Nix manual)sandbox = relaxed
sandbox = true
nix-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.