-
Notifications
You must be signed in to change notification settings - Fork 31.9k
Enable PyTorch 1.13 #20168
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
Enable PyTorch 1.13 #20168
Conversation
LysandreJik
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
|
The documentation is not available anymore as the PR was closed or merged. |
ydshieh
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Finally PT 1.13, thanks @sgugger !
|
Hi @sgugger :) - One question, you have removed |
|
The scatter dependency is only removed from the CPU runners on circleCI, it's not removed from the library byt his PR, that's your job ;-) . When testing in our other setups that include the |
f782f66 to
d1cfa8c
Compare
* Try PT1.13 by removing torch scatter * Skip failing tests * Style * Remvoe testing extras for repo utils * Try with all decorators * Try to wipe the cache * Fix all tests? * Try this way * Fix comma * Update to main * Try with less deps * Quality
What does this PR do?
This PR enables PyTorch 1.13 for Transformers so we can start adding functionality like safer loading with
torch.load. Since there are no wheels for torch scatter, this comes at the price of uninstallingtorch-scatter. However the PR to move away from this dep and use the PyTorch core ops seems well under way, so skipping the TAPAS tests for now until the PR is merged does not seem like a heavy price to pay (cc @NielsRogge for information).A couple of tests are still failing, which are all torch FX tests (cc @michaelbenayoun, see failing job here). I'm skipping them and we can fix them next week in a followup PR.