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

how to find out which checkpoint nodes were selected with memory heuristic #14

Open
lexbee opened this issue Jan 24, 2018 · 1 comment

Comments

@lexbee
Copy link

lexbee commented Jan 24, 2018

Hey guys,
Great work by the way! I was just wondering, is it possible to see which checkpoints nodes were automatically created by the memory heuristic when using keras?

@TimSalimans
Copy link
Contributor

Yes! Set DEBUG_LOGGING=True in https://github.com/openai/gradient-checkpointing/blob/master/memory_saving_gradients.py#L344 and it will print the nodes that are selected as checkpoints.

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