To get started, clone the repository and install the required dependencies.
git clone https://github.com/VectorSpaceLab/Video-XL
cd ./Video-XL/eval
conda activate your_conda_env # Replace 'your_conda_env' with your desired environment name
pip install -r requirements.txtThis section provides a guide for reproducing the evaluation results for Video-XL-2. Before you begin, please ensure you have completed theInstallation steps.
- Download our model from HF.
- Download benchmark videos from their original sources. You will need to update the videos' directory path in the
utils.pyfile located inlmms_eval/tasks/benchmark_namefor each benchmark to point to your local video directory.
We provide three distinct evaluation settings: Pure, w/ Chunk-based Pre-filling, and w/ Chunk-based Pre-filling + Bi-level Decoding. Navigate to the respective directories and run the evaluation scripts for each setting.
-
Setting 1: Pure Video-XL-2
- Directory:
./Video-XL-2/eval/lvu/pure/scripts - This setting evaluates the base Video-XL-2 model without any efficiency optimizations.
- Directory:
-
Setting 2: w/ Chunk-based Pre-filling
- Directory:
./Video-XL-2/eval/lvu/w_chunk/scripts - This setting evaluates the model with chunk-based pre-filling.
- Directory:
-
Setting 3: w/ Chunk-based Pre-filling + Bi-level Decoding
- Directory:
./Video-XL-2/eval/lvu/w_chunk_bilevel/scripts - This setting combines chunk-based pre-filling with bi-level decoding for maximum performance.
- Directory:
TODO
TODO