Skip to content

Conversation

@wchargin
Copy link
Contributor

Summary:
The tensorboard Pip package now depends on tensorboard-data-server.
Thus, users of standard TensorBoard may now pass --load_fast on
supported platforms. Users can still install TensorBoard even on a
platform that does not support the data server, because the data server
package includes a universal binary (*-py3-none-any.whl). This package
can always be installed, but does not implement any functionality, and
so attempting to use it with --load_fast will fail at runtime.

For now, we pin to exactly the v0.3.x minor series so that we can more
comfortably make breaking changes to the data server.

Test Plan:
Run //tensorboard/pip_package:extract_pip_package and install the
resulting wheel into a fresh virtualenv. Note that both TensorBoard and
the data server are installed, and that launching TensorBoard with
--load_fast --verbosity 0 (a) logs that the data server is being
launched “from Python package” and (b) loads fast.

wchargin-branch: pip-data-server-dep

Summary:
The `tensorboard` Pip package now depends on `tensorboard-data-server`.
Thus, users of standard TensorBoard may now pass `--load_fast` on
supported platforms. Users can still install TensorBoard even on a
platform that does not support the data server, because the data server
package includes a universal binary (`*-py3-none-any.whl`). This package
can always be installed, but does not implement any functionality, and
so attempting to use it with `--load_fast` will fail at runtime.

For now, we pin to exactly the v0.3.x minor series so that we can more
comfortably make breaking changes to the data server.

Test Plan:
Run `//tensorboard/pip_package:extract_pip_package` and install the
resulting wheel into a fresh virtualenv. Note that both TensorBoard and
the data server are installed, and that launching TensorBoard with
`--load_fast --verbosity 0` (a) logs that the data server is being
launched “from Python package” and (b) loads fast.

wchargin-branch: pip-data-server-dep
wchargin-source: a8de7f873b76a813e1c54a65d7f7d4f388c445ea
@wchargin wchargin added type:build/install core:rustboard //tensorboard/data/server/... labels Feb 10, 2021
@google-cla google-cla bot added the cla: yes label Feb 10, 2021
@wchargin wchargin requested a review from psybuzz February 10, 2021 21:33
Copy link
Contributor

@psybuzz psybuzz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Exciting!

@wchargin wchargin merged commit c4fa1df into master Feb 10, 2021
@wchargin wchargin deleted the wchargin-pip-data-server-dep branch February 10, 2021 23:55
@wchargin wchargin mentioned this pull request Feb 16, 2021
34 tasks
mdraw added a commit to mdraw/staged-recipes that referenced this pull request Apr 25, 2021
Required for conda-forge/tensorboard-feedstock#51
See tensorflow/tensorboard#4676

This is only the noarch dummy package, which should be used as a
fallback. As the next step, we should provide the actual
platform-specific packages where possible:
namely mac x86_64 and linux x86_64.
mdraw added a commit to mdraw/staged-recipes that referenced this pull request Apr 25, 2021
Required for conda-forge/tensorboard-feedstock#51
See tensorflow/tensorboard#4676

This is only the noarch dummy package, which should be used as a
fallback. As the next step, we should provide the actual
platform-specific packages where possible:
namely mac x86_64 and linux x86_64.
mdraw added a commit to mdraw/staged-recipes that referenced this pull request May 3, 2021
Required for conda-forge/tensorboard-feedstock#51
See tensorflow/tensorboard#4676

This is only the noarch dummy package, which should be used as a
fallback. As the next step, we should provide the actual
platform-specific packages where possible:
namely mac x86_64 and linux x86_64.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants