Skip to content

i get err AssertionError: Micro batch size per gpu: 0 has to be greater than 0. #16

@cumthxy

Description

@cumthxy

i run bash train_and_inference_Uni.sh use ChatGLM get this erro,how to solve it?

878 │ │ │
│ 879 │ │ assert (train_batch > 0), f"Train batch size: {train_batch} has to be greater th │
│ 880 │ │ │
│ ❱ 881 │ │ assert (micro_batch > 0), f"Micro batch size per gpu: {micro_batch} has to be gr │
│ 882 │ │ │
│ 883 │ │ assert (grad_acc > 0), f"Gradient accumulation steps: {grad_acc} has to be great │
│ 884 │
╰──────────────────────────────────────────────────────────────────────────────────────────────────╯
AssertionError: Micro batch size per gpu: 0 has to be greater than 0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions