Repository navigation
Conversation
|
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 45 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 eyes and ✝️ |
i386
left a comment
There was a problem hiding this comment.
Commented at head 61c827bb54 (stacked on #121) — content follows the stack design; blocked behind the stack and one lane rerun.
The Metal qualification layer (source-pinned M3 Ultra builds, actual-GPU/memory admission, backend-scoped receipts and recipes with no CUDA aliasing for Metal, the CUDA-history-preserving alias audit) is consistent with #165's identity design, and the run-count table gives reviewers the cost picture up front. No new findings of my own at this layer.
Blockers/notes:
- Stack order: #165 → #121 → this. #165's open CodeRabbit Major applies to the shared renderer this reuses.
- ARM64 CUDA 13 lane failed with the same 11-22 curl 500 as #121 — infra; needs a green rerun.
- AGENTS.md Mermaid diagrams for the workflow changes still missing on this layer.
mergeable_stateis dirty — this layer will need a rebase when the stack underneath lands anyway.
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. |
Apply the shared CI repair from #258 while preserving the Metal backend and its fixture interfaces.
Stack: #165 → #121 → #122 → #124 (stack #166). This PR builds on #121 and reuses #165's report design.
Original problem
The qualification ladder covered CUDA on DGX Sparks but did not qualify the native Apple Metal engine. Maintainers can now require M3 Ultra standalone results alongside CUDA standalone/split results, with the same checks and measured-health report.
Diagnostics
The native templates, device/memory admission and metric receipts were Spark-specific. A separate platform chart implementation would omit configurations and reset existing CUDA history through whole-file fingerprints.
Fix
Compatibility
No Rust/runtime ABI or Parquet schema change. Backend identity is bound to receipts and recipes. Existing CUDA baselines remain comparable only through the explicit audit; new Metal measurements establish independent series.
Validation
After the stack update to
61c827b,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-contractsuv 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 --checkContracts cover device/memory admission, backend recipe isolation, all scoped CUDA aliases, the 31-job manual nightly and multi-platform card/chart publication. No new hardware qualification ran; the source-pinned Metal pilot remains required after the protected workflow/template are active.
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.Preserved the Metal build argument, SDK identity, and absence of an NVCC probe for Metal. Five focused cache/backend contracts passed, including separate CUDA/Metal dependency keys.
Main qualification fixes —
432c841048a0fff2b9df08d0efb9fbf8ae2e3745Refreshed the stack through current #121 and main
cc2a27435e798649a9cb938d600d39722e4a2263. This incorporates separate queue/execution deadlines, formation-bound peer identity, verified native child listener ownership and control availability while preparing numerical state. Earlier failed split runs predate these fixes.Retained the Metal-specific build, memory admission, rows and shared charts. Reconciled the executor with the shared peer-control implementation and fixed both-backend summary and report fixtures. The execution contract now changes the current CUDA recipe fingerprint: historical aliases retain their audited original identity and do not claim equivalence with the new listener/peer contract. New execution results begin a distinct comparable series.
Inference workflow before (previous PR head):
Inference workflow after:
Validation:
SKIPPY_PYTHON=/tmp/skippy-ci-repair/automation-venv312/bin/python just ci-automationpassed on the final merged tree, including 103 Node contracts, offline Python suites and shell reporting tests.git diff --checkpassed. All-workflow actionlint passed with two narrowly scoped exceptions for documented GitHub keys unsupported by local actionlint 1.7.12: job cache-mode and concurrency queue: max. No repository validation rule was weakened. Fresh exact-head hosted and native qualification remain pending; local offline tests do not establish model/hardware qualification.Split preparation rendezvous repair
The follow-up to main's peer lifecycle improvements is included at
b91f602e70126a231f2256cbee8c8f1655fab356. 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.The latest stacked-parent reconciliation is
54ad82a3aa206deed9cdb806b3ba0a8d4e1b2212. Merging the current #121 head preserves the exact previously validated Metal source tree; the overlap is solely the same peer preparation fix with Metal-specific authority, memory-budget, logging and offload handling retained.git diff --cached --exit-code HEADbefore the merge commit confirmed no source-tree changes, and the 12 peer regressions passed again. CI is running for the new merge head.Acceptance criteria