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

Precomputing batch size in MB #248

Open
BalzaniEdoardo opened this issue Oct 9, 2024 · 0 comments
Open

Precomputing batch size in MB #248

BalzaniEdoardo opened this issue Oct 9, 2024 · 0 comments

Comments

@BalzaniEdoardo
Copy link
Collaborator

Aim to facilitate batch size selection for stochastic gradient method when fitting very large dataset. Especially useful as a lower bound when estimating the GPU resources necessary by model fitting.

This method will be part of Basis, and can use the num_output_features parameter to estimate the size of the output array that the basis generates, given the number of samples in a batch and, optionally, the dtype of the array.

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

1 participant