pytorch/torch/utils/tensorboard
Matthew Hoffman 098d62d278 Add global_step parameter to SummaryWriter.add_hparams (#109572)
Fixes #37738 where all hparam metrics can only be plotted at step 0. This is basically just a resubmission of #50653.

before:
<img width="345" alt="Screenshot 2023-09-18 at 8 09 13 PM" src="https://github.com/pytorch/pytorch/assets/27844407/89ebb327-9d0f-4e4e-a77a-27067a9d4ca0">

after:
<img width="346" alt="Screenshot 2023-09-18 at 7 56 52 PM" src="https://github.com/pytorch/pytorch/assets/27844407/059e0465-c6bf-47fe-974b-2175e57aa62d">

@ngimel @J0Nreynolds @ezyang @albanD
Pull Request resolved: https://github.com/pytorch/pytorch/pull/109572
Approved by: https://github.com/ezyang
2023-09-22 12:37:01 +00:00
..
__init__.py
_caffe2_graph.py [BE] Enable ruff's UP rules and autoformat utils/ (#105424) 2023-07-18 20:17:25 +00:00
_convert_np.py [BE] f-stringify torch/ and scripts (#105538) 2023-07-21 19:35:24 +00:00
_embedding.py [BE] Enable ruff's UP rules and autoformat utils/ (#105424) 2023-07-18 20:17:25 +00:00
_onnx_graph.py
_proto_graph.py
_pytorch_graph.py [BE] f-stringify torch/ and scripts (#105538) 2023-07-21 19:35:24 +00:00
_utils.py [BE]: Update Ruff to 0.0.280 (#105724) 2023-07-22 23:03:34 +00:00
summary.py [tensorboard] Fix TensorBoard summary encoding for torch.bfloat16 tensors (#108351) 2023-09-14 23:12:22 +00:00
writer.py Add global_step parameter to SummaryWriter.add_hparams (#109572) 2023-09-22 12:37:01 +00:00