-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Plumb --samples_per_plugin to Rust data server (#4689)
Introduces a `--samples-per-plugin` flag on the Rust data server, which takes the `--samples_per_plugin` flag from standard TensorBoard's CLI. At the moment, this change makes the value of `0` interpreted as "create a reservoir with capacity 0", while traditionally the value would be interpreted as "create a reservoir with unbounded capacity". This discrepancy will be addressed separately. Test plan: Added unit tests and ran with `cargo test`. Ran `bazel run tensorboard:dev --define=link_data_server=true -- --load_fast --logdir <logdir> --bind_all --samples_per_plugin=scalars=5,images=0` and observed that scalar charts that normally show lots of points now only show 5, while images do not appear at all. Associated issue: "samples per plugin" item in the Rustboard task list #4422.
- Loading branch information
Showing
7 changed files
with
254 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.