This repository was archived by the owner on Jul 1, 2024. It is now read-only.
Remove local_variables from train_step/eval_step#412
Closed
vreis wants to merge 2 commits intofacebookresearch:masterfrom
Closed
Remove local_variables from train_step/eval_step#412vreis wants to merge 2 commits intofacebookresearch:masterfrom
vreis wants to merge 2 commits intofacebookresearch:masterfrom
Conversation
Summary: local_variables makes the code in train_step really hard to read. Killing it from all hooks will take time, so start from a single hook (on_step). Differential Revision: D20171981 fbshipit-source-id: 79342642cbac9a8ebcc9ca59a2b7cce8d4f64f14
Summary: This is part of a series of diffs to eliminate local_variables (see D20171981). Now that we've removed local_variables from step, remove it from train_step, eval_step. Differential Revision: D20170006 fbshipit-source-id: 3d044c9e383601662ed19c05bc05b1ee23667709
Contributor
|
This pull request was exported from Phabricator. Differential Revision: D20170006 |
Contributor
|
This pull request has been merged in 841b439. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary:
This is part of a series of diffs to eliminate local_variables (see D20171981).
Now that we've removed local_variables from step, remove it
from train_step, eval_step.
Differential Revision: D20170006