Skip to content
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

Update pytorch and xFormers 2.1.2 -> 2.2.1 #5977

Merged
merged 1 commit into from
Mar 20, 2024

Conversation

Malrama
Copy link
Contributor

@Malrama Malrama commented Mar 16, 2024

What type of PR is this? (check all applicable)

  • Refactor
  • Feature
  • Bug Fix
  • Optimization
  • Documentation Update
  • Community Node Submission

Have you discussed this change with the InvokeAI team?

  • Yes
  • No, because:

Have you updated all relevant documentation?

  • Yes
  • No

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

  • Related Issue #
  • Closes #

QA Instructions, Screenshots, Recordings

Merge Plan

Added/updated tests?

  • Yes
  • No : please replace this line with details on why tests
    have not been included

[optional] Are there any post deployment tasks we need to perform?

@github-actions github-actions bot added Root python-deps PRs that change python dependencies labels Mar 16, 2024
Copy link
Collaborator

@lstein lstein left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@psychedelicious psychedelicious self-requested a review March 20, 2024 03:04
Copy link
Collaborator

@psychedelicious psychedelicious left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested on macOS:

  • SD1.5
  • SD1.5 w/ controlnet
  • SD1.5 w/ ip adapter
  • SD1.5 inpainting
  • SD1.5 outpainting
  • SDXL
  • SDXL w/ controlnet
  • SDXL inpainting
  • SDXL outpainting

Thanks!

@psychedelicious psychedelicious enabled auto-merge (rebase) March 20, 2024 04:07
@psychedelicious psychedelicious merged commit bf85234 into invoke-ai:main Mar 20, 2024
14 checks passed
@Malrama Malrama deleted the update-pytorch branch March 20, 2024 07:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
python-deps PRs that change python dependencies Root
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants