code: def run_dist(rank, world_size, port):
      colossalai.launch(
          config=(dict()),
          rank=rank,
          world_size=world_size,
          port=port,
          host="localhost",
      )
      check_torch_ddp_checkpointIO()
  
file_path: colossalai/tests/test_checkpoint_io/test_torch_ddp_checkpoint_io.py
imports: import torch
  import torch.distributed
  from torch.nn.parallel import DistributedDataParallel
  from torch.optim import SGD
  from torchvision.models import resnet18
  from utils import shared_tempdir
  import colossalai
  from colossalai.booster import Booster
  from colossalai.booster.plugin import TorchDDPPlugin
  from colossalai.interface import OptimizerWrapper
  from colossalai.testing import check_state_dict_equal, parameterize, rerun_if_address_is_in_use, spawn
label_desc: Use image node_id 2 for calling a global function with example usage: run_dist(rank, world_size, port) without return types