code: def test_profile_alpha_beta(physical_devices):
      spawn(
          check_extract_alpha_beta, 4, physical_devices=physical_devices
      )
  
imports: import pytest
  from colossalai.device import AlphaBetaProfiler
  from colossalai.initialize import launch
  from colossalai.logging import disable_existing_loggers
  from colossalai.testing import parameterize, rerun_if_address_is_in_use, spawn
label_desc: Use image node_id 2 for calling a global function with example usage: test_profile_alpha_beta(physical_devices) without return types