Commit Graph
3 Commits
Author SHA1 Message Date
Pavlo RatushnyiandClaude Sonnet 5.5 b5d9a569b2 feat: add the NPU-assisted prefill client, the NPU worker and the scale-shift fix (STRA-207)
- gptoss-npu: a prefill accelerator that sends the matrix products to the NPU service and keeps norms, RoPE,
  attention, router, activation and combine on the CPU; debugging shadow device; examples for comparison, the
  quality dump, a numerics probe and a paired A/B
- npu-worker: separate executable with the CPU worker's protocol, CPU-only fallback, --openvino-root/--npu-*
- the NPU flushes half-precision subnormals to zero, which erased every Q8_0 block with scale < 2^-14
  (error 11% on attn_output); the service now boosts such rows' scales by a power of two and reports the
  per-column shifts the client divides out (relative rms error back to 3e-4 on all shapes)
- Smoke-GptOssStack.ps1 takes -Worker leleka-npu-worker -OpenVinoRoot; passes through the control plane

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-15 11:37:22 +02:00
Pavlo RatushnyiandClaude Sonnet 5.5 fb696983bd test: run the gpt-oss stack smoke test with the GPU-prefill worker; add the dot4 peak-throughput probe (STRA-219)
Smoke-GptOssStack.ps1 takes -Worker leleka-igpu-worker -GpuMinTokens N. With every prompt forced through the
GPU (N=1): plain answer, function call, tool-result round trip with prefix reuse (134 of 181 tokens cached)
and streaming all pass through the control plane. dot4_peak measures 4.49 TOPS of dot4I8Packed with no memory
traffic on this iGPU, against 0.67-0.86 TOPS for the GEMM kernels (tile sweep in docs/igpu-prefill.md).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-15 00:43:39 +02:00
Pavlo RatushnyiandClaude Sonnet 5.5 4231c20377 docs: document serving gpt-oss through the control plane; add an end-to-end smoke script (STRA-218)
benchmarks/tools/Smoke-GptOssStack.ps1 starts strata-next with leleka-cpu-worker for a GGUF and checks a
plain question, a function call, a tool-result round trip that must reuse the cached prefix, and a
streaming request, then stops what it started. Run on the reference laptop with gpt-oss-20b: all pass
(second-turn prefix reuse 134 of 181 prompt tokens; 5.3 s for a short answer, 6-8 s for tool turns).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-14 22:24:50 +02:00