Installation

We recommend the requirements as follows:

  1. Clone this repository and navigate to the folder

git clone https://github.com/TinyLLaVA/TinyLLaVA_Factory

cd TinyLLaVA_Factory
  1. Install Package

conda create -n tinyllava_factory python=3.10 -y

conda activate tinyllava_factory

pip install --upgrade pip  # enable PEP 660 support

pip install -e .
  1. Install additional packages for training cases

pip install flash-attn --no-build-isolation