code: def _set_globals() -> None:
      """
      global train
      global checkpoint
      global distributed
      global preempt
      global searcher
      global info
      """
  
      assert _context is not None
      core_v2.train = _context.train
      core_v2.checkpoint = _context.checkpoint
      core_v2.distributed = _context.distributed
      core_v2.preempt = _context.preempt
      core_v2.searcher = _context.searcher
      core_v2.info = _context.info
  
file_path: determined/harness/determined/experimental/core_v2/_core_v2.py
imports: import atexit
  import dataclasses
  import logging
  import uuid
  from typing import Any, Dict, List, Optional, Union
  import determined
  from determined import core, experimental
  from determined.common import util
  from determined.experimental import core_v2
label_desc: Use image node_id 1 for calling a global function with example usage: _set_globals() without return types