czmahi commited on
Commit
e549137
Β·
verified Β·
1 Parent(s): 5e7c790

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +91 -16
README.md CHANGED
@@ -1,36 +1,111 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  # 🧱 xFormers for Windows: Torch 2.8.0.dev + CUDA 12.8 + Python 3.12
2
 
3
- πŸš€ Precompiled `xformers` wheel for **Windows**, built from the official [facebookresearch/xformers](https://github.com/facebookresearch/xformers) repository.
4
- This build is fully compatible with:
5
- - **PyTorch 2.8.0.dev + cu128**
6
- - **Python 3.12**
7
- - **CUDA 12.8**
 
 
 
 
 
 
 
 
 
 
 
 
 
 
8
 
9
  ---
10
 
11
- ## πŸ“¦ Installation
12
 
13
- Install directly via `pip` from Hugging Face:
14
 
15
  ```bash
16
- pip install https://huggingface.co/czmahi/xformers-windows-torch2.8-cu128-py312/resolve/main/xformers-0.0.30%2Bc5c0720c.d20250413-cp312-cp312-win_amd64.whl --no-deps
17
  ```
18
 
19
- βœ… No need to build from source or downgrade PyTorch!
 
 
 
 
 
20
 
21
  ---
22
- ## πŸ“¦ update:
23
-
24
- torchaudio
25
 
26
- pip install --upgrade --pre torch torchvision torchaudio --index-url https://download.pytorch.org/whl/nightly/cu128
 
 
 
27
 
28
- wheel:
 
 
 
 
29
 
30
- https://download.pytorch.org/whl/nightly/cu128/torch-2.8.0.dev20250416+cu128-cp312-cp312-win_amd64.whl
31
 
 
 
 
 
 
 
 
32
 
33
- ## πŸ“¦ Installation xformers update
 
 
 
 
34
 
35
  Install directly via `pip` from Hugging Face:
36
 
 
1
+
2
+ # xFormers for Windows (Torch 2.8.0.dev + CUDA 12.8 + Python 3.12)
3
+
4
+ Prebuilt `xformers` wheel for Windows 10/11 compatible with:
5
+
6
+ - **Torch**: 2.8.0.dev20250502+cu128
7
+ - **Torchvision**: 0.22.0.dev20250502+cu128
8
+ - **Torchaudio**: 2.6.0.dev20250502+cu128
9
+ - **CUDA**: 12.8
10
+ - **Python**: 3.12.x (CPython)
11
+
12
+ ---
13
+
14
+ ## βœ… Installation Instructions
15
+
16
+ directly install the tested version used in this build:
17
+ ````
18
+ pip install https://download.pytorch.org/whl/nightly/cu128/torch-2.8.0.dev20250502%2Bcu128-cp312-cp312-win_amd64.whl
19
+ ````
20
+ Install xformers Wheel
21
+
22
+ ````
23
+ 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
24
+ ````
25
+
26
+ ## download manully wheel from the link go the then find then downlaod and install
27
+ https://download.pytorch.org/whl/nightly/cu128
28
+
29
+ torchvision-0.22.0.dev20250502+cu128-cp312-cp312-win_amd64.whl
30
+
31
+ torchaudio-2.6.0.dev20250502+cu128-cp312-cp312-win_amd64.whl
32
+
33
+ torch-2.8.0.dev20250502+cu128-cp312-cp312-win_amd64.whl
34
+
35
+
36
+ ### old version Install PyTorch Nightly (with CUDA 12.8 support)
37
+ ```bash
38
+ pip install --upgrade --pre torch torchvision torchaudio --index-url https://download.pytorch.org/whl/nightly/cu128
39
+
40
+
41
+
42
  # 🧱 xFormers for Windows: Torch 2.8.0.dev + CUDA 12.8 + Python 3.12
43
 
44
+ ## βœ… Installation Guide for xFormers (Torch 2.8.0.dev + CUDA 12.8 + Python 3.12)
45
+
46
+ This prebuilt wheel is tested and built for:
47
+
48
+ - βœ… Python **3.12.x**
49
+ - βœ… PyTorch **2.8.0.dev (nightly)** with **CUDA 12.8**
50
+ - βœ… Windows 64-bit
51
+ - βœ… RTX 3000 series cards will work nividia Windows 64-bit
52
+ ### πŸ”§ 1. Install Python 3.12
53
+
54
+ Download and install from:
55
+ πŸ‘‰ https://www.python.org/downloads/release/python-3120/
56
+
57
+ Make sure Python and pip are available in your terminal:
58
+
59
+ ```bash
60
+ python --version
61
+ pip --version
62
+ ```
63
 
64
  ---
65
 
66
+ ### βš™οΈ 2. Install Nightly Torch, TorchVision, and TorchAudio
67
 
68
+ Use the official PyTorch nightly index for CUDA 12.8:
69
 
70
  ```bash
71
+ pip install --pre torch torchvision torchaudio --index-url https://download.pytorch.org/whl/nightly/cu128
72
  ```
73
 
74
+ > βœ… Confirm version after install:
75
+
76
+ ```bash
77
+ python -c "import torch; print(torch.__version__)"
78
+ # Should show: 2.8.0.dev + cu128
79
+ ```
80
 
81
  ---
82
+ ## πŸ“¦ Installation xformers:
 
 
83
 
84
+ torchaudio must install
85
+ ```bash
86
+ pip install --pre torch torchvision torchaudio --index-url https://download.pytorch.org/whl/nightly/cu128
87
+ ```
88
 
89
+ ```bash
90
+ pip install https://download.pytorch.org/whl/nightly/cu128/torch-2.8.0.dev20250416+cu128-cp312-cp312-win_amd64.whl --no-deps
91
+ ```
92
+
93
+ download wheel for local setup: https://download.pytorch.org/whl/nightly/cu128/torch-2.8.0.dev20250416+cu128-cp312-cp312-win_amd64.whl
94
 
 
95
 
96
+ ## πŸ“¦ Installation xformers update version :
97
+
98
+ before install update version see here for update
99
+
100
+ https://github.com/czmahi/xformers-windows-torch2.8-cu128-py312/blob/main/README_xformers_install.md
101
+
102
+ torchaudio must update
103
 
104
+
105
+ ```bash
106
+ pip install --upgrade --pre torch torchvision torchaudio --index-url https://download.pytorch.org/whl/nightly/cu128
107
+ ```
108
+ wheel:
109
 
110
  Install directly via `pip` from Hugging Face:
111