Spaces:
Sleeping
Sleeping
Update requirements.txt
Browse files- requirements.txt +8 -6
requirements.txt
CHANGED
|
@@ -1,18 +1,20 @@
|
|
|
|
|
| 1 |
torch>=2.0.0
|
| 2 |
transformers>=4.30.0
|
| 3 |
sentencepiece>=0.1.99
|
| 4 |
gradio>=3.50.0
|
| 5 |
regex
|
| 6 |
|
| 7 |
-
# Diffusers
|
|
|
|
| 8 |
diffusers>=0.24.0
|
|
|
|
| 9 |
accelerate>=0.23.0
|
| 10 |
ftfy
|
| 11 |
-
safetensors
|
| 12 |
|
| 13 |
-
# Optional performance libs
|
| 14 |
xformers>=0.0.16
|
| 15 |
|
| 16 |
-
#
|
| 17 |
-
|
| 18 |
-
|
|
|
|
| 1 |
+
# Core
|
| 2 |
torch>=2.0.0
|
| 3 |
transformers>=4.30.0
|
| 4 |
sentencepiece>=0.1.99
|
| 5 |
gradio>=3.50.0
|
| 6 |
regex
|
| 7 |
|
| 8 |
+
# Diffusers (must include FluxPipeline support) - a recent version/nightly may be required
|
| 9 |
+
# If you face "FluxPipeline not found", try upgrading diffusers to a newer release or nightly build.
|
| 10 |
diffusers>=0.24.0
|
| 11 |
+
safetensors
|
| 12 |
accelerate>=0.23.0
|
| 13 |
ftfy
|
|
|
|
| 14 |
|
| 15 |
+
# Optional performance libs (increase only if you know your environment supports them)
|
| 16 |
xformers>=0.0.16
|
| 17 |
|
| 18 |
+
# Notes:
|
| 19 |
+
# - FLUX.1 [schnell] model checkpoints may require a recent diffusers version that exposes FluxPipeline.
|
| 20 |
+
# - If you cannot load the FLUX pipeline locally due to VRAM limitations, consider using a hosted inference API instead.
|