Skip to content

Error finetuning SmolVLM (idefics3 template) with batch size > 1 #6419

@VietDunghacker

Description

@VietDunghacker

When fine-tuning SmolVLM with batch_size > 1, this error occured: RuntimeError: Sizes of tensors must match except in dimension 0. Expected size 13 but got size 17 for tensor number 2 in the list.

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