Remco Hendriks commited on
Commit
fc9782d
·
1 Parent(s): ab2ff82

Unpin spaces (platform force-installs its version); keep peft==0.19.1

Browse files

The ZeroGPU builder appends spaces==<current> to pip install, so any
spaces pin is ResolutionImpossible by construction. The runtime
regression pin that matters is peft==0.19.1.

Files changed (1) hide show
  1. requirements.txt +6 -6
requirements.txt CHANGED
@@ -1,11 +1,11 @@
1
  gradio==6.13.0
2
- # Pinned 2026-08-11: spaces 0.51.x + peft 0.20.0 (both released after the
3
- # last successful build) broke ZeroGPU startup with 'No CUDA GPUs are
4
- # available' in peft's load_peft_weights (direct-to-cuda safetensors load
5
- # that the ZeroGPU emulator cannot service in the main process). These are
6
- # the last-known-good versions from the 2026-06-20 build.
7
- spaces==0.50.4
8
  transformers>=5.7.0
 
 
 
9
  peft==0.19.1
10
  # Pin torch so the flash-attn wheel ABI below matches. 2.8.0 is the
11
  # lowest version ZeroGPU currently accepts (supported: 2.8/2.9/2.10/
 
1
  gradio==6.13.0
2
+ # spaces MUST float: the ZeroGPU builder force-appends the platform's
3
+ # current version to pip (pinning it -> ResolutionImpossible at build).
4
+ spaces
 
 
 
5
  transformers>=5.7.0
6
+ # peft pinned 2026-08-11: 0.20.0 (2026-07-28) loads adapter safetensors
7
+ # directly onto cuda, which the ZeroGPU main-process emulator cannot
8
+ # service -> 'RuntimeError: No CUDA GPUs are available' at startup.
9
  peft==0.19.1
10
  # Pin torch so the flash-attn wheel ABI below matches. 2.8.0 is the
11
  # lowest version ZeroGPU currently accepts (supported: 2.8/2.9/2.10/