# Copyright (c) 2022, NVIDIA CORPORATION. All rights reserved. import torch from .global_vars import get_args from .global_vars import get_current_global_batch_size from .global_vars import get_num_microbatches from .global_vars import get_signal_handler from .global_vars import update_num_microbatches from .global_vars import get_tokenizer from .global_vars import get_tensorboard_writer from .global_vars import get_adlr_autoresume from .global_vars import get_timers from .global_vars import get_counters from .utils import (print_rank_0, print_all_nodes, is_last_rank, print_rank_last)