nemo_automodel.components.launcher.base#

Module Contents#

Classes#

Launcher

Base class for all job launchers (interactive, SLURM, SkyPilot, nemo-run).

API#

class nemo_automodel.components.launcher.base.Launcher[source]#

Bases: abc.ABC

Base class for all job launchers (interactive, SLURM, SkyPilot, nemo-run).

abstractmethod launch(
config: Dict[str, Any],
config_path: pathlib.Path,
recipe_target: str,
launcher_config: Any,
extra_args: Optional[List[str]] = None,
) int[source]#

Launch a recipe job.

Parameters:
  • config – Parsed YAML config dict (without the launcher section).

  • config_path – Resolved path to the original YAML file.

  • recipe_target – Dotted import path of the recipe class.

  • launcher_config – Launcher-specific configuration (dict, int, or None).

  • extra_args – Additional CLI overrides forwarded to the recipe.

Returns:

Process exit code (0 = success).