code: def check_blip2(rank, world_size, port):
      disable_existing_loggers()
      colossalai.launch(
          config={},
          rank=rank,
          world_size=world_size,
          host="localhost",
          port=port,
          backend="nccl",
      )
      run_blip2_test()
  
file_path: ColossalAI/tests/test_shardformer/test_model/test_shard_blip2.py
imports: import pytest
  import torch
  import colossalai
  from colossalai.logging import disable_existing_loggers
  from colossalai.testing import assert_hf_output_close, clear_cache_before_run, parameterize, rerun_if_address_is_in_use, spawn
  from tests.kit.model_zoo import model_zoo
  from tests.test_shardformer.test_model._utils import build_model, check_grad, run_forward
label_desc: Use image node_id 3 for calling a global function with example usage: check_blip2(rank, world_size, port) without return types