Repository navigation
Conversation
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>
Collaborator
|
Opened under the wrong GitHub account by mistake. Reopening the same branch under the right one. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds a CPU harness for vectoron next to
cpu-baseline, so candle and vectoron can be compared on the same runner in the same job. The spike only ever measured candle.vectoron-cpuruns the same prompt, prefill chunk, greedy decode loop, result schema and release profile ascpu-baseline, in the browser and natively.engine-bench.ymlbuilds both, runs them back to back on macos-26 (Chrome, WebKit) and ubuntu-latest (Chrome), andreport.mjsputs the rows in one table. It has its own workflow, andwebgpu-spike.ymlignores these files, so engine work doesn't rerun the GPU matrix. Hosted runners only.Numbers from the same harness code (run 45591228222,
bench.json, wasm simd128, no yields):vectoron reads the prompt about 3 to 4 times faster and generates at about half the speed. Peak RSS in Chrome is 1.0 to 1.3 GB, against 2.0 to 2.2 GB for candle.
The first generated token differs between the engines. That is a near-tie, not a bug: the top two logits are 70151 (18.68) and 4498 (18.61) in candle, and 4498 (18.73) and 70151 (18.68) in vectoron, with the same top five. The report's "first 20 tokens vs native CPU" column is therefore not a useful cross-engine check.
Notes for review:
spike/webgpu-*, so branches stacked on this one can run it. The workflow did not run on this branch's push, so the numbers above come from the earlier run on the same code.Cargo.lockis committed so CI builds with--locked.Stacked on #52 through the shellcheck fix.