Skip to content

Get timers from subprocess #2268

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

Merged
merged 33 commits into from
Jul 23, 2019
Merged
Changes from 1 commit
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
92d18cb
Timer proof-of-concept
Jun 24, 2019
231bfea
micro optimizations
Jun 24, 2019
c0c07dc
add some timers
Jun 24, 2019
a656b05
cleanup, add asserts
Jun 25, 2019
809ae80
Merge remote-tracking branch 'origin/develop' into develop-timers-poc
Jul 3, 2019
5393a3f
Cleanup (no start/end methods) and handle exceptions
Jul 3, 2019
7017ece
Merge remote-tracking branch 'origin/develop' into develop-timers-poc
Jul 9, 2019
e4bdb25
unit test and decorator
Jul 9, 2019
42959e2
move output code, add a decorator
Jul 9, 2019
95ca049
cleanup
Jul 9, 2019
a75d172
module docstring
Jul 10, 2019
ac6b85e
actually write the timings when done with training
Jul 10, 2019
f6714f9
use __qualname__ instead
Jul 10, 2019
cc3043a
Merge remote-tracking branch 'origin/develop' into develop-timers-poc
Jul 10, 2019
ae5f155
add a few more timers
Jul 10, 2019
2a38af0
fix mock import
Jul 10, 2019
d896d50
fix unit test
Jul 10, 2019
63443ee
get timers from worker process (WIP)
Jul 10, 2019
32f0a0b
clean up timer merging
Jul 10, 2019
2ab3183
typo
Jul 10, 2019
44ed114
Merge remote-tracking branch 'origin/develop' into develop-timers-sub…
Jul 11, 2019
665e81a
WIP
Jul 15, 2019
041b203
cleanup merging code
Jul 16, 2019
37d2af0
bad merge
Jul 16, 2019
9cc6640
undo accidental change
Jul 16, 2019
a03f47d
Merge remote-tracking branch 'origin/develop' into develop-timers-sub…
Jul 16, 2019
8c0f362
remove reset command
Jul 17, 2019
89cb6cb
fix style
Jul 17, 2019
923ff16
fix unit tests
Jul 17, 2019
56dbede
Merge remote-tracking branch 'origin/develop' into develop-timers-sub…
Jul 22, 2019
80199be
fix unit tests (they got overwrote in merge)
Jul 22, 2019
0112b76
get timer root though a function
Jul 22, 2019
57dcef7
timer around communicate
Jul 23, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
actually write the timings when done with training
  • Loading branch information
Chris Elion committed Jul 10, 2019
commit ac6b85e1ac578985fd57b997e01eab545a1694b6
1 change: 1 addition & 0 deletions ml-agents/mlagents/trainers/trainer_controller.py
Original file line number Diff line number Diff line change
Expand Up @@ -269,6 +269,7 @@ def start_learning(
env.close()
if self.train_model:
self._write_training_metrics()
self._write_timing_tree()
self._export_graph()

@timed
Expand Down