Last updated: 2026-11-15
Intel Arc performance qualification#
The target is ZINC Vulkan against current llama.cpp Vulkan and native SYCL/Level Zero on the same Intel Arc GPU. These are separate campaigns. Both engines must offload the model to that GPU. There is no CPU-only inference baseline. CPU unit tests and numerical shader references remain correctness checks, separate from performance comparisons.
The Gemma-prefill CI archive replay passes all seven ZINC model support gates and 808 numerical GPU cases. Separate controls pass the generic opt-out and each missing Intel shader. All 217 packaged shader identities and the final hardware checks remain verified. The preceding Q8 replay retains its fourteen full-vocabulary prefill boundary checks and separate archive.
The November 15 matched-SDK replay
builds upstream e574a17b with matching oneDNN 3.13.2 development files and
runtime. Its 78-case Level Zero probe and GPU OpenCL discovery pass. The 35B
model passes its short native correctness preflight, but the default native
server still drifts in 19 of 32 full responses and one of eight streams across
two server lifetimes. It remains an unqualified performance reference.
The preceding packed-Q8 campaign
also attempts a fresh native SYCL FP32 baseline at cf6463ac, selected before
building. Its repeated-output failures remain recorded; they do not establish
an all-model competitor performance baseline. The
preceding CI replay
retains its separate package, reference selection and actual outcomes.
The fresh all-model OpenCode replay
uses the earlier 2d0e1369 CI package and passes native checks before and after
client tasks on every catalog model.
All six larger models pass three independent coding fixtures each; the 0.6B
starter retains its three coding failures with inference stability intact.
The separate Gemma cache/client replay passes all sixteen cache controls and twelve real OpenCode/OpenClaw task checks on that earlier CI package. Its request-latency controls compare prefix reuse with full prefill on one ZINC server. The client report keeps those results separate from uncached competitor throughput and the published release archives.
Packed Q8 reads#
The balanced Q8 experiment replaces four byte reads with two aligned 16-bit reads in the existing Intel row shader. It preserves signed Q8 values, the 34-byte GGUF block layout and the original dot/FMA/reduction order. The GPU proof passes 228 native-reference, offset, accumulation and guard cases, with 114 bitwise-equal reduction pairs.
On the Qwen 3 0.6B starter, decode improves from about 236 to 274 tokens/s for the core workload. All four workloads improve decode by 15–16% in each of three balanced A/B rounds, with complete output hashes and token counts equal across all 96 requests. The same binary serves both arms; only that shader changes. Native continuations pass before and after each of six server runs. Prefill changes are mixed, and the long-context request's natural EOS remains in the record. These are internal ZINC results; they do not establish a llama.cpp speed win or measurements of startup, memory or streaming latency.
The follow-up CI archive at source cc1a01dc passes all 604 numerical GPU
cases, 27 complete native CLI continuations, 81 full HTTP continuations and
27 raw JSON/SSE controls across all seven models, including Gemma window
boundaries and cancellation/context recovery. Its starter core decode is
about 275 tokens/s in the attempted native comparison. That partial timing
does not replace the three-round internal A/B or qualify the rejected native
comparison. The new replay retains all failed samples and their final process
memory/runtime observations.
Intel dense-Q8 prefill#
The separate prefill A/B uses the same packaged binary with only the Q8 GEMM shader changed. Two-byte packed weight reads and a 2×8 output strip per thread retain the 32×32 dispatch tile, WG64 and each output's FMA order. Fourteen full-vocabulary F32-KV boundary checks pass per arm; all 96 F16-KV server requests retain identical complete outputs across three balanced rounds. Prefill improves 10–19% in every workload and round; decode stays within 1%.
Production selects the separate Intel shader only for the qualified all-Q8
dense Qwen graph, currently the managed starter. ZINC_INTEL_Q8_PREFILL=0 keeps
the generic shader, as does a missing or rejected Intel pipeline. Other GPUs
and mixed-quantization/recurrent graphs retain their existing shader. These
results establish an internal prefill gain, with natural EOS retained; they
make no llama.cpp, all-model, memory, startup or streaming-latency claim.
The actual archive support replay
binds source ac891db0, archive SHA-256 3e16bc5a…, all 215 SPVs and the
production source files. Its packaged Intel kernel is bitwise identical to the
numerical/A/B candidate. All seven models pass 27 complete native CLI
continuations, 81 full HTTP continuations and 27 raw JSON/SSE controls, with
604 numerical kernel cases and 14 full-vocabulary prefill boundaries. Separate
opt-out and one-missing-asset controls pass six more CLI continuations, eighteen
HTTP continuations and six JSON/SSE controls, including cancellation/context
recovery. Actual pipeline selection is checked in every owned ZINC process.
The packaged default-versus-opt-out A/B then reuses that exact archive, binary and all 215 shaders for both modes. Three balanced rounds retain 96 requests and full native checks before/after six server lifetimes. Complete outputs match throughout. Prefill improves 10.9–18.2% across the workload/round pairs (core median about 1,896 → 2,139 tokens/s); decode stays within 0.1%. This independently confirms the production selection without relabelling the earlier shader-overlay prototype.
Q8 GEMM address bounds#
The F32-activation and DP4a Q8 GEMM recorders validate the complete weight buffer and matrix extent before pipeline lookup or GPU recording. Their existing 32-bit byte-address contract rejects oversized descriptors, short buffers and overflowing offsets/dimensions. Host arithmetic divides the remaining range rather than multiplying potentially overflowing dimensions. The shader binaries remain unchanged.
The pinned GGUF inventory checks all seven model files and 704 Q8 matrix tensors; the largest is 748 MiB, within this contract. This read-only metadata audit is separate from inference qualification and performance measurements. The GPU records above retain their exact archive/source identities; host range policy has independent CPU boundary tests, including 4,032 wide-integer comparisons.
Intel dense-Gemma prefill#
The dense Gemma 4 31B graph uses separate Intel Xe2 gate/up GEGLU shaders with two output rows and eight prompt tokens per thread. The dispatch remains a 32×32 tile with WG64. Weight staging stays F16, activations and accumulators stay F32, and each output retains the existing FMA order and GELU calculation.
The three-round tiling A/B retains the same CI binary and changes only the two shader assets. All 96 requests produce identical complete outputs, and 72 native-answer checks pass before/after six server lifetimes, including sliding-window boundaries. Prefill improves 12.3–15.0% in every workload/round pair; decode stays within 0.2%. The medians across all nine measured requests per arm are:
| Workload | Generic prefill (tokens/s) | Intel tiling (tokens/s) |
|---|---|---|
| Core | 52.93 | 60.33 |
| Medium context | 59.29 | 66.63 |
| Long context | 58.65 | 66.19 |
| Extended decode | 52.19 | 59.99 |
This isolates an internal ZINC prefill gain on the shader-overlay prototype. It does not establish a llama.cpp win, native ZINC SYCL support, or measurements of startup, memory or streaming latency. The timing record retains its original shader-overlay archive and binary identities.
The actual CI archive qualification
binds source a9673e01, archive SHA-256 59acd92f… and all 217 shader assets.
Both Intel SPVs are byte-identical to the measured A/B candidate; the previous
215 assets remain unchanged. All seven models pass 27 complete CLI continuations,
81 full HTTP continuations and 27 JSON/SSE controls, including both Gemma window
boundaries and cancellation/context recovery. The opt-out and two separate
missing-asset controls pass six more CLI continuations, eighteen HTTP
continuations and six JSON/SSE controls. Each control includes a short prompt
and one beyond the sliding window. Actual selected-pipeline logs are checked
in every owned ZINC process.
Selection requires the qualified dense 5,376×21,504 graph and push descriptors.
Leaving ZINC_INTEL_GEMMA_PREFILL unset, or setting it to exactly 1, enables
this qualified path. Every other explicit value, including 0, selects the
generic shaders. The shape gate intentionally limits rollout to Gemma 4 31B;
other shapes require their own numerical and whole-model qualification.
Missing or rejected
Intel pipelines fall back independently to their generic counterparts, with
explicit selected-pipeline logs. Other GPU families and model graphs retain
the generic shaders.
Intel package and benchmark validation checks both new assets against native Q4_K quantization, an independent F16-weight/F32-activation mathematical reference and the unchanged generic kernels: 204 numerical/offset/stride/guard cases and 102 bitwise-equal output pairs, including partial tiles. Older archives without either Intel asset retain their original validation; a partially installed pair fails package qualification.
Matched GPU benchmarks#
tools/benchmark_intel.py runs on the remote Linux
worker. It covers all seven pinned Intel release models with the existing four
workloads: short chat, medium context, long context, and extended decode. It first
runs 376 numerical cases, tokenizer parity, complete native-reference
continuations, and API cancellation/error recovery. Gemma also crosses its
sliding-window boundary. Correctness uses the release policy's reference pin;
performance uses the independently refreshed latest llama.cpp pin.
For each model, both reusable servers use the same GGUF, context limit, F16 KV,
one slot, disabled MTP and prompt caching, and identical request payloads. The
default three rounds alternate engine order. Each workload gets one warmup and
three measured requests per round. Natural early EOS remains in the report and
excludes that workload from full-budget comparisons; finishing early is never
counted as a speed win. Reduced prefill work, different prompt counts, invalid
token accounting, and unstable repeated outputs fail the campaign. Repetitions
include warmups and every server lifetime: full responses must retain their
text hash, byte length, prompt/completion token counts and finish reason.
The short SSE probes keep a separate text/byte/cap identity. A changed
repetition remains in the report with the first and changed identities and
the fields that differ. Summary eligibility recomputes these checks from the
retained samples, rather than trusting a cached passing flag. These stricter
checks apply to new campaigns; historical evidence retains its original protocol.
Workload messages are rendered once by the frozen correctness oracle. Both
servers receive identical raw prompt bytes through /v1/completions, including
the separate streaming probes. Development ZINC builds with raw SSE support
are required; the 0.1.0 Vulkan archives do not implement raw streaming.
llama.cpp must report full GPU layer offload; ZINC must confirm F16 KV storage.
A rejected native preflight keeps its obtained continuation IDs, complete text,
validation stage and live runtime observations in the model report. The owned
process is stopped before any oracle branch check. A runtime-probe failure is
recorded without masking an earlier correctness error; passed becomes true
only after every required agreement and oracle-tail check succeeds.
Run the following on the remote Intel worker, with paths supplied by private operator configuration:
python3 tools/benchmark_intel.py \
--zinc-tree "$ZINC_PACKAGE_TREE" --zinc-source "$ZINC_SOURCE" \
--llama-bin "$LLAMA_VULKAN_BIN" --llama-source "$LLAMA_SOURCE" \
--oracle "$ZINC_REFERENCE_BIN" --oracle-source "$ZINC_REFERENCE_SOURCE" \
--worker-config "$ZINC_WORKER_CONFIG" --output "$ZINC_BENCHMARK_REPORT"
Refresh and build the performance reference before starting, following
the benchmark guide.
The harness holds the shared worker reservation, refuses existing inference
processes, and reaps each owned server group before starting another. Keep the
SSH invocation alive until it finishes. For long native builds, refresh
config/benchmark-reference.json first and pass its exact checked_at_utc
value using --reference-selected-at. This freezes the upstream HEAD selected
before compilation for at most two hours. The report records any newer live
HEAD at run start separately; it does not claim the frozen build contains those
later commits. Without this option, the live HEAD must still match the pin.
The report retains every measured request's prefill/decode rates and full HTTP
latency. A separate warmed 16-token SSE probe measures time to first usable
content for each workload and round. Startup measures time until health is
ready, with OS caches retained; it is not a cold-disk claim. Health is polled
every 10 ms in new campaigns, so sub-10 ms startup differences are unresolved.
Historical 500 ms samples retain their original resolution. The measurement
includes health-request latency and the wait between polls; it remains observed
HTTP readiness with retained OS caches. Each server records its polling interval,
and a comparison uses the coarsest interval across both engines and all rounds.
Missing historical per-server metadata defaults to 500 ms. Cross-protocol data
cannot inherit the newer run's finer resolution. In these timing campaigns a
successful JSON response counts as ready only when its health status is ok;
loading and malformed replies keep polling within the six-minute startup deadline.
Other release-helper callers retain their existing response contract and interval.
Linux process status
and DRM fdinfo supply host RSS and observed GPU resident/allocated memory peaks.
GPU peaks are sampled every 50 ms, and unavailable counters remain unknown.
Client identifiers and PCI addresses are never published. The counter semantics
come from the Linux DRM usage statistics documentation.
A subset selected with --models, or fewer repetitions, is a diagnostic. Passing
means that correctness and measurement contracts passed; it does not mean ZINC
beat llama.cpp. comparison_eligible identifies workloads with complete output
budgets on both engines; complete_performance_matrix requires them for all
seven models. Review all model/workload results, retained bytes and settings
before publishing comparisons. This single-slot protocol also does not establish
concurrent-client capacity or MTP-on performance; those need separate matched
campaigns. Release candidate qualification remains a separate gate on the final
packaged bytes.
Each model now includes performance_comparison: prefill and decode throughput,
HTTP latency and first usable streaming content for every workload, plus startup,
host peak RSS and observed resident/allocated VRAM. Each dimension retains the
paired medians for every round. A losing round cannot disappear inside a pooled
median, and unavailable counters remain unknown. Startup differences within the
recorded polling resolution are unresolved. Ties are not wins.
Each round records its expected, observed and valid sample counts so missing,
extra and invalid measurements can be distinguished. measured_dimensions
counts dimensions with complete paired data across every round;
headline_eligible also requires all dimensions to be measured.
all_models_all_dimensions_better requires the complete seven-model matrix,
all four full-budget workloads, at least three rounds with three measurements
per engine/workload, and improvement in every measured dimension in every round.
The matched single-slot F16 KV, MTP-off and disabled-cache settings must also
hold. The existing passed field records correctness and measurement validity;
it can be true while the performance objective remains false. A diagnostic
subset, an early-EOS workload, an unknown memory counter or a faster pooled
median cannot establish the full objective. Repeated observed improvements do
not themselves establish statistical confidence or concurrent-client capacity.
Model coverage is derived from completed results, including successful native inference checks, rather than the requested model list. Missing, duplicated or unfinished model rows cannot establish a complete matrix. The catalog and Intel policy are checked together in CI so a new managed model cannot silently escape qualification. A CPU-only Zig exporter reads the compiled catalog data, without source-text parsing or GPU initialization. Each measured baseline server must retain evidence of complete Vulkan GPU offload, and each ZINC server must confirm F16 KV. Cached comparison flags are refreshed from the samples before deriving the campaign result. Extra or restarted servers remain in the evidence with an explicit ineligibility reason; warmup requests reuse the measured server. An all-model win also requires the recorded upstream HEAD check to match the performance reference and the hardware identity to remain unchanged through cleanup. These stricter summary gates apply to new campaigns; historical reports retain their recorded fields and measurements.
New campaigns probe GPU, kernel and Vulkan driver identities again after all
servers have stopped. A changed identity fails the campaign; hardware_unchanged
records the successful end check. Stack upgrades belong between campaigns.
The pipeline-loading investigation records a controlled initialization A/B, including its separate driver-cache experiment and the unchanged inference throughput.
Recorded diagnostic and next bottlenecks#
The November 5 seven-model GPU diagnostic
uses ZINC built from c56d2888, performance reference 8bed7cfb and correctness
oracle 5f436ddd on Intel BMG G31 with Mesa 26.2.3. Both inference engines use
Vulkan and fully offload the model to the same GPU. One round with one warmup
and one measured request per workload establishes directions for optimization;
it is not the default three-round headline campaign.
Short-chat rates below are tokens per second. The linked record retains all four workloads, exact prompts, output counts, source and archive identities, memory samples, startup and streaming latency.
| Model | ZINC prefill | llama.cpp prefill | ZINC decode | llama.cpp decode |
|---|---|---|---|---|
| Qwen 3.5 9B | 384.9 | 182.0 | 63.9 | 68.1 |
| Gemma 26B | 66.6 | 217.3 | 63.8 | 81.2 |
| Gemma 31B | 52.8 | 47.7 | 19.6 | 21.9 |
| Qwen 3.6 35B A3B | 99.7 | 190.7 | 87.1 | 89.6 |
| Qwen 3.6 27B | 143.7 | 45.4 | 21.5 | 24.3 |
| Qwen 3.8 27B | 147.1 | 45.3 | 21.5 | 24.2 |
| Qwen 3 0.6B | 246.1 | 2531.9 | 193.2 | 292.6 |
The GPU, kernel and driver identities stayed unchanged throughout the run. The 376 numerical cases pass. All seven models' tokenizer, complete native continuations and API recovery controls pass: 431 of 432 CLI choices are exact, with one qualified near tie on Qwen 35B. Both Gemma models cross their sliding windows. The November 3 diagnostic remains frozen as historical evidence. The small starter naturally reaches EOS in the long-context workload, so that pair is retained but excluded from full-budget comparisons. The report therefore has a complete model matrix and an incomplete performance matrix. It does not establish that every model is suitable for coding tasks.
Decode remains behind the native GPU reference on every model. Prefill is mixed: Gemma 26B's conservative serial path and the small starter are especially large gaps. Qualifying faster paths requires complete native continuations and recovery checks; isolated shader math agreement alone is insufficient. After a change passes those controls, repeat the matched three-round campaign before claiming a performance win.
Q8 starter prefill investigation#
The targeted Q8 investigation
compares packaged baseline c56d2888 with the opt-in tiled path in 1a4c2fae,
using the same model, GPU, F16 KV and MTP-off requests. In one round with three
measured requests, short-chat prefill rises from 246.8 to 1,908.7 tokens/s;
decode stays near 193 tokens/s. llama.cpp 8bed7cfb remains ahead at
2,676.6 prefill and 287.0 decode tokens/s in that diagnostic.
The tiled path passes all eleven F32-KV full-vocabulary checks with a maximum
absolute difference of 0.000061. Its separate F16 native checks include three
short and three extended prompts: 95/96 choices match exactly, with one
qualified near tie. All eighteen complete HTTP continuations pass, including
replays after cancellation and context errors. The old eligibility gate fails
the numerical fixture by silently falling back to serial prefill; that negative
control is retained in the report. The guarded default now requires Intel,
the complete all-Q8 graph and its loaded F32-activation kernel. Setting
ZINC_INTEL_BATCHED_PREFILL=0 retains the serial control.
A separate experimental decode shader reaches 227.9 tokens/s in that same short-chat diagnostic and passes its numerical/native controls. It is not part of the prefill default. The report retains that experiment's GLSL source, native-quantizer fixture and all treatments. Neither experiment establishes the three-round objective, and the starter still ends early on context-long.
The batch-size and decode follow-up keeps that decode control while testing 96-token, 384-token and monolithic prefill. The bounded 384-token path improves medium-context prefill from 1,799.5 to 2,756.3 tokens/s and long-context prefill from 1,909.7 to 3,575.5. The long-context output still stops early and does not establish a full-budget win. Three native prompts beyond 1,100 tokens and all eighteen HTTP continuations pass for the larger batch, including cancellation/error replay. The Q8 default therefore uses 384 tokens; Gemma retains its independent tuning. The four-row decode layout adds no material gain in this diagnostic and remains an experiment.
The final packaged-default check
tests the merged code without an experimental flag. Three rounds, each with
one warmup and three measured requests per workload, retain 144 requests and
36 streaming probes. Short-chat prefill improves from 246.31 to 1,912.45
tokens/s, with HTTP latency falling from 729.20 to 528.00 ms. Decode stays at
193.20 tokens/s. The newly built llama.cpp Vulkan reference, selected at
7d516e25 before that campaign, reaches 2,697.71 prefill and 288.15 decode
tokens/s on the same workload. The starter's context-long output still ends
early on both engines; the full performance objective remains unmet.
All fourteen F32-KV full-vocabulary checks pass at the unchanged 0.001 tolerance, with maximum difference 0.000061. Actual F16-KV inference matches all 96 native choices across short and >1,100-token prompts. The same package passes 376 native-reference kernel cases, eighteen full HTTP continuations with recovery, and the explicit serial-off control. Three active-prefill cancellations at 16K context recover in 2.21–2.23 seconds; each is followed by six complete native HTTP replays. The report retains the earlier unexercised short-context cancellation probe, exact artifact identities and raw samples. This validates the Q8 default; it does not replace a complete all-model campaign.
The seven-model packaged replay separately runs that package on every qualified model. It reproduces all 432 frozen qualified choices (431 primary native choices and one already qualified near-tie branch), plus 81 complete HTTP continuations before and after recovery. Both Gemma window sets, advertised context boundaries, chat streaming and Unicode checks pass. This reuses the complete frozen native oracle results; it is a fresh package replay, with the existing OpenCode coding results kept separate. Hardware and package identities remain unchanged through the run.
The bounded-upload investigation separately records the temporary-memory reduction and loading-time observations. Its A/B compares two ZINC packages and does not establish a speed advantage over llama.cpp.
Q8 decode candidate: correctness and controlled timing#
The November 7 development-candidate investigation
records the SIMD32 row-layout candidate in PR #75, built with Zig 0.17.1 at
51dd99dd (tree-identical to PR head 520b46e9). It is separate from the
published 0.1.0 archives. All seven models pass the resumed native/API replay:
431 of 432 choices match the primary native sequence, with one already qualified
near-tie branch. All 81 full HTTP continuations, both Gemma sliding-window sets,
context boundaries, cancellation/error recovery, chat streaming and Unicode pass.
The interrupted reports remain preserved. A fresh post-reboot run also passes
376 base numerical cases and the expanded Q8 fixture's 180 cases / 90 bitwise
pairs, with the package, shaders, oracle, kernel and Mesa identities unchanged.
Three balanced-order rounds compare the same starter-model GGUF through reusable
servers: the packaged legacy override, the packaged candidate default and
freshly built llama.cpp Vulkan 9f0e5098. F16 KV, MTP off, one slot and disabled
prompt caching match throughout. The record retains 144 requests, 36 streaming
probes and nine server lifetimes; candidate and legacy complete outputs match.
Short-chat round-median decode rises from 192.94 to 250.91 tokens/s, about 30%,
and HTTP latency falls from 529.16 to 412.78 ms. The native competitor remains
ahead at 288.56 decode and 2,697.46 prefill tokens/s; candidate prefill is 1,978.22.
This remains a one-model performance diagnostic. Natural EOS on context-long is retained and excluded from full-budget comparisons. Startup in this run used 500 ms polling and remains unresolved at that resolution; the newer 10 ms measurement protocol does not relabel these samples. Actual OpenCode/OpenClaw acceptance and broader performance checks are separate gates before promoting the candidate. These results do not establish an all-model performance win.
Broad row-layout default rejected after all-model controls#
The expanded numerical and six-model timing follow-up retains the original candidate archive and every round. The Q8 numerical fixture now covers every managed Q8 input width: 228 native-reference cases and 114 bitwise pairs pass, including shared-expert, Gemma and NextN widths skipped by some ordinary MTP-off replays. Correctness does not establish a speed benefit.
Three alternating-order rounds on each of the six larger models compare the packaged legacy and broad row-layout paths through reusable servers. All 144 complete responses match byte for byte. Core decode changes are:
| Model | Candidate versus legacy, each round |
|---|---|
| Qwen 3.6 35B-A3B | +2.33% to +2.36% |
| Qwen 3.6 27B | -0.05% to +0.09% |
| Qwen 3.5 9B | -0.47% to -0.33% |
| Gemma 4 31B | -0.20% to 0.00% |
| Gemma 4 26B-A4B | -4.59% to -4.56% |
| Qwen 3.8 27B | -0.09% to +0.09% |
The broad default is not promoted. The revised default requires the dense
Qwen2/3 graph and Q8_0 on every loaded matrix, including the embedding/LM head.
One-dimensional norm scales do not affect that classification. Mixed
quantization, MoE, recurrent and sliding-window graphs retain the legacy path.
ZINC_INTEL_Q8_DECODE=1 remains an explicit broader experiment;
ZINC_INTEL_Q8_DECODE=0 is the legacy control. Unknown settings disable the
candidate. SIMD32 capability checks and missing-pipeline fallback still apply.
The fresh package checks below confirm that selector; the historical archive
results are not relabeled as measurements of the narrower build.
The client matrix separately records real coding task acceptance. These core-only ZINC A/B controls do not replace the complete four-workload campaign against a freshly pinned llama.cpp, nor establish an all-model performance win.
Fresh package with the narrower default#
The November 8 UTC package validation
tests CI archive b4204560…ffd02b, source 4b1d2d73, tree-identical to
candidate head 7f1556c0. All 376 base numerical cases, 228 Q8 cases / 114
bitwise pairs and fourteen full-vocabulary checks pass at the unchanged
0.001 tolerance. All seven models pass native/API replay: 431 primary choices
and one previously qualified near-tie branch, with 81 complete HTTP
continuations, both Gemma window sets, context boundaries, cancellation/error
recovery, streaming and Unicode. Logs confirm that only the all-Q8 starter
selects the row kernel; the six larger models retain legacy. Explicit-off and
missing-shader controls retain the native starter output too.
The separate three-round starter run retains all 144 requests, 36 streaming
probes and nine server lifetimes. Short-chat median-of-round-medians decode
rises from 193.20 to 251.22 tokens/s, about 30%, and HTTP latency falls
from 527.76 to 413.22 ms. The newly built llama.cpp Vulkan f477f795,
selected immediately before its build and checked again at campaign start,
reaches 289.39 decode and 2,722.97 prefill tokens/s. Candidate prefill
is 1,925.46 tokens/s. Individual round medians and every sample remain in the
report; this is not an all-model performance win.
Both engines use the same GGUF, F16 KV, MTP off, one slot and uncached raw completions. Natural EOS on context-long remains visible and excludes that pair from full-budget comparisons. Startup retains the historical 500 ms polling protocol and cannot resolve smaller differences. Hardware, package and reference identities stay unchanged through the run. These are development archive checks, separate from final release certification and coding-task acceptance.
Work order after 0.1.0#
- Keep all seven qualified models selectable through the managed catalog. Qwen 3.8's missing Intel profile rejected a qualified model before loading; the follow-up catalog fix and CPU regression align selection with the existing package qualification. This does not change the published 0.1.0 archives.
- Rebuild the freshly pinned upstream llama.cpp Vulkan server and tokenizer on the Intel worker. Keep its performance pin separate from the frozen native correctness oracle. Record the active kernel, firmware and Mesa stack before the campaign and retain that stack through each controlled comparison.
- Continue tuning the starter after removing its serial fallback, then correct
Gemma 26B's conservative path and Qwen 35B's Intel prefill. Existing
experimental batched paths have failed complete native continuations; an
optimization must fix those failures before becoming a default. Reducing
expert counts, enabling approximate activations or changing KV precision is
not a matched performance improvement.
For the Q8 starter, run
tools/validate_q8_prefill.pyon the remote Intel worker with--zinc-tree,--worker-configand--output. It compares the complete vocabulary's batched logits with serial F32-activation/F32-KV prefill at fourteen token/tile boundaries, including 1, 31/32/33, 95/96/97 and 383/384/385 tokens. A silent fallback, missing comparison, nonfinite result or difference above the existing 0.001 tolerance fails. A precision control at two tokens measured 0.003924 with F16 KV and 0.000033 with F32 KV: cache rounding magnifies small summation-order differences. The numerical fixture keeps F32 KV and its original tolerance; native continuations, chunk boundaries and API recovery must separately pass with the F16 KV used for performance. This numerical regression is not a throughput claim. A failed run retains completed cases, the active token boundary and its failure reason; unexpected process errors retain their type without publishing private worker paths or commands. - Profile decode across the dense, hybrid and MoE models, then tune the hot matrix-vector, attention and submission paths. Validate shader math on the actual Intel GPU, complete native continuations, API recovery and both Gemma sliding windows after each change. Keep comments and regression tests for the defect or invariant being fixed.
- Repeat the full matched campaign and actual-client coding checks. Retain failures and natural EOS. Resolve the starter's incomplete long-context coverage with a workload that both engines complete at the same output budget, retaining the old diagnostic. A different cap for each engine or silently suppressing EOS cannot establish a matched win. The starter's known coding limitations remain separate from engine correctness and throughput; a successful process exit cannot substitute for independent task acceptance tests.
Native Intel compute after the Vulkan milestone#
Native stack bring-up can proceed while the remaining Vulkan performance gaps
are investigated. The administrator tool at
scripts/upgrade_intel_stack.py
targets the existing Arch/GRUB worker. Run it without arguments for a plan. Its
explicit --apply mode requires root, preserves the running kernel and modules
behind a separate GRUB fallback, saves signed rollback package archives, and
performs a full Arch update without rebooting. System library rollback still
requires reviewing the complete transaction.
Recovery retains the original package-manager failure and reports secondary module/GRUB errors separately. A same-release successful reinstall keeps its installed modules; a different kernel image reusing that release stops recovery for administrator review. Old unowned module directories still receive their saved contents. Cached and downloaded rollback archives both require valid signatures, and package verification retains Arch epochs and release suffixes.
The November 7 live plan found Arch kernel 7.2.14 versus upstream stable
7.3.3, and Arch oneAPI 2026.0 versus Intel 2026.2. The script refreshes
the kernel and Arch metadata at runtime; its Intel compiler reference is dated
in the source. Applying a lagging distribution stack requires the explicit
--allow-distro-lag option and does not qualify it as the latest upstream stack.
It never adds Ubuntu repositories to Arch or installs a release-candidate kernel.
For repeatable low-level validation, compile tools/intel_sycl_probe.cpp with
icpx -std=c++17 -fsycl -O2 tools/intel_sycl_probe.cpp -o zinc-sycl-probe on the remote worker after loading
the oneAPI environment. Pass its absolute binary path to
tools/intel_native_probe.py --probe <binary> --reservation <worker-reservation> --output <report.json>, reusing the worker's existing reservation path. The
probe requires exactly one Intel Level Zero GPU and checks both queue modes,
explicit event dependencies, tail elements, copies and output guards. Its
78 cases are readiness evidence; they do not qualify a ZINC inference backend
or establish model throughput.
Use a fresh output path for each readiness attempt. A failed, timed-out or
interrupted probe retains a failed JSON report with its validation stage,
available result fields and process cleanup observation. Complete stdout and
stderr stay in a private intel-native-probe-* directory beside that report;
the JSON includes only their hashes and byte counts. Earlier reports are never
overwritten. The probe holds the worker reservation until its owned process
group has stopped, including on SSH disconnect.
After the coverage and Vulkan performance work, add a separate native Intel backend using Intel's Level Zero runtime and compiler toolchain, with SYCL/XMX kernels where measurements justify them. Intel's Open Middleware Xe installation guide describes the validated compute stack: Level Zero/OpenCL drivers, the SYCL compiler and compute libraries. Upstream llama.cpp's SYCL backend provides the native Intel competitor for that stage. Native qualification must compare against that backend as well as retaining the Vulkan control.
First inspect the live system's OS, kernel, Xe driver, firmware, Level Zero
loader/runtime, graphics compiler and oneAPI packages. The last recorded worker
kernel was 7.2.7-arch1-1, with Mesa 26.2.3-arch1.2; those are historical
observations, not a live inventory. A newer kernel alone does not establish
native compute readiness. Intel OMIX currently documents Ubuntu 26.04.1,
Ubuntu 24.04.5 with HWE, and RHEL 9.8/10.2. Select a compatible package set for
the actual OS before choosing a kernel or driver change. Do not apply Ubuntu
package instructions to an unverified distribution.
If a kernel or driver upgrade is needed, retain the working kernel boot entry,
the previous package versions and the tested Vulkan executable. Change one
stack component at a time, reboot when required, verify SSH/GPU access and
rerun the same numerical, model and recovery gates. Record the old and new
stack identities with their separate benchmark results. A package-manager
success or sycl-ls listing is bring-up evidence, not model qualification.
The native backend is not implemented or qualified by this plan. Its first gates are device discovery, allocation/copy and command submission, followed by exact numerical kernels, one end-to-end model, all seven native model continuations and API/OpenCode recovery. Keep Vulkan and ROCm release builds independent of the new runtime, and qualify native binaries separately before advertising native Intel support.
Official package environment and native reference#
The November 9 seven-model support record
checks development Vulkan package 56bec228 on the updated Intel node. All seven
catalog models pass: 376 shared numerical cases, 228 Q8 cases with 114 identical
reduction pairs, tokenizer parity, 27 full native-reference continuations, 81
full HTTP replays and 27 raw JSON/SSE checks. Native choices are 431/432 exact
with one qualified Qwen 35B near tie. Both Gemmas cross their 1024-token window;
cancellation and error recovery preserve complete native answers. The binary,
all 214 packaged shaders, kernel and driver remain unchanged through cleanup.
This is a development inference/protocol qualification. Actual OpenCode and
OpenClaw task acceptance and final release-byte certification remain separate.
The same record retains the failed native SYCL FP16 attempt at a4d4f2fd,
selected as upstream HEAD when that campaign started. Six models fail repeated
complete-output checks; Qwen 35B exceeds the allowed near-tie count. The frozen
short reference checks pass for the other six, so these findings do not mean
their inference fails outright. A separate FP32 starter diagnostic also drifts
on one medium-context repetition across 24 full requests and eight SSE probes.
Changing FP16 to FP32 alone does not resolve this consistency check. The native
baseline remains unqualified while oneDNN/attention controls are isolated;
these failed attempts establish no headline speed claim. The benchmark pin
has since advanced to 5f490d7b; rebuilding it is separate from these frozen
results.
The refreshed native runtime controls
use 5f490d7b with the same starter GGUF and official Intel environment. Six
treatments cover FP32/FP16 with default oneDNN, native SYCL attention, or oneDNN
disabled. Each gets 24 full requests and eight raw SSE controls across four
workloads and two server lifetimes. FP32 default, FP32 without oneDNN, FP16
with native attention, and FP16 without oneDNN pass this limited repeatability
check. FP32 with native attention drifts twice; default FP16 drifts nine times.
All attempts remain in the record. These starter controls identify candidates
for the full catalog; they do not establish that nondeterminism was fixed or
qualify an all-model native baseline.
On November 9, the remote Arch worker was running kernel 7.2.14-arch1-1,
compute runtime 26.40.40196.8, IGC 2.42.6, Level Zero loader 1.34.0,
firmware 20261019 and Mesa 26.2.6. A separate, user-owned environment now
contains Intel's official DPC++ compiler, SYCL runtime and oneMKL 2026.2.0,
oneDNN package 2026.1.0, and oneDPL 2022.14.0. These packages do not replace
the system's oneAPI environment. This is project testing of official packages
on Arch; Arch is not one of Intel OMIX's documented validated distributions.
The probe compiled with that compiler passed all 78 cases, checking 13,406,292 elements and 9,984 output guards with zero numerical error. A diagnostic native llama.cpp starter-model run fully offloaded 29/29 layers and returned identical complete output across four repetitions. That establishes bring-up, not a seven-model performance or coding qualification.
The explicit Linux x86-64 package lock retains 42 archive URLs and SHA256 checksums, including matching oneDNN runtime and development packages, without installation paths. After verifying and installing micromamba, create the isolated environment on the remote worker:
micromamba create -y --prefix "$ZINC_INTEL_PREFIX" \
--file config/intel/oneapi-2026.2-linux-64.explicit.txt
python3 tools/intel_sycl_environment.py --prepare-onednn-cmake "$ZINC_INTEL_PREFIX"
Intel's conda onednn package supplies the runtime; onednn-devel supplies
headers. These archives do not include a CMake package configuration. The
preparation command validates matching package versions/builds, the header and
library ABI, and the Intel SYCL GPU configuration before writing a relocatable
ZINC CMake adapter. It preserves existing configurations. The adapter is project
build glue, separate from Intel's package contents.
The November 15 UTC audit found that the earlier 41-package environment lacked oneDNN development files. CMake had found the host's 3.11 development package, while the server loaded the isolated 3.13 runtime. Those historical records retain their original configuration. New native campaigns require development files inside the selected prefix and verify that each server loads the recorded oneDNN library. This dependency correction has its own model validation; it does not establish a cause or repair for the previous repeatability failures.
The separate instrumented 35B probe first observes varying output at the first
layer's F32 MoE router multiplication (256 × 58, reduction width 2048).
Fingerprints of both its weights and activations match across eight repeated
prefills. Disabling oneDNN matrix multiplication makes every observed tensor
and the final logits match in that instrumented probe. Synchronizing and
reading each tensor changes execution, so this is diagnostic evidence rather
than a model or performance qualification.
Normal server controls retain the distinction: disabling oneDNN multiplication alone leaves two distinct full generations among eight requests; disabling weight reordering alone leaves six. Disabling both produces identical outputs in the small replay, but the attempted four-workload replay stops at the correctness gate with two near ties in 48 checked tokens. That exceeds the existing agreement policy; no performance measurements are accepted. These controls narrow the investigation without identifying a complete upstream repair or qualifying native ZINC inference.
The standalone tools/intel_onednn_matmul_probe.cpp reproduces the same F32
router shape with fixed, seeded inputs and checks its results against a host
double-precision dot product. The default primitive produces 32 distinct
results across 32 executions; oneDNN's explicit
deterministic primitive attribute
produces one bitwise-identical result across all 32 executions. Both modes
preserve the output guards and stay within 0.00003 absolute error in this
case. This establishes small floating-point variation in the isolated
operation, without establishing corruption or a complete model repair. The
next experiment must apply deterministic execution to a separately labelled
model build and repeat the original correctness and server gates.
Intel documents its official package channel in the compiler installation instructions. Keep the compiler and runtime in the same environment. Build the refreshed llama.cpp source with the official compiler:
micromamba run --prefix "$ZINC_INTEL_PREFIX" cmake \
-S "$LLAMA_SOURCE" -B "$LLAMA_SYCL_BUILD" -G Ninja \
-DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER=icx -DCMAKE_CXX_COMPILER=icpx \
-DCMAKE_PREFIX_PATH="$ZINC_INTEL_PREFIX" \
-DDNNL_DIR="$ZINC_INTEL_PREFIX/lib/cmake/dnnl" \
-DGGML_SYCL=ON -DGGML_SYCL_F16=OFF -DGGML_SYCL_HOST_MEM_FALLBACK=OFF \
-DGGML_SYCL_DNN=ON -DGGML_SYCL_GRAPH=ON -DGGML_SYCL_SUPPORT_XMX=ON \
-DGGML_VULKAN=OFF -DGGML_CUDA=OFF -DGGML_METAL=OFF -DGGML_NATIVE=OFF \
-DLLAMA_BUILD_TESTS=ON
micromamba run --prefix "$ZINC_INTEL_PREFIX" cmake \
--build "$LLAMA_SYCL_BUILD" --parallel 2 \
--target llama-server llama-cli llama-tokenize llama-eval-callback test-backend-ops
Also build GGML_SYCL_F16=ON in a different build directory. Upstream recommends
testing both precisions because their speed and accuracy differ. Graph execution
is separately opt-in at runtime; compiled graph support does not mean it is
active. Keep the default and --sycl-graphs treatments separate. Do not enable
persistent SYCL caching as an assumed speed fix: upstream documents crashes
with it. See the upstream SYCL guide.
For consistency diagnostics, --sycl-native-attention selects the native SYCL
attention kernel instead of oneDNN SDPA; --sycl-disable-dnn separately selects
the oneDNN-disabled control. Each campaign records all three explicit runtime
settings. The default keeps oneDNN and its attention path enabled and graphs
disabled. Compare these treatments separately with their original failures
retained; a successful slower control does not replace the recorded default.
Run the native comparison on that worker with its existing private reservation and model configuration:
python3 tools/benchmark_intel.py \
--zinc-tree "$ZINC_PACKAGE_TREE" --zinc-source "$ZINC_SOURCE" \
--llama-bin "$LLAMA_SYCL_BUILD/bin" --llama-source "$LLAMA_SOURCE" \
--reference-backend sycl --reference-device "$LLAMA_SYCL_DEVICE" \
--sycl-prefix "$ZINC_INTEL_PREFIX" --sycl-probe "$ZINC_INTEL_PROBE" \
--oracle "$ZINC_REFERENCE_BIN" --oracle-source "$ZINC_REFERENCE_SOURCE" \
--worker-config "$ZINC_WORKER_CONFIG" --output "$ZINC_BENCHMARK_REPORT"
The harness requires one physical Intel render device, full SYCL offload, the 78-case readiness probe, installed package identities and original CMake build settings. It verifies the live server's SYCL and Level Zero libraries come from the selected environment. Those identities are checked again after cleanup. ZINC and the frozen Vulkan oracle keep their own loader environments.
The native child environment also discards inherited ONEDNN_* and legacy
DNNL_* controls. These can change math precision, primitive caching or tracing
without changing the executable or installed library hashes. Default comparisons
use the library defaults; an explicit diagnostic applies its settings after
isolation and records them as a separate treatment. The parent, ZINC and oracle
environments remain unchanged. See oneDNN's
floating-point math mode
for the default precision contract. This closes an isolation gap; it does not
establish the cause of earlier repeated-output drift or relabel those failures.
Conda's OpenCL loader initially exposed only the bundled CPU ICD. Short SYCL
continuations passed, but a 167-token prompt aborted when oneDNN needed its
matching GPU OpenCL device. The reference environment now scopes
OCL_ICD_VENDORS=/etc/OpenCL/vendors to the system's existing GPU driver.
This changes no system files. A preflight child requires exactly one Intel
OpenCL GPU and checks its name against Level Zero; CPU-only discovery fails.
Only names, versions and library hashes are retained, never device UUIDs or PCI
identifiers. The fixed FP16 starter diagnostic passes all four workloads:
12 JSON requests and four raw SSE probes, with the Intel GPU OpenCL library
confirmed in the live process. The interrupted campaign remains separate.
The performance server also uses --cache-ram 0, so unused automatic RAM prompt
caches cannot inflate the competitor's memory or request latency.
The exact timed SYCL configuration must pass complete frozen-reference continuations, including Gemma's extended window prompts. An allowed near tie requires an independently teacher-forced oracle suffix and matching decoded text; it cannot excuse unrelated later errors. Failed validation blocks speed claims. All packaged SPIR-V hashes and repeated full JSON/SSE output hashes are retained. ZINC's backend remains Vulkan in this comparison; this does not implement a native ZINC Intel backend.
Final CI package and native FP32 comparison#
The complete November 9 diagnosis
uses exact CI Vulkan archive 2d0e1369, binary hash 3bea62b8, and performance
reference 0a94a3f2, selected before building. All seven ZINC models pass:
376 numerical cases, 228 Q8 cases with 114 bitwise pairs, tokenizer parity,
27 complete continuation cases against the frozen Vulkan reference, 81 HTTP replays, raw JSON/SSE parity,
and recovery after disconnect/context errors. Both Gemmas cross their
1,024-token sliding window. The continuations retain 431 exact choices and one
qualified near tie, including its independently verified tail. Binary, all
214 shaders, hardware and native-stack identities remain unchanged.
The native FP32 build uses official Intel oneAPI 2026.2 packages, Level Zero, F16 KV, disabled MTP/graphs/prompt caching and zero RAM prompt cache. All seven models fully offload to SYCL and pass the initial frozen-oracle continuation checks. Complete greedy outputs then change on six larger models during repetition or after a server restart. Those rejected samples remain in the record. This is a repeatability failure for the measured configuration; it does not establish that the model architecture is unsupported by the native backend.
Only the Qwen 0.6B starter completes all three balanced rounds. The table combines short-prompt throughput with startup and memory medians across the three server lifetimes:
| Measurement | ZINC Vulkan | llama.cpp SYCL FP32 |
|---|---|---|
| Prefill, tokens/s | 1,879.2 | 6,661.2 |
| Decode, tokens/s | 235.5 | 356.2 |
| Observed startup, ms | 203.8 | 1,266.7 |
| Peak process RSS, MiB | 685.0 | 821.0 |
| Observed resident VRAM, MiB | 952.4 | 1,275.5 |
ZINC starts faster and uses less observed memory in those rounds; native SYCL has higher throughput. The starter's long-context workload reaches natural EOS before the common budget, so the full performance matrix remains incomplete. No all-model or all-dimension win is established. This development-package record does not recertify the published 0.1.0 archives or establish coding ability for the starter.
Some rejected timed processes lack final memory/runtime observations in the frozen harness. Those fields remain unknown. The later observation collector retains them on failures while preserving the original error; it does not backfill historical data. The follow-up below separates oneDNN attention from other oneDNN operations while retaining the same correctness and repeatability gates.
Qwen 35B native repeatability controls#
The Qwen 35B-A3B follow-up
reproduces the failing 0a94a3f2 reference with two treatments. Each passes
three initial native continuations, fully offloads all 41 layers through
SYCL/Level Zero, and retains two server lifetimes, 24 JSON requests and eight
short streaming controls. F16 KV, MTP off, one slot, disabled prompt/RAM caches
and the official package identities remain unchanged.
| Treatment | Changed complete outputs | Matching JSON/SSE controls |
|---|---|---|
| Native SYCL attention, oneDNN math | 10/24 | 6/8 |
| Native SYCL attention, oneDNN disabled | 4/24 | 8/8 |
The oneDNN-disabled attempt changes outputs only on the core workload; the other treatment also changes medium and long-context outputs. Neither passes repeatability. Reduced observed drift does not establish a cause or qualify a performance baseline. Both records preserve every response hash, warmup and measured process's loaded runtime libraries, including rejected requests.
The previous source and three binary trees are preserved separately. A fresh
selection of upstream cf6463ac was recorded before rebuilding its FP32,
FP16 and Vulkan references. That rebuild is a separate attempt; it does not
relabel these frozen controls or their failures.
Starter native feature controls#
The later starter controls
use the same cf6463ac build and official package identities as the packed-Q8
campaign. The unchanged default, disabled asynchronous copies, disabled fusion
and disabled wide-Q8 kernel each pass this limited attempt: two server lifetimes,
24 repeated JSON requests, eight short JSON/SSE controls and three initial
native-reference continuations per treatment.
The unchanged default passing here does not erase its earlier medium-context drift. The failure did not reproduce in this limited setup; these results do not identify a corrective setting or qualify the seven-model performance baseline. The earlier failures and all later samples remain separate records.
Native request-cadence replay#
The November 10 native replay
uses upstream 3b4d6ab3, selected before building a separate FP32 SYCL reference.
The previous references remain intact. The official oneAPI packages and GPU
stack match the earlier campaign; Intel's published compute-runtime and IGC
releases also match the installed versions at this check.
This diagnostic matches the native timed request order: four full generations per workload, followed directly by one short SSE probe, across two fresh server lifetimes. It uses the catalog contexts, including 2,048 tokens for the starter. Earlier passing starter controls used 4,096 tokens and an additional 16-token JSON generation before each SSE probe. Those differences are now explicit; the complete alternating ZINC/native performance campaign is not repeated here.
| Model | Changed full responses | Changed short streams |
|---|---|---|
| Qwen 3 0.6B | 0/32 | 0/8 |
| Qwen 3.6 35B-A3B | 14/32 | 1/8 |
Both models pass the initial frozen-oracle continuations and fully offload to SYCL. Every timed response reports zero cached prompt tokens and retains its complete output hash, token counts and server timings. Hardware, SDK and binary identities remain unchanged. No inherited oneDNN settings were present, so the environment-isolation fix does not explain the passing starter attempt.
The 35B failures remain included. Zero prompt-cache hits do not identify the cause or exclude other internal caches. The passing starter does not establish a corrective setting or erase its earlier failure. This two-model diagnostic qualifies neither a competitor speed win nor a native ZINC backend.
Native 35B memory and fusion controls#
The separate 35B controls
retain the same 3b4d6ab3 FP32 reference and official oneAPI packages.
Request cadence, catalog context and generation settings remain fixed.
With GGML_SYCL_USE_ASYNC_MEM_OP=0, initial native correctness passes, but
19 of 32 full responses and one of eight short streams change across the
replay. Zero reported prompt-cache hits remain recorded. This runtime option
does not fix the observed repeatability failure.
With GGML_SYCL_ENABLE_FUSION=0, the initial frozen-oracle check fails its
aggregate exact-choice requirement. All three obtained 16-token continuations
remain available, including two near-tie divergences. Their remaining
branches are unqualified; no timed server, timing sample or streaming probe
starts after the rejection. A separate postflight verifies unchanged artifacts,
SDK and hardware, with no GPU process left running.
The default attempt remains a separate record. These are one-option diagnostics, not an interleaved causal experiment. Neither qualifies a corrective setting, competitor speed win or native ZINC SYCL backend.
Native recurrent-operator checks#
The upstream Gated Delta Net probe
passes all 48 selected numerical cases on the same 3b4d6ab3 FP32
SYCL/Level Zero build: 43 recurrent cases and five cache-fusion cases. Coverage
includes decode, chunk boundaries, long sequences, permuted inputs, vector gates
and state snapshots. The source and executable hashes, live runtime libraries,
official package identities and unchanged hardware checks are retained.
These tests compare individual GPU operations with upstream's reference arithmetic. They do not reproduce a whole model's server state or request history. Their passing result leaves the separately recorded 35B repeatability failure unresolved and does not qualify a competitor performance baseline.