code: def preload_pytorch(device_id=0):
      """Do a small operation on CUDA to get the pytorch/cuda structures in place.
  
      A must to be run first if you're going to compare any CUDA-related numbers.
      """
      if torch.cuda.is_initialized():
          return
      torch.ones((1, 1)).to(device_id)
  
file_path: ipyexperiments/ipyexperiments/utils/mem.py
imports: import gc
  import os
  from collections import namedtuple
  from ipyexperiments.utils.pynvml_gate import load_pynvml_env
label_desc: Use image node_id 1 for calling a global function with example usage: preload_pytorch(device_id) without return types