noether.training.cli.submit_job

Functions

validate_config(config)

Validate the configuration using the specified schema.

main(config)

Main entry point for SLURM job submission.

Module Contents

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

Validate the configuration using the specified schema.

Parameters:

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

Returns:

The validated configuration schema

Raises:
  • ValueError – If the configuration is missing required fields

  • RuntimeError – If the schema class cannot be loaded

Return type:

noether.core.schemas.schema.ConfigSchema

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

Main entry point for SLURM job submission.

Validates a Hydra config and submits a training job via sbatch.

Example: .. code-block:: bash

noether-submit-job –hp configs/train_shapenet.yaml +seed=1 tracker=disabled noether-submit-job –hp configs/train_shapenet.yaml –dry-run

Parameters:

config (omegaconf.DictConfig)