megatron.global_vars.get_tensorboard_writer#

megatron.global_vars.get_tensorboard_writer()#

Return our wrapped tensorboard/wandb writer. It can be None so no need to check if it is initialized.