Commit graph

87 commits

Author SHA1 Message Date
James Dumay
4d400b338c
fix(skippy): isolate chat grammar during speculative verification (#1172)
* Isolate grammar state during speculative verification

* Align serial grammar verification test

* fix(skippy): trim sampled verification test window

* test(skippy): cover long-context tool verification
2026-08-05 06:13:55 +00:00
James Dumay
70d4f3338c
fix(skippy): preserve token ordering during sampled verification (#1173)
* Fix sampled verification token history

* Guard non-output sampling history
2026-08-05 03:59:31 +00:00
James Dumay
aba53315ab
fix(skippy): preserve native tool-call semantics (#1144)
* accept role-only assistant messages
* preserve sampled grammar history
* ci: use Q8 model for skippy correctness
2026-08-04 04:28:34 -04:00
Michael Neale
6adbd5b0f6
skippy: land Laguna Q4 and experimental Inkling split serving (#1118)
* feat(skippy): add experimental Inkling text split serving

* feat(skippy): add Laguna staged runtime candidate

* docs(skippy): record Laguna package certification

* fix(skippy): integrate hybrid verify recovery and lane cleanup

* docs(skippy): record Laguna M5 parity

* test(skippy): certify Laguna three-stage parity

* docs(skippy): record Laguna distributed serving smoke

* docs(skippy): record real Laguna mesh evidence

* fix(skippy): make stage memory truly layer-local

* fix(packaging): preserve source revisions

* feat(skippy): honor package verification depth

* test(skippy): assert Laguna cache policy

* llama: linearize Laguna Inkling and recovery patches

* fix(skippy): reconcile combined family recovery state

* Harden combined Skippy family support

* fix(skippy): harden combined family runtime

* fix(skippy): retire final committed verify span

* fix(skippy): retire failed lane before replacement

* fix(skippy): retire partial exact replay trials

* fix(skippy): close combined review gaps

* docs(skippy): promote pinned Laguna Q4 package

* refactor(skippy): isolate prediction return startup

* fix: address consolidated model review

* fix(skippy): surface orphan cleanup failures

* skippy: complete Inkling tool path and operator notes

* llama: refresh Inkling patch for updated upstream

---------

Co-authored-by: Michael Neale <14976+michaelneale@users.noreply.github.com>
2026-08-03 17:03:05 +10:00
James Dumay
a67756785e
chore(llama): update upstream pin (#1142) 2026-08-02 15:32:20 +10:00
Nick DiZazzo
6a2fd48c72
Refresh llama.cpp upstream patch queue (#1105)
Return VerifyWindow MTP drafts through the typed ABI, advance the Skippy ABI mirror, and update Rust callers and tests. Harden ngram/KV state handling, GLM phase and range gates, and Metal dispatch configuration and active-count routing.

Keep the later split wk_b/wv_b graph contract, retain dynamic environment reads required by scoped tests, and avoid a duplicate Metal builder registry because those findings are superseded by later queue policy and existing symbol compilation.
2026-07-28 19:46:04 -04:00
Nick DiZazzo
9c0c79d3be Revert "Refresh llama.cpp upstream patch queue (#1099)"
This reverts commit face081d8e.
2026-07-28 17:06:07 -04:00
James Dumay
face081d8e
Refresh llama.cpp upstream patch queue (#1099) 2026-07-29 07:05:18 +10:00
James Dumay
dcfab5b1b4
Fix Metal small-batch matmul parity for GLM verification (#1078)
* Fix GLM-DSA verify window parity

* Use canonical Metal matmul for batched verify

* Fix Metal batched verify kernel parity

* Address GLM verify parity review feedback

* Complete Metal verify parity follow-ups

* Finish Metal verify parity review fixes
2026-07-27 09:49:58 +10:00
James Dumay
3bccf0db34
Handle K-only transposed KV page import and export (#1084)
* Fix empty transposed KV page export

* Address K-only KV page review feedback
2026-07-27 09:49:34 +10:00
James Dumay
f6e7e85bc6
Refresh llama.cpp upstream patch queue (#1085)
* Refresh llama.cpp upstream patch queue

* Address llama.cpp patch queue review feedback

* Guard llama KV page token allocations

Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>

---------

Co-authored-by: Nick DiZazzo <nick.dizazzo@gmail.com>
Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
2026-07-27 09:24:10 +10:00
James Dumay
ca5b6ea59f
Fix GLM 5.2 native MTP execution (#1049)
Some checks failed
Warm Windows ABI CI caches / Warm Windows CPU ABI cache (push) Has been cancelled
Warm Windows ABI CI caches / Warm Windows CUDA ABI cache (push) Has been cancelled
Warm Windows ABI CI caches / Warm Windows ROCm ABI cache (push) Has been cancelled
Warm Windows ABI CI caches / Warm Windows Vulkan ABI cache (push) Has been cancelled
CI / Linux CPU (push) Has been cancelled
CI / Rust crate tests () (push) Has been cancelled
CI / Linux tests () (push) Has been cancelled
CI / Linux client-auto boot test (push) Has been cancelled
CI / HuggingFace download smoke (push) Has been cancelled
CI / inference_smoke_tests (push) Has been cancelled
CI / agent_live_smokes (push) Has been cancelled
CI / two_node_client_serving_smoke (push) Has been cancelled
CI / rust_sdk_smoke (push) Has been cancelled
CI / kotlin_sdk_smoke (push) Has been cancelled
CI / swift_sdk_smoke (push) Has been cancelled
CI / macos (push) Has been cancelled
CI / Linux CUDA slim (push) Has been cancelled
CI / Linux ROCm slim (push) Has been cancelled
CI / Linux Vulkan (push) Has been cancelled
CI / Windows CPU (push) Has been cancelled
CI / Windows CUDA (push) Has been cancelled
CI / Windows ROCm (push) Has been cancelled
CI / Windows Vulkan (push) Has been cancelled
PR Quality Checks / rust-fmt (push) Has been cancelled
PR Quality Checks / rust-clippy () (push) Has been cancelled
PR Quality Checks / ui-quality (push) Has been cancelled
PR Quality Checks / cli-docs-sync (push) Has been cancelled
PR Quality Checks / summary (push) Has been cancelled
Public Website Deploy / Deploy public website (push) Has been cancelled
Warm Windows ABI CI caches / Prune old Windows ABI caches (push) Has been cancelled
2026-07-24 07:39:33 +10:00
James Dumay
121ff55434
Add GLM MoE Metal active expert patches (#1063) 2026-07-24 07:33:10 +10:00
James Dumay
e92422f176
Add GLM DSA llama foundation patches (#1034)
* Add GLM DSA llama foundation patches

* Mirror GLM DSA runtime config in Skippy FFI

* Address GLM DSA review feedback

* Fix GLM DSA Metal get_rows placement

* Rebase GLM DSA patch queue onto main
2026-07-24 07:26:18 +10:00
James Dumay
3e87c38060
🚬 Add bounded MTP + N-gram pipelining for latency-limited split inference (#1026)
* Enable adaptive verify window for ngram/draft speculation

The adaptive verify window was never enabled on the split-serving path:
to_embedded_openai_args hardcoded adaptive_speculative_window = false. With a
fixed window, an early reject never shrank the window, so a sustained reject
storm kept proposing at full depth and paying the full 2-round-trip recovery
cost per token. On a WAN split this measured as ~40% throughput loss with
N-gram speculation ON versus OFF, despite high per-token acceptance.

Enable the adaptive window whenever speculation actually proposes a window
(ngram or draft mode). The existing shrink_adaptive_window logic then narrows
the window toward the observed accept depth after an early reject, cutting
recovery frequency. Adds a regression test asserting ngram speculation turns
the adaptive window on.

* Replace speculative rollback with positional MTP n-gram pipelining

* Pipeline speculative verify windows across latency

* Fix positional correction and adaptive pipeline depth

* Continuously refill the speculative horizon

* Productionize pipelined MTP n-gram speculation

* Fix speculative docs and UI formatting

* Remove stale speculative projections and fix CI

* Handle fragmented direct-return fallback replies

* Replace speculative repair with fixed-depth positional pipeline

* Expose split-stage compute overlap telemetry

* Lock split topology placement

* Document locked split topology

* Address locked topology review feedback

* Fix SPEED-Bench timing JSONL output

* Bound benchmark telemetry finalization

* Hash SPEED-Bench request and response pairs

* mesh: stop re-applying formation-time RTT gate to operational stage streams

Ported from the WAN lab branch (wip/wan-direct-prediction-return, c340f741),
where it was validated live on a ~26ms WAN split. open_stage_transport_stream
re-applied the formation-time MAX_SPLIT_RTT_MS ceiling to every fresh
operational stream, so per-request direct-return sinks were rejected under
normal WAN RTT jitter while pooled forward lanes stayed healthy - surfacing as
ready-handshake timeouts and 502s on an already-admitted split. Split
admission still gates eligibility via gossiped, hysteresis-smoothed RTT plus
re-election; operational streams now warn and proceed.

* skippy: raise return-sink ready timeout 5s->20s for cold WAN bridge setup

Ported from the WAN lab branch (46108cfc). Over a WAN mesh the return sink
connects to a local bridge alias, but the remote ready byte only arrives after
the bridge cold-establishes a fresh stage QUIC connection (~10s budget) and the
remote handler dials its local server. 5s timed out during that cold setup on
a healthy ~26ms split; forward lanes already use a 20s budget. Match it.

* runtime: relaunch withdrawn splits when peers return instead of ending the model task

Observed live on a real WAN split (Sydney M5 <-> AU 4090): one transient
direct-return 502 led periodic_check to mark the remote stage unavailable;
after the 75s grace the coordinator withdrew the topology. The Withdraw event
returned StartupLoopControl::Break, so startup_local_model_loop tore down and
the task ended permanently - while the remote worker sat healthy, logging
'standing by for stage assignment' forever. Only recovery was manually
restarting both nodes with a fresh token.

Make withdraw non-terminal: a new RelaunchSplit control/outcome runs the full
existing teardown, then loops back to the launch phase and re-enters
wait_for_split_participants, relaunching the split when an eligible peer
returns. The stop channel is checked before relaunch so explicit shutdown
still wins. LocalFallback (model fits locally) is unchanged.

The participant-wait loop's 30s cadence and stable-participant gating act as
the natural retry throttle; no extra backoff added.

---------

Co-authored-by: Michael Neale <14976+michaelneale@users.noreply.github.com>
Co-authored-by: Michael Neale <michael.neale@gmail.com>
2026-07-22 18:32:34 +10:00
github-actions[bot]
e997c41137 Update llama.cpp upstream pin 2026-07-21 06:23:09 +00:00
github-actions[bot]
efcae3e027 Update llama.cpp upstream pin 2026-07-20 06:40:02 +00:00
James Dumay
2c5dacf212
Pipeline MTP-anchored n-gram verify windows (#938)
* Replace Skippy verify span with verify windows

* Add verify window reply metadata

* Pipeline direct-return n-gram verify windows

* Pipeline MTP-anchored n-gram verify windows

* Support static release builds without features

* Fix split MTP activation-frame serving

* Replace native MTP batched verifier with verify windows

* Restore native MTP verify window batching

* Replace native MTP anchor extension with composite proposals

* Keep composite decode branch on development version

* Expose decode timings for all generation modes

* Retry transient staged lane readiness

* Bound persistent lane readiness handshake

* Keep pure N-gram decode free of MTP drafts

* Report composite proposal totals in decode timings

* Gate composite decode pipeline by candidate depth

* Account direct GGUF MTP weights in split planning

* Avoid MTP cooldown after N-gram tail rejection

* Improve hybrid MTP verification telemetry

* Pipeline native MTP verification replies

* Require useful N-gram tails for hybrid MTP

* Adapt N-gram MTP extensions to tail acceptance

* Fix direct GGUF planning fallback

* Gate N-gram tails on MTP prefix agreement

* Widen initial async verify windows

* Restore anchored N-gram MTP extensions

* Retain ready stages across transient refresh failures

* Document pipelined VerifyWindow decode

* Use llama.cpp N-gram proposer for Skippy

* Add cache-based N-gram proposer

* Add declarative speculative proposer package schema

* Productize Skippy speculative decode plans

* Productize Skippy speculative decode plans

* Support direct N-gram Skippy plans

* Validate speculative package strategy plans

* Add coding agent loop benchmark corpus

* Expose Skippy speculative benchmark counters

* Validate cache N-gram proposer limits

* Document speculative decode configuration

* Fix native MTP proposals and fused restore routing

* Honor configured N-gram extension width

* Document speculative runtime overrides

* Refresh speculative config schema contracts

* Keep N-gram tail rejects from penalizing MTP

* Preserve MTP state after serial tail rejects

* Report adaptive verify width changes accurately

* Fix short simple N-gram extension budgets

* Make VerifyWindow pipelining cost-aware

* Profile prospective VerifyWindow widths

* docs: WAN split performance model + measured latency/compute decomposition

Adds docs/skippy/WAN_SPLIT_PERF.md: the single-stream per-token cost model
(TPOT ~= C_total + (S-1)*2*RTT + (S-1)*P), compute-bound vs latency-bound
criteria, when adding a stage helps (memory, concurrency/pipeline overlap,
dense compute-bound models), and speculation as the WAN amortization lever.

Backed by 2026-07-18 Sydney<->Melbourne 2-node measurements: solo 12.9 ms/tok
compute, split 57.8 ms/tok, decomposing to 12.9 compute + 40 (2xRTT) + 4.9
protocol. Workload was latency-bound (~78% network).

* docs: plan for fast-fail on new requests routed to a dead split stage

Documents the measured ~30s hang when a new request routes to a killed
split stage, the confirmed root cause (60s heartbeat / lenient failure
threshold + slow lane-open timeouts), and a two-layer fix (short
steady-state lane-open deadline; feed lane failures into target_health
cooldown) plus an explicit validation gate. Mesh-timing changes are out
of scope pending live multi-node validation.

* Fast-fail lane reconnects so new requests don't hang on a dead split stage

When a downstream split stage dies, a new request would open a fresh lane
and wait the full ~20s warmup ready-deadline before erroring (observed as a
~30s hang in the Sydney<->Melbourne kill test). The 20s deadline is only
needed during pool warmup, when the downstream may still be loading its
model.

Split the deadline: pool warmup keeps LANE_READY_READ_TIMEOUT (20s); mid-life
reconnects from checkout()/replace_lane() on an already-serving mesh use a
new LANE_STEADY_CONNECT_TIMEOUT (3s). A healthy peer answers in milliseconds,
so a dead stage now fails in ~3s instead of ~30s.

Restores receive_persistent_lane_ready as the shared bounded-handshake helper
(dropped during the main merge) and removes a now-obsolete retry test that
covered pre-#1011 retry behavior. Adds tests asserting the steady-state
deadline stays well under the warmup deadline and that the handshake read
fails fast on a silent downstream.

* docs: latency-aware placement — current behaviour and many-node gaps

Records verified planner behaviour (skippy-coordinator/topology.rs,
skippy-topology, host-runtime call site):
- latency is a placement cost (rtt_ms penalty), not just relay-only exclusion
- planner selects a node subset; does not have to use every eligible node
- stage count is gated on a decode-TPOT target (shallower-that-meets beats
  deeper-that-does-not)

And the gaps that matter at many-node scale:
- no peer-to-peer RTT matrix in production (edge_signals never wired; only
  coordinator-RTT is used) -> co-located nodes cannot be exploited
- network estimate is max(coordinator RTT) x node_count, a worst-case proxy
- no first-class prefer-fewer/never-place-above-Y policy beyond the TPOT gate

* docs: measured speculative recovery cost over WAN (why ngram hurts a latency-bound split)

* Discard dead pooled stage lanes before reuse (fast-fail improvement)

A pooled downstream lane whose stage died while checked in was a dead TCP
stream; reusing it blocked the next generation read forever (handshake
read-timeout is cleared for pooled lanes so long generations don't truncate).
checkout() now probes lane liveness with a nonblocking peek and discards a
dead lane so it reconnects with the short steady-state deadline instead of
hanging.

Validated on a loopback 2-node split with a mid-flight worker kill: new
request now fails faster than main (60s vs main's 90s baseline). Does not
fully solve the recovered-local routing path, tracked as follow-up.

---------

Co-authored-by: Michael Neale <14976+michaelneale@users.noreply.github.com>
2026-07-19 20:14:59 +10:00
github-actions[bot]
6e0ee2e485 Update llama.cpp upstream pin 2026-07-19 06:20:41 +00:00
github-actions[bot]
fcbc81e9db Update llama.cpp upstream pin 2026-07-18 06:02:19 +00:00
github-actions[bot]
a342f85813 Update llama.cpp upstream pin 2026-07-17 06:14:56 +00:00
James Dumay
8e5bb12de7
Update llama.cpp patch queue (#1014) 2026-07-17 10:20:45 +10:00
James Dumay
2c2e808be1
Keep active split stages through membership updates (#997) 2026-07-15 13:39:14 +10:00
Michael Neale
7f56a0386a
Recognize thinking field in chat auto-parser (#988)
Co-authored-by: michaelneale <michaelneale@michaelealesmbp.lan>
Co-authored-by: James Dumay <jameswdumay@gmail.com>
2026-07-15 12:48:03 +10:00
github-actions[bot]
67dcc37bf9 Update llama.cpp upstream pin 2026-07-13 06:44:26 +00:00
github-actions[bot]
c14e458d38 Update llama.cpp upstream pin 2026-07-12 06:31:22 +00:00
James Dumay
df45420af6
Update pinned llama.cpp (#958) 2026-07-11 09:35:24 +10:00
Nick DiZazzo
aebfb02df4
feature: add benchmark 'tune' option (#948)
* Add measured gpu tune benchmark trials
* Record gpu tune benchmark lifecycle timings
* Tune mmap and mlock load controls
* Fix Linux mlock limit detection
* Select benchmark tune settings with throughput tolerance
* Key benchmark trial configs by canonical model
* Wire speculative decoding benchmark tuning
* Fix MTP tune detection for resolved model paths
* Wire ngram speculative decoding for staged tune runs
* Support layer package benchmark tune targets
* Wire configurable native MTP tuning
* Add non-frame native MTP decode ABI
* add benchmark tune persistence and launch args flags to docs and runner
* add support for draft acceptance fields
* Resolve HF-style draft refs for speculative MTP config
2026-07-07 02:33:19 -04:00
Michael Neale
49cf03427a
fix: Pass reasoning format through Skippy chat templates (#947)
* Reject pre-0.1.28 native runtimes at load time and test reasoning extraction
2026-07-03 19:03:37 -04:00
James Dumay
922f127394
Update pinned llama.cpp (#927)
* Update pinned llama.cpp

* Fix PR SDK crate test list
2026-06-30 13:26:42 +10:00
github-actions[bot]
4925b738d3 Update llama.cpp upstream pin 2026-06-28 07:44:14 +00:00
github-actions[bot]
0b3d5ae815 Update llama.cpp upstream pin 2026-06-27 06:47:04 +00:00
Nick DiZazzo
1b35723db7 fix(llamacpp): update pin to take upstream fix 2026-06-26 14:01:55 -04:00
github-actions[bot]
d188a3abad Update llama.cpp upstream pin 2026-06-26 07:46:14 +00:00
James Dumay
f0c01dcdac
Simplify llama.cpp patch queue (#908) 2026-06-26 14:33:46 +10:00
github-actions[bot]
21c9501e1c Update llama.cpp upstream pin 2026-06-25 07:08:51 +00:00
James Dumay
926004b342
Update pinned llama.cpp revision (#906) 2026-06-25 16:51:41 +10:00
James Dumay
d389841b8b
Skip GLM DSA MTP sidecar when split stage lacks tensors (#899) 2026-06-24 06:36:20 +10:00
James Dumay
3e6805db01
Support GLM DSA IndexShare layers (#897) 2026-06-23 12:35:49 +10:00
James Dumay
8952341a80
Add native skippy-quantize conversion and quantization CLI (#898) 2026-06-23 12:35:27 +10:00
James Dumay
0401bb0148
Add GLM chat template fallback in llama (#890) 2026-06-21 20:42:43 +10:00
github-actions[bot]
622b14bb84 Update llama.cpp upstream pin 2026-06-19 09:04:29 +00:00
James Dumay
8260aa2212 Repin llama patch queue 2026-06-18 12:17:46 -04:00
James Dumay
9b961c0835
Improve GLM MTP parity and batched verify sampling (#858)
* Add Skippy cross-request token decode batching

* Batch Skippy split decode frames across requests

* Avoid fixed decode batch rendezvous waits

* Document micstudio-first lab startup

* Keep lab startup note in skill only

* Carry split GGUF tensor spooling patch

* Document native MTP Skippy architecture

* Add native MTP n1 verification scaffold

* Add GLM DSA native MTP graph patch

* Add native MTP n1 decode ABI

* Wire native MTP n1 sidecar drafts

* Teach correctness harness native MTP sideband

* Gate correctness on native MTP drafts

* Document GLM 5.1 native MTP proof gate

* Pivot native MTP proof gate to GLM 4.7

* Record GLM 4.7 MTP artifact gap

* Point GLM 4.7 MTP gate at meshllm artifact

* Preflight native MTP correctness artifacts

* Preserve fused native MTP drafts

* Verify native MTP n1 correctness

* Cover native MTP direct return replies

* Support DeepSeek2 GLM MTP n1 split drafts

* Add native MTP batched verification path

* Fix GLM native MTP batched verification

* Gate native MTP batched verification

* Add native MTP OpenAI A/B correctness check

* Compare native MTP against greedy baseline

* Prepare native MTP correctness for lab endpoints

* Add remote stage1 native MTP correctness launch

* Trace lab split stage readiness

* Return split predictions over stage lane

* Checkpoint native MTP batched rejections

* Restore native MTP hybrid trim rejection

* Normalize GLM native MTP patch queue

* Include native MTP tensors in final slices

* Expose GLM MTP hidden state after output norm

* Improve GLM Skippy single-stage parity

* Sample batched GLM MTP verify frames

* Gate serial stage0 MTP verification experiment

* Return MTP drafts from verify spans

* Improve GLM MTP parity instrumentation

* Instrument GLM stage0 MTP verify comparison

* Add row-level GLM stage0 compare telemetry

* Add serial VerifySpan diagnostic path

* Add reject cooldown for batched MTP

* Add serial recovery gate for batched MTP

* Add MTP verify-next margin sideband

* Add MTP verify-next margin summary telemetry

* Add deferred MTP reject trim diagnostic

* Add MTP cooldown draft suppression diagnostic

* Add MTP cooldown suppression limit diagnostic

* Add native MTP draft origin telemetry

* Add gap-origin MTP recovery override

* Add decode-sidecar MTP margin telemetry

* Gate decode-sidecar MTP margin computation

* Add gap-origin MTP skip probe diagnostic

* Target serial stage0 verify to MTP gap reentry

* Add native MTP recovery scheduling telemetry

* Add native MTP verify-next recovery telemetry

* Add VerifySpan summary timing telemetry

* Add serial-after-gap direct MTP verify diagnostic

* Add HF GGUF quant jobs skill

* Remove unused skippy ABI exports

* Squash GLM MTP llama patch tail

* Split native MTP modules

* Fix skippy stage-lane smoke drivers

* Fix MTP sidecar review gaps

* Instrument Skippy batched MTP verifier overhead

* Optimize skippy reply stats transport

* Avoid summary-path MTP debug bookkeeping

* Reduce summary eviction telemetry on MTP path

* Add VerifySpan compute summary telemetry

* Add Skippy auto-align summary telemetry

* Add Skippy MTP margin outcome telemetry

* Fix native MTP margin threshold fallback

* Expose VerifySpan width telemetry

* Add local VerifySpan microbench

* Profile in-process VerifySpan split overhead

* Compare split VerifySpan batched and serial paths

* Add split VerifySpan timing diagnostics

* Expose VerifySpan overhead breakdown

* Avoid copying VerifySpan activation inputs

* Expose batched MTP proposal timing

* Add VerifySpan native timing diagnostics

* Break down VerifySpan MTP sync timing

* Split VerifySpan MTP sync setup timing

* Add Skippy greedy sampling fast path

* Trim losing MTP verifier diagnostics

* Trim native MTP review path

* Restore direct return for split predictions

* Remove unsafe deferred MTP reject trim

* Fix cached replay token accounting

* Split native MTP decode counters

* Wire prediction return defaults for embedded skippy

* Fail open direct prediction returns

* Restore split MTP fallback sideband

* Reverse direct prediction return setup

* fix embedded split prediction return listener

* fix split decode direct return wait
2026-06-18 15:40:12 +10:00
James Dumay
7e9d61ef91
Carry llama-quantize low-memory patch queue (#864)
* Add llama-quantize patch queue updates

* Avoid all-rust CI fanout for llama patches
2026-06-17 15:03:13 +10:00
Nick DiZazzo
247dd7e42a
feat(skippy): Add native runtime event visibility (#842)
* repair runtime events patch metadata

* align Windows ABI cache consistency checks
2026-06-14 02:57:14 -04:00
James Dumay
de42ca358a
Carry GLM llama MTP patches (#840)
* Refresh llama.cpp canary patch queue

* Carry GLM llama MTP patches
2026-06-13 13:53:50 +10:00
James Dumay
d17b222f36
Refresh llama.cpp canary patch queue (#839) 2026-06-13 13:52:22 +10:00
github-actions[bot]
f8e2842446 Update llama.cpp upstream pin 2026-06-01 09:14:01 +00:00
Ivan Golovach
f9bd75a973
Compact skippy KV cache during optimized updates (#764)
Compact Skippy KV cache during optimized updates

Validation
* Validation tier: Tier 3 - native Skippy/llama KV runtime patch queue change for issue #652 unified-KV fragmentation; optimized llama memory updates now compact KV cell metadata and backing K/V rows before decode retry, with the Skippy ABI patch mirror refreshed.
* git fetch --no-tags origin main:refs/remotes/origin/main codex/kv-fragmentation-root-fix:refs/remotes/origin/codex/kv-fragmentation-root-fix: PASS, origin/main at 8219dc76.
* git rebase origin/main: PASS, no conflicts.
* git diff --check origin/main...HEAD: PASS, no output.
* git diff --check: PASS, no output.
* git diff --cached --check: PASS, no output.
* scripts/prepare-llama.sh pinned: PASS, 82 patches applied; upstream 22cadc1944f4658214aee03abd08240358840a95, patched 6a78135b2f4ab22bd67d7c4bb252d9723a73e436.
* scripts/build-llama.sh: PASS, patched CPU stage ABI libraries built.
* cargo fmt --all -- --check: PASS.
* LLAMA_STAGE_BUILD_DIR=<stage-build-dir> cargo test -p skippy-runtime abi --lib -- --test-threads=1: PASS, 2 passed.
* LLAMA_STAGE_BUILD_DIR=<stage-build-dir> cargo test -p skippy-runtime runtime_config_raw --lib -- --test-threads=1: PASS, 5 passed.
* LLAMA_STAGE_BUILD_DIR=<stage-build-dir> cargo test -p skippy-runtime --lib -- --test-threads=1: PASS, 47 passed.
* LLAMA_STAGE_BUILD_DIR=<stage-build-dir> cargo test -p skippy-server create_indexed_lane_resource --lib -- --test-threads=1: PASS, 3 passed.
* LLAMA_STAGE_BUILD_DIR=<stage-build-dir> cargo test -p skippy-server --lib -- --test-threads=1: PASS, 106 passed.
* cargo test -p skippy-cache token_budget_triggers_lru_before_entry_cap_under_unified_kv --lib -- --test-threads=1: PASS, 1 passed.
* cargo test -p skippy-cache evict_lru_until_tokens_evicts_multiple_entries_until_target --lib -- --test-threads=1: PASS, 1 passed.
* LLAMA_STAGE_BUILD_DIR=<stage-build-dir> cargo check -p mesh-llm: PASS.
* LLAMA_STAGE_BUILD_DIR=<stage-build-dir> cargo clippy -p skippy-runtime -p skippy-server --all-targets -- -D warnings: PASS.
* python3 -m unittest scripts.tests.test_qa_kv_tool_loop_stability: PASS, 18 passed.
* Remote PR Builds and PR Quality Checks: PASS on refreshed head.
* Ledger: not applicable - not required for selected validation tier/change family.
* Version: not applicable - Skippy ABI patch mirror updated, but no mesh release/version sync required for this non-release runtime patch.
* Not run: live #652 Goose/Pi/direct-model fragmentation certification - no local loaded direct-model endpoint/tiny GGUF was available; native patch queue apply/build plus Skippy runtime/server/cache/harness coverage covers compile and deterministic changed paths.
* Not run: just build - not required for selected validation tier because UI and release bundle are unchanged; native stage ABI build and shipped mesh cargo check cover changed runtime linkage.

Rollback
* git revert HEAD
2026-05-31 15:32:01 -07:00