nemo_automodel.components.launcher.base

View as Markdown

Module Contents

Classes

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

API

class nemo_automodel.components.launcher.base.Launcher()
Abstract

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

nemo_automodel.components.launcher.base.Launcher.launch(
config: typing.Dict[str, typing.Any],
config_path: pathlib.Path,
recipe_target: str,
launcher_config: typing.Any,
extra_args: typing.Optional[typing.List[str]] = None
) -> int
abstract

Launch a recipe job.

Parameters:

config
Dict[str, Any]

Parsed YAML config dict (without the launcher section).

config_path
Path

Resolved path to the original YAML file.

recipe_target
str

Dotted import path of the recipe class.

launcher_config
Any

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

extra_args
Optional[List[str]]Defaults to None

Additional CLI overrides forwarded to the recipe.

Returns: int

Process exit code (0 = success).