art-alex commited on
Commit
c42e4cd
·
verified ·
1 Parent(s): e1c94ba

Bump transformers version to 5.15.0 to resolve Gemma 4 prompt-enhancer crash

Browse files
Files changed (1) hide show
  1. requirements.txt +12 -12
requirements.txt CHANGED
@@ -1,18 +1,17 @@
1
- # diffusers from upstream main: LTX-2.5 merged in PR #14447 and is not in a PyPI release yet.
2
- # Pinned to the merge commit so rebuilds are reproducible; bump deliberately.
3
- diffusers @ git+https://github.com/huggingface/diffusers@7564fb016dabda0c943416190fc92398c50b1b20
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
- # main imports `get_cached_repo_tree` in pipelines/pipeline_utils.py, and the base image ships an
10
- # older hub without it. 1.23.0 is the floor diffusers itself declares.
11
- huggingface_hub>=1.23.0,<2.0
12
  gradio_client
13
- # 5.12.1 breaks at import against current `kernels` (unversioned LayerRepository); 5.14.1 declares
14
- # kernels>=0.15.2,<0.16 and imports cleanly.
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