code: def test_act_ckpt_codegen():
      spawn(_run_offload_codegen, 1)
  
file_path: ColossalAI/tests/test_fx/test_codegen/test_offload_codegen.py
imports: import copy
  import pytest
  import torch
  from torch.fx import GraphModule
  import colossalai
  from colossalai.fx import ColoTracer
  from colossalai.fx.graph_module import ColoGraphModule
  from colossalai.legacy.core import global_context
  from colossalai.testing import rerun_if_address_is_in_use, spawn
label_desc: Use image node_id 4 for calling a global function with example usage: test_act_ckpt_codegen() without return types