Chhagan005 commited on
Commit
810de1c
Β·
verified Β·
1 Parent(s): 0215e14

Update requirements.txt

Browse files
Files changed (1) hide show
  1. requirements.txt +9 -32
requirements.txt CHANGED
@@ -1,60 +1,37 @@
1
- # ══════════════════════════════════════════════════════════════
2
- # Unified Requirements β€” Chhagan VL Multi-Model Studio
3
- # Qwen3-VL Instruct + Qwen2.5-VL Instruct + Custom CSM/Chhagan VL Models
4
- # ══════════════════════════════════════════════════════════════
5
-
6
-
7
  # ── Core ML ──────────────────────────────────────────────────
8
  torch>=2.4.0
9
  torchvision
10
 
11
-
12
- # ── Transformers ──────────────────────────────────────────────
13
- # ❌ REMOVE: git+https://github.com/huggingface/transformers.git@v4.57.6
14
- # βœ… REASON: config.json has transformers_version=5.1.0 β€” v4.x doesn't know
15
- # qwen3_vl model_type β†’ crashes with 'list has no attr keys'
16
- transformers>=5.1.0
17
-
18
- # ❌ REMOVE: git+https://github.com/huggingface/accelerate.git
19
- # βœ… Use stable PyPI version
20
- accelerate>=1.0.0
21
-
22
 
23
  # ── Quantization & Adapters ──────────────────────────────────
24
- bitsandbytes>=0.43.0
25
-
26
- # βœ… UPGRADE: 0.10.0 β†’ 0.14.0 (needed for peft_version=0.18.1 in adapter_config)
27
- peft>=0.14.0
28
-
29
 
30
- # ── Model Format Support ──────────────────────────────────────
31
  safetensors>=0.4.0
32
 
33
-
34
  # ── Qwen VL Utilities ────────────────────────────────────────
35
  qwen-vl-utils
36
 
37
-
38
  # ── Gradio ───────────────────────────────────────────────────
39
  gradio
40
 
41
-
42
- # ── Image Processing + Face/Signature Detection ──────────────
43
  Pillow>=10.0.0
44
  numpy
45
  opencv-python-headless
46
 
47
-
48
  # ── Tokenizer Dependencies ───────────────────────────────────
49
  sentencepiece
50
  protobuf
51
 
52
-
53
  # ── HuggingFace Integration ───────────────────────────────────
54
- huggingface_hub
55
  spaces
56
  hf_xet
57
 
58
-
59
- # ── Misc ──────────────────────────────────────────────────────
60
  requests
 
 
 
 
 
 
 
1
  # ── Core ML ──────────────────────────────────────────────────
2
  torch>=2.4.0
3
  torchvision
4
 
5
+ # ── Transformers ─────────────────────────────────────────────
6
+ transformers>=5.1.0 # v5 = AutoModelForImageTextToText (Vision2Seq renamed)
7
+ accelerate>=1.1.0 # transformers v5 requires >=1.1.0
 
 
 
 
 
 
 
 
8
 
9
  # ── Quantization & Adapters ──────────────────────────────────
10
+ bitsandbytes>=0.46.1 # βœ… UPGRADE: v5 requires >=0.46.1 (was 0.43.0)
11
+ peft>=0.18.0 # βœ… UPGRADE: v5 requires >=0.18.0 (adapter_config has 0.18.1)
 
 
 
12
 
13
+ # ── Model Format ─────────────────────────────────────────────
14
  safetensors>=0.4.0
15
 
 
16
  # ── Qwen VL Utilities ────────────────────────────────────────
17
  qwen-vl-utils
18
 
 
19
  # ── Gradio ───────────────────────────────────────────────────
20
  gradio
21
 
22
+ # ── Image Processing ─────────────────────────────────────────
 
23
  Pillow>=10.0.0
24
  numpy
25
  opencv-python-headless
26
 
 
27
  # ── Tokenizer Dependencies ───────────────────────────────────
28
  sentencepiece
29
  protobuf
30
 
 
31
  # ── HuggingFace Integration ───────────────────────────────────
32
+ huggingface_hub>=1.0.0 # βœ… v5 requires >=1.0.0
33
  spaces
34
  hf_xet
35
 
36
+ # ── Misc ─────────────────────────────────────────────────────
 
37
  requests