Commit Graph
2 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