How does Hydra help ML config management?
mediumAnswer
- Facebook's config framework.
- Compose configs from YAML files:
defaultslist + overrides. - Command-line overrides: .
- Multi-run: runs sweep.
- Groups: swap whole subsystems ().
- Structured configs with dataclasses for type safety.
- Automatic run dir per experiment.
- Combined with Optuna sweeper for HPO.
- Standard for research + production.
Check yourself — multiple choice
- Random
- Facebook config framework: compose YAML + CLI overrides + multi-run sweep + groups swap subsystems (model=resnet50 vs vit) + structured dataclass + auto run dir + Optuna sweeper HPO
- Same as argparse
- Not real
Hydra: compose + override + multi-run + groups + structured.
#reproducibility#pipeline
Practise MLOps & Data Quality
215 interview questions in this topic.