code: def get_sd_loader(
      ckpt_list, checkpoint_engine, sd_type="Megatron", version=None
  ):
      if sd_type == "Megatron":
          return MegatronSDLoader(ckpt_list, version, checkpoint_engine)
      else:
          assert False, "{} checkpoint type is not supported".format(
              sd_type
          )
  
imports: import torch
  import os
  import copy
  import collections
  import json
  from abc import ABC, abstractmethod
  from deepspeed.utils import logger
  from deepspeed.runtime.checkpoint_engine.torch_checkpoint_engine import TorchCheckpointEngine
  from .weight_quantizer import WeightQuantization
label_desc: Use image node_id 2 for calling the SDLoaderFactory obj's underlying member method code with example usage: obj.get_sd_loader(ckpt_list, checkpoint_engine, sd_type, version) and returns: MegatronSDLoader