Skip to content

Fix xformers version in requirements.txt to prevent PyTorch downgrade #11

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ncan33
Copy link

@ncan33 ncan33 commented Jul 23, 2025

Summary

This PR fixes a version mismatch in requirements.txt where xformers==0.0.22.post7 was incorrectly specified. That version forces a PyTorch downgrade and breaks compatibility with the rest of the codebase.

Changes made

  • Updated xformers version from 0.0.22.post70.0.27.post2

This is a major issue

  • xformers==0.0.22.post7 in requirements.txt leads to a cascade of dependency conflicts, including an unintended downgrade of PyTorch, which breaks everything.
  • The README already specifies xformers==0.0.27.post2 as the correct version.

Testing

  • Verified installation with pip install -r requirements.txt
  • Confirmed PyTorch version remains intact and compatible

The requirements.txt file incorrectly listed `xformers==0.0.22.post7`, which triggers a cascade of dependency issues — including an unintended PyTorch downgrade that breaks everything.

Updated to `xformers==0.0.27.post2` as correctly specified in the README. This version is compatible with the expected PyTorch version and resolves the breakage. No other changes made.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant