Skip to content

Fix: pin torch 2.8.0 + xformers 0.0.32.post2 to resolve install failure#482

Open
maxenko wants to merge 1 commit intoPanchovix:mainfrom
maxenko:fix/torch-xformers-version-mismatch
Open

Fix: pin torch 2.8.0 + xformers 0.0.32.post2 to resolve install failure#482
maxenko wants to merge 1 commit intoPanchovix:mainfrom
maxenko:fix/torch-xformers-version-mismatch

Conversation

@maxenko
Copy link
Copy Markdown

@maxenko maxenko commented Apr 12, 2026


Description

  • Fixes broken fresh install caused by torch/xformers version mismatch on the cu128 index
  • Pins torch==2.8.0 and xformers==0.0.32.post2 in modules/launch_utils.py — a known-good compatible pair
  • launch_utils.py currently pins torch==2.9.0 but leaves xformers unpinned. There is no released xformers compatible with torch 2.9.0:
    • cu128 index has xformers 0.0.32.post2 (requires torch 2.8.0)
    • Latest stable xformers 0.0.33.post1 (requires torch 2.10.0, but has ABI mismatch on Windows — Entry Point Not Found in xformers_C.pyd)

launch_utils.py pins torch==2.9.0 but leaves xformers unpinned on the
cu128 index. There is no released xformers compatible with torch 2.9.0:

- cu128 index has xformers 0.0.32.post2 (requires torch 2.8.0)
- Latest stable xformers 0.0.33.post1 (requires torch 2.10.0, but has
  ABI mismatch on Windows — Entry Point Not Found in xformers\_C.pyd)

A clean install always produces a broken torch/xformers combination.
This pins to the known-good pair: torch 2.8.0 + xformers 0.0.32.post2.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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