tensorflow / tensorflow/tensorboard

Plugin tabs disabled inside TB v1.15 when JS compilation is disabled

Open
#2,687 10 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

core:frontend type:build/install
Dominant language
TypeScript
Stars
7.2k
Forks
1.7k
Avg merge
4d 22h
Merged PRs (30d)
1

Description

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?

image

tf-gpu-dashboard.html

<link rel="import" href="../tf-imports/polymer.html" />

<dom-module id="tf-gpu-summary-dashboard">
  <template>
    <h1>INSIDE tf-gpu-summary-dashboard</h1>
  </template>
  <script>

    Polymer({
      is: 'tf-gpu-summary-dashboard',
    });

  </script>
</dom-module>

Environment information (required)

Diagnostics
Diagnostics output
--- check: autoidentify
INFO: diagnose_tensorboard.py version 393931f9685bd7e0f3898d7dcdf28819fef54c43

--- check: general
INFO: sys.version_info: sys.version_info(major=3, minor=5, micro=2, releaselevel='final', serial=0)
INFO: os.name: posix
INFO: os.uname(): posix.uname_result(sysname='Linux', nodename='openwater-dt1', release='4.15.0-62-generic', version='#69~16.04.1-Ubuntu SMP Fri Sep 6 02:43:35 UTC 2019', machine='x86_64')
INFO: sys.getwindowsversion(): N/A

--- check: package_management
INFO: has conda-meta: False
INFO: $VIRTUAL_ENV: None

--- check: installed_packages
INFO: installed: tensorboard==1.15.0
INFO: installed: tensorflow-gpu==1.15.0rc1
INFO: installed: tensorflow-estimator==1.15.1

--- check: tensorboard_python_version
INFO: tensorboard.version.VERSION: '1.15.0'

--- check: tensorflow_python_version
INFO: tensorflow.__version__: '1.15.0-rc1'
INFO: tensorflow.__git_version__: 'v1.15.0-rc0-27-gea93078'

--- check: tensorboard_binary_path
INFO: which tensorboard: b'/usr/local/bin/tensorboard\n'

--- check: readable_fqdn
INFO: socket.getfqdn(): 'openwater-dt1'

--- check: stat_tensorboardinfo
INFO: directory: /tmp/.tensorboard-info
INFO: os.stat(...): os.stat_result(st_mode=16895, st_ino=26887361, st_dev=2050, st_nlink=2, st_uid=1000, st_gid=1000, st_size=4096, st_atime=1568733863, st_mtime=1569025370, st_ctime=1569025370)
INFO: mode: 0o40777

--- check: source_trees_without_genfiles
INFO: tensorboard_roots (1): ['/usr/local/lib/python3.5/dist-packages']; bad_roots (0): []

--- check: full_pip_freeze
INFO: pip freeze --all:
absl-py==0.7.0
apt-xapian-index==0.47
apturl==0.5.2
argcomplete==0.8.1
astor==0.7.1
chardet==2.3.0
command-not-found==0.3
defer==1.0.6
gast==0.2.2
google-pasta==0.1.7
grpcio==1.18.0
h5py==2.9.0
Keras-Applications==1.0.6
Keras-Preprocessing==1.0.9
language-selector==0.1
Markdown==3.0.1
mock==2.0.0
numpy==1.16.2
opt-einsum==3.0.1
pbr==5.1.3
pexpect==4.0.1
Pillow==3.1.2
pip==19.2.3
progressbar==2.3
protobuf==3.6.1
ptyprocess==0.5
pycups==1.9.73
pycurl==7.43.0
pygobject==3.20.0
python-apt==1.1.0b1+ubuntu0.16.4.5
python-debian==0.1.27
python-gnupg==0.3.8
python-systemd==231
pyxdg==0.25
PyYAML==3.11
reportlab==3.3.0
requests==2.9.1
screen-resolution-extra==0.0.0
setuptools==41.2.0
six==1.12.0
ssh-import-id==5.5
tensorboard==1.15.0
tensorflow-estimator==1.15.1
tensorflow-gpu==1.15.0rc1
termcolor==1.1.0
ubuntu-drivers-common==0.0.0
Ubuntu-Make==19.6
ufw==0.35
unattended-upgrades==0.1
urllib3==1.13.1
virtualenv==15.0.1
Werkzeug==0.14.1
wheel==0.33.1
wrapt==1.11.2
xkit==0.0.0

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)

cvinson@openwater-dt1:~/cvinson-dev/gitlab/tensorflow-tensorboard/tensorboard$ bazel run tensorboard --verbose_failures -- --logdir ~/cvinson-dev/stories/MobilenetV2/
INFO: Analyzed target //tensorboard:tensorboard (0 packages loaded, 0 targets configured).
INFO: Found 1 target...
Target //tensorboard:tensorboard up-to-date:
  bazel-bin/tensorboard/tensorboard
INFO: Elapsed time: 0.206s, Critical Path: 0.00s
INFO: 0 processes.
INFO: Build completed successfully, 1 total action
INFO: Build completed successfully, 1 total action
WARNING: Logging before flag parsing goes to stderr.
W0920 17:26:20.591699 140368825038592 __init__.py:329] Limited tf.compat.v2.summary API due to missing TensorBoard installation.
TensorBoard 1.15.0 at http://openwater-dt1:6007/ (Press CTRL+C to quit)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with tf-gpu-dashboard.html and reproduce the issue using the reported bazel run tensorboard command while JavaScript compilation is disabled. Trace why the two plugin-bar tabs become disabled and confirm the GPU summary dashboard stub loads; done means both plugin tabs are enabled and usable in TensorBoard 1.15.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
28/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.