-
Notifications
You must be signed in to change notification settings - Fork 57
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
Fix for profiler in TensorBoard 2.5 #298
Comments
wchargin
added a commit
to tensorflow/tensorboard
that referenced
this issue
Apr 20, 2021
Summary: The `RequestContext` type is already public via `plugin_util.context`. Some plugins need to access it directly to create a background context, as done in the projector plugin or tensorflow/profiler#298. This module is designed as a public API, so it can be made globally visible. Googlers, see <http://cl/368909135>. wchargin-branch: context-public wchargin-source: 6defadb53029ac22e63fb9220c493cfa72155428
wchargin
added a commit
to tensorflow/tensorboard
that referenced
this issue
Apr 20, 2021
Summary: The `RequestContext` type is already public via `plugin_util.context`. Some plugins need to access it directly to create a background context, as done in the projector plugin or tensorflow/profiler#298. This module is designed as a public API, so it can be made globally visible. Googlers, see <http://cl/368909135>. wchargin-branch: context-public
Fixed by #307 |
Closed
I applied the patch, but I still don't see anything in my tensor board profile tab.
My environment:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi!
The profile plugin doesn’t work out of the box with TensorBoard’s fast
data loading mode because of the atypical ways in which it loads data.
Here is a patch that fixes the plugin:
I’ve tested this by manually patching it into the profile plugin, at
version 2.4.0 of the published Pip package. But the build is broken:
running
bazel build :build_pip_package
fails with Python deps errors,and running a plain
python setup.py develop
fails at runtime withprotobuf linking errors.
This patch should work with both TensorBoard 2.4 and 2.5.
Please feel free to take the above patch and integrate it. You can
attribute it to me, or not, as desired. I’ve signed the CLA and all.
The text was updated successfully, but these errors were encountered: