Skip to content

layered config support dep#75

Open
jh-nv wants to merge 1 commit into
mainfrom
jihao/layered_config_support
Open

layered config support dep#75
jh-nv wants to merge 1 commit into
mainfrom
jihao/layered_config_support

Conversation

@jh-nv
Copy link
Copy Markdown

@jh-nv jh-nv commented Mar 20, 2026

Summary

  • Proposes layered YAML configuration support for Dynamo using OmegaConf for config composition
  • Config files support single-parent inheritance, interpolation across the merged tree, and a flat
    root-level flag namespace
  • Strict precedence model: CLI > env vars > config file > code defaults
  • All config values flow through existing argparse/backend parser paths — no separate coercion layer

Key Design Decisions

  • OmegaConf handles merge and interpolation only; parsers remain the source of truth for type
    conversion and validation
  • Six-step pipeline: bootstrap config, collector parse for CLI provenance, build merged tree,
    resolve interpolation, compile to synthetic argv, parse through existing flow
  • Covers vLLM, SGLang, and TRT-LLM backend integration
  • Explicitly excludes: multiple inheritance, Hydra, custom resolvers, Rust-side loading

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant