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

is this module adapted for tensorflow 2.0 and above? #51

Open
sohamhans19994 opened this issue May 30, 2020 · 1 comment
Open

is this module adapted for tensorflow 2.0 and above? #51

sohamhans19994 opened this issue May 30, 2020 · 1 comment

Comments

@sohamhans19994
Copy link

No description provided.

@duhaime
Copy link

duhaime commented Sep 3, 2021

@yaroslavvb it looks like Tensorflow 2.x removed tensorflow.contrib.graph_editor, so one needs to update the logic to access get_backward_walk_ops to something like:

from tensorflow.python.ops import op_selector

# then...
op_selector.get_backward_walk_ops(...)

However, there's no op_selector.get_forward_walk_ops...

There's good discussion of a tf2 implementation of gradient checkpointing here.

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