code: def __init__(self):
      self.h2d_stream = torch.cuda.Stream()
      self.d2h_stream = torch.cuda.Stream()
      self.fwd_prefetch_event_map = {}
      self.bwd_prefetch_event_map = {}
      self.region_list = []
  
file_path: ColossalAI/colossalai/auto_parallel/offload/util.py
imports: from dataclasses import dataclass
  from typing import List
  import torch
  from colossalai.context.singleton_meta import SingletonMeta
  from colossalai.fx.profiler import calculate_fwd_out, calculate_fwd_tmp
  from .region import Region
label_desc: Use image node_id 1 to create a new GlobalRuntimeInfo object  with example: obj = GlobalRuntimeInfo()