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.
In plain terms
- 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.
Must act 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.
What you must change
Breaking15
TensorBoard.dev is shutting down; new data can no longer be uploaded and
tensorboard dev upload will fail.tensorboard dev uploadNo longer able to upload new data to TensorBoard.dev; the
tensorboard dev upload command will fail.tensorboard dev uploadTimeSeries plugin no longer supports the ?fastChart=false fallback to the old chart renderer.
TimeSeriesfastChartDrops support for negative --reload_interval, which instructed TensorBoard to not read any data at all.
--reload_intervalRemoves the Beholder plugin dashboard.
BeholderRemoves the Debugger V1 plugin dashboard, which is replaced by Debugger V2.
Debugger V1Debugger V2TensorBoard now serves on localhost only by default; use --host or --bind_all to expose it to the network.
--host--bind_allThe --logdir flag no longer accepts multiple comma-delimited paths; use --logdir_spec for the old behavior.
--logdir--logdir_spectensorboard dev subcommand now shows an error without sending requests because tensorboard.dev has shut down.
tensorboard devUpdates the protobuf dependency restriction to avoid a bad version while still allowing newer versions.
protobufDeletes the experimental dataframe API.
Makes the Projector plugin not work with --logdir_spec.
--logdir_specRemoves experimental and legacy SQLite support via the
--db_import and --db flags.--db_import--dbProjector visualize_embeddings() now takes logdir as its first parameter instead of writer.
visualize_embeddings()logdirwritertensorboard.summary.* now aliases the v2 summary API symbols instead of v1; old symbols remain under .v1.
tensorboard.summarytensorboard.summary.v2tensorboard.summary.v1tf.summarySecurity2
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.
Deprecations to plan for
Deprecated2
Beholder will be removed in a future release.
BeholderDebugger (V1) will be removed in a future release, in favor of Debugger V2.