Repository navigation
Done
Labels
area:benchmarkBenchmark harness and performance measurement (bench_*.sh, /update-benchmarks)platform:linuxLinux (CUDA / packaging) specificpriority:mediumMedium prioritystatus:doneCompletedtype:testTest related changes
Milestone
Description
Problem / Background
The experiment must distinguish kernel quality from MLX integration cost before expanding scope. Depends on #2833; reuse artifacts and numerical fixtures from #2832.
Design: feasibility review, added in #2835 and docs/benchmarks.md.
Proposed Solution
Produce a reproducible comparison and a go/no-go report for the default-off fused-normalization path. Freeze checkpoint revision, prompts, tolerances, timing method, and acceptance thresholds before collecting results.
Acceptance Criteria
- Compare the same oxide artifact standalone and through MLX, plus the existing fused CUDA baseline; use matching dtype/shape/geometry and separate module load, cold compilation, warm kernel latency, and end-to-end time.
- Select one supported real text checkpoint that reaches this operation; verify route markers and capture intermediate/logit error and greedy output behavior with the existing path as oracle.
- Measure B=1 and a small batch, prefill/decode, short/long prompts, peak memory, and repeated-run variance on GB10 under
gpu-lock; commit raw results, commands, versions, and artifact hashes. - Profile launch/synchronization costs, registers/spills, and memory traffic sufficiently to support any claimed bottleneck; do not infer MLX overhead from unmatched timings.
- Apply the review's proposed criteria: correctness passes, no unexplained end-to-end regression above 2% outside noise, and either useful >=10% kernel improvement, cold-start reduction, or a justified maintenance benefit. Document any threshold adjustment before measurement.
- Record one disposition: expand within MLX, investigate a demonstrated execution constraint, resolve toolchain limitations, or stop. A measured negative result can close this investigation; absent hardware evidence cannot.
Do not enable by default or implement an independent engine. A normalization result is not evidence for attention, quantized GEMM, or whole-engine performance.
Metadata
Metadata
Assignees
Labels
area:benchmarkBenchmark harness and performance measurement (bench_*.sh, /update-benchmarks)platform:linuxLinux (CUDA / packaging) specificpriority:mediumMedium prioritystatus:doneCompletedtype:testTest related changes
Activity
docs: add cuda-oxide feasibility and initial experiment plan
docs: align the cuda-oxide experiment plan with issue order
docs: document cuda-oxide feasibility and initial experiment plan (#2835
feat(mlxcelverse): standalone cuda-oxide fused residual-add + RMSNorm…
test(bench): add the cuda-oxide fused-norm benchmark harness
test(bench): record host state per stage in the #2834 run script
6 remaining items
fix(bench): report incomplete cells as unresolved in the #2834 summar…
fix(bench): close the #2834 review findings in docs, scripts and harness
fix(bench): commit the #2834 M2(c) matrix result as CSV, not a raw log
docs(cuda-oxide): record the #2834 decision to keep the route opt-in
test(bench): benchmark cuda-oxide RMSNorm on GB10 and record the resu…
chore: move the #3501 normalizer-fit tool from results into scripts
fix(cuda): explain the fused add+RMSNorm greedy divergence as a near-…
feat(cuda): make fused add+RMSNorm byte-identical to MLX rms_norm (#3512
perf(cuda): recover fused add+RMSNorm kernel time with byte identity (#…