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

[Fix] Fix batch-size setting of single-card LLaVA-Llama-3-8B configs #598

Merged
merged 2 commits into from May 10, 2024

Conversation

LZHgrla
Copy link
Collaborator

@LZHgrla LZHgrla commented Apr 23, 2024

No description provided.

@@ -36,7 +36,7 @@

# Scheduler & Optimizer
batch_size = 1 # per_device
accumulative_counts = 16
accumulative_counts = 128
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这么夸张的数,有跑过吗? loss 会下降不?

Copy link
Collaborator Author

@LZHgrla LZHgrla Apr 29, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@hhaAndroid
测试了一下,是可以正常下降的。因为这是单卡的配置,这样设置来确保 global bs = 128

@pppppM pppppM merged commit 648d63a into InternLM:main May 10, 2024
1 of 3 checks passed
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

Successfully merging this pull request may close these issues.

None yet

3 participants