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

Automatic batch size identification tensorflow #186

Open
muellerdo opened this issue Nov 30, 2022 · 0 comments
Open

Automatic batch size identification tensorflow #186

muellerdo opened this issue Nov 30, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@muellerdo
Copy link
Member

muellerdo commented Nov 30, 2022

https://towardsdatascience.com/a-batch-too-large-finding-the-batch-size-that-fits-on-gpus-aef70902a9f1

Max batch size= available GPU memory bytes / 4 / (size of tensors + trainable parameters)
https://stackoverflow.com/questions/46654424/how-to-calculate-optimal-batch-size

https://proceedings.mlr.press/v97/agarwal19a/agarwal19a.pdf

@muellerdo muellerdo added the enhancement New feature or request label Nov 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant