File size: 575 Bytes
7134ce7 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 |
cd path/to/Drive-MLLM-main
pip install -r requirements.txt
# setup PYTHONPATH
echo 'export PYTHONPATH=$(pwd):$PYTHONPATH' >> ~/.bashrc
source ~/.bashrc
# qwen-VL
cd /path/to/Qwen2.5-VL-main/
pip install -r requirements_web_demo.txt
pip install qwen-vl-utils[decord]
cd ../..
# setup PYTHONPATH
echo 'export PYTHONPATH=$(pwd):$PYTHONPATH' >> ~/.bashrc
source ~/.bashrc
cd path/to/Drive-MLLM-main
# bash third_party/env_yoloworld.sh
## flash atten (optional)
pip install flash-attn --no-build-isolation --no-cache-dir
# download whl and install
|