nemo_automodel.components.launcher.nemo_run.config
nemo_automodel.components.launcher.nemo_run.config
Module Contents
Classes
Data
API
Configuration for the NeMo-Run launcher backend.
The executor field selects a named executor from
$NEMORUN_HOME/executors.py, or "local" for local execution.
Any key not recognised as a launcher setting is collected into
overrides and applied directly to the executor via setattr.
This means any executor attribute (nodes, partition,
container_image, time, env_vars, etc.) can be overridden
from YAML without changes to this config class.
Build from the raw nemo_run: YAML section, splitting launcher keys from executor overrides.
Parameters:
The parsed nemo_run: section. Launcher keys are validated here;
every other key is an executor attribute override whose value is
forwarded unchanged.
Returns: NemoRunConfig
The launcher configuration. A launcher key that is null in YAML takes its
Raises:
TypeError: If a non-null launcher key has the wrong type, oroverridesis not a mapping with string keys.