CODA: Rewriting Transformer Blocks as GEMM-Epilogue Programs
Update NeurIPS 2026 submission IbVBLfiHWM: 22 notes
@openreview[bot] · 2026-11-24 15:48 UTC · e7edf33d3d45 ·
reviews/openreview/ibvblfihwm/notes/0dhr7r7vfj.json added
+++ b/reviews/openreview/ibvblfihwm/notes/0dhr7r7vfj.json@@ -0,0 +1,16 @@+{+ "schema": "review/1",+ "id": "0dHr7R7vFJ",+ "replyTo": "xqrsDqCkgW",+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Authors",+ "content": {+ "title": "Response",+ "comment": "Thank you for the detailed review, and apologies for the delayed response. We only recently realized that authors were expected to respond directly to AC reviews. Given the extensive reviewer discussion, this is also a useful opportunity to summarize our main clarifications and preliminary results.\n\n---\n\n## Preliminary full-model evaluation\n\nFollowing the reviews, we integrated CODA into TorchTitan and evaluated the complete forward and backward passes of a LLaMA-3-style 1B model on one H100 with 32K tokens. The experiment excludes optimizer execution, data loading, and communication, so we describe it as a full-model forward-and-backward benchmark rather than full training-step throughput.\n\n| Method | Latency (ms) | TFLOP/s | MFU | Peak memory (GiB) | Latency overhead vs. CODA | CODA memory saving |\n| ------------------------- | -----------: | ------: | ----: | ----------------: | ------------------------: | -----------------: |\n| PyTorch + `torch.compile` | 531.6 | 556.3 | 56.2% | 48.7 | 5.5% | 24.7% |\n| Liger + cross-entropy | 531.5 | 556.5 | 56.2% | 48.9 | 5.5% | 24.9% |\n| CODA | 503.9 | 586.9 | 59.3% | 36.7 | - | - |\n\nCODA’s gains are measured against strong, highly optimized baselines. Liger performs similarly to `torch.compile` in this setting, suggesting that CODA provides additional gains beyond conventional fused-kernel libraries and compiler fusion.\n\n### Preliminary ablation 1: Memory-matched comparison\n\nCODA explicitly selects which tensors to save or recompute, while `torch.compile` makes this decision automatically. We therefore tweaked the PyTorch compiler toward CODA’s memory usage to obtain a memory-matched comparison. We also evaluated Liger with fused linear cross-entropy (FLCE), which exposes a latency-memory trade-off through its chunk count.\n\n| Method | Latency (ms) | TFLOP/s | MFU | Peak memory (GiB) | Latency overhead vs. CODA | CODA memory saving |\n| ----------------------- | -----------: | ------: | ----: | ----------------: | ------------------------: | -----------------: |\n| PyTorch, memory-matched | 535.7 | 552.1 | 55.8% | 36.9 | 6.3% | 0.5% |\n| Liger + FLCE, 2 chunks | 531.7 | 556.2 | 56.2% | 45.3 | 5.5% | 19.0% |\n| Liger + FLCE, 4 chunks | 532.8 | 555.1 | 56.1% | 43.8 | 5.7% | 16.2% |\n| CODA | 503.9 | 586.9 | 59.3% | 36.7 | - | - |\n\nEncouraging PyTorch to recompute more closes the memory gap, but further increases latency. Tuned FLCE also narrows Liger’s memory gap. CODA therefore remains on the Pareto frontier of the latency-memory trade-off.\n\n### Preliminary ablation 2: Packed projections\n\nThe PyTorch baseline follows the original implementation, while CODA uses packed projections to simplify the surrounding fusion. To determine whether this difference confounds the comparison, we also evaluated a packed PyTorch implementation.\n\n| Method | Latency (ms) | TFLOP/s | MFU | Peak memory (GiB) | Latency change vs. PyTorch |\n| --------------------------------- | -----------: | ------: | ----: | ----------------: | -------------------------: |\n| PyTorch + `torch.compile` | 531.6 | 556.4 | 56.2% | 48.7 | - |\n| PyTorch + `torch.compile`, packed | 533.7 | 554.2 | 56.0% | 51.2 | 0.4% |\n\nAt 32K tokens, these projections are largely compute-bound, so packing provides little performance benefit. Projection packing therefore does not explain CODA’s gains.\n\n### Preliminary ablation 3: Final block and cross-entropy\n\nTo estimate the contribution of cross-entropy, we replaced the entire final CODA block with its PyTorch implementation. Isolating cross-entropy alone is difficult because CODA algebraically couples the loss, LM-head projection, final RMSNorm, and their backward reductions.\n\n| Method | Latency (ms) | TFLOP/s | MFU | Peak memory (GiB) | Speedup vs. PyTorch |\n| ---------------------------- | -----------: | ------: | ----: | ----------------: | ------------------: |\n| CODA | 503.9 | 586.9 | 59.3% | 36.7 | 5.49% |\n| CODA, final block in PyTorch | 510.4 | 579.5 | 58.6% | 37.4 | 4.15% |\n\nThe optimized final block contributes meaningfully to latency, but accounts for only a small fraction of CODA’s total memory reduction. The remaining Transformer blocks therefore explain many of the improvement."+ },+ "createdAt": "2026-08-04T01:21:08.091Z",+ "modifiedAt": "2026-11-19T17:08:42.957Z",+ "url": "https://openreview.net/forum?id=IbVBLfiHWM¬eId=0dHr7R7vFJ",+ "license": "CC-BY-4.0"+}
reviews/openreview/ibvblfihwm/notes/18tjzeblag.json added
+++ b/reviews/openreview/ibvblfihwm/notes/18tjzeblag.json@@ -0,0 +1,16 @@+{+ "schema": "review/1",+ "id": "18tjzEblAG",+ "replyTo": "YpvajRnsHu",+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Authors",+ "content": {+ "title": "Follow up",+ "comment": "Hi, and thank you again for your comments! This is a gentle reminder that the discussion period closes in about a day. We would appreciate hearing whether our updated response has addressed your questions.\n\nWe have also conducted several additional experiments to better isolate the sources of the improvements reported in our previous response. These include examining the effect of packed projections, evaluating the contribution of the final block and cross-entropy, and adding full-model forward-and-backward results for Liger. We report highlights from these preliminary results below. Overall, they indicate that CODA’s improvements persist against strong, highly optimized baselines.\n\n| name | mean ms | TFLOP/s | MFU | peak GiB |\n| ---------------------------------- | ------- | ------- | ----- | -------- |\n| PyTorch + `torch.compile` | 531.55 | 556.4 | 56.2% | 48.74 |\n| PyTorch + `torch.compile` + packed | 533.66 | 554.2 | 56.0% | 51.24 |\n| Liger | 531.58 | 556.4 | 56.2% | 48.87 |\n| CODA, final block in PyTorch | 510.36 | 579.5 | 58.6% | 37.37 |\n| CODA | 503.88 | 586.9 | 59.3% | 36.71 |\n\nWe have also thought further about your earlier question regarding kernel-generation systems. Our post-submission experience suggests that CODA’s restricted action space makes LLM-authored kernels easier for humans to inspect and review. Without such a restricted space, LLMs may generate large, low-level kernels that are difficult to review, particularly given the risks of reward hacking [1, 2]. This structure has helped us consolidate the strongest ideas from human- and LLM-authored implementations into a common CODA codebase.\n\n[1] https://www.gpumode.com/news/reward-hacking-nvfp4 \n[2] https://deep-reinforce.com/defense_kernel_hack.html"+ },+ "createdAt": "2026-08-02T21:56:15.582Z",+ "modifiedAt": "2026-11-19T17:08:43.194Z",+ "url": "https://openreview.net/forum?id=IbVBLfiHWM¬eId=18tjzEblAG",+ "license": "CC-BY-4.0"+}
reviews/openreview/ibvblfihwm/notes/3frymxdtwj.json added
+++ b/reviews/openreview/ibvblfihwm/notes/3frymxdtwj.json@@ -0,0 +1,16 @@+{+ "schema": "review/1",+ "id": "3fRymXDtwj",+ "replyTo": "bPDuCf2Ldn",+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Authors",+ "content": {+ "title": "Thanks!",+ "comment": "Thanks again for the very helpful suggestions and comments!"+ },+ "createdAt": "2026-08-03T23:25:00.595Z",+ "modifiedAt": "2026-11-19T17:08:42.977Z",+ "url": "https://openreview.net/forum?id=IbVBLfiHWM¬eId=3fRymXDtwj",+ "license": "CC-BY-4.0"+}
reviews/openreview/ibvblfihwm/notes/46cfbxr1ci.json added
+++ b/reviews/openreview/ibvblfihwm/notes/46cfbxr1ci.json@@ -0,0 +1,16 @@+{+ "schema": "review/1",+ "id": "46CfbXr1cI",+ "replyTo": "0dHr7R7vFJ",+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Authors",+ "content": {+ "title": "Response (continued)",+ "comment": "### Preliminary kernel breakdown\n\nThe gains primarily come from eliminating standalone memory-bound kernels and intermediate tensor materialization. The following separate profiling run reports execution time and kernel-launch counts by category.\n\n| Bucket | PyTorch + `torch.compile` (ms) | CODA (ms) | Delta (ms) | PyTorch launches | CODA launches |\n| ----------------------------- | -----------------------------: | --------: | ---------: | ---------------: | ------------: |\n| GEMM | 337.7 | 349.2 | 11.6 | 371.0 | 195.0 |\n| Attention | 137.7 | 141.2 | 3.5 | 96.0 | 96.0 |\n| Other memory-bound operations | 57.7 | 15.4 | -42.4 | 710.0 | 438.0 |\n| Total | 533.1 | 505.8 | -27.3 | 1177.0 | 729.0 |\n\nCODA reduces standalone memory-bound time from 57.7 ms to 15.4 ms. These savings more than offset the additional time attributed to GEMM and attention. Auxiliary reductions requiring cross-tile coordination remain separate kernel boundaries, and their costs are included in the measurements.\n\n---\n\n## Preliminary FP8 evaluation\n\nFaster low-precision GEMMs can make surrounding memory-bound operations account for a larger fraction of runtime. We therefore evaluated GEMM + SwiGLU in BF16 and FP8 with (M=32K) and hidden dimensions of 2K, 4K, and 8K.\n\nThe FP8 PyTorch implementation uses fast accumulation and tensor-wise scaling by passing two separate scalar input scales (for each of the arguments) to `scaled_mm`. CODA combines these scales in advance and applies one scalar in the fused SwiGLU epilogue.\n\n| Hidden dimension | BF16 speedup | FP8 speedup |\n| ---------------- | -----------: | ----------: |\n| 2048 | 1.16x | 1.31x |\n| 4096 | 1.07x | 1.16x |\n| 8192 | 1.05x | 1.08x |\n\nThese results provide preliminary evidence that CODA’s benefits persist in FP8 microbenchmarks, particularly at smaller hidden dimensions. They do not, however, establish end-to-end FP8 training gains.\n\n---\n\n## Novelty relative to existing systems\n\nWe acknowledge precedent in epilogue fusion, individual algebraic rewrites, and AI-assisted kernel authoring.\n\nCODA’s contribution is a systematic methodology for Transformer training: it transforms coupled forward and backward computations, including their reductions, into high-performance GEMM-plus-epilogue programs while retaining tuned GEMM mainloops. CUTLASS and EVT provide mechanisms for computations already expressed as GEMM epilogues, while TorchInductor and Welder primarily optimize a given computation graph. CODA instead changes the algebraic form of the training computation to create new epilogue opportunities.\n\nThese transformations are exposed through a restricted Python/CuTeDSL interface that is directly programmable by both humans and LLMs. Our full-model results show that this approach improves forward-and-backward performance. More broadly, CODA points toward training infrastructure built around systematic reparameterizations and a small set of reusable, high-performance primitives rather than bespoke kernels.\n\n---\n\n## Clarification on LLM-assisted kernel authoring\n\nCODA is more of a programming substrate than a kernel-generation system. We used Claude Code interactively: humans provided algebraic reparameterizations and schedule-sensitive decisions, while the LLM implemented and refined epilogue programs. Because this repository-level workflow was iterative, counts of prompts, failures, and manual edits depend heavily on how sessions are segmented and do not cleanly isolate CODA’s contribution. We therefore avoid claiming a controlled reliability or performance advantage over unrestricted kernel generation. Our narrower claim is that CODA enables both humans and LLMs to produce competitive kernels.\n\nOur post-submission effort to consolidate the strongest implementations further suggests that CODA’s restricted action space makes LLM-authored kernels easier to inspect and review than large, unconstrained low-level kernels. CODA could also serve as a restricted action space or backend target for broader agentic kernel-generation systems."+ },+ "createdAt": "2026-08-04T01:23:15.466Z",+ "modifiedAt": "2026-11-19T17:08:42.892Z",+ "url": "https://openreview.net/forum?id=IbVBLfiHWM¬eId=46CfbXr1cI",+ "license": "CC-BY-4.0"+}
reviews/openreview/ibvblfihwm/notes/5155azgxes.json added
+++ b/reviews/openreview/ibvblfihwm/notes/5155azgxes.json@@ -0,0 +1,16 @@+{+ "schema": "review/1",+ "id": "5155AZgxES",+ "replyTo": "a52Hcl8EHx",+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Authors",+ "content": {+ "title": "Response",+ "comment": "Thank you for the thoughtful review.\n\n---\n### W1/Q1: CODA vs. EVT\n\nWe agree that this distinction should be clearer. CODA does not claim that individual epilogues are more expressive than EVT. EVT provides general machinery for implementing computation already expressible around a GEMM. CODA instead focuses on algebraically reparameterizing larger forward and backward graphs into GEMM-plus-epilogue programs, creating fusion opportunities absent from the original graph.\n\nFor example, CODA moves RMSNorm scaling and backward reductions across neighboring GEMMs. It then exposes the resulting programs through a restricted Python/CuTeDSL interface with a fixed GEMM mainloop. Although less general than arbitrary EVT or CUDA programs, this interface covers most non-attention Transformer computation and provides a smaller programming space for humans and LLMs. We will clarify this distinction and cite EVT more prominently.\n\n---\n### Q2: Preliminary end-to-end experiments\n\nSince submission, we have integrated CODA into TorchTitan and evaluated the complete forward and backward pass of a LLaMA-3-style 1B model on one H100.\n\nWe use 32K tokens per iteration, organized as four 8K-token microbatches, with BF16 computation. The experiment excludes data loading, optimizer execution, and distributed communication, directly measuring model forward and backward computation.\n\nBoth implementations use the same model and `torch.compile` settings: dynamic shapes disabled, `fullgraph=True`, and `mode=\"max-autotune-no-cudagraphs\"`. Both use FlashAttention-3. To strengthen the baseline, we additionally use a faster RoPE implementation and remove TorchTitan’s extra FP32 cast of the materialized logits before cross-entropy. CODA does not require this cast because its fused loss kernel performs numerically sensitive computation, including log-sum-exp, in FP32; we therefore remove the cast from the baseline as well to avoid giving CODA an artificial advantage.\n\nOur TFLOP/s and MFU use a modified TorchTitan FLOP formula that accounts for causal attention. Range is (max − min) / mean across the 5 runs.\n\n | Name | Mean (ms) | Range | TFLOP/s | MFU | Peak (GiB) |\n |---|---|---|---|---|---|\n | PyTorch Compile | 534.7 | 0.3% | 553.2 | 55.9% | 51.5 |\n | CODA | 506.7 | 0.2% | 583.7 | 59.0% | 39.5 |\n | Delta | −5.2% | | +5.5% | +3.1 pts | |\n\n\n\n\n---\n### Q3: Source of the gains\n\nThe gains primarily come from eliminating standalone memory-bound kernels and intermediate tensor materialization. Although CODA performs additional work inside GEMM epilogues, the full computation transfers fewer activation-sized tensors through HBM and launches fewer kernels.\n\nThe following separate profiling run reports time and kernel-launch counts by category:\n\n | Bucket | PyTorch Compile (ms) | CODA (ms) | Delta | PyTorch launches | CODA launches |\n |---|---|---|---|---|---|\n | GEMM | 337.7 | 349.2 | +11.6 | 371 | 195 |\n | Attention | 137.7 | 141.2 | +3.5 | 96 | 96 |\n | Others | 57.7 | 15.4 | −42.4 | 710 | 438 |\n | Total | 533.1 | 505.8 | −27.3 | 1177 | 729 |\n\nCODA reduces standalone memory-bound time by 73.4% (57.7 -> 15.4 ms) and the corresponding launch count by 38.3% (710 -> 438). The 42.4 ms saved outweighs the 15.0 ms added in fused GEMM epilogues and attention by 2.8x, for a net 27.3 ms (5.4%) reduction in step time.\n\nThe GEMM launch-count difference partly arises because the baseline uses separate Q, K, and V projections and separate gate and up projections. cuBLAS may also use Split-K cleanup kernels, which we count as GEMM-related launches.\n\nAttention is algorithmically identical in both implementations. Its small slowdown under CODA appears to be an execution-environment effect, potentially because the additional fused work changes GPU power or clock behavior. In separate measurements with locked GPU clocks, the difference largely disappears. We nevertheless report the unlocked measurements to reflect typical execution settings."+ },+ "createdAt": "2026-07-31T01:10:07.938Z",+ "modifiedAt": "2026-11-19T17:08:43.318Z",+ "url": "https://openreview.net/forum?id=IbVBLfiHWM¬eId=5155AZgxES",+ "license": "CC-BY-4.0"+}
reviews/openreview/ibvblfihwm/notes/5mwk20choa.json added
+++ b/reviews/openreview/ibvblfihwm/notes/5mwk20choa.json@@ -0,0 +1,16 @@+{+ "schema": "review/1",+ "id": "5mwK20ChoA",+ "replyTo": "kDkKb0FgdA",+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Authors",+ "content": {+ "title": "Thanks!",+ "comment": "Thanks again for the helpful feedback and the updates!"+ },+ "createdAt": "2026-08-04T08:13:22.383Z",+ "modifiedAt": "2026-11-19T17:08:42.716Z",+ "url": "https://openreview.net/forum?id=IbVBLfiHWM¬eId=5mwK20ChoA",+ "license": "CC-BY-4.0"+}
reviews/openreview/ibvblfihwm/notes/9ipacwqxts.json added
+++ b/reviews/openreview/ibvblfihwm/notes/9ipacwqxts.json@@ -0,0 +1,16 @@+{+ "schema": "review/1",+ "id": "9IPACwQxts",+ "replyTo": "YpvajRnsHu",+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Authors",+ "content": {+ "title": "Response (Continued)",+ "comment": "### Preliminary FP8 evaluations\n\nAs motivated in the introduction, FP8 accelerates GEMMs, causing surrounding memory-bound operations to account for a larger fraction of runtime. We therefore evaluated GEMM + SwiGLU in BF16 and FP8 using M=32K and hidden dimensions of 2K, 4K, and 8K. The FP8 baseline uses fast accumulation and tensor-wise scaling by passing two scalar input scales to PyTorch `scaled_mm`. CODA combines these scales in advance and applies one scalar in the fused SwiGLU epilogue.\n\n | size | BF16 speedup | FP8 speedup |\n |---|---|---|\n | 2048 | 1.16x | 1.31x |\n | 4096 | 1.07x | 1.16x |\n | 8192 | 1.05x | 1.08x |\n\nAt 2K and 4K, CODA’s advantage increases under FP8 because surrounding memory-bound work becomes relatively more expensive. At 8K, the workload remains GEMM-dominated, so the BF16 and FP8 speedups are similar.\n\nFull FP8 training additionally requires dynamic scaling and quantization throughout the stack. We could not complete this integration during the response period, but these operations present further opportunities for CODA epilogues.\n\n---\n### W2 / Q4: Relationship to K-Search and KernelEvolve\n\nCODA is complementary to K-Search and KernelEvolve. K-Search focuses on planning and searching over kernel optimizations, while KernelEvolve combines execution-guided search and retrieval across programming abstractions and hardware targets.\n\nCODA could provide either system with a restricted, high-performance target for GEMM-centric workloads: the agent would search over reparameterizations and epilogue programs rather than generate an entire CUDA, Triton, or CuTeDSL kernel. We will cite and discuss both works.\n\n---\n### Q5: Megakernels\n\nCODA is compatible with megakernel systems, although the current implementation does not schedule multiple GEMMs within one kernel.\n\nA megakernel compiler could treat each CODA GEMM-plus-epilogue program as a region-level primitive. Tile-local maps and reductions transfer naturally; the main challenges are cross-GEMM synchronization, global reductions, layout compatibility, and shared-memory and register pressure.\n\nWe will clarify this scope and cite relevant megakernel work."+ },+ "createdAt": "2026-07-31T01:07:07.874Z",+ "modifiedAt": "2026-11-19T17:08:43.373Z",+ "url": "https://openreview.net/forum?id=IbVBLfiHWM¬eId=9IPACwQxts",+ "license": "CC-BY-4.0"+}
reviews/openreview/ibvblfihwm/notes/9ycokgyrtb.json added
+++ b/reviews/openreview/ibvblfihwm/notes/9ycokgyrtb.json@@ -0,0 +1,16 @@+{+ "schema": "review/1",+ "id": "9yCOkGyrTb",+ "replyTo": "XYoWDPDjen",+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Authors",+ "content": {+ "title": "Follow up",+ "comment": "Thank you again for your feedback! As the discussion period draws to a close, we would appreciate hearing whether our updated experiments have addressed some of your questions.\n\nSpeaking of which, we have also conducted several additional experiments to better isolate the sources of the improvements reported in our previous response. These include examining the effect of packed projections, evaluating the contribution of the final block and cross-entropy, and adding full-model forward-and-backward results for Liger. We report highlights from these preliminary results below. Overall, they indicate that CODA’s improvements persist against strong, highly optimized baselines.\n\n| name | mean ms | TFLOP/s | MFU | peak GiB |\n| ---------------------------------- | ------- | ------- | ----- | -------- |\n| PyTorch + `torch.compile` | 531.55 | 556.4 | 56.2% | 48.74 |\n| PyTorch + `torch.compile` + packed | 533.66 | 554.2 | 56.0% | 51.24 |\n| Liger | 531.58 | 556.4 | 56.2% | 48.87 |\n| CODA, final block in PyTorch | 510.36 | 579.5 | 58.6% | 37.37 |\n| CODA | 503.88 | 586.9 | 59.3% | 36.71 |"+ },+ "createdAt": "2026-08-02T21:36:33.292Z",+ "modifiedAt": "2026-11-19T17:08:43.194Z",+ "url": "https://openreview.net/forum?id=IbVBLfiHWM¬eId=9yCOkGyrTb",+ "license": "CC-BY-4.0"+}
reviews/openreview/ibvblfihwm/notes/bhh3hl4dib.json added
+++ b/reviews/openreview/ibvblfihwm/notes/bhh3hl4dib.json@@ -0,0 +1,15 @@+{+ "schema": "review/1",+ "id": "bHh3hL4dIB",+ "replyTo": "YpvajRnsHu",+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Reviewer QoCw",+ "content": {+ "comment": "Thank you for the detailed response and additional experiments. I agree that providing agents with a restricted and inspectable kernel generation space is valuable. However, related ideas have already been explored in prior systems [1, 2], while CODA’s algebraic graph transformations and reparameterizations also have substantial precedent [3, 4]. Although the additional experiments strengthen the empirical evaluation, my concern about technical originality remains, so I will keep my score unchanged.\n\n[1] PerfDojo: https://arxiv.org/pdf/2511.03586\n[2] QiMeng-Xpiler: https://www.usenix.org/system/files/osdi25-dong.pdf\n[3] Mirage: https://www.usenix.org/system/files/osdi25-wu-mengdi.pdf\n[4] TASO: https://web.stanford.edu/class/cs245/readings/taso.pdf"+ },+ "createdAt": "2026-08-03T04:43:48.451Z",+ "modifiedAt": "2026-11-19T17:08:43.058Z",+ "url": "https://openreview.net/forum?id=IbVBLfiHWM¬eId=bHh3hL4dIB",+ "license": "CC-BY-4.0"+}
reviews/openreview/ibvblfihwm/notes/bpducf2ldn.json added
+++ b/reviews/openreview/ibvblfihwm/notes/bpducf2ldn.json@@ -0,0 +1,15 @@+{+ "schema": "review/1",+ "id": "bPDuCf2Ldn",+ "replyTo": "nbNmCITSUC",+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Reviewer ZdzB",+ "content": {+ "comment": "Thank you for addressing these points so promptly! These follow-ups resolve my remaining concerns. I appreciate these clarifying experiments. The Liger+FLCE results are also helpful, which is consistent with your attribution.\n\nI have no further questions before the discussion window closes, and I will keep my raised rating."+ },+ "createdAt": "2026-08-03T23:23:17.992Z",+ "modifiedAt": "2026-11-19T17:08:43.056Z",+ "url": "https://openreview.net/forum?id=IbVBLfiHWM¬eId=bPDuCf2Ldn",+ "license": "CC-BY-4.0"+}
reviews/openreview/ibvblfihwm/notes/cz8vmwd0rh.json added
+++ b/reviews/openreview/ibvblfihwm/notes/cz8vmwd0rh.json@@ -0,0 +1,15 @@+{+ "schema": "review/1",+ "id": "cz8VMwd0Rh",+ "replyTo": "VePSB6qAl1",+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Reviewer ZdzB",+ "content": {+ "comment": "Thank you for the additional experiments; the packed-projection check and the Liger e2e comparison are helpful, and I agree that packing does not explain CODA's gains. \n\nA few remaining points, given the limited remaining rebuttal time: I am not requesting additional large-scale experiments as a condition. Clarification in text would suffice.\n\n1) Peak memory: since replacing the final CODA block barely changes peak memory, I would still like a coarse account of where the remaining ~12 GiB saving comes from. e.g., per-op or per-stage peak-memory growth (where the peak jumps). You can try [max_memory_allocated() ](https://docs.pytorch.org/docs/2.13/generated/torch.cuda.memory.max_memory_allocated.html) , [torch.profiler](https://docs.pytorch.org/tutorials/recipes/recipes/profiler_recipe.html), or even the `NVIDIA Nsight Systems` , a coarse breakdown is enough.\n\n2) Liger + FLCE: I understand this may be tight to finish now. But I still want to see Liger with fused linear cross-entropy under the same setup in the revision if possible, mainly to make the memory comparison fairer. \n\nNeither needs to be completed before the discussion deadline, I only ask that they appear in the revision. Of course, if you have time to address them now, that would also be welcome.\n\nI am raising my rating from 3 to 4. Thank you for the thoughtful responses throughout the rebuttal."+ },+ "createdAt": "2026-08-03T00:06:33.466Z",+ "modifiedAt": "2026-11-19T17:08:43.181Z",+ "url": "https://openreview.net/forum?id=IbVBLfiHWM¬eId=cz8VMwd0Rh",+ "license": "CC-BY-4.0"+}
reviews/openreview/ibvblfihwm/notes/h3ts9pnkre.json added
+++ b/reviews/openreview/ibvblfihwm/notes/h3ts9pnkre.json@@ -0,0 +1,16 @@+{+ "schema": "review/1",+ "id": "h3ts9PNkRE",+ "replyTo": "9eN4CUVxOJ",+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Authors",+ "content": {+ "title": "Response",+ "comment": "Thank you for the constructive feedback.\n\n---\n### W1: Mathematical novelty and FlashNorm\n\nThank you for pointing us to FlashNorm. We will cite and discuss it.\n\nWe agree that the individual RMSNorm identities are standard. FlashNorm introduces additional transformations, including norm-weight folding and RMS cancellation, that could further expand the models and normalization patterns expressible as GEMM-plus-epilogue programs.\n\nCODA’s contribution is not any single identity, but the systematic reparameterization and implementation of a broad set of forward and backward Transformer computations through a common epilogue-centric abstraction. We will investigate incorporating FlashNorm-style transformations to broaden CODA’s coverage.\n\n---\n### W2 / Q1: Preliminary end-to-end experiments\n\nFigure 11 already evaluates a complete reparameterized Transformer block. Since submission, we have also integrated CODA into TorchTitan and evaluated the complete forward and backward pass of a LLaMA-3-style 1B model on one H100.\n\nWe use 32K tokens per iteration, organized as four 8K-token microbatches, with BF16 computation. The experiment excludes data loading, optimizer execution, and distributed communication, directly measuring model forward and backward computation.\n\nBoth implementations use the same model and `torch.compile` settings: `dynamic=False`, `fullgraph=True`, and `mode=\"max-autotune-no-cudagraphs\"`. Both use FlashAttention-3. To strengthen the baseline, we additionally use a faster RoPE implementation and remove TorchTitan’s extra FP32 cast of materialized logits before cross-entropy. CODA does not need this cast because its fused loss kernel computes numerically sensitive intermediates, including log-sum-exp, in FP32; we remove it from the baseline as well to avoid giving CODA an artificial advantage.\n\nOur TFLOP/s and MFU use a modified TorchTitan FLOP formula that accounts for causal attention. Range is (max − min) / mean across the 5 runs.\n\n | Name | Mean (ms) | Range | TFLOP/s | MFU | Peak (GiB) |\n |---|---|---|---|---|---|\n | PyTorch Compile | 534.7 | 0.3% | 553.2 | 55.9% | 51.5 |\n | CODA | 506.7 | 0.2% | 583.7 | 59.0% | 39.5 |\n | Delta | −5.2% | | +5.5% | +3.1 pts | |\n\n\n\n\nThe following separate profiling run reports time and kernel-launch counts by category:\n\n | Bucket | PyTorch Compile (ms) | CODA (ms) | Delta | PyTorch launches | CODA launches |\n |---|---|---|---|---|---|\n | GEMM | 337.7 | 349.2 | +11.6 | 371 | 195 |\n | Attention | 137.7 | 141.2 | +3.5 | 96 | 96 |\n | Others | 57.7 | 15.4 | −42.4 | 710 | 438 |\n | Total | 533.1 | 505.8 | −27.3 | 1177 | 729 |\n\nCODA reduces standalone memory-bound time by 73.4% (57.7 -> 15.4 ms) and the corresponding launch count by 38.3% (710 -> 438). The 42.4 ms saved outweighs the 15.0 ms added in fused GEMM epilogues and attention by 2.8x, for a net 27.3 ms (5.4%) reduction in step time.\n\nThe GEMM launch-count difference partly arises because the baseline uses separate Q, K, and V projections and separate gate and up projections. cuBLAS may also use Split-K cleanup kernels, which we count as GEMM-related launches.\n\nAttention is algorithmically identical in both implementations. Its small slowdown under CODA appears to be an execution-environment effect, potentially because additional fused work affects GPU power or clock behavior. In separate measurements with locked GPU clocks, the difference largely disappears. We nevertheless report unlocked measurements to reflect typical execution settings.\n\nWe will add these end-to-end results and the full methodology to the revision.\n\n---\n### W3 / Q2: Preliminary FP8 experiments\n\nAs motivated in the introduction, FP8 accelerates GEMMs, causing surrounding memory-bound operations to account for a larger fraction of runtime. We evaluated GEMM + SwiGLU in BF16 and FP8 using M=32K and hidden dimensions of 2K, 4K, and 8K. The FP8 baseline uses fast accumulation and tensor-wise scaling by passing two scalar input scales to PyTorch `scaled_mm`. CODA combines these scales in advance and applies one scalar in the fused SwiGLU epilogue.\n\n| size | BF16 speedup | FP8 speedup |\n |---|---|---|\n | 2048 | 1.16x | 1.31x |\n | 4096 | 1.07x | 1.16x |\n | 8192 | 1.05x | 1.08x |\n\nAt 2K and 4K, CODA’s advantage increases under FP8 because surrounding memory-bound work becomes relatively more expensive. At 8K, the workload remains GEMM-dominated, so the BF16 and FP8 speedups are similar.\n\nFull FP8 training additionally requires dynamic scaling and quantization throughout the stack. We could not complete this integration during the response period, but these operations present further opportunities for CODA epilogues.\n\nWe do not yet report NVFP4 because it requires Blackwell hardware, while CODA currently targets Hopper. We plan to add Blackwell support in the near future."+ },+ "createdAt": "2026-07-31T01:08:20.954Z",+ "modifiedAt": "2026-11-19T17:08:43.357Z",+ "url": "https://openreview.net/forum?id=IbVBLfiHWM¬eId=h3ts9PNkRE",+ "license": "CC-BY-4.0"+}
reviews/openreview/ibvblfihwm/notes/hogh9mfabc.json added
+++ b/reviews/openreview/ibvblfihwm/notes/hogh9mfabc.json@@ -0,0 +1,16 @@+{+ "schema": "review/1",+ "id": "hogh9MFaBc",+ "replyTo": "YpvajRnsHu",+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Authors",+ "content": {+ "title": "Thanks and follow-up",+ "comment": "Thank you for pointing us to these related systems. We will cite them to better position CODA relative to prior work in constrained kernel generation and algebraic graph optimization.\n\nCODA targets a more specific, and arguably equally important, setting: Transformer training. It systematically reparameterizes both forward and backward computations into efficient GEMM-plus-epilogue programs with lightweight memory-bound kernels. The forward RMSNorm rewrite is only one example; CODA also develops its backward counterpart (Section 3.2.4) and applies this methodology across Transformer training computation.\n\nTo our best knowledge, the four systems cited in this follow-up do not evaluate this complete setting. PerfDojo and QiMeng-Xpiler evaluate standalone operator kernels or programs; TASO’s end-to-end evaluation is inference; and Mirage evaluates forward tensor programs and end-to-end inference. None demonstrates a systematic mapping of Transformer forward and backward computation to GEMM-plus-epilogue programs or full-model forward-and-backward execution at large-token training shapes.\n\nWe appreciate the reviewer’s feedback and will revise the paper to make this technical distinction and the overlap with prior work clearer."+ },+ "createdAt": "2026-08-03T19:49:48.760Z",+ "modifiedAt": "2026-11-19T17:08:43.062Z",+ "url": "https://openreview.net/forum?id=IbVBLfiHWM¬eId=hogh9MFaBc",+ "license": "CC-BY-4.0"+}
reviews/openreview/ibvblfihwm/notes/kdkkb0fgda.json added
+++ b/reviews/openreview/ibvblfihwm/notes/kdkkb0fgda.json@@ -0,0 +1,15 @@+{+ "schema": "review/1",+ "id": "kDkKb0FgdA",+ "replyTo": "5155AZgxES",+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Reviewer 6FiL",+ "content": {+ "comment": "Thank you for the detailed response and additional experiments. The rebuttal has addressed most of my concerns, particularly regarding the end-to-end evaluation, sources of performance gains, and the comparison between LLM- and human-written kernels. I will therefore raise my rating from 3 to 4."+ },+ "createdAt": "2026-08-04T08:00:36.352Z",+ "modifiedAt": "2026-11-19T17:08:42.760Z",+ "url": "https://openreview.net/forum?id=IbVBLfiHWM¬eId=kDkKb0FgdA",+ "license": "CC-BY-4.0"+}
reviews/openreview/ibvblfihwm/notes/m67r9k46cp.json added
+++ b/reviews/openreview/ibvblfihwm/notes/m67r9k46cp.json@@ -0,0 +1,15 @@+{+ "schema": "review/1",+ "id": "M67R9K46CP",+ "replyTo": "hogh9MFaBc",+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Reviewer QoCw",+ "content": {+ "comment": "Thank you for the clarification. After reconsidering the broader coverage of full Transformer training and the added full-model results, I am raising my score from 3 to 4."+ },+ "createdAt": "2026-08-04T11:28:35.207Z",+ "modifiedAt": "2026-11-19T17:08:43.020Z",+ "url": "https://openreview.net/forum?id=IbVBLfiHWM¬eId=M67R9K46CP",+ "license": "CC-BY-4.0"+}
reviews/openreview/ibvblfihwm/notes/nbnmcitsuc.json added
+++ b/reviews/openreview/ibvblfihwm/notes/nbnmcitsuc.json@@ -0,0 +1,16 @@+{+ "schema": "review/1",+ "id": "nbNmCITSUC",+ "replyTo": "h3ts9PNkRE",+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Authors",+ "content": {+ "title": "Follow-up",+ "comment": "Thank you for the additional suggestions and for raising the rating! We ran several preliminary follow-up experiments within the remaining discussion window.\n\n> I would still like a coarse account of where the remaining peak-memory saving comes from.\n\nOur preliminary saved-tensor analysis indicates that most of the gap comes from SwiGLU and RMSNorm outputs. CODA does not save these activation-sized tensors and instead recomputes the required values during backward, whereas the default `torch.compile` baseline saves them.\n\nWe tried several ways to encourage recomputation, including manual checkpointing and tuning internal `torch.compile` configurations such as `torch._functorch.config.activation_memory_budget`. The best result came from adjusting `torch._functorch.config.ban_recompute_materialized_backward`.\n\n| Method | Latency (ms) | TFLOP/s | MFU | Peak memory (GiB) | Latency overhead vs. CODA | CODA memory saving |\n| ----------------------- | -----------: | ------: | ----: | ----------------: | ------------------------: | -----------------: |\n| PyTorch | 531.640 | 556.3 | 56.2% | 48.74 | 5.50% | 24.7% |\n| PyTorch, memory-matched | 535.724 | 552.1 | 55.8% | 36.88 | 6.31% | 0.5% |\n| CODA | 503.908 | 586.9 | 59.3% | 36.71 | - | - |\n\nEncouraging PyTorch to recompute these tensors nearly closes the memory gap, but further increases latency. This indicates that much of the original memory gap comes from the saved-tensor and recomputation policy. CODA therefore remains on the Pareto frontier of the latency-memory trade-off.\n\n> I still want to see Liger with fused linear cross-entropy under the same setup.\n\nWe also evaluated Liger with fused linear cross-entropy (FLCE). FLCE exposes a speed-memory trade-off through its chunk count.\n\n| Method | Latency (ms) | TFLOP/s | MFU | Peak memory (GiB) | Latency overhead vs. CODA | CODA memory saving |\n| ------------------------------- | -----------: | ------: | ----: | ----------------: | ------------------------: | -----------------: |\n| Liger + cross-entropy | 531.469 | 556.5 | 56.2% | 48.87 | 5.47% | 24.9% |\n| Liger + FLCE, 2 chunks | 531.727 | 556.2 | 56.2% | 45.32 | 5.52% | 19.0% |\n| Liger + FLCE, 4 chunks | 532.771 | 555.1 | 56.1% | 43.82 | 5.73% | 16.2% |\n| CODA | 503.908 | 586.9 | 59.3% | 36.71 | - | - |\n\nThe two- and four-chunk FLCE configurations retain approximately the latency of Liger with standalone cross-entropy while reducing peak memory to 45.32 and 43.82 GiB, respectively. Tuned FLCE therefore narrows the memory gap, but CODA remains both faster and lower-memory in this setup.\n\nWe hope this addresses the remaining questions, but please feel free to raise any further questions before the discussion window closes. These suggestions have been very useful in helping us strengthen the evaluation and clarify the paper!"+ },+ "createdAt": "2026-08-03T22:58:24.117Z",+ "modifiedAt": "2026-11-19T17:08:43.175Z",+ "url": "https://openreview.net/forum?id=IbVBLfiHWM¬eId=nbNmCITSUC",+ "license": "CC-BY-4.0"+}
reviews/openreview/ibvblfihwm/notes/s47hu5nijv.json added
+++ b/reviews/openreview/ibvblfihwm/notes/s47hu5nijv.json@@ -0,0 +1,16 @@+{+ "schema": "review/1",+ "id": "S47Hu5NIjv",+ "replyTo": "h3ts9PNkRE",+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Authors",+ "content": {+ "title": "Response (Continued)",+ "comment": "### W4 / Q3: Benchmark presentation\n\nThank you for pointing out these issues and for the helpful suggestions. We agree that the current figures are too dense, and we will improve their readability and add tables."+ },+ "createdAt": "2026-07-31T01:08:51.559Z",+ "modifiedAt": "2026-11-19T17:08:43.344Z",+ "url": "https://openreview.net/forum?id=IbVBLfiHWM¬eId=S47Hu5NIjv",+ "license": "CC-BY-4.0"+}
reviews/openreview/ibvblfihwm/notes/vepsb6qal1.json added
+++ b/reviews/openreview/ibvblfihwm/notes/vepsb6qal1.json@@ -0,0 +1,16 @@+{+ "schema": "review/1",+ "id": "VePSB6qAl1",+ "replyTo": "h3ts9PNkRE",+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Authors",+ "content": {+ "title": "Follow up",+ "comment": "Thank you for the follow-up!\n\nFollowing your suggestions, we conducted additional experiments and report preliminary results below. We use an updated experimental protocol. In particular, we now use functional autograd to avoid accumulating into existing gradient buffers. We also sweep PyTorch `torch.compile` modes independently for each implementation and report its fastest configuration, as we found that `max-autotune-no-cudagraphs` was slightly slower in some settings, while eager execution worked slightly better for Liger. These changes account for the small differences from our previously reported numbers.\n\nWe agree that Figure 11 is a block-level benchmark rather than an end-to-end experiment. We will state this scope explicitly in the revision so that the result is not interpreted as full training-step throughput. We likewise acknowledge that the current FP8 results provide single-kernel evidence rather than an end-to-end FP8 training evaluation.\n\n> Please clarify whether fused vs. separate QKV projections are equalized between baseline and CODA.\n\nGood point. The PyTorch implementation follows the original implementation. To determine whether this difference confounds the comparison, we also evaluated a PyTorch implementation with packed projections:\n\n| name | mean ms | TFLOP/s | MFU | peak GiB | vs PyTorch |\n| --------------------------------- | ------- | ------- | ----- | -------- | ---------- |\n| PyTorch + `torch.compile` | 531.55 | 556.4 | 56.2% | 48.74 | |\n| PyTorch + `torch.compile`, packed | 533.66 | 554.2 | 56.0% | 51.24 | −0.40% |\n\nAt 32K tokens, these projections are largely compute-bound, so packing provides little performance benefit. These results indicate that projection packing does not explain CODA’s gains.\n\n> Since the submission already positions against Liger (and related fused kernels), an additional e2e comparison (e.g., Liger under the same TorchTitan / FA3 setup) would better establish CODA's incremental value beyond existing fused-kernel libraries.\n\nThank you for the suggestion. We integrated Liger, using its fused residual-add + RMSNorm, RMSNorm, SwiGLU, RoPE, and cross-entropy kernels. We use its standalone cross-entropy kernel rather than fused linear cross-entropy, since the latter trades speed for lower memory usage. We also optimized several integration details to provide a strong comparison.\n\n| name | mean ms | TFLOP/s | MFU | peak GiB | vs PyTorch |\n| ------------------------- | ------- | ------- | ----- | -------- | ---------- |\n| PyTorch + `torch.compile` | 531.55 | 556.4 | 56.2% | 48.74 | |\n| Liger | 531.58 | 556.4 | 56.2% | 48.87 | −0.01% |\n| CODA | 503.88 | 586.9 | 59.3% | 36.71 | +5.49% |\n\nLiger performs similarly to `torch.compile` in this setup, although it remains substantially faster than eager PyTorch. Our interpretation is that Liger and `torch.compile` already fuse many standalone memory-bound operations, whereas CODA’s reparameterizations create additional opportunities to fuse across operator boundaries and into GEMM epilogues. Thus, the approximately 5% improvement is measured against strong, highly optimized baselines that already capture many fusion opportunities.\n\n> The peak-memory reduction is notable, but would it come from the fused cross-entropy loss (which never stores the full logits), rather than from fusing RMSNorm/residual into the GEMM epilogue? Could you break this down?\n\nIsolating cross-entropy alone is difficult because CODA’s final loss, LM-head projection, final RMSNorm, and their backward passes are algebraically coupled. For example, the cross-entropy backward pass computes a logits-gradient inner product that is used by the preceding RMSNorm backward pass, as described in Section 3.2.4 of the submission.\n\nAs a proxy, we replaced the entire final CODA block with its PyTorch implementation. This region includes cross-entropy, the LM head, and the final RMSNorm forward and backward computations, among others.\n\n| name | mean ms | TFLOP/s | MFU | peak GiB | vs PyTorch |\n| ---------------------------- | ------- | ------- | ----- | -------- | ---------- |\n| CODA | 503.88 | 586.9 | 59.3% | 36.71 | +5.49% |\n| CODA, final block in PyTorch | 510.36 | 579.5 | 58.6% | 37.37 | +4.15% |\n\nThe final block therefore contributes meaningfully to performance, but fused cross-entropy alone cannot fully explain everything.\n\nA precise attribution is further complicated by saved-tensor decisions. `torch.compile` uses a min-cut-based recomputation policy [1], whereas CODA currently selects saved tensors manually within its custom kernels. As a result, CODA may in some cases make suboptimal choices.\n\n[1] https://pytorch.org/blog/activation-checkpointing-techniques/"+ },+ "createdAt": "2026-08-02T21:16:49.307Z",+ "modifiedAt": "2026-11-19T17:08:43.314Z",+ "url": "https://openreview.net/forum?id=IbVBLfiHWM¬eId=VePSB6qAl1",+ "license": "CC-BY-4.0"+}
reviews/openreview/ibvblfihwm/notes/vjwbs3yo37.json added
+++ b/reviews/openreview/ibvblfihwm/notes/vjwbs3yo37.json@@ -0,0 +1,15 @@+{+ "schema": "review/1",+ "id": "VjWBs3yO37",+ "replyTo": "h3ts9PNkRE",+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Reviewer ZdzB",+ "content": {+ "comment": "Thank you for the new results. A few clarifications, remaining questions, and additional concerns.\n\n1) Figure 11 vs. end-to-end.\n\nI disagree that Figure 11 already answered the e2e concern. As described in the paper, Figure 11 benchmarks reparameterized **non-attention** GEMM sequences. It does not include attention or a full-model training step. The new `TorchTitan` experiment is the first result that directly addresses this. But still thanks for your recap.\n\n2) What the new experiment shows.\n\nThe LLaMA-3 1B F+B comparison is useful. The ~5.2% latency reduction, ~23% peak-memory reduction, and the profiling breakdown support the paper: gains come from memory-bound standalone kernels, not from making GEMM/Attention faster. This also explains why speedups are diluted once attention and the surrounding stack are included, exactly the things I was concerned about.\n\n---\n\n3) Remaining gaps.\n\n- First, I agree that additionally requiring optimizer, data loading, etc. may be asking too much beyond the new result. The reported model F+B measurement is already a substantial improvement over the submission. Please state this scope clearly in the revision so readers do not interpret the ~5% number as full training-step throughput. The speedup itself is modest, but the peak memory reduction is good. \n\n- Second, based on your response:\n> The GEMM launch-count difference partly arises because the baseline uses separate Q, K, and V projections and separate gate and up projections. cuBLAS may also use Split-K cleanup kernels, which we count as GEMM-related launches.\n\n Please clarify whether fused vs. separate QKV projections are equalized between baseline and CODA. Otherwise, some of the differences may not be attributable to epilogue reparameterization alone.\n\n- Third, for FP8, the GEMM+SwiGLU help, but they are still not e2e FP8 training. The trend at smaller hidden sizes is consistent with the claimed motivation; I also appreciate the clarification on NVFP4 and Hopper vs Blackwell. That said, this remains a single-kernel result rather than e2e FP8 training evidence. Given your explanation that full FP8 integration\ncould not be completed during the rebuttal period, I do not view this as a blocking requirement for the revision. Instead, I would suggest softening the introduction's FP8/FP4 framing and treating fuller FP8 (and later FP4) e2e evaluation as future work. Optionally, with the current microbenchmarks retained as supporting preliminary evidence.\n\n---\n\n**Additional concerns on the rebuttal evidence:**\n- The new e2e comparison against `torch.compile + FA3` is useful and should be kept. Since the submission already positions against Liger (and related fused kernels), an additional e2e comparison (e.g., Liger under the same TorchTitan / FA3 setup) would better establish CODA's incremental value beyond existing fused-kernel libraries.\n- The peak-memory reduction is notable, but would it come from the fused cross-entropy loss (which never stores the full logits), rather than from fusing RMSNorm/residual into the GEMM epilogue? Could you break this down? Please break down how much memory and time saving comes from fused loss vs. the broader RMSNorm/residual epilogue reparameterizations."+ },+ "createdAt": "2026-07-31T04:29:23.323Z",+ "modifiedAt": "2026-11-19T17:08:43.179Z",+ "url": "https://openreview.net/forum?id=IbVBLfiHWM¬eId=VjWBs3yO37",+ "license": "CC-BY-4.0"+}
reviews/openreview/ibvblfihwm/notes/xqrsdqckgw.json modified
+++ b/reviews/openreview/ibvblfihwm/notes/xqrsdqckgw.json@@ -5,11 +5,12 @@"kind": "meta_review","invitation": "Meta_Review","signature": "Area Chair scka","content": {- "metareview": "The paper presents an abstraction for kernel fusion of Transformer's memory-bound operations into GEMM epilogues. The algebraic reformulations and constrained programming interface are potentially useful, especially for backward pass operators and LLM assisted kernel authoring. However, the current evaluation does not yet convincingly establish that the microbenchmark gains translate into meaningful end-to-end training improvements, and the novelty relative to existing epilogue and fusion systems remains unclear. For the rebuttal, the authors probably should aim to address, but not limtied to, the following issues. First, clarify CODA's specific contribution relative to CUTLASS/EVT-style epilogues and compiler-based fusion systems such as TorchInductor and Welder. Is the novelty the supported reparameterizations, the constrained abstraction, its programmability, or its suitability for LLM generation? Second, provide evidence or a convincing analysis of end-to-end impact at the Transformer-layer or training-step level, including any costs from auxiliary reductions and remaining kernel boundaries. Third, clarify the LLM-authoring methodology, including human intervention, failed attempts, prompts, and whether CODA improves generation reliability or performance compared with less constrained kernel generation approaches. The rebuttal should also consider explaining whether the benefits persist in the FP8/FP4 regimes used to motivate the work, or narrow that motivation if these regimes were not evaluated."+ "metareview": "The paper presents an abstraction for kernel fusion of Transformer's memory-bound operations into GEMM epilogues. The algebraic reformulations and constrained programming interface are potentially useful, especially for backward pass operators and LLM assisted kernel authoring. However, the current evaluation does not yet convincingly establish that the microbenchmark gains translate into meaningful end-to-end training improvements, and the novelty relative to existing epilogue and fusion systems remains unclear. For the rebuttal, the authors probably should aim to address, but not limtied to, the following issues. First, clarify CODA's specific contribution relative to CUTLASS/EVT-style epilogues and compiler-based fusion systems such as TorchInductor and Welder. Is the novelty the supported reparameterizations, the constrained abstraction, its programmability, or its suitability for LLM generation? Second, provide evidence or a convincing analysis of end-to-end impact at the Transformer-layer or training-step level, including any costs from auxiliary reductions and remaining kernel boundaries. Third, clarify the LLM-authoring methodology, including human intervention, failed attempts, prompts, and whether CODA improves generation reliability or performance compared with less constrained kernel generation approaches. The rebuttal should also consider explaining whether the benefits persist in the FP8/FP4 regimes used to motivate the work, or narrow that motivation if these regimes were not evaluated.",+ "final_justification": "I have read the authors' response and subsequent discussion. The rebuttal substantially strengthens the paper. As also noted by Reviewers ZdzB and 6FiL, the new e2e model forward-plus-backward experiments show that CODA's gains hold over strong torch.compile and Liger baselines, and the profiling results better support the claimed reduction in memory bound overhead. Reviewer QoCw also found the broader Transformer training scope and revised positioning helpful to raise the score. While the technical originality remains moderate, I find the strengthened end-to-end evidence sufficient for acceptance."},"createdAt": "2026-07-23T16:49:20.586Z",- "modifiedAt": "2026-11-18T15:24:07.559Z",+ "modifiedAt": "2026-11-19T05:02:36.317Z","url": "https://openreview.net/forum?id=IbVBLfiHWM¬eId=xqrsDqCkgW","license": "CC-BY-4.0"}
reviews/openreview/ibvblfihwm/notes/xyowdpdjen.json added
+++ b/reviews/openreview/ibvblfihwm/notes/xyowdpdjen.json@@ -0,0 +1,16 @@+{+ "schema": "review/1",+ "id": "XYoWDPDjen",+ "replyTo": "5155AZgxES",+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Authors",+ "content": {+ "title": "Response (Continued)",+ "comment": "### Preliminary FP8 experiments\n\nAs motivated in the introduction, memory-bound overhead becomes relatively more important as lower-precision GEMMs become faster. We therefore evaluated GEMM + SwiGLU in BF16 and FP8 with M=32K and hidden dimensions of 2K, 4K, and 8K.\n\nThe FP8 baseline uses fast accumulation and tensor-wise scaling by passing two scalar input scales to PyTorch `scaled_mm`. CODA combines these scales in advance and applies one scalar in the fused SwiGLU epilogue.\n\n| size | BF16 speedup | FP8 speedup |\n |---|---|---|\n | 2048 | 1.16x | 1.31x |\n | 4096 | 1.07x | 1.16x |\n | 8192 | 1.05x | 1.08x |\n\n\nAt 2K and 4K, CODA’s advantage increases under FP8 because the faster GEMM makes the surrounding memory-bound work relatively more expensive. At 8K, the workload remains GEMM-dominated, so the BF16 and FP8 speedups are similar.\n\nFull FP8 training additionally requires dynamic scaling and quantization throughout the training stack. We could not complete this integration during the response period, but these operations are themselves natural candidates for CODA epilogues.\n\n---\n### Q4: LLM vs. human kernels\n\nOur experience suggests that LLMs are strong at algebraic reasoning and composing epilogue semantics, while humans remain stronger at schedule-sensitive decisions.\n\nFor example, the LLM used RoPE’s orthogonality to recognize that the RMSNorm-backward inner product can be accumulated directly in the rotated space. This removes an intermediate tensor and a separate memory-bound kernel. Conversely, an earlier LLM-generated SwiGLU kernel used a slower sigmoid evaluation, while the improved human version used a faster approximation and better staging.\n\nSince submission, we have combined the best human- and LLM-authored implementations rather than maintaining separate tracks. We will add these examples to clarify their complementary strengths."+ },+ "createdAt": "2026-07-31T01:11:20.172Z",+ "modifiedAt": "2026-11-19T17:08:43.191Z",+ "url": "https://openreview.net/forum?id=IbVBLfiHWM¬eId=XYoWDPDjen",+ "license": "CC-BY-4.0"+}
reviews/openreview/ibvblfihwm/notes/ypvajrnshu.json added
+++ b/reviews/openreview/ibvblfihwm/notes/ypvajrnshu.json@@ -0,0 +1,16 @@+{+ "schema": "review/1",+ "id": "YpvajRnsHu",+ "replyTo": "adbGO3jt5x",+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Authors",+ "content": {+ "title": "Response",+ "comment": "Thank you for the thoughtful review. We agree that the paper should better distinguish CODA from prior fusion systems and clarify the role of LLMs.\n\n---\n### W1 / Q3: Novelty and positioning\n\nWe agree that GEMM epilogue fusion itself is established in CUTLASS, Welder, and TorchInductor. CODA instead contributes at two levels.\n\nFirst, Welder and TorchInductor optimize a given computation graph, whereas CODA algebraically reparameterizes forward and backward computations to create fusion opportunities absent from the original graph. For example, CODA moves RMSNorm scaling and backward reductions across neighboring GEMMs.\n\nSecond, CUTLASS provides general custom-epilogue mechanisms, while CODA exposes a restricted Python interface around a fixed high-performance GEMM mainloop. CODA is not more expressive at the level of an individual epilogue; its contributions are graph-level reparameterization and a smaller programming space for humans and coding agents.\n\nWe will clarify that CODA’s novelty is reparameterization and epilogue-centric programmability, not epilogue fusion alone, and cite these works.\n\n---\n### Q1 / Q2: Human-LLM workflow\n\nWe agree that the current presentation may suggest an autonomous-agent evaluation. This is not our intent: CODA is a programming substrate, not a new kernel-agent system. The human- and LLM-authored results test whether the same abstraction enables both to produce competitive kernels without reimplementing the GEMM mainloop.\n\nWe use Claude Code in an interactive repository-level workflow. Prompt counts, manual edits, and failed attempts therefore depend heavily on how an evolving development session is segmented and do not cleanly isolate CODA’s contribution. More fundamentally, the fixed mainloop removes fragile scheduling work, the primitive set constrains the implementation space, and examples communicate performance conventions. Humans typically contribute reparameterizations and scheduling judgment, while LLMs help implement, explore, and optimize epilogues.\n\nWe will clarify this workflow and the role of each component. Since submission, we have consolidated the best human- and LLM-authored kernels into a single CODA implementation, which better reflects its intended use.\n\n---\n### Preliminary end-to-end evaluations\n\nWe integrated CODA into TorchTitan and evaluated the forward and backward pass of a LLaMA-3-style 1B model on one H100.\n\nWe use 32K tokens per iteration, organized as four 8K-token microbatches, with BF16 computation. The experiment excludes data loading, optimizer execution, and distributed communication, directly measuring model forward and backward computation.\n\nBoth implementations use the same model and `torch.compile` settings: `dynamic=False`, `fullgraph=True`, and `mode=\"max-autotune-no-cudagraphs\"`. Both use FlashAttention-3. To strengthen the baseline, we additionally use a faster RoPE implementation and remove TorchTitan’s extra FP32 cast of materialized logits before cross-entropy. CODA does not need this cast because its fused loss kernel performs numerically sensitive computation, including log-sum-exp, in FP32; we therefore remove it from the baseline as well to avoid giving CODA an artificial advantage.\n\nOur TFLOP/s and MFU use a modified TorchTitan FLOP formula that accounts for causal attention. Range is (max − min) / mean across the 5 runs.\n\n | Name | Mean (ms) | Range | TFLOP/s | MFU | Peak (GiB) |\n |---|---|---|---|---|---|\n | PyTorch Compile | 534.7 | 0.3% | 553.2 | 55.9% | 51.5 |\n | CODA | 506.7 | 0.2% | 583.7 | 59.0% | 39.5 |\n | Delta | −5.2% | | +5.5% | +3.1 pts | |\n\nThe following separate profiling run reports time and kernel-launch counts by category:\n\n | Bucket | PyTorch Compile (ms) | CODA (ms) | Delta | PyTorch launches | CODA launches |\n |---|---|---|---|---|---|\n | GEMM | 337.7 | 349.2 | +11.6 | 371 | 195 |\n | Attention | 137.7 | 141.2 | +3.5 | 96 | 96 |\n | Others | 57.7 | 15.4 | −42.4 | 710 | 438 |\n | Total | 533.1 | 505.8 | −27.3 | 1177 | 729 |\n\nCODA reduces standalone memory-bound time by 73.4% (57.7 -> 15.4 ms) and the corresponding launch count by 38.3% (710 -> 438). The 42.4 ms saved outweighs the 15.0 ms added in fused GEMM epilogues and attention by 2.8x, for a net 27.3 ms (5.4%) reduction in step time.\n\nThe GEMM launch-count difference partly arises because the baseline uses separate Q, K, and V projections and separate gate and up projections. cuBLAS may also use Split-K cleanup kernels, which we count as GEMM-related launches.\n\nAttention is algorithmically identical in both implementations. Its small slowdown under CODA appears to be an execution-environment effect, potentially because the additional fused work affects GPU power or clock behavior. In separate measurements with locked GPU clocks, the difference largely disappears. We nevertheless report unlocked measurements to reflect typical execution settings."+ },+ "createdAt": "2026-07-31T01:06:21.532Z",+ "modifiedAt": "2026-11-19T17:08:43.444Z",+ "url": "https://openreview.net/forum?id=IbVBLfiHWM¬eId=YpvajRnsHu",+ "license": "CC-BY-4.0"+}