Skip to content
Draft
Show file tree
Hide file tree
Changes from 5 commits
Commits
Show all changes
107 commits
Select commit Hold shift + click to select a range
ac04047
Port native decode and shared speculative execution to standalone Skippy
danielwinterw Nov 17, 2026
9a53f1b
Document three-process decode confirmation and rollback ablation
danielwinterw Nov 17, 2026
651fab3
Record qualified vanilla comparison and sampler ablation
danielwinterw Nov 17, 2026
bf07675
Unblock CI Just setup and remove a stale imported documentation link
danielwinterw Nov 17, 2026
ade04f5
Document cache pilot qualification and convolution attribution
danielwinterw Nov 17, 2026
cf00b36
Document corrected DFlash cache pilot and rejected Q8 pair
danielwinterw Nov 17, 2026
c8c9a8a
Clarify Mesh PR 33 versus standalone benchmark baseline
danielwinterw Nov 17, 2026
73d466a
fix: resolve native decode conflicts with main
danielwinterw Nov 18, 2026
cfd056e
Merge CI qualification foundation for PR9
danielwinterw Nov 18, 2026
9bcf32a
Merge reporter permission fix from CI foundation
danielwinterw Nov 18, 2026
dcf1d48
ci: retrigger qualification with merged reporter permissions
danielwinterw Nov 18, 2026
ca5b13f
Gate Skippy KV correctness on Metal and CUDA
i386 Nov 18, 2026
13cb336
Use the Hugging Face cache for qualification fixtures
i386 Nov 18, 2026
fd7ac0b
Keep KV fixtures separate from model support policy
i386 Nov 18, 2026
0895afe
Defer KV performance benchmarking to a follow-up
i386 Nov 18, 2026
4926cc3
Merge branch 'main' into codex/native-decode-port
danielwinterw Nov 18, 2026
85a2d2d
Run KV correctness fixtures in independent GPU jobs
i386 Nov 18, 2026
995d640
Merge branch 'main' into codex/native-decode-port
danielwinterw Nov 18, 2026
9076c5a
Merge main into KV qualification branch
i386 Nov 19, 2026
31efb21
Run KV qualification in package and device smoke jobs
i386 Nov 19, 2026
2447fb6
Sync KV package qualification with main CI automation
i386 Nov 19, 2026
6ec3e51
Merge standalone main and retain native speculative decode
i386 Nov 20, 2026
966946e
Handle GPU benchmark in the CLI analytics command map
i386 Nov 20, 2026
8894b8f
Merge updated Skippy main into the native decode port
i386 Nov 21, 2026
6fa89f9
Merge main into KV cache qualification
i386 Nov 21, 2026
7969bc0
Align cache qualification with resident eviction
i386 Nov 21, 2026
af06501
Promote resident disk fills into the bounded RAM cache
i386 Nov 21, 2026
89371a9
Sync Mesh request tiers and exact-state retention into Skippy
i386 Nov 21, 2026
48a8e9f
Stack the Mesh sync on Skippy PR #9
i386 Nov 21, 2026
452361e
Refresh the Mesh sync stack on the updated native decode port
i386 Nov 21, 2026
1ebce5e
Merge current Skippy main into the native decode port
i386 Nov 21, 2026
86d2c7a
Stack KV correctness qualification on the Mesh sync
i386 Nov 21, 2026
2afce4c
Restore inference build cache locking
i386 Nov 21, 2026
f3c1cd8
Restore main model staging for Spark qualification
i386 Nov 21, 2026
1092a66
Set max_request_tier in the split plan's stage options
michaelneale Nov 21, 2026
ca24a05
Fix split plan request tier initialization
i386 Nov 22, 2026
a7617ef
Merge pull request #141 from Mesh-LLM/micn/113-max-request-tier
i386 Nov 22, 2026
ab6213a
Keep an embedder's request class on the embedded OpenAI backend
michaelneale Nov 22, 2026
3a80025
Merge main into KV cache qualification
i386 Nov 22, 2026
f909ebb
ci: retrigger after protected workflow fix
i386 Nov 22, 2026
87ac011
Reuse admitted model identity for KV cache tiers
i386 Nov 22, 2026
a454670
Align cold prefill sampling and honor JSON response formats
i386 Nov 22, 2026
1f536ba
Bound tiny probability drift in KV qualification
i386 Nov 22, 2026
8ad7718
Accept versioned probability bounds in KV matrix reports
i386 Nov 22, 2026
949dd56
Merge main and preserve KV qualification on ARM CUDA
i386 Nov 22, 2026
cc7a587
Gate KV qualification on known answers and actual reuse
i386 Nov 22, 2026
b5224aa
Fix chat parsing and receipt bounds in KV qualification
i386 Nov 22, 2026
99a8224
Use one percent inference regression tolerance
i386 Nov 22, 2026
2d69c81
Reuse split completion callback sockets between qualification jobs
i386 Nov 22, 2026
478aa96
Route manual PR inference controllers around main-only Depot access
i386 Nov 22, 2026
ab0dd87
fix: address speculative scheduler waits and recurrent copy overhead
danielwinterw Nov 22, 2026
0caf230
test: include recurrent copy contract in native test builds
danielwinterw Nov 22, 2026
a2de690
test(skippy-serving): check the span window against fixed readings
jaredwy Nov 21, 2026
a124b4a
docs: record matched main and pre-review decode pilot evidence
danielwinterw Nov 23, 2026
0a7c209
docs: record M3 native diagnostics and bounded replay results
danielwinterw Nov 23, 2026
f45fcc1
ci: revalidate native decode port with fixed protected workflow
danielwinterw Nov 23, 2026
a7e82ae
Skip redundant clearing on complete KV imports
i386 Nov 23, 2026
60321ff
Snapshot durable KV restore changes for Spark comparison
i386 Nov 23, 2026
4124daf
Measure background durable spill time in the lab diagnostic
i386 Nov 23, 2026
d0337c9
Merge commit 'f45fcc17b' into codex/sync-mesh-request-tiers-and-reten…
michaelneale Nov 23, 2026
8010da0
Set max_request_tier once in the split plan's stage options
michaelneale Nov 23, 2026
c2ea350
Decouple recurrent checkpoint budgets and persist native KV during id…
i386 Nov 23, 2026
23fc35f
Fetch the pinned smoke fixture into the checkout
i386 Nov 27, 2026
7fb24fd
Fetch the pinned smoke fixture into the checkout
i386 Nov 27, 2026
0c7a0a1
Handle process exits racing with smoke cleanup probes
i386 Nov 27, 2026
523beee
Use current CI images and reliable smoke orchestration
i386 Nov 27, 2026
6a36455
Use current CI images and reliable smoke orchestration
i386 Nov 27, 2026
0fede4d
Bind inference caches to the native source recipe
i386 Nov 27, 2026
85ac16e
Bind inference caches to the native source recipe
i386 Nov 27, 2026
04e8d87
Bind inference caches to the native source recipe
i386 Nov 27, 2026
58c0bbf
Bind inference caches to the native source recipe
i386 Nov 27, 2026
1236bb2
Merge main CI fixes and reconcile native decode ABI
i386 Nov 28, 2026
e997ac5
Merge refreshed native decode and preserve request-tier contracts
i386 Nov 28, 2026
0447b46
Refresh KV qualification on current native and package CI
i386 Nov 28, 2026
cffc5f1
Make the merged native patch queue replay on cold runners
i386 Nov 28, 2026
208a122
Keep the KV harness compatible with the renamed subprocess package
i386 Nov 28, 2026
612f28b
Include the cold-runner native patch replay fix
i386 Nov 28, 2026
7ce941c
Refresh chunked KV qualification on the current native and CI stack
i386 Nov 28, 2026
10abfed
Include the cold-runner native patch replay fix
i386 Nov 28, 2026
30ed926
Reconcile decode accounting and sampler reservations after the upstre…
i386 Nov 28, 2026
30051fd
Include the native accounting regression fix
i386 Nov 28, 2026
28ade0d
Reserve the parent queue slot for the shared accounting fix
i386 Nov 28, 2026
2bec9c1
Include the native accounting regression fix
i386 Nov 28, 2026
5fd7a54
Regenerate the API reference for the refreshed native ABI
i386 Nov 28, 2026
8cc6b12
Include the regenerated ABI reference from the native parent
i386 Nov 28, 2026
f12d963
Include the regenerated native ABI reference
i386 Nov 28, 2026
f18de78
Regenerate the native API reference for the new ABI
i386 Nov 28, 2026
b3657e8
Refresh the generated ABI reference against the final parent
i386 Nov 28, 2026
060feed
Keep split peer control available during model admission and planning
i386 Nov 28, 2026
9ca2d80
Keep split peer control available during model admission and planning
i386 Nov 28, 2026
3e8855e
Remove duplicate request tier from split stage options
i386 Nov 29, 2026
f740202
Bring the split stage build fix into KV qualification
i386 Nov 29, 2026
bf8181a
Bound transposed KV checkpoint pack metadata
i386 Nov 29, 2026
3fc9cde
Bound resident KV capture across scheduler turns
i386 Nov 29, 2026
6c76700
Bound sliding-window and recurrent resident captures
i386 Nov 29, 2026
ea414c1
Reuse digest state across durable KV prefix probes
i386 Nov 29, 2026
cde3541
Defer fallback KV capture during active requests
i386 Nov 29, 2026
eb1414c
Enable bounded capture for complete standalone prompts
i386 Nov 29, 2026
0e78eef
Release spill channel ownership between cache capture slices
i386 Nov 29, 2026
f2f8588
Optimize BLAKE3 in cache qualification builds
i386 Nov 29, 2026
e688dca
Merge main into the KV qualification stack
i386 Nov 29, 2026
f428fa1
Integrate bounded KV capture with the updated native runtime
i386 Nov 29, 2026
3f4b189
Rebase Metal routing patch onto the pinned native source
i386 Nov 29, 2026
6fbcd30
Apply portable native patch queue to KV qualification
i386 Nov 29, 2026
320d540
Isolate inference qualification caches per lab run
i386 Nov 29, 2026
7e88063
Keep exact-state branch points under soft byte pressure
i386 Dec 1, 2026
1c1998d
Merge main into the KV qualification stack
i386 Dec 1, 2026
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
96 changes: 96 additions & 0 deletions .github/actions/ci-cache-build/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,96 @@
name: Build KV correctness binaries
description: Build the Skippy test and pinned llama.cpp reference for the backend.
inputs:
backend:
description: Cache qualification profile
required: true
candidate_artifact:
description: Protected candidate source artifact
default: ''
candidate_sha:
description: Immutable candidate source revision
default: ''
runs:
using: composite
steps:
- uses: ./.github/actions/cache
- uses: ./.github/actions/sccache
with:
scope: cache-correctness-${{ inputs.backend }}
- uses: ./.github/actions/source
with:
artifact: ${{ inputs.candidate_artifact }}
sha: ${{ inputs.candidate_sha }}
- name: Identify pinned reference build inputs
id: reference
shell: bash
env:
BACKEND: ${{ inputs.backend }}
run: |
fingerprint() {
set -e
uname -r
c++ --version
cmake --version
if [[ "$BACKEND" == cuda-arm64 ]]; then
nvcc --version
nvidia-smi --query-gpu=compute_cap --format=csv,noheader
else
xcrun --show-sdk-version
fi
}
set -o pipefail
digest=$(fingerprint | git hash-object --stdin)
echo "toolchain=$digest" >> "$GITHUB_OUTPUT"
- uses: actions/cache/restore@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
id: reference-cache
with:
path: target/cache-qualification-reference/llama-server
key: kv-reference-v1-${{ runner.os }}-${{ runner.arch }}-${{ inputs.backend }}-${{ steps.reference.outputs.toolchain }}-${{ hashFiles('llama_cpp/upstream.txt', 'Justfile', 'tools/xtask/src/cache_qualification/prepare.rs') }}
- name: Build the cache correctness executables
shell: bash
env:
BACKEND: ${{ inputs.backend }}
CMAKE_BUILD_PARALLEL_LEVEL: '8'
run: |
reference="$GITHUB_WORKSPACE/target/cache-qualification-reference/llama-server"
if [[ -x "$reference" ]]; then
export SKIPPY_CACHE_QUAL_LLAMA_SERVER="$reference"
fi
just cache-correctness-build-shards "$BACKEND" target/cache-qualification-build
- name: Stage the built reference for future runs
id: stage-reference
if: always() && steps.reference-cache.outputs.cache-hit != 'true'
shell: bash
run: |
built=target/cache-qualification-build/reference-build/bin/llama-server
if [[ -x "$built" ]]; then
mkdir -p target/cache-qualification-reference
cp "$built" target/cache-qualification-reference/llama-server
echo 'available=true' >> "$GITHUB_OUTPUT"
fi
- uses: actions/cache/save@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
if: always() && steps.stage-reference.outputs.available == 'true'
with:
path: target/cache-qualification-reference/llama-server
key: ${{ steps.reference-cache.outputs.cache-primary-key }}
- name: Publish the source-bound executables
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
with:
name: ${{ env.SKIPPY_ARTIFACT_SCOPE }}-kv-binaries-${{ inputs.backend }}
path: target/cache-qualification-build/kv-binaries.tar.gz*
if-no-files-found: error
compression-level: 0
overwrite: true
retention-days: 14
- name: Retain build failure logs
if: always()
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
with:
name: ${{ env.SKIPPY_ARTIFACT_SCOPE }}-kv-build-logs-${{ inputs.backend }}
path: |
target/cache-qualification-build/reference-build/CMakeFiles/CMakeConfigureLog.yaml
.deps/llama-build/**/CMakeFiles/CMakeConfigureLog.yaml
if-no-files-found: ignore
overwrite: true
retention-days: 14
47 changes: 47 additions & 0 deletions .github/actions/ci-cache-correctness/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
name: KV cache correctness
description: Run the complete correctness sequence for one pinned KV fixture.
inputs:
backend:
description: Cache qualification profile
required: true
fixture:
description: Pinned KV architecture case
required: true
candidate_artifact:
description: Protected candidate source artifact
default: ''
candidate_sha:
description: Immutable candidate source revision
default: ''
runs:
using: composite
steps:
- uses: ./.github/actions/cache
- uses: ./.github/actions/source
with:
artifact: ${{ inputs.candidate_artifact }}
sha: ${{ inputs.candidate_sha }}
- uses: ./.github/actions/setup-hf
- uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
with:
name: ${{ env.SKIPPY_ARTIFACT_SCOPE }}-kv-binaries-${{ inputs.backend }}
path: target/cache-qualification-binaries
- name: Run the cache correctness case
shell: bash
env:
BACKEND: ${{ inputs.backend }}
FIXTURE: ${{ inputs.fixture }}
run: just cache-correctness-shard "$BACKEND" "$FIXTURE" target/cache-qualification-binaries target/cache-qualification-results
- name: Retain the case evidence
if: always()
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
with:
name: ${{ env.SKIPPY_ARTIFACT_SCOPE }}-kv-shard-${{ inputs.backend }}-${{ inputs.fixture }}
path: |
target/cache-qualification-results/batch-result.json
target/cache-qualification-results/*/*.json
target/cache-qualification-results/*/*.log
target/cache-qualification-results/*/template-identity/*.log
if-no-files-found: error
overwrite: true
retention-days: 14
2 changes: 2 additions & 0 deletions .github/actions/ci-smoke/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ runs:
with:
name: ${{ env.SKIPPY_ARTIFACT_SCOPE }}-package-${{ inputs.runtime_id }}
path: dist/products/${{ inputs.runtime_id }}
- uses: ./.github/actions/setup-hf
if: env.SKIPPY_CI_MODEL == ''
- name: Admit pinned Qwen3 fixture
run: just automation-run ci model-fetch
shell: bash
Expand Down
19 changes: 19 additions & 0 deletions .github/actions/setup-hf/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Prepare Hugging Face CLI
description: Supply the hf command when it is missing from the runner.
runs:
using: composite
steps:
- name: Set up hf
shell: bash
run: |
if command -v hf >/dev/null; then
exit 0
fi
venv="$RUNNER_TEMP/skippy-hf"
python3 -m venv "$venv"
bin="$venv/bin"
if [[ "$RUNNER_OS" == Windows ]]; then
bin="$venv/Scripts"
fi
"$bin/python" -m pip install --disable-pip-version-check 'huggingface-hub==1.33.0'
echo "$bin" >> "$GITHUB_PATH"
123 changes: 122 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ on:
pull_request:
paths-ignore:
- 'docs-site/**'
merge_group:
types: [checks_requested]
push:
branches: [main]
paths-ignore:
Expand Down Expand Up @@ -63,6 +65,8 @@ jobs:
profile: ${{ steps.plan.outputs.profile }}
hosts: ${{ steps.plan.outputs.hosts }}
runtimes: ${{ steps.plan.outputs.runtimes }}
cache_correctness: ${{ steps.plan.outputs.cache_correctness }}
cache_fixtures: ${{ steps.plan.outputs.cache_fixtures }}
steps:
- name: Validate CUDA architecture mode
shell: bash
Expand All @@ -81,6 +85,7 @@ jobs:
fi
- uses: actions/checkout@fbc6f3992d24b796d5a048ff273f7fcc4a7b6c09 # v5.1.0
with:
fetch-depth: 0
persist-credentials: false
- uses: ./.github/actions/setup
- id: plan
Expand Down Expand Up @@ -490,9 +495,91 @@ jobs:
- run: just automation-run ci smoke-summary
env:
SKIPPY_CI_NEEDS: ${{ toJSON(needs) }}
cache_build_metal:
name: Build cache tests (Metal)
needs: plan
if: needs.plan.outputs.cache_correctness == 'true'
runs-on:
group: jy-rnr_h7x5s2yx9gtkz3c
labels: [self-hosted, skippy-ephemeral, macOS, ARM64, metal]
timeout-minutes: 90
steps:
- uses: actions/checkout@fbc6f3992d24b796d5a048ff273f7fcc4a7b6c09 # v5.1.0
with:
fetch-depth: 0
persist-credentials: false
- uses: ./.github/actions/ci-cache-build
with:
backend: metal
candidate_artifact: ${{ inputs.candidate_artifact }}
candidate_sha: ${{ inputs.candidate_sha }}
cache_build_cuda:
name: Build cache tests (CUDA)
needs: plan
if: needs.plan.outputs.cache_correctness == 'true'
runs-on:
group: jy-rnr_8gvzbe9b9d79y0k
labels: [self-hosted, skippy-ephemeral, Linux, ARM64, runtime-image, cuda13]
timeout-minutes: 90
steps:
- uses: actions/checkout@fbc6f3992d24b796d5a048ff273f7fcc4a7b6c09 # v5.1.0
with:
fetch-depth: 0
persist-credentials: false
- uses: ./.github/actions/ci-cache-build
with:
backend: cuda-arm64
candidate_artifact: ${{ inputs.candidate_artifact }}
candidate_sha: ${{ inputs.candidate_sha }}
cache_correctness_metal:
name: Cache correctness (Metal / ${{ matrix.fixture }})
needs: [plan, cache_build_metal]
if: needs.plan.outputs.cache_correctness == 'true'
strategy:
fail-fast: false
matrix:
fixture: ${{ fromJSON(needs.plan.outputs.cache_fixtures) }}
runs-on:
group: jy-rnr_h7x5s2yx9gtkz3c
labels: [self-hosted, skippy-ephemeral, macOS, ARM64, metal]
timeout-minutes: 90
steps:
- uses: actions/checkout@fbc6f3992d24b796d5a048ff273f7fcc4a7b6c09 # v5.1.0
with:
fetch-depth: 0
persist-credentials: false
- uses: ./.github/actions/ci-cache-correctness
with:
backend: metal
fixture: ${{ matrix.fixture }}
candidate_artifact: ${{ inputs.candidate_artifact }}
candidate_sha: ${{ inputs.candidate_sha }}
cache_correctness_cuda:
name: Cache correctness (CUDA / ${{ matrix.fixture }})
needs: [plan, cache_build_cuda]
if: needs.plan.outputs.cache_correctness == 'true'
strategy:
fail-fast: false
matrix:
fixture: ${{ fromJSON(needs.plan.outputs.cache_fixtures) }}
runs-on:
group: jy-rnr_8gvzbe9b9d79y0k
labels: [self-hosted, skippy-ephemeral, Linux, ARM64, runtime-image, cuda13]
timeout-minutes: 90
steps:
- uses: actions/checkout@fbc6f3992d24b796d5a048ff273f7fcc4a7b6c09 # v5.1.0
with:
fetch-depth: 0
persist-credentials: false
- uses: ./.github/actions/ci-cache-correctness
with:
backend: cuda-arm64
fixture: ${{ matrix.fixture }}
candidate_artifact: ${{ inputs.candidate_artifact }}
candidate_sha: ${{ inputs.candidate_sha }}
summary:
name: ${{ needs.plan.outputs.profile == 'full' && 'Full qualification' || 'CI' }}
needs: [plan, inference_contracts, quality, host, runtime, product, smoke]
needs: [plan, inference_contracts, quality, cache_correctness_metal, cache_correctness_cuda, host, runtime, product, smoke]
if: always()
runs-on: ubuntu-24.04
timeout-minutes: 20
Expand All @@ -501,7 +588,41 @@ jobs:
with:
persist-credentials: false
- uses: ./.github/actions/setup
- uses: ./.github/actions/source
if: needs.plan.outputs.cache_correctness == 'true'
with:
artifact: ${{ inputs.candidate_artifact }}
sha: ${{ inputs.candidate_sha }}
- uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
if: needs.plan.outputs.cache_correctness == 'true'
id: cache_shards
with:
pattern: ${{ env.SKIPPY_ARTIFACT_SCOPE }}-kv-shard-*
path: target/cache-qualification-shards
- name: Assemble Metal evidence
if: steps.cache_shards.outcome == 'success'
run: just cache-correctness-assemble metal target/cache-qualification-shards target/cache-qualification-metal
- name: Assemble CUDA evidence
if: always() && steps.cache_shards.outcome == 'success'
run: just cache-correctness-assemble cuda-arm64 target/cache-qualification-shards target/cache-qualification-cuda
- uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
if: always() && steps.cache_shards.outcome == 'success'
with:
name: ${{ env.SKIPPY_ARTIFACT_SCOPE }}-cache-correctness-metal
path: target/cache-qualification-metal
if-no-files-found: error
overwrite: true
retention-days: 14
- uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
if: always() && steps.cache_shards.outcome == 'success'
with:
name: ${{ env.SKIPPY_ARTIFACT_SCOPE }}-cache-correctness-cuda-arm64
path: target/cache-qualification-cuda
if-no-files-found: error
overwrite: true
retention-days: 14
- run: just ci-summary
if: always()
env:
SKIPPY_CI_PROFILE: ${{ needs.plan.outputs.profile }}
SKIPPY_CI_NEEDS: ${{ toJSON(needs) }}
3 changes: 3 additions & 0 deletions Cargo.lock

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

Loading
Loading