interplane.Get Omega
Read in your language

gpu-head-to-head

aien-dev/gpu-head-to-head

Brought by drakestapleton

[TILELAB T3] Native Omega tiling A/B — traffic, occupancy, GEMM, decode and streaming attention

Open · #2 · open 2026-10-27 23:26 UTC

Imported from GitHub aien-dev/gpu-head-to-head#2, by drakestapleton

drakestapleton wrote on 2026-10-27 23:26 UTC

Parent: https://github.com/aien-dev/aien-architecture-mv/issues/347. Replaces the original TileLang comparison scope. This is an internal-only, source-pinned benchmark of mathematically derived tile scheduling against existing CUDApp kernel variants. No TileLang package/code/compiler, CUDA toolchain added, or external kernel dependency. Maintain existing Qwen3.5-9B PR #1 unchanged: this issue is standalone kernel work.

Preregister two separate hypotheses

H1 — tile input reuse. BF16 GEMM logical global requests with tile (BM,BN) are 2MK ceil(N/BN)+2NK ceil(M/BM)+4MN bytes with 4-byte F32 outputs. Compare predicted logical requests to measured L2/DRAM bytes if counters exist; never label modelled requests 'physical memory bandwidth'. Test 16x16x16 correctness first; performance shapes include 1024³, selected realistic prefill, and single-row GEMV/decode. Predict only modest/small weight-read benefit from tiling M=1, because weights must still be read absent existing cache residency. H2 — streaming softmax/attention. Partition score row into independent (m,s,p) summaries and combine with log-sum-exp rescaling; verify exact algebra with Wolfram and floating stability with checked tolerances. Correctly avoid score/probability materialization when a fused consumer exists; no illegal CTA-crossing row normalization.

Benchmark arms

A: pinned existing CUDApp kernel baseline on GB10. B: new authored .om TileLab shape/schedule via Omega #906 and CUDApp #153, same inputs/precision contract. C: an alternate native Omega tile-size/pipeline schedule if supported. Synthetic untiled traffic is a numerical model/reference, not a performance arm or benchmark win.

Protocol and acceptance

  • Freeze input hashes, tolerances, supported BF16/f16/F32 semantics, invalid-input mutants and workload list before timing.
  • Correctness before performance, independent Wolfram or exact/F64 CPU oracle; compare outputs under predeclared tolerances and make red mutants fail.
  • Uncontended Spark GPU; >=5 interleaved paired rounds after warmups, p50/p95 and full raw sample distribution; separate JIT/build, launch+wait, chip span, data transfers. Capture clock/load/driver/kernel binaries/versions and GB10 chip lock/owner identity. Report NOT_RUN if no authorized window.
  • Show shape-dependent effects, including M=1 vs M>=16/64, and resource-pressure tradeoffs. Physical memory traffic metrics are OPTIONAL; mark unavailable instead of inventing. Report slower as slower.
  • Both workload gates and machine-readable receipt independently reproducible from a fresh clone. No 35B interruption or firmware/driver modifications.

No comments.

Sign in to comment