Unit 9 of 10 · about 4 hours · implement

Protection, clean reproduction and claim-to-artifact links

A result without a reproduction package is a story. Clean build, locked environment and linked artifacts turn it into evidence someone else can check.

You'll be able to

  • Reproduce a result from a clean build with a locked environment and an independent rerun.
  • Link every claim to code, raw results, traces and reports with no hand-copied numbers.
  • Install correctness, performance, dispatch, fallback and rollback protection that each fails loudly.

Covers

Correctness, performance, dispatch, fallback and rollback protectionClean build, environment lock and independent reproductionClaim-to-code, raw result, trace, counter and report links
1

Read

In this order, only the parts listed

0 of 3 done

  1. Reproducibility practices from the checklistAI Systems Performance Engineering - Chapters 2, 19 and 20 and the Appendix checklist

    Appendix: Reproducibility and Documentation Best Practices; Performance Profiling, Debugging, and Monitoring

  2. Measurement discipline behind the linksModern GPU Programming for MLSys

    Separate Measurement from Diagnosis; Verify Correctness Before Timing; Define the Timing Boundary; Keep Benchmark Conditions Consistent; Convert Latency to Throughput

  3. Clean-build regeneration and raw samplesGPU Microbenchmark and Kernel Suite - Final Evaluation

    Milestone F: run the full shape matrix from clean build, regenerate tables, and explain model residuals; Measurement requirements: retain warmup and raw samples with medians and variance, and explicitly label measured hardware

2

Focus on

  • Clean means rebuilding from versioned sources into an empty state. A rebuild that reuses the old build tree proves nothing about reproducibility.
  • Every table cell links to raw samples plus environment: GPU, clocks, toolkit, driver and commit. Numbers in prose are quotes of linked artifacts, never copies.
  • Protection is fivefold: correctness, performance, dispatch, fallback, rollback. Each has a test that fails loudly when its defect is injected.
  • State the run variance you observed on your hardware and its cause. For scale, SOL-ExecBench expects about 5 percent on B200 evaluation workers with locked clocks, and up to 10 percent for submissions that launch many small kernels.
Common mistakes · 3
  • Pinning versions in the report but not in the build. A documented toolkit beside a different actual binary invalidates the whole package.
  • Keeping only means. Raw samples with medians show the variance a mean hides; the harness must retain them.
  • Testing rollback by reading the code. Rollback is a run: trigger the fallback path and measure it, or it stays untested.
3

Try it yourself

Closed-book, before checking anything

From memory, write the reproduction checklist (clean build, locked environment, full matrix, raw samples, claim links, five protections) and apply it to one of your kernels.
4

Quiz yourself

Answer first, then mark it. Missed ones go to Review.

0 got · 0 missed

  1. 1.What must a clean reproduction rebuild, and what must it refuse to reuse?Answer

    Everything from versioned sources (code, environment, data) into an empty state. No reused build trees, caches or warm artifacts.

  2. 2.A table reports 105.2 us for a GEMM-plus-ReLU baseline. What must back that cell?Answer

    Raw samples with median, min and max, the timing boundary, GPU, clock, toolkit, driver and commit identity, plus warmup and cache policy and the trace. The appendix worked example shows the form.

  3. 3.Your optimization regresses one shape. Which protection catches it, and what happens next?Answer

    The performance-regression gate over the full shape matrix fails loudly, and dispatch falls back or rolls back to the validated path for that shape.

  4. 4.Your kernel launches hundreds of tiny grids and its run-to-run variance is twice your other kernels. What do you report?Answer

    The observed variance with its cause named: CPU launch and scheduling overhead, which SOL-ExecBench also singles out for many-small-kernel submissions (up to 10 percent there). Report the spread from raw samples, not a hoped-for figure.

You're done when

A clean directory regenerates your tables from your package, and every protection test fails when its defect is injected.

Only when you can do this without notes.

Leads to

Notes

Resources · 3 for this unit, 11 more in the section
  • AI Systems Performance Engineering - Chapters 2, 19 and 20 and the Appendix checklistChris Fregly · primary

    Read Chapter 2 for hardware generations, Chapters 19 and 20 on adaptive engine optimization and AI-assisted optimization, and use the Appendix checklist as an audit list for the final project. Treat every performance number as a hypothesis requiring your own evidence.

  • GPU Microbenchmark and Kernel Suite - Final EvaluationRoadmap-Final · required

    Complete Milestones C through F: CUDA and Triton kernel suite, failure injection, model-versus-profile reconciliation, strong baselines, real integration, full shape matrix, dispatch and fallback defense, clean reproduction and negative results.

  • Modern GPU Programming for MLSysMLC · depth

    Use the Blackwell GEMM and Flash Attention path as a real architecture-specific reconstruction target if compatible hardware is available. Otherwise produce a static mechanism audit and leave all performance claims open.

Also in this section

  • AI Performance Engineering - Hardware, Frontier and Source PolicyWafer · reference

    A dated map of current hardware and frontier work. Apply its Source Policy to every final claim, and use the hardware and frontier sections only to find primary documentation.

  • Performance Engineering and GPU Programming CheckpointRoadmap-Final · support

    Use the checkpoint as the final adversarial assessment after the source-derived route. Pass the real kernel, compiler or communication modification and end-to-end evidence clauses; ignore its ordering where it conflicts with this track.

  • KernelBench-VerifiedKernelBench-Verified Authors · required

    Study the evaluator hardening and baseline-parity failures found in the original benchmark. Run a very small task slice or port its adversarial testing ideas into the project evaluator; do not optimize for aggregate benchmark score.

  • SOL-ExecBenchNVIDIA · support

    Inspect how correctness and performance are compared with a hardware speed-of-light model. Apply one attainable-efficiency analysis to a project kernel and explain missing hardware or model assumptions.

  • MLPerf EndpointsMLCommons · support

    Read the endpoint-level scenario and load-generation rules. Borrow the workload and result-boundary discipline for the integrated benchmark without claiming an official MLPerf result.

  • CUDA Toolkit and Architecture Tuning GuidesNVIDIA · reference

    Use the current toolkit root, release notes and the tuning guide matching the measured GPU. Pin the document and toolkit versions, verify capability checks and rerun any claim affected by compiler or architecture change.

  • MIT 6.S894 Accelerated Computing (Fall 2025) - Lecture 10MIT · support

    Use Lecture 10 (Accelerated Computing Beyond NVIDIA and CUDA) for AMD GPUs, TPUs, NPUs and higher-level kernel languages as portability vocabulary.

  • KernelBench - benchmark toolkit and task suiteScalingIntelligence · support

    Clone the repository and check one Level 1 problem with scripts/run_and_check.py in local mode; read EVAL.md for the correctness and timing guidance. Do not chase the aggregate score.

  • Etalon - holistic evaluation for LLM inferenceGeorgia Tech, Microsoft Research India and Intel AI Lab · support

    Read Section 2.2 for TTFT and TPOT pitfalls, then the fluidity-index design (Section 4.1) for deadline-based, SLO-qualified capacity.

  • ROCm Composable KernelAMD · support

    Read the repository README for the tile-based programming model, Tensor Coordinate Transformation and the four CK layers; open one tiled operator and map each CUDA term to its CK counterpart.

  • DistServe: Disaggregating Prefill and Decoding for Goodput-optimized LLM ServingZhong et al. (OSDI 2024) · support

    Read Section 1 with Figure 1 for per-GPU goodput: the highest request rate served while a target share of requests meets the TTFT and TPOT SLOs.