Spaces:
Runtime error
Runtime error
Update requirements.txt
Browse files- requirements.txt +23 -5
requirements.txt
CHANGED
|
@@ -1,6 +1,24 @@
|
|
| 1 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
diffusers
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
--extra-index-url https://download.pytorch.org/whl/cu121
|
| 2 |
+
|
| 3 |
+
# Core dependencies
|
| 4 |
+
torch==2.4.0
|
| 5 |
+
torchvision==0.19.0
|
| 6 |
+
pillow==10.4.0
|
| 7 |
+
tqdm==4.67.1
|
| 8 |
+
gradio==4.44.0
|
| 9 |
+
spaces
|
| 10 |
+
|
| 11 |
+
# Diffusion and model dependencies
|
| 12 |
+
transformers==4.46.3
|
| 13 |
diffusers
|
| 14 |
+
accelerate
|
| 15 |
+
xformers==0.0.27.post2
|
| 16 |
+
|
| 17 |
+
# Quantization and optimization
|
| 18 |
+
bitsandbytes
|
| 19 |
+
gguf
|
| 20 |
+
peft
|
| 21 |
+
sentencepiece
|
| 22 |
+
|
| 23 |
+
# Optional but recommended for faster inference
|
| 24 |
+
https://github.com/Dao-AILab/flash-attention/releases/download/v2.7.0.post2/flash_attn-2.7.0.post2+cu12torch2.4cxx11abiFALSE-cp310-cp310-linux_x86_64.whl
|