Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
joyolee opened this issue Oct 18, 2024 · 0 comments

Comments

@joyolee
Copy link

joyolee commented Oct 18, 2024

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant