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

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

Open
cumthxy opened this issue Jul 23, 2024 · 0 comments

Comments

@cumthxy
Copy link

cumthxy commented Jul 23, 2024

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

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