Repository navigation
Cap the ad benchmark tier at 1000 samples a gradient so it can deploy - #1065
Merged
Merged
Conversation
The tier's merged results file reached 349 MB, over GitHub's 100 MB file limit, so it was never deployed and the docs build measured the AD grid live until it timed out. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Contributor
Benchmark comparison vs baseMinimum time per call. Buckets are PR time as a % of base, so lower is faster (🟢 faster, ⚪ within 5%, 🔴 slower). Counts of benchmarks per bucket:
Evaluation — 24 benchmarks (by time change)
AD gradients — 63 benchmarks (by time change)
|
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.
The daily ad benchmark tier has never reached the
benchmarksbranch, because its results file is 349 MB and GitHub rejects files over 100 MB.Without it, the docs build measures the AD comparison grid live and hits its 90-minute cap.
This caps the ad tier at 1000 samples per gradient, which makes the file about ten times smaller.
The kit side of the cause is EpiAware/EpiAwarePackageTools.jl#624.
Needs your decision: the suite's header says entries keep BenchmarkTools' default sample count, because a lower cap raises the minimum of the fastest entries. This PR makes an exception for the ad tier only. The pr and full tiers are unchanged. If you would rather wait for the kit fix in #624 (
jq -c, which on its own gives about 85 MB), close this.Claude Opus 5.5 [high]
Cause
workflow_dispatch, 30bcc63) failed at "Deploy extra tiers to benchmarks branch" withFile history/tiers/ad/results/latest.json is 349.04 MB; this exceeds GitHub's file size limit of 100.00 MB.benchmarksbranch has nohistory/tiers/folder at all, so the ad tier has never deployed.AD_BENCHMARK_TIER = "ad", the AD comparison page then measures live. Documenter run 47428161580 was cancelled at 90 minutes on that page.jq -s 'reduce ...'pretty-prints its output. For one shard, the compact file is 20.2 MB and the merged one 108.3 MB. Reported as kit Take a pointwise modifier's Init derivative stratum by stratum #624.Fix
benchmark/benchmarks.jl:_GRADIENT_SAMPLESis 1000 in theadtier and BenchmarkTools' default otherwise.The merged tier would then be about 35 MB even with the current pretty-printed merge.
Evidence
BENCHMARK_TIER=ad BENCHMARK_BACKENDS=ForwardDiff: the suite builds 274 "AD gradients" entries, each withsamples = 1000.SUITEholds only that group.This was opened by a bot. Please ping @seabbs for any questions.