Skip to main content

cli.cloud.base

cli.cloud.base

Launcher contract for complete remote Axolotl jobs.

Classes

Name Description
CloudLauncher Launcher plugin for a complete remote Axolotl process.

CloudLauncher

cli.cloud.base.CloudLauncher(config)

Launcher plugin for a complete remote Axolotl process.

Providers accept a cloud configuration dict and own its validation. Training receives the original YAML, local directory mounts, launcher arguments, and config overrides. Provider-specific training hooks belong in BasePlugin. Only train is required; optional operations fail explicitly by default. Per-step remote compute belongs in a training backend, not this interface.

Methods

Name Description
from_config Construct a provider; config_dir anchors provider-owned relative paths.
get_local_dirs Choose remote mounts for the caller’s working directory.
from_config
cli.cloud.base.CloudLauncher.from_config(config, *, config_dir=None)

Construct a provider; config_dir anchors provider-owned relative paths.

get_local_dirs
cli.cloud.base.CloudLauncher.get_local_dirs(cwd)

Choose remote mounts for the caller’s working directory.