Repository navigation
Conversation
|
Do not merge until we have populated a baseline using inference qualification set to nightly. |
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 49 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
|
Needs @danielwinterw's eyes and brain before merging |
i386
left a comment
There was a problem hiding this comment.
Commented at head 4eca7f82e3 (stacked on #165) — content follows #165's design; blocked behind #165 and one lane to rerun.
The gating logic (immutable anonymous HF baseline snapshot, per-configuration 1% comparison, fail-closed on unreadable baselines or missing evidence, receipt reuse only when the current attempt has no artifacts and identities verify) is coherent and the AST-comparison-without-executing-candidate-code approach for benchmark equivalence is the right trust boundary. I found no new findings of my own at this layer.
Blockers/notes:
- #165's open items (smoke-metrics Major, mermaid diagrams) apply to this stack; #165 should land first.
- The ARM64 CUDA 13 package lane failed on 11-22 with a server-side curl 500 (exit 22) — infra, not this diff, but it needs a green rerun at this head before any approval story.
- Same AGENTS.md Mermaid requirement (workflow changes) unmet at this layer too.
Skippy Lab Qualification: Failed or incompleteCommit: Inference admission or qualification incomplete or failed. 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. |
Stack: #165 → #121 → #122 → #124 (stack #166). This PR builds on #165.
Original problem
Labeled PR and manual smoke runs verified native execution without comparing their measured performance against the saved public baseline. Failed-only reruns could also lose successful configurations from earlier attempts. Maintainers can now gate these runs on comparable measurements using #165's shared health report and 1% tolerance.
Diagnostics
The publisher already has workload-bound baselines, but non-publishing runs did not read them. Whole-file harness comparisons also treated unrelated reporting or split-only edits as a change to every benchmark. Publication remains protected-main-only; native jobs cannot receive its credentials.
Fix
qualifyadmission and release qualification. Scheduled and manual protected-main nightlies use Report inference health consistently on Hugging Face and Actions #165's required publication policy; a merge to main adds no inference run.Compatibility
No runtime, ABI or Parquet schema change. Existing 1% baseline semantics and audited recipe identities come from #165. Comparisons cannot seed, promote or publish a baseline.
Validation
After the stack update to
4eca7f8,just ci-automationpassed with Python 3.12 and the pinned publication dependencies, including all 61 Node tests and the Parquet/PNG publication tests. Workflow lint andgit diff --cached --checkalso passed.Passed locally on Python 3.12:
just automation-contractsjust inference-contractsafter the final comparison test changesuv run --python 3.12 --with-requirements ci/inference-publish-requirements.txt -- just inference-publication-testbash scripts/tests/inference-report.shnode --test .github/scripts/*.test.cjs— 32 passedactionlint .github/workflows/inference.yml .github/workflows/ci.ymlgit diff --checkNo new model or hardware qualification ran. Live baseline gating requires the protected workflow after landing; local contracts do not establish device qualification.
CI repair validation
The old native package jobs were cancelled or failed in runner setup. Re-ran the two HTTP 500 failures, then ported the process-exit cleanup fix and its three regression contracts to fresh branch heads. The probe rechecks child exit before treating a permission-denied process group as live.
SKIPPY_PYTHON=/tmp/skippy-ci-repair/automation-venv312/bin/python just automation-contracts,bash -n scripts/ci-model-fetch.sh, andgit diff --checkpassed on macOS ARM64. Fresh package/device checks remain pending in CI. Existing incomplete feature acceptance tasks remain incomplete.Native cache validation
The v1 shared Cargo/sccache inputs omitted the native patch recipe, allowing native artifacts from another source tree to be reused. Ported main’s source-bound dependency/extra-file identity and cold-build directory fix. Native patch edits/removals now invalidate dependency caches; Rust-only changes retain their permitted dependency reuse.
SKIPPY_PYTHON=/tmp/skippy-ci-repair/automation-venv312/bin/python just automation-contractsandgit diff --checkpassed on macOS ARM64, including the native-cache regressions. Fresh model/device qualification is pending on the new head.Main CI fixes refreshed —
6e9ff22eMerged target main
cc2a27435e798649a9cb938d600d39722e4a2263, including #254's separate queue/execution budgets and #256's formation-bound peer rendezvous, verified child listener readiness and control availability during preparation. Earlier split qualification failures included connection-refused/timeouts at the leader control port; those older results predate these shared fixes. Other merged CI fixes include Windows Vulkan path handling and the shared Windows GPU smoke workflow.SKIPPY_PYTHON=/tmp/skippy-ci-repair/automation-venv312/bin/python just ci-automationpassed on the merged tree, including deadline, peer identity, listener ownership, log streaming, reporting/publication and workflow contracts.git diff --checkandgit diff --cached --checkpassed. This is a normal base merge preserving the PR's feature changes; no additional Rust/native feature change was authored in this refresh. New exact-head source/package/device checks and native inference qualification are pending; earlier native results do not qualify this new head. The previous head remains available in history as88f4af338c46a8775d347cef6d5c6aecc0a0de58.Hosted CI on the initial merge exposed a duplicated
PROFILEworkflow env key and older schedule-test assertions absent from that commit. These are corrected in6e9ff22e;actionlint .github/workflows/inference.ymland the completejust ci-automationsuite (102 Node tests plus Python/publication/shell contracts) passed on the corrected tree. Historical recipe aliases remain unchanged.Split preparation rendezvous repair
The follow-up to main's peer lifecycle improvements is included at
bf065baa082a07c69c62b6ccecbb7333fdf55256. The failed #239 split attempt showed a late-starting peer remained invisible during model admission and stage planning. Control now exposes the matching formation/source/attempt in thepreparingphase during those operations. Native-child readiness, listener ownership and completion evidence remain required; timeouts and qualification policy are unchanged.Validation for this head:
git diff --check,just --command env PYTHONPATH=scripts /tmp/skippy-ci-repair/automation-venv312/bin/python scripts/tests/inference_peer.py(12 tests), andSKIPPY_PYTHON=/tmp/skippy-ci-repair/automation-venv312/bin/python just ci-automationall passed. The new real-loopback regression covers both roles and both preparation operations, rejects premature readiness, and verifies cleanup on preparation failure. Exact-head hardware qualification is pending CI.Acceptance criteria