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

Encountering task missing issue even when specifying task from list mentioned at current_tasks.md #233

Open
rodosingh opened this issue Sep 6, 2024 · 0 comments

Comments

@rodosingh
Copy link

As per the code snippet at line 446-461, args.tasks.split() create an empty string in list if comma (,) is used at end (just before line continuation character \) while mentioning multiple task in --tasks argument in CLI. Example shown below.

python3 -m accelerate.commands.launch \
    --num_processes=8 \
    -m lmms_eval \
    --model llava \
    --model_args pretrained="/dockerx/code/AMD-LLaVA/checkpoints/llava-v1.5-13b-lora-test-zero3-merged,conv_template=vicuna_v1" \
    --tasks ok_vqa,pope,ai2d, \
    --batch_size 1 \
    --log_samples \
    --log_samples_suffix llava_v1.5_ok_vqa_pope_ai2d \
    --output_path /dockerx/code/lmms-eval/logs/ \
    --verbosity='DEBUG'

Fix: Need to remove the comma at end.

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