-
Notifications
You must be signed in to change notification settings - Fork 356
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: support config file for tensorboard [DET-3900] #1191
Conversation
8f23ba9
to
c9d2d6e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's also make sure we update the Tensorboard docs.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we need to add config_file
to the list of accepted args. It would also be nice to add a det tensorboard config
option that shows the config being used, similar to what we have for notebooks.
This is my bad, I incorrectly moved work between branches. |
1d9a54a
to
3981889
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice Work!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm!
docs/how-to/tensorboard.txt
Outdated
@@ -51,6 +51,20 @@ TensorBoard for multiple experiments use | |||
metrics from persistent storage. It may take up to 5 minutes for TensorBoard | |||
to receive data and render visualizations. | |||
|
|||
Specifying a Command Config |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"Customizing TensorBoards" or something similar?
can be found in the :ref:`command-notebook-configuration`. | ||
|
||
To launch Tensorboard with a config file, use | ||
``det tensorboard start <experiment-id> --config-file=my_config.yaml``. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add an example of a configuration customization we expect to be somewhat common?
docs/how-to/tensorboard.txt
Outdated
Determined supports initializing TensorBoard with a config file. This | ||
feature can be useful for running TensorBoard with a specific container | ||
image or with a different resource allocation. Configuration settings | ||
can be found in the :ref:`command-notebook-configuration`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we update the command-notebook-configuration doc to specify how that configuration can be applied to TensorBoards as well?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I added a clarification in the command-notebook-configuration, but everything there should be compatible with tensorboard.
d8429ef
to
25dd59d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we fully update command-notebook-config.txt
to give parity to TensorBoards? e.g., the title of the page still only talks about commands and notebooks, not TensorBoards. Commands are much less important than TensorBoards and notebooks -- for brevity if we want to talk about only notebooks and TBs, that would be fine with me. (And then maybe in passing that the same thing works for det cmd
).
25dd59d
to
0bb60d1
Compare
Description
Allow a yaml file to be passed as an argument into the tensorboard start command, providing the option of running tensorboard in different container types. Additionally adds the
config
arg to print the config of a specified tensorboard.Test Plan
Tested manually. Tensorboard uses a cpu-only container by default, so specify a config file that uses a different container type (e.g. a gpu container). Use
det tensorboard config tensorboard_id
to verify that the specified container is being used.Commentary (optional)
Checklist
docs/release-notes/
.See Release Note for details.