Repository navigation
spikes/webgpu: benchmark vectoron with integer kernels - #60
setoelkahfi wants to merge 5 commits into
Conversation
e6a743a to
f2f1d85
Compare
There was a problem hiding this comment.
This change introduces a new vectoron-dev harness, duplicating the vectoron-cpu benchmark but building it against a specific unreleased vectoron commit that uses integer kernels. The workflow and reporting scripts are updated to build, run, and report on this new harness alongside the existing ones. The new harness is not part of the main workspace and uses the same library name as vectoron-cpu for compatibility. The change is careful to keep the new results distinct in reporting and artifact upload. No critical or warning issues are apparent in the changes; the approach is sound for a temporary benchmarking spike.
Automated review by siGit Code Review · commit f2f1d85 · see the review dashboard
actionlint has been failing the branch's "Lint workflows" check on them. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Co-Authored-By: siGit Code v1.7.10 <noreply@sigit.si> Co-Authored-By: OndeCode v1.1.2 <noreply@ondeinference.com>
vectoron-cpu is cpu-baseline with vectoron 0.2 in place of candle: same prompt, prefill chunk, greedy decode loop, result schema and release profile. engine-bench.yml runs both engines back to back in one job per runner and browser, plus native on macos-26 and ubuntu, so each pair of numbers comes from the same machine. It has its own workflow so that engine work doesn't rerun the GPU matrix, and webgpu-spike.yml now ignores these files. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Co-Authored-By: siGit Code v1.7.10 <noreply@sigit.si> Co-Authored-By: OndeCode v1.1.2 <noreply@ondeinference.com>
The push trigger named only spike/webgpu, so a branch stacked on it could not run its own benchmark before merging. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Co-Authored-By: siGit Code v1.7.10 <noreply@sigit.si> Co-Authored-By: OndeCode v1.1.2 <noreply@ondeinference.com>
vectoron-dev builds the vectoron-cpu harness (its sources are used in place) against an unreleased vectoron commit, so one run of engine-bench.yml lists candle, vectoron 0.2 and the new kernels side by side on the same machines. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Co-Authored-By: siGit Code v1.7.10 <noreply@sigit.si> Co-Authored-By: OndeCode v1.1.2 <noreply@ondeinference.com>
The path filter excluded vectoron-cpu but not vectoron-dev, so adding it started the whole WebGPU matrix. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Co-Authored-By: siGit Code v1.7.10 <noreply@sigit.si> Co-Authored-By: OndeCode v1.1.2 <noreply@ondeinference.com>
f2f1d85 to
9266337
Compare
|
Superseded: vectoron 0.3.0 is on crates.io, and #61 now benchmarks it with the results in findings.md. |
e39a8df to
84e6b2d
Compare
Don't merge: close this once vectoron 0.3 is on crates.io. It adds
vectoron-dev, thevectoron-cpuharness built against an unreleased vectoron commit, so one run lists candle, vectoron 0.2 and the new integer kernels together. It usesvectoron-cpu's sources in place and pins setoelkahfi/vectoron@e8b1cfd, which multiplies quantized weights in integers instead of dequantizing each block to f32.At that point
vectoron-cpumoves to the release.Numbers (run 45594465473,
bench.json, wasm simd128, no yields):Natively on macos-26, candle still decodes faster (20.8 against 13.9 tok/s, with NEON and threads). That does not apply to the single-threaded web engine.
The run above was on the same code as this branch except the trigger widening in the PR below it.
Stacked on #52 through the engine bench PR.