C98yhou079 commited on
Commit
8d0cacc
·
verified ·
1 Parent(s): 8306e05

Update requirements.txt

Browse files
Files changed (1) hide show
  1. requirements.txt +6 -4
requirements.txt CHANGED
@@ -1,9 +1,11 @@
 
1
  gradio==5.46.1
2
- torch>=2.0.0
3
  transformers>=4.35.0
4
  Pillow
5
  requests
 
 
6
  git+https://github.com/TinyLLaVA/TinyLLaVA_Factory.git@main#egg=tinyllava
7
- # optional
8
- flash-attn==2.5.7
9
- xformers
 
1
+ # Core UI and utilities
2
  gradio==5.46.1
 
3
  transformers>=4.35.0
4
  Pillow
5
  requests
6
+
7
+ # TinyLLaVA from git - may try to build but we avoid importing it at pip-time.
8
  git+https://github.com/TinyLLaVA/TinyLLaVA_Factory.git@main#egg=tinyllava
9
+
10
+ # Do NOT include torch here because some packages (flash-attn etc.) import torch at setup.
11
+ # We'll install torch at runtime before importing packages.