code: def print_env():
      for key in sorted(os.environ.keys()):
          if not (
              key.startswith(("SLURM_", "SUBMITIT_"))
              or key
              in (
                  "MASTER_ADDR",
                  "MASTER_PORT",
                  "RANK",
                  "WORLD_SIZE",
                  "LOCAL_RANK",
                  "LOCAL_WORLD_SIZE",
              )
          ):
              continue
          value = os.environ[key]
          print(f"{key}={value}")
  
file_path: submitit/docs/examples/torch_distributed.py
imports: import os
  import sys
  import time
  import torch
  import submitit
label_desc: Use image node_id 1 for calling a global function with example usage: print_env() without return types