Repository navigation
Conversation
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
|
@i386 Please review and tick the Apache 2.0 contribution declaration in this PR’s acceptance criteria when you agree; |
Apply the shared CI repair from #258 while preserving the Metal backend and its fixture interfaces.
Apply the shared CI repair from #258 while preserving the Metal backend and its fixture interfaces.
Skippy Lab Qualification: PassedCommit: Native Spark lab qualification. Latest successful main: run 45835599636, attempt 1, commit
TPS comes from three separate warmed, uncached probes at concurrency 1, each generating exactly 128 tokens. The scored correctness answers and each probe's 64-token warmup are excluded. Each rate is total tokens / total server-reported phase time, not an average of request rates. Client elapsed times and raw responses are retained in throughput-probe.json. These bounded samples are not sustained benchmarks or controlled speedup comparisons. Legacy short-answer receipts and missing or invalid probe evidence show as Unavailable. Deltas use unrounded rates from matching PR-profile smoke receipts on the latest successful main run, including the nightly smoke evidence. Positive means faster. Changed workload inputs, different serving host classes, unequal phase token counts or missing evidence show Unavailable. Physical Spark placement and runtime conditions can differ; deltas are descriptive, not controlled speedup claims. Smoke checks cover GPU startup, deterministic endpoint repeats and bounded streaming. They do not establish an AgentX performance score. Nightly history and saved performance baselines are published separately; a saved baseline can be older than the latest successful main run used here. Native build and qualification output streams into each configuration’s Actions log, with per-attempt copies in Saved evidence. Any capture gaps are reported in the log and saved diagnostics. GitHub evidence copies expire after 30 days. |
i386
left a comment
There was a problem hiding this comment.
Commented at head b705294df9d5b411c0c5de2bc9a9b2ea127dfc22 — content verified and CI green at head; blocked on a rebase, and this account is the PR author so a maintainer approval is needed after it.
- The reorder is right: entering the peer control context before
admit()andprepare_split(...)keeps the control endpoint observable during long model admission and split planning, withphase = "preparing"reported. The newtest_control_precedes_model_admission_and_split_planningproves it for both roles and both blocked stages: the observer connects during preparation, sees phase "preparing", a "ready" await fails as it should,startis never called, and the port is released after the failure. - CI at head: all qualification lanes green, Automation checks green (the new script tests ran), lab qualification passed,
PR checkssuccess. Boxes ticked. - Blocked on a rebase: conflicts with current main in exactly
scripts/inference-execute.pyandscripts/tests/inference_peer.py(main evolved those files after this branch's point). After the rebase this is the critical-path PR — landing it clears #192's and #240's carried conflicts and removes the split-qualification flake class the 11-28 snapshots hit.
|
@michaelneale can I get a ✝️ |
Original problem
Split qualification can time out waiting for its own peer even after #256. The control listener opens after model admission and split planning, so a valid late-starting attempt remains invisible while it prepares its model. Serving this attempt's identity earlier lets the other role wait for real readiness instead of failing during preparation.
Diagnostics
In #239's failed Qwen3.6 split job, the JY worker attempt started at 07:08:12 UTC and the leader at 07:25:26 UTC. The worker's rendezvous timed out while the leader was still admitting the cached model and planning its stages. The workflow log records the leader's first peer request about 20 seconds after the worker timeout. The identity checks correctly rejected unrelated endpoint activity.
The added loopback regression failed in all four leader/worker × admission/planning cases against main before the fix: the control listener did not exist at either preparation callback.
Fix
Open formation-bound peer control after source, host, fixture and memory admission checks, before model content admission and split planning. Publish the internal
preparingphase while those operations run. The context manager closes the listener if preparation fails.The regression verifies both roles can inspect the matching attempt during both preparation steps,
preparingdoes not satisfyready, no native serving child starts early, and the control port closes on a preparation error. Existing listener ownership, wrong-formation/source/attempt, native-process exit and completion-acknowledgement checks continue to apply.Compatibility
Runtime ABI, model/wire formats and qualification proof shape are preserved. The internal control response adds a
preparingphase. Executor-derived benchmark identities record the changed execution contract; historical results retain their original identities. There is no performance claim or data migration.Validation
PYTHONPATH=scripts /tmp/skippy-ci-repair/automation-venv312/bin/python scripts/tests/inference_peer.pyfailed in the four new preparation subcases.SKIPPY_PYTHON=/tmp/skippy-ci-repair/automation-venv312/bin/python just ci-automation: passed the complete offline automation suite.git diff --check: passed.This changes Python qualification orchestration and its offline tests. Native/model/hardware qualification for this new head is pending CI; loopback tests do not establish it. GitHub Actions workflow and composite-action files are not changed.
Acceptance criteria
Summary by CodeRabbit