GitHub Actions commited on
Commit
b4e0fbf
·
1 Parent(s): d89b869

fix: remove explicit transformers pin - let transitive deps resolve

Browse files

FALLBACK FIX: The real issue is Gradio 6.18.0 requires huggingface-hub>=1.2.0
while all recent transformers versions require huggingface-hub<1.0.

Solution: Remove transformers from explicit requirements. sentence-transformers
already depends on transformers, so pip can resolve the entire dependency graph
and find a compatible version of transformers automatically.

This avoids the hard conflict between our explicit pins and lets the resolver
work with all transitive dependencies.

Files changed (1) hide show
  1. requirements.txt +0 -1
requirements.txt CHANGED
@@ -6,7 +6,6 @@ pynacl>=1.5.0
6
  safetensors>=0.4.3
7
  sentencepiece>=0.2.0
8
  torch==2.11.0
9
- transformers>=4.30.0,<4.35.0
10
  qrcode[svg]>=7.4
11
  sentence-transformers>=3.0.0
12
  httpx>=0.27.0
 
6
  safetensors>=0.4.3
7
  sentencepiece>=0.2.0
8
  torch==2.11.0
 
9
  qrcode[svg]>=7.4
10
  sentence-transformers>=3.0.0
11
  httpx>=0.27.0