Skip to content

CUDA OOM when running LongVideoBench evaluation with lmms-eval, max_num_frames=64 #7

@joyolee

Description

@joyolee

Dear authors,

thank you for your awesome work in long-context vision LMMs. I tried evaluation with lmms-eval. I set the max_num_frames=64 and get CUDA OOM error. The code is as following:

python3 -m accelerate.commands.launch --num_processes=8 -m lmms_eval --model idefics2 --tasks longvideobench_val_i --batch_size 1 --log_samples --log_samples_suffix idefics2_lvb_i --output_path ./logs/

It seems that the inference is running in parallel on 8 GPUs. In paper, you write that you use 2 GPUs for inference. Which command and script do you use?

Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions