Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 26 additions & 9 deletions .agents/skills/manage-ci/references/current-inventory.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,20 @@ caching). The runner preflight prepends `/Users/lab/.local/bin` and executes
`goose --version`, so a missing, damaged, or non-executable agent binary fails
before the changed-pin harness starts. Before native compilation,
`scripts/plan-family-battery.py` validates the versioned JSON family policy,
the mandatory three-lane contract for every certified profile, and every exact
artifact revision/file in the immutable local cache. It reads only GGUF
metadata headers, requires each artifact to have at least one metadata-bearing
shard, and requires every shard that carries `*.block_count` and
the three core parity lanes for certified causal rows, a class-specific
smoke plus independent local-monolithic oracle pair for each of the six registry-generated non-chat rows
(`embedding`, `rerank`, `encoder_decoder`, `ocr`, `speech_synthesis`, and
`speech_recognition`): respectively `embedding-smoke`,
`rerank-smoke`, `encoder-decoder-smoke`, `ocr-smoke`,
`speech-synthesis-smoke`, and `speech-recognition-smoke`, each paired with its
`-oracle` lane. These lanes exercise local full-model and HTTP behavior and
independent equivalence. Workload readiness uses the planned per-model deadline
for both servers; embedding certification requires the official Python SDK smoke.
Dry-run planning needs no oracle tools; a missing execution prerequisite records
failed lanes and does not discard later family results. It also
checks every exact artifact revision/file in the immutable local cache. It
reads only GGUF metadata headers, requires each artifact to have at least one
metadata-bearing shard, and requires every shard that carries `*.block_count` and
`*.embedding_length` to equal the planned runtime range and activation width
before compilation; Qwen4 experimental artifacts derive their wider boundary
from `hyper_connection.count * embedding_length`. It emits
Expand All @@ -68,16 +78,23 @@ local disk and moves each repo to NFS). On Apple Silicon, the wrapper and
generated-family rewriter re-exec as native arm64 before creating build state;
the rewriter discards a CMake cache for any other architecture. Correctness
lanes derive filtered-load resident tensor names from the native stage graph
planner, including GGUFs with non-finite metadata values. The workflow builds its five
planner, including GGUFs with non-finite metadata values. The workflow builds the
certification binaries before the manifest lanes; the family battery builds
them once itself unless `--skip-build` is selected, in which case it verifies
that every binary already exists. Before any certification starts, every GGUF is resolved
its four required executables once unless `--skip-build` is selected, in which case it verifies
that every binary already exists. Scheduled, changed-pin, and forced runs
use the complete 81-target causal roster plus six non-chat workload rows.
Both ordinary and independent changed-pin verification build a run-scoped
CPU oracle closure with `just skippy-workload-oracles-build`. Generated
`SKIPPY_WORKLOAD_*` paths select separate reference and candidate binaries
without replacing Metal outputs; source- and executable-bound
`producer.json` is verified before consumption. Non-chat rows require
class-specific smoke and oracle evidence and never certify staged splits. Before any certification starts, every GGUF is resolved
directly by the immutable snapshot SHA checked into
`ci/llama-canary/family-certified.json`. The runtime preflight records the
revisions, verifies all shard/tensor scans and declared runtime/MTP layer
counts/model bytes, then uses the production topology capability rules to
counts/model bytes, then uses, for causal rows, the production topology capability rules to
classify every interior boundary and select accepted balanced two-stage and
three-stage cuts. Each model runs one consolidated live certification and
three-stage cuts. Each causal model runs one consolidated live certification and
shares one unloaded monolithic token oracle between its single-step and chain
lanes. Preflight also checks disk headroom and certification ports. Native MTP/NextN heads remain part of the
single target model; the battery never reopens that model as a separate draft.
Expand Down
15 changes: 12 additions & 3 deletions .github/workflows/llama-upstream-canary.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ on:
# It must never execute a caller-selected ref on the persistent
# `family-certify` self-hosted runner. The job token is read-only. Changed pins
# are repaired by one agent, independently verified by the harness, and then
# published from a fresh GitHub-hosted job; unchanged nightly sentinels remain
# published from a fresh GitHub-hosted job; unchanged full-roster checks remain
# read-only.
permissions:
contents: read
Expand Down Expand Up @@ -320,6 +320,14 @@ jobs:
WORK_DIR: ${{ runner.temp }}/skippy-ci-smoke
run: scripts/skippy-ci-smoke.sh

- name: Build pinned CPU workload oracles and candidate
if: steps.prepare.outcome == 'success' && steps.sha.outputs.certify == 'true' && steps.family_patch.outcome == 'success'
run: |
set -euo pipefail
workload_root="${LLAMA_STAGE_BUILD_DIR:?}-workloads"
arch -arm64 just skippy-workload-oracles-build "$workload_root"
bash scripts/skippy-workload-oracles-build.sh --print-env "$workload_root" >> "$GITHUB_ENV"

- name: Supported-families certification battery (parity gate)
id: battery
if: steps.prepare.outcome == 'success' && steps.sha.outputs.certify == 'true' && steps.family_patch.outcome == 'success'
Expand Down Expand Up @@ -347,6 +355,7 @@ jobs:
name: llama-family-battery-${{ github.run_id }}-${{ github.run_attempt }}
path: |
target/family-battery/${{ github.run_id }}-${{ github.run_attempt }}/
${{ env.LLAMA_STAGE_BUILD_DIR }}-workloads/producer.json
target/skippy-stage-rewriter-check/
if-no-files-found: warn
retention-days: 14
Expand Down Expand Up @@ -392,9 +401,9 @@ jobs:
&& steps.family_patch.outcome == 'success'
run: |
{
echo "## llama.cpp nightly family sentinels"
echo "## llama.cpp nightly full family certification"
echo
echo "The pinned upstream passed the dense, hybrid/composite, and recurrent sentinel battery."
echo "The pinned upstream passed the full causal split and non-chat workload battery."
echo
echo "Certified families: ${{ steps.family_plan.outputs.family_count }}"
cat /tmp/llama-upstream-pr.md
Expand Down
19 changes: 19 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading