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

BatchSizeFinder with method fit and separate batch_size attributes for train and val (e.g., self.train_batch_size and self.val_batch_size) #20562

Open
ibro45 opened this issue Jan 24, 2025 · 0 comments
Labels
needs triage Waiting to be triaged by maintainers refactor

Comments

@ibro45
Copy link

ibro45 commented Jan 24, 2025

Outline & Motivation

I suggest allowing batch_arg_name to accept a list of arg names. E.g. `tuner.scale_batch_size(..., batch_arg_name=["train_batch_size", "val_batch_size").

Pitch

Fit uses both train and val dataloaders. They can have their own batch sizes.

Additional context

No response

cc @lantiga @justusschock

@ibro45 ibro45 added needs triage Waiting to be triaged by maintainers refactor labels Jan 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs triage Waiting to be triaged by maintainers refactor
Projects
None yet
Development

No branches or pull requests

1 participant