Repository navigation
PR template asks for evidence of a fix and its speed; bench_diff reports only grind time - #2520
Merged
Merged
Conversation
The PR template gains sections for evidence that the change solves its problem, what was tested, and benchmark results the author runs on a GPU, with a table of which kinds of change need which.
|
Claude Code Review Head SHA: 16e0b58 No review was produced. Claude ran but wrote no review (Claude step: failure). Run and transcript: https://github.com/MFlowCode/MFC/actions/runs/45906554903 |
The commands now stop on uncommitted changes, on a checkout with nothing to compare, without a common commit with master, or when a step fails. Authors without a GPU can benchmark on CPUs.
sbryngelson
marked this pull request as ready for review
November 26, 2026 22:43
sbryngelson
requested review from
danieljvickers
and removed request for
a team
November 26, 2026 22:43
Execution times and pre_process/post_process timings are no longer shown, warned about, or required.
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.
What
bench_diffnow reports only simulation grind time: execution times and pre/post-process timings are no longer shown, warned about, or required.Adds to the PR template, below the unchanged contribution policy:
src/and build changes, the author benchmarks the base commit and the PR on the same GPU and pastes the speedup table; the commands are in a fold-outEffect
bench_diffchange also applies to what the Benchmark workflow prints.src/and build changes are asked for a GPU run (base and PR builds plus both benchmark runs; 54 minutes on one node with one GPU in the test below). Authors without GPU access are asked to say so in section 3.../mfc-<base commit>next to the checkout and replacebuild/speed.md.Checked
./mfc.sh precheckand./mfc.sh lint(1030 tests, 7 of them new forbench_diff) pass.bench_diff, run on the result files from the GPU test below, gives the same grind speedups.--gpu mpand-c tamd, run from a clone of this branch withmaster(including tuolumne: keep each GPU rank on one socket #2522) merged in locally.src/was identical in both builds. It completed, and every sampled benchmark run was on the GPU's socket.mfc.sh: a detached HEAD, a repeat run and a branch behind a newermastereach produce a table. Uncommitted changes, a checkout with nothing to compare, a shallow clone with no common commit and a failed build each stop without leaving a table.ibm5eq_rk3_weno3_hllc5eq_rk3_weno3_hllviscous_weno5_sgb_acoustic5eq_rk3_weno3_lfigramrhypo_hllNo grind speedup was below 0.95.
Limitations
5eq_rk3_weno3_lftook 0.79 ns against 0.48 ns for the other build, both on the same socket; with the order reversed it would read as 0.60. The cause is unknown. This is why the template asks for an explanation only when a slowdown shows up twice.--gpu acc, Frontier, Phoenix, several GPUs through these commands, other shells, and dependency downloads from compute nodes elsewhere.