GitHub Actions commited on
Commit
7d73ada
·
1 Parent(s): f4cdd74

fix: use transformers<4.38.0 to avoid huggingface-hub conflict

Browse files

- Transformers 4.38.0+ require huggingface-hub<1.0 (breaking change)
- This conflicts with gradio>=6.18.0 which requires huggingface-hub>=1.2.0
- Using 4.35.0-4.37.x gives compatible huggingface-hub range with gradio
- Still supports trust_remote_code for MiniCPM3-4B models

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