__init__.py 667 B

12345678910111213
  1. '''Copyright The Microsoft DeepSpeed Team'''
  2. from .logging import logger, log_dist
  3. from .comms_logging import get_caller_func
  4. #from .distributed import init_distributed
  5. from .init_on_device import OnDevice
  6. from .groups import *
  7. from .nvtx import instrument_w_nvtx
  8. # TODO: Move tensor fragment and mixed precision to zero utils
  9. from .tensor_fragment import tensor_fragment, get_full_hp_param, get_hp_fragment_mapping, fragment_address, get_full_hp_grad
  10. from .tensor_fragment import safe_get_full_fp32_param, safe_get_full_grad, safe_get_full_optimizer_state
  11. from .mixed_precision_linkage import link_hp_params
  12. from deepspeed.runtime.dataloader import RepeatingLoader