Repository navigation
perf: speed up 3 files (1.07× on the declared workload) - #1
Draft
parthvelobyte wants to merge 1 commit into
Draft
parthvelobyte wants to merge 1 commit into
parthvelobyte wants to merge 1 commit into
Conversation
Evo Fleet patch-mode campaign run_07ba34078428496ea55b0702503c7eb4 (candidate_3). Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
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.
Summary
Changes 3 files:
.evo/fleet.json b/.evo/fleet.json(+75/−0),.fleet/bench_gpt2.c b/.fleet/bench_gpt2.c(+192/−0),train_gpt2.c(+47/−24).Workload: CPU-only synthetic GPT-2 forward/backward benchmark for train_gpt2.c reference kernels. Uses deterministic generated inputs to avoid pretrained-weight downloads and includes separate held-out entry points with different shapes.
On the declared workload the patched build runs 1.072× faster (median of 9 paired runs; CI95 1.066–1.087×) in a fresh confirmation after search.
Why it is faster
Stated by the optimizing agent; supported only by the measurements below, not independently verified.
Evidence · tier: measured
Final confirmation passed: clean rebuilds of the pinned baseline and the patch, tests, then paired measurements with fresh (candidate-first) ordering.
Median = median of per-pair speedups (baseline time / candidate time; >1 is faster). CI95 = distribution-free order-statistic interval for that median (achieved coverage 96.1%). A holdout is rejected when its median < 0.99× and CI95 upper < 1.0×; "no regression" means its median was at least 0.99×, and an inconclusive holdout blocks tier tested.
No holdout: no held-out workload was declared, so generalization beyond the training workload is untested.
Build configuration
The build-configuration lane did not run, so configuration and code gains are not separated.
How to reproduce
The benchmark harness is not included. Fleet measured with files that are neither in this repository at
f1e2ace65149nor in this patch (.evo/fleet.json,.fleet/bench_gpt2.c). The commands below record what was run; they are not runnable upstream as-is.Time the workload on the original and patched trees in alternating pairs (9 pairs in the confirmation) and compare per-pair ratios. Measured on Apple M2 Pro macos-aarch64. Held-out inputs stay sealed with the run (portfolio digest
none); they are not part of this patch.Limitations
Receipt
validation_receipt.json· keysha256:766ac7fc2d69…