class_docstr: A callable which is passed to submitit to launch the jobs.
class_docstr_tok: ["A","callable","which","is","passed","to","submitit","to","launch","the","jobs","."]
code: def __init__(self, port, fun, cfg_state):
      self.cfg_state = cfg_state
      self.port = port
      self.fun = fun
  
file_path: pycls/pycls/core/distributed.py
imports: import os
  import random
  import submitit
  import torch
  from pycls.core.config import cfg
label_desc: Use image node_id 1 to create a new SubmititRunner object from inherited base classes: submitit.helpers with example: obj = SubmititRunner(port, fun, cfg_state)