noether.training.cli.submit_job

Functions

validate_config(config)

Validate the configuration using the schema declared by config_schema_kind.

main()

Entry point for noether-train-submit-job.

Module Contents

noether.training.cli.submit_job.validate_config(config)

Validate the configuration using the schema declared by config_schema_kind.

Parameters:

config (omegaconf.DictConfig) – The composed Hydra configuration to validate.

Returns:

The validated configuration schema instance.

Raises:
  • ImportError – If the schema class cannot be imported.

  • ValidationError – If the configuration does not satisfy the schema.

Return type:

noether.core.schemas.schema.ConfigSchema

noether.training.cli.submit_job.main()

Entry point for noether-train-submit-job.

Validates a Hydra config (and every multirun combination thereof) and submits a training job — or a SLURM array job — via submitit.

Return type:

None