4 Commits
Author SHA1 Message Date
Pavlo RatushnyiandClaude Sonnet 5.5 8d96e9c44c perf: overlap weight expansion with NPU execution, batch products, SIMD half conversion, graph cache (STRA-207)
- service: BATCH n lets it see each product's successor and expand the next weights on a thread
  while the device runs the current one; buckets up to 4096; OpenVINO CACHE_DIR compile cache
- client: batched expert products, layout sized by batch, default batch 2048
- cpu-sys/cpu-kernels: AVX2 F16C f16_to_f32 kernel, exact for every half bit pattern
- npu-worker: memory admission before an NPU prefill (falls back to the CPU when RAM is short)

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-15 12:22:13 +02:00
Pavlo RatushnyiandClaude Sonnet 5.5 da38ccad5f experiment: NPU matmul throughput spike through the OpenVINO C API (STRA-207)
Loads openvino_c.dll dynamically and times MatMul graphs written as IR on the NPU, iGPU and CPU: f16 or
int8-compressed constant weights, int8 weights as runtime inputs, group-scaled int8 runtime weights.
Intel AI Boost: ~2 TOPS (f16 compute) for [M x 2880] x [2880 x 2880] at M >= 256, 1.3-2.5 TOPS with runtime
weights; native f4e2m1 weights are rejected by the NPU compiler. Not part of the workspace.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-15 10:39:42 +02:00
Pavlo RatushnyiandClaude Sonnet 5.5 d11582d5e1 experiment: add GPU streaming-bandwidth and device-capacity measurements to the iGPU spike (STRA-207)
The iGPU streams a 1 GiB buffer at about 40 GB/s (CPU: about 36 GB/s) and accepted 14 GiB of storage
buffers, so the whole model fits in device memory. The README records both results and the decision to build
a phased iGPU prefill backend with the CPU keeping decode.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-14 23:14:47 +02:00
Pavlo RatushnyiandClaude Sonnet 5.5 66814b8a02 experiment: measure int8 matrix-multiply throughput of the integrated GPU through wgpu (STRA-207)
experiments/igpu-spike is a standalone program (own workspace, wgpu 26, WGSL generated as text) that
multiplies int8 matrices with the packed dot-product built-in on the reference laptop's Intel iGPU. The
instruction ceiling is 2.74 TOPS; a naive kernel reached 0.2-0.3 TOPS because private arrays were spilled,
and with named scalars the 8x8-per-thread kernel reaches 0.8-1.3 TOPS on prefill-like shapes (0.5-0.64 at
32 tokens), against about 0.25 TOPS for the CPU's decoder. Only the integer product is measured; the README
lists what is not shown (MXFP4 decoding, block scales, attention, weight upload, memory strategy) and the
decision needed from the owner.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-14 23:11:55 +02:00