Skip to content

The command-line argument "batch_size" being set to “auto” is applicable to all models? #967

@CodeTeamster

Description

@CodeTeamster

When I use lmms_eval in the following manner, the code throw exception that 'ValueError: invalid literal for int() with base 10: 'auto'.

accelerate launch $CONFIG_FILE_ARG
-m lmms_eval
--model qwen2_5_vl
--model_args pretrained="${PRETRAINED_MODEL_PATH},min_pixels=${MIN_PIXELS},max_pixels=${MAX_PIXELS},attn_implementation=flash_attention_2,interleave_visuals=False"
--tasks $TASKS
--verbosity WARNING
--batch_size auto
--log_samples
--log_samples_suffix $RUN_NAME
--output_path $LOG_DIR/$RUN_NAME

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