Open atyshka opened 3 years ago
Thanks for the report, I can reproduce this as well. Please note that the TensorBoard team does not officially support Safari, so making this work from the TB side would be a best effort attempt.
It looks like the core code of the profiler plugin, and any dynamic plugin in TensorBoard (ones installed via pip install tensorboard-plugin-*
) is
<head><base href="plugin/profile/" /></head>
<body><script type="module">import("./index.js").then((m) => void m.render());</script></body>
While Chrome and Firefox respect the base URL when doing a module import, Safari's Webkit does not. There is an open bug on the Safari side: https://bugs.webkit.org/show_bug.cgi?id=201692
Environment information (required)
Please run
diagnose_tensorboard.py
(link below) in the same environment from which you normally run TensorFlow/TensorBoard, and paste the output here:Diagnostics
Diagnostics output
`````` --- check: autoidentify INFO: diagnose_tensorboard.py version e43767ef2b648d0d5d57c00f38ccbd38390e38da --- check: general INFO: sys.version_info: sys.version_info(major=3, minor=7, micro=10, releaselevel='final', serial=0) INFO: os.name: posix INFO: os.uname(): posix.uname_result(sysname='Linux', nodename='e12ffba3e705', release='4.19.112+', version='#1 SMP Thu Jul 23 08:00:38 PDT 2020', 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==2.4.1 INFO: installed: tensorflow==2.4.1 INFO: installed: tensorflow-estimator==2.4.0 --- check: tensorboard_python_version INFO: tensorboard.version.VERSION: '2.4.1' --- check: tensorflow_python_version 2021-03-11 18:33:50.982079: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library libcudart.so.11.0 INFO: tensorflow.__version__: '2.4.1' INFO: tensorflow.__git_version__: 'v2.4.1-0-g85c8b2a817f' --- check: tensorboard_data_server_version INFO: no data server installed --- check: tensorboard_binary_path INFO: which tensorboard: b'/usr/local/bin/tensorboard\n' --- check: addrinfos socket.has_ipv6 = True socket.AF_UNSPEC =For browser-related issues, please additionally specify:
Issue description
Profile menu is blank when using Safari. Profiler issues were described in #3209 but that was closed as it was supposed to be fixed in major browsers. Safari is still not working, but I've verified it works in other browsers. Note that I'm using Tensorboard in Colab rather than locally.