ds-EkaCare commited on
Commit
ede1e08
·
verified ·
1 Parent(s): cc6acca

transformers>=5.6.0 floor (older silently random-inits the vision tower); add torchvision

Browse files
Files changed (1) hide show
  1. requirements.txt +2 -1
requirements.txt CHANGED
@@ -1,5 +1,6 @@
1
  torch>=2.7.0
2
- transformers>=4.52.0
 
3
  pillow
4
  # Optional — only needed for int8/int4 quantized loading (runs on CPU and GPU):
5
  optimum-quanto>=0.2.6
 
1
  torch>=2.7.0
2
+ torchvision # required by AutoImageProcessor on transformers 5.x
3
+ transformers>=5.6.0 # earlier versions silently random-init the vision tower (see modeling file guard)
4
  pillow
5
  # Optional — only needed for int8/int4 quantized loading (runs on CPU and GPU):
6
  optimum-quanto>=0.2.6