#### **Install the inference package:**
```bash
conda create -n llava python=3.10 -y
conda activate llava
pip install --upgrade pip  # Enable PEP 660 support.
pip install -e ".[train]"
```

### **Inference**
```bash
python LongLLaVA/llava/test.py --video_path test_video.mp4 --max_frames_num 512 --pretrained lmms-lab/llava-onevision-qwen2-7b-ov
```