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

Paged optimizer vs gradient checkpointing? #293

Open
LeoPerelli opened this issue May 23, 2024 · 0 comments
Open

Paged optimizer vs gradient checkpointing? #293

LeoPerelli opened this issue May 23, 2024 · 0 comments

Comments

@LeoPerelli
Copy link

Hello, i am somewhat confused by what paged optimizer obtains vs gradient checkpointing. Specifically, I was expecting one of the two by itself to be sufficient to avoid OOM errors. Indeed, if the paged optimizer is paging gradients, we shouldn't need gradient checkpoints anymore? However it does not appear to be so and the authors suggest using both together. Thanks!

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