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

[Core] Create global-step increment op #23

Closed
michaelschaarschmidt opened this issue Dec 7, 2018 · 1 comment
Closed

[Core] Create global-step increment op #23

michaelschaarschmidt opened this issue Dec 7, 2018 · 1 comment

Comments

@michaelschaarschmidt
Copy link
Contributor

Global step is created in the executor and used for checkpointing. An increment op would need to be created e.g. in the generic agent and called together with act.

@sven1977
Copy link
Contributor

This has been done for training updates, but not for act updates (which would need a separate counter).
The training counter variable is held by the graph_executor under self.global_training_timestep and must be increased by Agents by calling self._graph_fn_training_step (which returns the increment up and may take another op for control dependencies). All current Agents execute this call.

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