-
Notifications
You must be signed in to change notification settings - Fork 1.7k
add capture-profile into profile plugin #1894
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
Conversation
tensorboard/plugins/profile/tf_profile_dashboard/tf-profile-dashboard.html
Outdated
Show resolved
Hide resolved
tensorboard/plugins/profile/tf_profile_dashboard/tf-profile-dashboard.html
Outdated
Show resolved
Hide resolved
tensorboard/plugins/profile/tf_profile_dashboard/tf-profile-dashboard.html
Outdated
Show resolved
Hide resolved
tensorboard/plugins/profile/tf_profile_dashboard/tf-profile-dashboard.html
Outdated
Show resolved
Hide resolved
f224d14 to
15ddbb5
Compare
15ddbb5 to
8773fec
Compare
8773fec to
4634011
Compare
tensorboard/plugins/profile/tf_profile_dashboard/tf-profile-dashboard.html
Outdated
Show resolved
Hide resolved
tensorboard/plugins/profile/tf_profile_dashboard/tf-profile-dashboard.html
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh interesting, didn't realize there is no way to stop and have to wait for that duration. Just curious, why?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Separately, I am pondering the implication of using self.logdir here. Are profile data tagged with timestamp or anything? Would one be able to make any sense of the name when user profiles multiple times?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- I think it is fine to block the thread since python server uses different multiple threads to handle request.
- Profile data are tagged with timestamp.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm I did not realize this soon enough. I generally am scared of holding request open for at least a duration of the profile. Any thoughts on changing this contract so FE starts, polls (presumably with some status about the profile like memory usage), and stop?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it could be a future improvement. Created an issue #2013 to track it.
tensorboard/plugins/profile/tf_profile_dashboard/tf-profile-dashboard.html
Outdated
Show resolved
Hide resolved
de6cf12 to
e9c47d2
Compare

Motivation for features / changes
Allow sending capture profile request via TB
Screenshots of UI changes
