-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Profile collected in TF 2.12 not visible in TensorBoard #6338
Comments
Can you post your TensorBoard logs? In do they contain anything like this?
|
@rileyajones , that error was there with protobuf==4.20.3 . After downgrading protobuf to 3.20.3 that error was gone. However, only the following warnings were displayed and no profile was visible on the browser and had the message "No profile data was found.". `
|
I believe your issue is actually with the profiler plugin https://github.com/tensorflow/profiler. Could you try installing their nightly version? https://pypi.org/project/tbp-nightly/ |
@rileyajones Did the following and hit another failure.
|
It seems like the process of installing their nightly is a bit more convoluted than just installing another pip package. Check their quick start section https://github.com/tensorflow/profiler#quick-start |
on my setup, installing nightly does not resolve the issue, still the same problem persist:
setting PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python or downgrading protobuf from 4.22.3 -> 3.20.3 does not help either: In this case the following error can be seen on the console: Tensorboard profiler reports in the browser: No profile data was found. |
The issue here is essentially that the profiler plugin does not support the proto version being used. Given that the profiler plugin is part of another repo, I think it is time to open an issue there https://github.com/tensorflow/profiler/issues |
there is already one: tensorflow/profiler#609 "ProfilerPluginLoader fails due to protobuf versions #609" |
FYI, Profiler recently produced a new release of the plugin, which should fix these compatibility issues. I'll close this for now. |
Hi, it still does not work. Checked with: in short, it looks like:
and according to https://protobuf.dev/news/2022-05-06/#python-updates pip list shows, protobuf 4.23.2 is installed
More information: https://developers.google.com/protocol-buffers/docs/news/2022-05-06#python-updates |
Hmmm... that seems to be the case. In any case, this should be an issue on the tensorflow/profiler repo. The error message clearly shows the issue occurs while reading |
agree, it's an error in profiler package, more info here: tensorflow/profiler#609 (comment) |
@rileyajones hi, my model is trained by tensorflow version 1.14, does it mean that I cannot see the PROFILE through the browser? Do I have to upgrade tensorflow version to >= 2.2.0? |
Environment information (required)
Please run
diagnose_tensorboard.py
(link below) in the sameenvironment from which you normally run TensorFlow/TensorBoard, and
paste the output here:
https://raw.githubusercontent.com/tensorflow/tensorboard/master/tensorboard/tools/diagnose_tensorboard.py
Diagnostics
Diagnostics output
Next steps
No action items identified. Please copy ALL of the above output,
including the lines containing only backticks, into your GitHub issue
or comment. Be sure to redact any sensitive information.
Issue description
Profile collected in TF 2.12 GPU is not visible in TensorBoard.
The text was updated successfully, but these errors were encountered: