class_docstr: Automatic job executor
  This class is used to hold the parameters to run a job either on the cluster
  corresponding to the environment.
  It can also be used to run job locally or in debug mode.
  In practice, it will create a bash file in the specified directory for each job,
  and pickle the task function and parameters. At completion, the job will also pickle
  the output. Logs are also dumped in the same directory.
  
  Executor specific parameters must be specified by prefixing them with the name
  of the executor they refer to. eg:
      - 'chronos_conda_file' (internal)
      - 'slurm_max_num_timeout'
  See each executor documentation for the list of available parameters.
  
  Parameters
  ----------
  folder: Path/str
      folder for storing job submission/output and logs.
  warn_ignored: bool
      prints a warning each time a parameter is provided but ignored because it is only
      useful for the other cluster.
  cluster: str
      Forces AutoExecutor to use the given environment. Use "local" to run jobs locally,
      "debug" to run jobs in process.
  kwargs: other arguments must be prefixed by the name of the executor they refer to.
      {exname}_{argname}: see {argname} documentation in {Exname}Executor documentation.
  
  Note
  ----
  - be aware that the log/output folder will be full of logs and pickled objects very fast,
    it may need cleaning.
  - use update_parameters to specify custom parameters (gpus_per_node etc...). If you
    input erroneous parameters, an error will print all parameters available for you.
class_docstr_tok: ["Automatic","job","executor","This","class","is","used","to","hold","the","parameters","to","run","a","job","either","on","the","cluster","corresponding","to","the","environment",".","It","can","also","be","used","to","run","job","locally","or","in","debug","mode",".","In","practice",",","it","will","create","a","bash","file","in","the","specified","directory","for","each","job",",","and","pickle","the","task","function","and","parameters",".","At","completion",",","the","job","will","also","pickle","the","output",".","Logs","are","also","dumped","in","the","same","directory",".","Executor","specific","parameters","must","be","specified","by","prefixing","them","with","the","name","of","the","executor","they","refer","to",".","eg",":","-","'chronos_conda_file","'","(","internal",")","-","'slurm_max_num_timeout'","See","each","executor","documentation","for","the","list","of","available","parameters",".","Parameters","--","--","--","--","--","folder",":","Path\/str","folder","for","storing","job","submission\/output","and","logs",".","warn_ignored",":","bool","prints","a","warning","each","time","a","parameter","is","provided","but","ignored","because","it","is","only","useful","for","the","other","cluster",".","cluster",":","str","Forces","AutoExecutor","to","use","the","given","environment",".","Use","``","local","''","to","run","jobs","locally",",","``","debug","''","to","run","jobs","in","process",".","kwargs",":","other","arguments","must","be","prefixed","by","the","name","of","the","executor","they","refer","to",".","{","exname","}","_","{","argname","}",":","see","{","argname","}","documentation","in","{","Exname","}","Executor","documentation",".","Note","--","--","-","be","aware","that","the","log\/output","folder","will","be","full","of","logs","and","pickled","objects","very","fast",",","it","may","need","cleaning",".","-","use","update_parameters","to","specify","custom","parameters","(","gpus_per_node","etc","...",")",".","If","you","input","erroneous","parameters",",","an","error","will","print","all","parameters","available","for","you","."]
code: def _typed_parameters(cls) -> tp.Dict[str, Type]:
      return {
          "name": str,
          "timeout_min": int,
          "mem_gb": float,
          "nodes": int,
          "cpus_per_task": int,
          "gpus_per_node": int,
          "tasks_per_node": int,
          "stderr_to_stdout": bool,
      }
  
file_path: submitit/submitit/auto/auto.py
imports: import typing
  import warnings
  from pathlib import Path
  from typing import Any, List, Optional, Type, Union
  from ..core import plugins
  from ..core.core import Executor, Job
  from ..core.utils import DelayedSubmission
label_desc: Use image node_id 4 for calling the AutoExecutor obj's underlying member method code with example usage: obj._typed_parameters(cls) and returns: dict