code: def _init():
      global _init_pid
  
      _init_cp()
      _init_nvml()
  
      if _nvml_lib is not None and _cuda_lib is not None:
          _init_pid = os.getpid()
  
imports: import dataclasses
  import logging
  import os
  import subprocess
  import sys
  import uuid
  from collections import namedtuple
  from ctypes import c_char, c_char_p, c_int, c_uint, c_ulonglong, byref, create_string_buffer, Structure, POINTER, CDLL
  from typing import List, Tuple, Optional, Union
  from ..utils import parse_readable_size
label_desc: Use image node_id 8 for calling a global function with example usage: _init() without return types