Skip to main content

load_config

Function load_config 

Source
pub fn load_config<P: AsRef<Path>>(config_path: P) -> Result<TrainSpec>
Expand description

Load training spec from YAML file (without running training)

Auto-detects format:

  • If the YAML contains entrenar:, it’s parsed as a TrainingManifest and converted to TrainSpec via the bridge converter.
  • Otherwise, it’s parsed directly as TrainSpec (legacy format).