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

fixing evaluator microbatch size #1100

Merged

Conversation

ShashankMosaicML
Copy link
Contributor

@ShashankMosaicML ShashankMosaicML commented Apr 5, 2024

Currently, we do not pass the device_eval_microbatch_size to the Evaluator constructor. So, it uses data loader's batch size. See this and this

This creates a problem because the data loader's batch size is actually the device microbatch size times the packing ratio. See this and this

@ShashankMosaicML ShashankMosaicML marked this pull request as ready for review April 5, 2024 21:35
@ShashankMosaicML ShashankMosaicML merged commit d0d9434 into mosaicml:main Apr 8, 2024
9 checks passed
KuuCi pushed a commit that referenced this pull request Apr 18, 2024
@ShashankMosaicML ShashankMosaicML deleted the fix_eval_microbatch_size branch May 2, 2024 04:20
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.

2 participants