[No.35] feat(doctor): add config doctor and dry-run - #204
Open
AutumnCs wants to merge 5 commits into
Open
Conversation
AutumnCs
requested review from
Aurelius84,
NINGBENZHE and
Yangruipis
as code owners
August 1, 2026 11:04
AutumnCs
marked this pull request as draft
August 1, 2026 11:07
AutumnCs
marked this pull request as ready for review
August 1, 2026 11:19
AutumnCs
marked this pull request as draft
August 4, 2026 07:01
AutumnCs
force-pushed
the
task/35-config-doctor
branch
from
August 4, 2026 08:26
234a586 to
7346580
Compare
AutumnCs
force-pushed
the
task/35-config-doctor
branch
from
August 4, 2026 14:42
50d2c5a to
e11fd1b
Compare
AutumnCs
marked this pull request as ready for review
August 4, 2026 14:51
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Task issue: #203
What
Add a CI-friendly Config Doctor and dry-run entrypoint for Task 35:
The command statically resolves training configuration and reports:
resolved,partial, orunresolvedresolution statusIt does not start Ray, Ray Serve, SGLang, CUDA/distributed workers, or a training loop.
Why
Relates to #203 and #86.
Many argument, path, dependency, resource, backend, and algorithm conflicts can be identified before GPU allocation. Doctor, Registry, Controller, and managed-teacher helpers consume the same side-effect-free Launch Plan primitives so the preview follows runtime role and GPU semantics instead of maintaining a Doctor-only topology.
How
--output,--strict-warnings, and exit codes0/1/2.Testing
Environment:
main@ce650113e01b2c0b1dabbfe3f35cdffd7f3be67dWarnings are existing third-party deprecation/capability warnings; no failed test was skipped. GitHub CI should be evaluated again after the rebased commits are pushed.
Type of Change
Risk & Rollback
--scriptintentionally supports only a safe static subset and fails closed outside that subset.Checklist