Reduce variability between compile outputs and transfertuning requests - #880
Draft
ramonwirsch wants to merge 2 commits into
Draft
Reduce variability between compile outputs and transfertuning requests#880ramonwirsch wants to merge 2 commits into
ramonwirsch wants to merge 2 commits into
Conversation
ramonwirsch
requested review from
Atrisan,
Moehre2 and
NoraHagmeyer
as code owners
July 24, 2026 14:27
Daisytuner Report - python_npbench (zinnia)@@ Benchmarks @@
=======================================================================================================
Benchmark Speedup (Time) ±% Energy Regions Types (M/F/R/O) % Peak
=======================================================================================================
# adi
# numpy 119.00 ms 11.82 J — — N/A
# docc-sequential 2.27x (52.52 ms) 8.43 J 2 1M 1F 1%
# docc-omp 2.06x (57.88 ms) 8.74 J 2 1M 1F 1%
# docc-cuda 2.46x (48.34 ms) 4.80 J 6 1M 1F 1%
# atax
# numpy 46.22 ms 8.59 J — — N/A
# docc-sequential 2.63x (17.57 ms) 3.74 J 3 1M 1%
# docc-omp 2.03x (22.79 ms) 4.91 J 3 1M 0%
# docc-cuda 1.52x (30.37 ms) 3.06 J 6 2M N/A
# gemm
# numpy 92.87 ms 18.38 J — — N/A
# docc-sequential 3.67x (25.34 ms) 7.25 J 1 — N/A
# docc-omp 3.65x (25.42 ms) 7.24 J 1 — N/A
# docc-cuda 0.12x (752.25 ms) 74.28 J 1 — N/A
# gesummv
# numpy 119.33 ms 20.91 J — — N/A
# docc-sequential 0.68x (174.53 ms) 33.06 J 5 3M 3%
# docc-omp 1.73x (69.05 ms) 14.82 J 5 3M 0%
# docc-cuda 6.08x (19.61 ms) 2.00 J 10 4M N/A
# gemver
# numpy 89.59 ms 16.20 J — — N/A
# docc-sequential 10.50x (8.53 ms) 1.79 J 7 3M 1%
# docc-omp 5.63x (15.93 ms) 3.33 J 7 3M 0%
# docc-cuda 7.25x (12.35 ms) 1.29 J 12 6M N/A
# k2mm
# numpy 96.57 ms 19.41 J — — N/A
# docc-sequential 0.71x (135.25 ms) 24.61 J 3 1M 3%
# docc-omp 0.71x (135.74 ms) 26.75 J 3 1M 0%
# docc-cuda 0.12x (820.35 ms) 81.01 J 7 1M N/A
# k3mm
# numpy 74.80 ms 17.48 J — — N/A
# docc-sequential 0.24x (307.17 ms) 50.54 J 4 1M 4%
# docc-omp 0.23x (332.07 ms) 57.47 J 4 1M 0%
# docc-cuda 0.06x (1.30 s) 128.42 J 8 1M N/A
# mvt
# numpy 50.61 ms 9.63 J — — N/A
# docc-sequential 2.76x (18.33 ms) 3.83 J 2 — N/A
# docc-omp 2.75x (18.39 ms) 3.85 J 2 — N/A
# docc-cuda 1.66x (30.48 ms) 3.07 J 1 1M N/A
# symm
# numpy 63.80 ms 6.34 J — — N/A
# docc-sequential 4.31x (14.81 ms) 3.17 J 3 2M 1F 3%
# docc-omp 3.55x (18.00 ms) 4.00 J 3 2M 1F 2%
# syr2k
# numpy 74.61 ms 7.44 J — — N/A
# docc-sequential 2.02x (36.91 ms) 7.46 J 1 1F 0%
# docc-omp 2.07x (36.05 ms) 7.17 J 1 1F 0%
# docc-cuda 2.52x (29.60 ms) 2.97 J 1 1F 1%
# syrk
# numpy 62.94 ms 6.25 J — — N/A
# docc-sequential 2.40x (26.17 ms) 5.31 J 1 1F 1%
# docc-omp 2.36x (26.62 ms) 5.33 J 1 1F 1%
# docc-cuda 2.78x (22.65 ms) 2.29 J 1 1F 1%
# trmm
# numpy 70.98 ms 7.13 J — — N/A
# docc-sequential 4.93x (14.39 ms) 3.02 J 3 2M 1F 14%
# docc-omp 3.89x (18.23 ms) 3.90 J 3 2M 1F 7% |
Daisytuner Report - mlir_torch_models (chamomile)@@ Benchmarks @@
=======================================================================================================
Benchmark Speedup (Time) ±% Energy Regions Types (M/F/R/O) % Peak
=======================================================================================================
# resnet18
# torch 90.91 ms 23.42 J — — N/A
# torch-cuda 18.29 ms 3.68 J — — N/A
# docc-omp 0.14x (649.53 ms) 207.84 J 45 44M 24%
# docc-cuda 0.36x (51.26 ms) 9.74 J 101 72M N/A
# segformer
# torch-cuda 38.43 ms 7.56 J — — N/A
# docc-cuda 0.28x (139.06 ms) 26.63 J 435 337M N/A |
NoraHagmeyer
previously approved these changes
Jul 27, 2026
Moehre2
requested changes
Jul 27, 2026
Moehre2
left a comment
Contributor
There was a problem hiding this comment.
Please fix and/or adapt the verifiers of llvm/integration/polybench_sequential_test.py
Contributor
|
Needs a rebase |
…gPass for llvm frontend * dot_viz sorts edges deterministically. Makes .dot files more deterministic + Context can also produce a shared_ptr of the context + RPCNodeTransform can optionally dump the cutout and response into sub-folders for debugging (default off, using output_dir metadata on sdfg) * updated llvm frontend to use DoccTargets and construct RpcLoopScheduler fresh when needed * updated llvm frontend to use the docc context for access to DoccTargets (no it vectorizes again) + added "applied_to_element_id" field to RPCNodeTransform reporting, so that we can identify which level of a loop nest was actually tuned ~ replaced global PassReportCollector with thread-safe management that creates reports per module.
… then SDFG element counts to not hide correctness issues behind SDFG changes * updated llvm poly openmp verifiers: now, with enabled vectorization a portion of "SEQUENTIAL"s have become "VECTORIZE" * added result tolerances of 1e8 to openmp durbin, gramschidt and ludcmp
ramonwirsch
force-pushed
the
llvm-stability
branch
from
July 28, 2026 16:26
0c7f838 to
e50b8e9
Compare
Atrisan
requested changes
Jul 29, 2026
Atrisan
left a comment
Contributor
There was a problem hiding this comment.
Verifier update for polybench sequential is missing
Contributor
There was a problem hiding this comment.
Why not delete the file if its basically empty now
ramonwirsch
marked this pull request as draft
July 29, 2026 07:34
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.
Description
~ replaced global PassReportCollector with thread-safe management that creates reports per module.
Related Issues
Type of Change
Quality Checklist
Please ensure the following are completed before requesting review:
IR:
Unit Tests
Integration Tests
Documentation
Test Coverage
How Has This Been Tested?