Configuration API

Maturity: verified

Source modules: config.py and loader.py.

Symbol

Contract

load_pretrain_config

compose one explicit Hydra experiment and return strict PretrainConfig

PretrainConfig

immutable validated outer application recipe

ImplementationSelection

lowercase key plus implementation-owned JSON parameters

resolved_pretrain_config_hash

SHA-256 of the complete resolved recipe

pretrain_training_contract_hash

SHA-256 of semantics that bounded resume must match

The loader accepts config_dir, required experiment, optional config_name, and a sequence of Hydra dot-list overrides. It rejects empty experiment names, path separators, missing config directories, non-mapping results, and all schema violations before runtime construction.

See Also