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

Do not include stateful parameters in optimizer state #453

Closed
seanmor5 opened this issue Jan 16, 2023 · 1 comment
Closed

Do not include stateful parameters in optimizer state #453

seanmor5 opened this issue Jan 16, 2023 · 1 comment

Comments

@seanmor5
Copy link
Contributor

There is no need to include these because they are not a part of the optimization process, so it ends up being a waste of memory duplicating them and for stateful keys like dropout it leads to memory issues

@seanmor5
Copy link
Contributor Author

Resolved in #553

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