Update pytorch and xFormers 2.1.2 -> 2.2.1 #5977
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What type of PR is this? (check all applicable)
Have you discussed this change with the InvokeAI team?
Have you updated all relevant documentation?
Description
Successor of my mess here #5860
Greetings,
diffusers 0.27.0 finally got released. It was the last obstacle for Pytorch 2.2.
This PR updates Pytorch to the most recent version 2.2.1. Same for xFormers and their compatible version 0.0.25.
I was able to test this. It runs smoothly, however, I am limited to my Nvidia 3060 Windows setup here, and I am not able to test it on other device. Mac users are welcome to test.
Once Pytorch 2.2.2 is released, it will then be the last version for 2.2. Then the cycle begins anew.
Related Tickets & Documents
QA Instructions, Screenshots, Recordings
Merge Plan
Added/updated tests?
have not been included
[optional] Are there any post deployment tasks we need to perform?