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
This commit updates Torch to the last stable release of 2.1.2 and xformers to its compatible version 0.0.23post1. No regressions accrued so far.
This is most likely the last stable release before PyTorch 2.2 is released. Brace yourself for some discord issues about torch running on CPU only. This happens, when people use the updater and pip is updating torch using the non-cuda version. I don't know if this has since changed (I think I saw a commit that changed something about that). I always use the installer to update, which ensures that the correct PyTorch version is chosen.
Regardless, this should be safe to be merged.
Merry Christmas, dear developers! I hope you have a wonderful time with your friends and family, and thank you for all your making this wonderful piece of software <3
Greetings
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?