INSTALLATION.md
December 12, 2024 ยท View on GitHub
๐ ๏ธ Installation
-
Clone this repository:
git clone https://github.com/OpenGVLab/V2PE.git -
Create a conda virtual environment and activate it:
conda create -n v2pe python=3.9 -y conda activate v2pe -
Install dependencies using
requirements.txt:pip install -r requirements.txt
Additional Instructions
-
Install
flash-attn==2.3.6:pip install flash-attn==2.3.6 --no-build-isolationAlternatively you can compile from source:
git clone https://github.com/Dao-AILab/flash-attention.git cd flash-attention git checkout v2.3.6 python setup.py install