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 batch size calculation #134

Merged
merged 1 commit into from
May 31, 2023
Merged

fix batch size calculation #134

merged 1 commit into from
May 31, 2023

Conversation

winglian
Copy link
Collaborator

so gradient accumulation steps shouldn't change regardless of number of gpus.

what should change is the calculated batch size (which we use elsewhere to calculate total steps)

also, added a fix to raise when it can't figure out how to prepare a dataset.

@winglian winglian requested a review from NanoCode012 May 31, 2023 18:13
@winglian winglian added the bug Something isn't working label May 31, 2023
@winglian winglian merged commit a6f5e5e into main May 31, 2023
@ehartford
Copy link
Collaborator

lgtm

@winglian winglian deleted the gas-batch-fix branch June 13, 2023 17:04
mkeoliya pushed a commit to mkeoliya/axolotl that referenced this pull request Dec 15, 2023
…/gas-batch-fix

fix batch size calculation
djsaunde pushed a commit that referenced this pull request Dec 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants