runner

BaseTaskRunner.

class common.runner.BaseTaskRunner[source]

Bases: ABC

task runner.

Stores configs and runs the task.

hydra_config

alias of BaseHydraConfig

final classmethod handle_configs()[source]

Stores various configs and runs the task.

Parameters:

cls – The BaseTaskRunner subclass calling this method.

Return type:

None

abstractmethod classmethod store_configs(store)[source]

Stores structured configs.

Parameters:
Return type:

None

abstractmethod static run_subtask(*args, **kwargs)[source]

Runs the subtask given config.

This method is meant to hold the subtask execution logic.

Return type:

Any