Commit f8b0ba0
[Config] Phase 1 configuration refactoring (RFC #870)
Introduce StageConfigFactory for typed, validated stage configuration
creation. Replace raw dict manipulation with a centralized config
factory that supports Tier-2 CLI overrides (gpu_memory_utilization,
tensor_parallel_size, devices, enforce_eager, trust_remote_code).
Centralize all OmegaConf usage into vllm_omni/config/yaml_util.py
with wrapper functions (load_yaml, load_yaml_raw, create_config,
merge_configs, to_dict).
- Add vllm_omni/config/stage_config.py with StageConfigFactory
- Add vllm_omni/config/yaml_util.py as single OmegaConf entry point
- Update entrypoints (omni.py, serve.py, omni_stage.py) to use factory
- Add end2end.py example with CLI override support
- Add config factory and YAML parsing unit tests
- Add qwen3_omni_moe stage topology YAML
Co-authored-by: hsliu <liuhongsheng4@huawei.com>
Co-authored-by: Chenguang ZHENG <645327136@qq.com>
Co-authored-by: gcanlin <canlinguosdu@gmail.com>
Co-authored-by: zjy0516 <riverclouds.zhu@qq.com>
Co-authored-by: wuhang <wuhang6@huawei.com>
Co-authored-by: xiedeyantu <czjourney@163.com>
Co-authored-by: Gaohan123 <hgaoaf@connect.ust.hk>
Co-authored-by: root <tzhouam@connect.ust.hk>
Signed-off-by: lishunyang <lishunyang12@163.com>1 parent 5fea482 commit f8b0ba0
File tree
12 files changed
+1459
-50
lines changed- examples/offline_inference/qwen3_omni
- tests/utils
- vllm_omni
- config
- entrypoints
- cli
- model_executor/stage_topologies
12 files changed
+1459
-50
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| 24 | + | |
24 | 25 | | |
25 | 26 | | |
26 | 27 | | |
| |||
325 | 326 | | |
326 | 327 | | |
327 | 328 | | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
| 340 | + | |
| 341 | + | |
| 342 | + | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
328 | 350 | | |
329 | 351 | | |
330 | | - | |
331 | | - | |
332 | | - | |
| 352 | + | |
333 | 353 | | |
334 | 354 | | |
335 | 355 | | |
| |||
489 | 509 | | |
490 | 510 | | |
491 | 511 | | |
| 512 | + | |
| 513 | + | |
| 514 | + | |
| 515 | + | |
| 516 | + | |
| 517 | + | |
492 | 518 | | |
493 | 519 | | |
494 | 520 | | |
| |||
505 | 531 | | |
506 | 532 | | |
507 | 533 | | |
508 | | - | |
| 534 | + | |
| 535 | + | |
| 536 | + | |
| 537 | + | |
| 538 | + | |
| 539 | + | |
| 540 | + | |
| 541 | + | |
| 542 | + | |
| 543 | + | |
| 544 | + | |
| 545 | + | |
| 546 | + | |
| 547 | + | |
| 548 | + | |
| 549 | + | |
| 550 | + | |
| 551 | + | |
| 552 | + | |
| 553 | + | |
| 554 | + | |
| 555 | + | |
| 556 | + | |
| 557 | + | |
| 558 | + | |
| 559 | + | |
| 560 | + | |
| 561 | + | |
| 562 | + | |
| 563 | + | |
| 564 | + | |
| 565 | + | |
| 566 | + | |
| 567 | + | |
| 568 | + | |
| 569 | + | |
| 570 | + | |
| 571 | + | |
509 | 572 | | |
510 | 573 | | |
511 | 574 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
0 commit comments