Skip to content

Remove family certification and use graph contracts for llama upgrades #12

Open

Description

@i386

Outcome

Use existing full CI as the llama upgrade gate and remove family certification. No additional live-model upgrade battery is required. Preserve the existing four-model inference workflow and its current PR/manual/nightly/release policy.

Tracking plan #10. Implementation: PR #162.

Upgrade pipeline

  1. Resolve an immutable llama.cpp revision and replay the ordered patch queues.
  2. Regenerate native patches, bindings and API documentation.
  3. Validate synthetic graph coverage and freeze an immutable candidate bundle.
  4. Run existing full CI once, including graph contracts, small synthetic execution tests and normal package/device smoke.
  5. On failure, retain diagnostics and allow one bounded repair/recheck for that phase. CI repair produces a fresh candidate and a new full CI run.
  6. Publish an upgrade PR only when its bundle identifies the exact candidate selected by successful full CI.

The 95-model CPU inference sweep, additional live-weight split batteries and duplicate independent passes are removed from the upgrade gate. No upgrade-specific DGX dispatch, staging refs, inference profiles or model-result receipts are needed.

Graph coverage

The native graph table contains 95 registered cases plus two supplemental GLM cases. Tests check interior cuts, a three-stage chain, decode/prefill profiles, parameter and state ownership, MTP placement and rejection behavior. Existing small synthetic numerical tests remain in the native suite.

  • Validate every registered architecture, layer count, activation width, MTP count and test mode against executable native CTest definitions.
  • Reject missing, duplicate and stale cases, including supplemental generators without an executable check.
  • Inventory current upstream architectures and transformed decoder builders.
  • Report uncovered architectures and builders, including new and changed ones, without blocking upgrades. CI logs summarize counts and retained reports list names.
  • Coverage gaps alone do not fail upgrades or invoke repair. Existing graph-contract regressions and actual patch, rewrite, compilation or integration failures remain blocking.
  • Retain graph coverage reports and preparation diagnostics.
  • Add synthetic cases for distinct split mechanisms or concrete regressions when useful, rather than requiring one per upstream addition. One default shape does not establish every variant.

The graph settings contain special modes and supplemental source mappings for existing tests, with no permitted-gap baseline or architecture allowlist. Synthetic cases require no production-weight downloads.

Family certification removed

Remove architecture-wide certification, Tier A/Tier B designations and experimental split overrides. Runtime split admission retains native graph, tensor, state, identity and backend contracts. The fixture registry remains test input, with no product support designation.

Portable native recipe metadata continues to bind upstream source and ordered patches. Stage protocol generation 17 removes obsolete certification fields; split peers must upgrade together. Existing inference runs keep their tested split plans and checksums alongside results.

Acceptance criteria

  • One full CI pass per successful candidate, with bounded repair and fresh CI after edits.
  • No additional live-model qualification jobs inside the upgrade workflow.
  • Preserve the separate four-model inference workflow and normal small-model CI smoke.
  • Offline regression tests reconstruct the native test table from ordered patches, catch regressions in existing cases, and verify new/changed coverage gaps remain informational.
  • Three new architectures may arrive together without failing for absent fixtures; existing broken contracts still fail even when uncovered additions are present.
  • Agent repair cannot change policy, workflows, fixture selection, upstream selection or commit history and receives no publication credentials.
  • Publisher rejects a candidate SHA that differs from the successful full CI candidate.
  • Default tests remain offline. Missing native sources/devices do not count as passing qualification.
  • No universal numerical-correctness or measured 90% split-success claim is inferred from graph contracts.

Implementation status

PR #162 is merged. PR #169 is also merged; it fixes the first upgrade pilot's cold-Git preparation failure and restores preparation/repair to the native JY runner with its installed Goose. After merging current main, just ci-automation passes locally: 79 Python tests, 55 workflow/controller tests and the shell reporting contracts. Workflow syntax and shell checks also pass. Earlier Rust/API checks, Clippy, unit/integration/documentation tests, C++ API contracts and the isolated embedding consumer check passed.

The earlier separate Rust facade test lacked a pinned native source checkout. Follow-up local validation now uses the supplied native source: just llama-check exited successfully on macOS (the recipe selects Metal), including the pinned native build, rewriter regeneration, graph coverage, bindings and API-document checks. Of 318 native CTest entries, 317 passed and skippy_resident_checkpoint_gpu_long was skipped because SKIPPY_NATIVE_TEST_REAL_MODEL was unset; that skipped proof provides no real-model GPU qualification. No production-weight inference or native JY Goose session has been run locally.

PR #173 addresses the next pilot's runner-capacity block: candidate job 137156371637 has been queued without a runner since 2026-11-22 09:02 UTC. The native-contracts JY pool has no active runner; its only matching x64 machine belongs to another pool while ARM64 machines are available. Both preparation jobs now select the pool's native-contracts label without requiring x64. Local automation passes (80 Python tests, 58 workflow/controller tests and shell report contracts); actual ARM64 candidate preparation remains pending. The queued run retains its original selector and requires a fresh dispatch after landing.

PR #173 is merged. The fresh pilot scheduled on ARM64 but failed because scripts/install-gh.sh unconditionally installed an amd64 executable. PR #174 removes that replacement installer and uses gh from the managed image. The native-contracts JY pool was configured for MeshLLM (latest); it has now been changed to the Fleet-managed Linux environment, whose baseline checks require GitHub CLI, Goose and LLVM/Clang 22. The configuration read-back verified the same group, repository, workflows, hardware filters, networks and capacity. The workflow also drops the custom native-contracts label, which Fleet's Linux sibling does not publish, while retaining the existing group and standard Linux container labels. Local automation passes (80 Python tests, 58 workflow/controller tests and shell report contracts); execution with this combined correction remains pending.

PR #174 is merged. The next pilot reached real native patch conflicts, then Goose failed because Skippy's shared subprocess filter removed JIANYANG_GATEWAY_TOKEN. JY had supplied the token and private Goose configuration correctly. Native JY probe job_9b3pm5dy6hh0n57 on spark-000586 succeeded: direct Goose returned the expected acknowledgement, the current filter reproduced the missing-token error, and restoring only the model token succeeded. Goose 1.60.2 used the project defaults custom_zai / glm-5.3-flash. PR #175 passes only that job-scoped model token explicitly to repair; the shared build filter stays unchanged. The real subprocess regression failed before the fix and passed afterward. Local full automation passes (81 Python tests, 58 workflow/controller tests and shell report contracts). A complete changed-pin repair and full CI pilot remain pending.

Activation remains pending: rerun unchanged-pin and changed-pin acceptance pilots with the merged JY/Goose preparation fix. Goose and its provider configuration are supplied on the JY runner; the workflow now supplies a default invocation, with SKIPPY_UPGRADE_REPAIR_COMMAND available as an override. The failed run selected 225a5345bbb0e0c70859af5441ba922beb666fcf; after merge-base seeding, that revision still has genuine source conflicts for bounded repair. The follow-up changes neither the llama pin nor the native patch queue. The schedule remains disabled until those demonstrate preparation, repair, full CI and exact-source PR publication.

This issue replaces the earlier Tier A/Tier B support-policy proposal. Historical KV fixture work remains linked from PR #34.

Activity

  1. added
    public-release
    phase:1
    area:benchmark
    kind:qualification
    status:in-progress
    and removed
    status:in-progress
    on Nov 17, 2026
  2. changed the title [-]Define Tier A and Tier B model certification manifests[/-] [+]Simplify llama upgrade qualification and retain agent repair[/+] on Nov 22, 2026
  3. changed the title [-]Simplify llama upgrade qualification and retain agent repair[/-] [+]Remove family certification and simplify llama upgrade qualification[/+] on Nov 22, 2026
  4. changed the title [-]Remove family certification and simplify llama upgrade qualification[/-] [+]Remove family certification and use graph contracts for llama upgrades[/+] on Nov 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:benchmarkkind:qualificationphase:1public-release

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions