Spaces:
Running on Zero
Running on Zero
Bump transformers version to 5.15.0 to resolve Gemma 4 prompt-enhancer crash
Browse files- requirements.txt +12 -12
requirements.txt
CHANGED
|
@@ -1,18 +1,17 @@
|
|
| 1 |
-
#
|
| 2 |
-
#
|
| 3 |
-
diffusers
|
| 4 |
|
| 5 |
# gradio and spaces are deliberately absent: the platform preinstalls and pins them, and a competing
|
| 6 |
# pin here fails resolution or breaks the ZeroGPU runtime.
|
| 7 |
#
|
| 8 |
# huggingface_hub IS pinned, which is the exception to that rule rather than an oversight: diffusers
|
| 9 |
-
#
|
| 10 |
-
# older hub without it. 1.
|
| 11 |
-
huggingface_hub>=1.
|
| 12 |
gradio_client
|
| 13 |
-
# 5.
|
| 14 |
-
|
| 15 |
-
transformers==5.14.1
|
| 16 |
accelerate
|
| 17 |
safetensors
|
| 18 |
sentencepiece
|
|
@@ -26,7 +25,8 @@ scipy
|
|
| 26 |
|
| 27 |
# The diffusion decoder's NATTEN neighborhood-attention kernel is fetched from the Hub
|
| 28 |
# (`shi-labs/natten`) through the `kernels` package — no local natten build, and therefore no torch
|
| 29 |
-
# pin: the ZeroGPU runtime's preinstalled torch is used as-is.
|
| 30 |
-
kernels
|
|
|
|
| 31 |
torchvision
|
| 32 |
-
torchaudio
|
|
|
|
| 1 |
+
# LTX-2.5 is in the 0.41.0 release (and on main). The old git pin was the PR #14447
|
| 2 |
+
# merge commit, from before that release existed.
|
| 3 |
+
diffusers>=0.41.0
|
| 4 |
|
| 5 |
# gradio and spaces are deliberately absent: the platform preinstalls and pins them, and a competing
|
| 6 |
# pin here fails resolution or breaks the ZeroGPU runtime.
|
| 7 |
#
|
| 8 |
# huggingface_hub IS pinned, which is the exception to that rule rather than an oversight: diffusers
|
| 9 |
+
# imports `get_cached_repo_tree` in pipelines/pipeline_utils.py, and the base image ships an
|
| 10 |
+
# older hub without it. 1.32.0 is the floor diffusers 0.41 declares.
|
| 11 |
+
huggingface_hub>=1.32.0,<2.0
|
| 12 |
gradio_client
|
| 13 |
+
# 5.14.1 crashes on the Gemma 4 prompt-enhancer config (per-layer head_dim).
|
| 14 |
+
transformers==5.15.0
|
|
|
|
| 15 |
accelerate
|
| 16 |
safetensors
|
| 17 |
sentencepiece
|
|
|
|
| 25 |
|
| 26 |
# The diffusion decoder's NATTEN neighborhood-attention kernel is fetched from the Hub
|
| 27 |
# (`shi-labs/natten`) through the `kernels` package — no local natten build, and therefore no torch
|
| 28 |
+
# pin: the ZeroGPU runtime's preinstalled torch is used as-is. The range is what transformers
|
| 29 |
+
# 5.15 declares; `kernels` is an extra there, so this line is what actually enforces it.
|
| 30 |
+
kernels>=0.16.0,<0.17
|
| 31 |
torchvision
|
| 32 |
+
torchaudio
|