-
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
Plugin tabs disabled inside TB v1.15 when JS compilation is disabled #2687
Comments
Hello! I've noticed this on a local build, usually after setting "compile = False" in "tensorboard/components/BUILD". It's kind of frustrating. If not, could you please open the DevTools Console and share any errors with us, if any? |
That's it! Changing that Any chance we could get this in the TB v1.15 release? I'd like to have that flag False to enhance debugging and reduce compile time (ie, the Vulcanizing step takes 20+ seconds each build). Thanks again. |
Compilation has to be on for the What-If Tool to work, so we can't disable it by default (and vulcanization still happens even if compilation is off; they're not quite the same thing). You can just change the flag value locally though. |
Hi Nick, the vulcanzing of tensorboard.html takes ~25 seconds each build and impacts my productivity. |
Vulcanization and closure compilation are different steps. What-If Tool is the only thing that needs closure compilation, so you can set Vulcanization is much more deeply enmeshed in how TensorBoard's frontend build system works, it's not just the What-If Tool that needs it. If it were easy to eliminate we would have done so already. |
Nick, which files do I edit and how in TB v1.15 to 1) get bazel to omit the |
As I just explained, there isn't a way to omit the vulcanization step when building TensorBoard. It's mandatory. JS compilation is a separate step. In your earlier comment, you said "Changing that compile flag from True to False enabled the tabs in the plugin toolbar." Is this correct, or did you mean to say that changing it from False to True enabled the tabs? If the latter, then the issue is that with compilation disabled (for speed of development), the plugin tab is rendering as disabled. Is that correct? I don't have a solution to that issue, but we may be able to figure something out. In general though TensorBoard is not necessarily going to work completely without the compilation step, as slow as that is. |
In TB v1.14, changing tensorboard_html_binary.compile from True to False (as recommended by Gal) had two benefits: 1) the vulcanization step was omitted, and 2) the dashboard tabs were enabled. |
Nick is there any combination of parameters or settings that enables the dashboard tabs and omits the ~25 vulcanizing step? |
Not right now, no. There is probably a way to get the tabs to work again even when JS compilation is disabled, but it would require some investigation, and as I said we ship with compilation set to True so support for making TB work with it off is best-effort. My best recommendation right now is to do the development that requires fast iteration outside TensorBoard (the same way you would develop standalone HTML/JS independently). The point of the dynamic plugin system is to make it easy to then take that and deploy it inside TensorBoard without modification. Then build TensorBoard itself with compile = True. |
While porting our plugin to TB v1.15, I'm noticing that both plugin tabs in the plugin bar are disabled. I've stubbed out the GPU_SUMMARY dashboard to try and remove any environmental issues. Thoughts?
tf-gpu-dashboard.html
Environment information (required)
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.
Steps to reproduce (required)
The text was updated successfully, but these errors were encountered: