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 using accelerate #115

Closed
juletx opened this issue May 9, 2024 · 1 comment
Closed

Automatic batch size using accelerate #115

juletx opened this issue May 9, 2024 · 1 comment

Comments

@juletx
Copy link

juletx commented May 9, 2024

It would be great to add an option to select batch size automatically using accelerate find_executable_batch_size function:
https://huggingface.co/docs/accelerate/main/en/package_reference/utilities#accelerate.find_executable_batch_size

@VikParuchuri
Copy link
Owner

I'm not planning to include this in the core marker (I don't want to bloat the library), but it would be easy to write an external utility that does this

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

2 participants