Prebuilt xformers
wheel for Windows 10/11 compatible with:
- Torch: 2.8.0.dev20250502+cu128
- Torchvision: 0.22.0.dev20250502+cu128
- Torchaudio: 2.6.0.dev20250502+cu128
- CUDA: 12.8
- Python: 3.12.x (CPython)
directly install the tested version used in this build:
pip install https://download.pytorch.org/whl/nightly/cu128/torch-2.8.0.dev20250502%2Bcu128-cp312-cp312-win_amd64.whl
Install xformers Wheel
pip install https://huggingface.co/czmahi/xformers-windows-torch2.8-cu128-py312/resolve/main/latest-torch2.8-python3.12-xformers-comfyui-windows/xformers-0.0.31%2B8fc8ec5a.d20250503-cp312-cp312-win_amd64.whl
https://download.pytorch.org/whl/nightly/cu128
torchvision-0.22.0.dev20250502+cu128-cp312-cp312-win_amd64.whl
torchaudio-2.6.0.dev20250502+cu128-cp312-cp312-win_amd64.whl
torch-2.8.0.dev20250502+cu128-cp312-cp312-win_amd64.whl
pip install --upgrade --pre torch torchvision torchaudio --index-url https://download.pytorch.org/whl/nightly/cu128
# 🧱 xFormers for Windows: Torch 2.8.0.dev + CUDA 12.8 + Python 3.12
## ✅ Installation Guide for xFormers (Torch 2.8.0.dev + CUDA 12.8 + Python 3.12)
This prebuilt wheel is tested and built for:
- ✅ Python **3.12.x**
- ✅ PyTorch **2.8.0.dev (nightly)** with **CUDA 12.8**
- ✅ Windows 64-bit
- ✅ RTX 3000 series cards will work nividia Windows 64-bit
### 🔧 1. Install Python 3.12
Download and install from:
👉 https://www.python.org/downloads/release/python-3120/
Make sure Python and pip are available in your terminal:
```bash
python --version
pip --version
Use the official PyTorch nightly index for CUDA 12.8:
pip install --pre torch torchvision torchaudio --index-url https://download.pytorch.org/whl/nightly/cu128
✅ Confirm version after install:
python -c "import torch; print(torch.__version__)"
# Should show: 2.8.0.dev + cu128
torchaudio must install
pip install --pre torch torchvision torchaudio --index-url https://download.pytorch.org/whl/nightly/cu128
pip install https://download.pytorch.org/whl/nightly/cu128/torch-2.8.0.dev20250416+cu128-cp312-cp312-win_amd64.whl --no-deps
download wheel for local setup: https://download.pytorch.org/whl/nightly/cu128/torch-2.8.0.dev20250416+cu128-cp312-cp312-win_amd64.whl
before install update version see here for update
https://github.com/czmahi/xformers-windows-torch2.8-cu128-py312/blob/main/README_xformers_install.md
torchaudio must update
pip install --upgrade --pre torch torchvision torchaudio --index-url https://download.pytorch.org/whl/nightly/cu128
wheel:
Install directly via pip
from Hugging Face:
pip install https://huggingface.co/czmahi/xformers-windows-torch2.8-cu128-py312/resolve/main/xformers-0.0.30+f2de641e.d20250418-cp312-cp312-win_amd64.whl --no-deps
✅ No need to build from source or downgrade PyTorch!
- Built from commit
c5c0720
- Compatible with:
torch==2.8.0.dev20250410+cu128
python==3.12.0
cuda==12.8
windows
, torch-nightly
, cu128
, python312
, xformers
, prebuilt
, xformers-2.8
This package follows the original BSD-3-Clause License.
- Original repository: facebookresearch/xformers
- Wheel hosted by: czmahi on Hugging Face 🤗
Open an issue or submit a pull request to help improve this prebuild packaging!