Skip to content
This repository was archived by the owner on Apr 23, 2025. It is now read-only.

Enable tracing in estimator training#68

Merged
mihaimaruseac merged 2 commits intotensorflow:masterfrom
burgerkingeater:enable_trace
Apr 21, 2021
Merged

Enable tracing in estimator training#68
mihaimaruseac merged 2 commits intotensorflow:masterfrom
burgerkingeater:enable_trace

Conversation

@burgerkingeater
Copy link
Copy Markdown
Member

@burgerkingeater burgerkingeater commented Mar 29, 2021

This PR enables tracing in estimator when training so that TF profiler is able to work with estimator properly(Related issue: openxla/xprof#84). This echos the behavior of keras which enables tracing by default.

Note that based on the TF tracing impl, this change won't incur performance overhead when profiler is off as

  1. If tracer is on but the profiler is off, TF won’t actually trace anything.
  2. Tracer will start tracing only after profiler starts. As a result, it would trace the profiling steps only.

@google-cla google-cla bot added the cla: yes label Mar 29, 2021
@burgerkingeater
Copy link
Copy Markdown
Member Author

@mihaimaruseac would you mind helping take a look? thanks

@burgerkingeater burgerkingeater changed the title enable tracing in estimator training Enable tracing in estimator training Mar 29, 2021
@rthadur rthadur requested a review from mihaimaruseac March 29, 2021 16:09
@burgerkingeater
Copy link
Copy Markdown
Member Author

@rthadur would you mind reviewing? thanks

@burgerkingeater
Copy link
Copy Markdown
Member Author

@mihaimaruseac @rthadur kindly ping..

@gbaned gbaned added the M CL Change Size: Medium label Mar 31, 2021
@burgerkingeater
Copy link
Copy Markdown
Member Author

@geetachavan1 can you help reviewing ?

@burgerkingeater
Copy link
Copy Markdown
Member Author

@yuefengz maybe you can help with reviewing?

@rthadur
Copy link
Copy Markdown

rthadur commented Apr 1, 2021

@burgerkingeater thanks for your patience , this PR will be reviewed soon.

@burgerkingeater
Copy link
Copy Markdown
Member Author

@mihaimaruseac thanks!

@burgerkingeater
Copy link
Copy Markdown
Member Author

@mihaimaruseac can we get this merged?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

cla: yes M CL Change Size: Medium ready to pull

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants