Skip to content

Upgrading tensorboard 1 to 2

Breaking1.15.0 → 2.21.0Breaking15Security2Platform6Deprecated2New60Changed71Fixed123Other18

BreakingUpgrade verdict

15 breaking changes and 6 platform requirement changes and 2 security fixes.

  • The hosted TensorBoard.dev service is going away, so you can no longer send your data to it.
  • The command that uploaded data to TensorBoard.dev no longer works.
  • The old chart renderer is gone, so links or settings that request it will no longer work.
  • Drops support for negative --reload_interval, which instructed TensorBoard to not read any data at all.
Top 5 of 25 that need code or config changes

Python requirement changed in 2.14.1: >= 2.7, != 3.0.*, != 3.1.* → >=3.9.

Adds packaging, pillow, tensorboard-data-server <0.8.0,>=0.7.0.

Drops six, wheel.

Breaking15
TensorBoard.dev is shutting down; new data can no longer be uploaded and tensorboard dev upload will fail.
tensorboard dev upload
No longer able to upload new data to TensorBoard.dev; the tensorboard dev upload command will fail.
tensorboard dev upload
TimeSeries plugin no longer supports the ?fastChart=false fallback to the old chart renderer.
TimeSeriesfastChart
Drops support for negative --reload_interval, which instructed TensorBoard to not read any data at all.
--reload_interval
Removes the Beholder plugin dashboard.
Beholder
Removes the Debugger V1 plugin dashboard, which is replaced by Debugger V2.
Debugger V1Debugger V2
TensorBoard now serves on localhost only by default; use --host or --bind_all to expose it to the network.
--host--bind_all
The --logdir flag no longer accepts multiple comma-delimited paths; use --logdir_spec for the old behavior.
--logdir--logdir_spec
tensorboard dev subcommand now shows an error without sending requests because tensorboard.dev has shut down.
tensorboard dev
Updates the protobuf dependency restriction to avoid a bad version while still allowing newer versions.
protobuf
Deletes the experimental dataframe API.
Makes the Projector plugin not work with --logdir_spec.
--logdir_spec
Removes experimental and legacy SQLite support via the --db_import and --db flags.
--db_import--db
Projector visualize_embeddings() now takes logdir as its first parameter instead of writer.
visualize_embeddings()logdirwriter
tensorboard.summary.* now aliases the v2 summary API symbols instead of v1; old symbols remain under .v1.
tensorboard.summarytensorboard.summary.v2tensorboard.summary.v1tf.summary
Security2
Fixes a Projector plugin vulnerability.
Adds security improvements, including Content Security Policy configurations.
Platform6
Drops support for Python 3.8.
Drops support for Python 3.7 and marks Python 3.11 as supported.
Drops Python 3.6 support; TensorBoard now requires Python 3.7 or above.
Drops support for Python 3.5.
As of TensorBoard 2.1.1+, only Python 3 is supported; no further releases for Python 2.
Only Python 3 is supported for this patch; no further Python 2 releases will be made.
Deprecated2
Beholder will be removed in a future release.
Beholder
Debugger (V1) will be removed in a future release, in favor of Debugger V2.