On this page
- Summary
- Why this question
- Scope and methods
- The landscape
- Theme 1 — Fused attention kernels: the FlashAttention lineage and its variants
- Theme 2 — GEMM kernels and low-precision training: FP8, FP4, and microscaling
- Theme 3 — MoE training kernels: from padded to block-sparse to single-kernel
- Theme 4 — Communication-overlap and long-context kernels
- Theme 5 — Fused elementwise/optimizer kernels and the tooling layer
- Theme 6 — Choosing among techniques: the use-case map
- Where the evidence disagrees
- Gaps and open questions
- Confidence and limitations
- Evidence table
- References
Kernel optimization for LLM training: techniques, trade-offs, and use cases
Which kernel-level optimization techniques most improve LLM training efficiency, and what are the trade-offs and use cases of each?
https://reviews.lewiswon.me/reviews/kernel-optimization-llm-training/ · Updated 15 Aug 2026
How this review was made
- Databases
- OpenAlex, arXiv, Crossref, Semantic Scholar, DBLP
- Queries (literal)
- GPU kernel optimization LLM training
- kernel optimization large language model training
- flash attention training
- fused attention kernel training
- attention backward kernel GPU
- FP8 training large language model
- FP8 GEMM kernel tensor core
- low precision training GPU kernel
- mixture of experts training kernel
- MoE kernel GPU optimization
- block sparse mixture of experts training
- fused optimizer kernel training
- kernel fusion LLM training
- communication computation overlap LLM training
- ring attention long context
- Triton kernel training LLM
- CUTLASS GEMM tensor cores
- torch.compile training speedup
- quantized training kernel GPU
- tensor core GEMM optimization training
- long context training attention kernel
- expert parallelism GPU kernel
- kernel DSL GPU compiler
- microscaling data formats training
- fused normalization kernel transformer training
- arXiv ti:/all: exact-title lookups: FlashAttention, FlashAttention-2/3, I/O Complexity of Attention, FlexAttention, Liger, FP8-LM, MOSS, Fully FP8 GEMM, mu-nit Scaling, Microscaling, FP8 Formats, Stream-K, MegaBlocks, Tutel, FasterMoE, FlashMoE, SonicMoE, Ring Attention, Striped Attention, LoongTrain, DeepSpeed Ulysses, Switch Transformers, GShard, Expert Choice, Million Experts, DeepSeekMoE, Pre-gated MoE, DeepSeek-V2/V3/V3.2, 8-bit Optimizers, Muon, Optimizer Fusion, Gated Linear Attention, Sparse Flash Attention, VFA, DualKV, Sawtooth, Block Sparse FA, INT-FlashAttention, FA2 Hopper case study, Cross-Platform MoE Dispatch, Triton-distributed, Correct but Slow, ThunderKittens, CUTLASS benchmarking, FLUX, Tiled Flash Linear Attention, Low-Precision Training survey, Scaling FP8 trillion-token, To FP8 and Back, BF16 FMA, FP4 training, Quantization pre-training, Sparse GPU Kernels, JAXBench, NCCL EP, UBEP, Shortcut-connected EP, LSH-MoE, DeepSpeed-MoE, Untied Ulysses, WASP, PipeMesh, RailS, PyTorch 2, JAXBench
- Crossref query.bibliographic verification of published versions: FasterMoE PPoPP'22, Triton PLDI'19, MARLIN PPoPP'25 (dropped as inference-only), Low-Precision Training TPAMI'26
- DBLP exact-title resolution: FasterMoE, Stream-K, SwitchBack (unresolved, dropped), DeepSeek-V3.2
- Search last run
- 2026-08-15
- Screening
- 75 sources used · 2018–2026 · deep review
Summary
The short version
Kernel-level optimization is where most LLM training efficiency gains of the past six years come from, and the evidence falls into five families: fused attention kernels, low-precision GEMM kernels, mixture-of-experts (MoE) kernels, communication-overlap kernels, and fused elementwise/optimizer kernels. Each delivers large but workload-specific gains: attention fusion gives roughly 2x per generation of FlashAttention 111213, FP8 training reports 25-75% throughput gains at matched quality 161719, MoE kernels report 1.4-5.7x on expert layers 242527, and communication-overlap kernels 1.2-2.9x on long-context training 2956. The gains are conditional on hardware generation, model architecture, and engineering effort, and almost every headline number is vendor- or single-group-benchmarked against a baseline of their own choosing. Confidence in the overall picture is moderate: the qualitative landscape is consistent across sources, but cross-paper “x-times faster” claims are not directly comparable because the field has no shared benchmark.
Why this question
Training a large language model spends almost all of its time inside a small set of GPU kernels — attention, the MLP’s matrix multiplications, normalization, the optimizer step, and, in MoE models, expert dispatch and communication. Because moving data between GPU memory levels costs orders of magnitude more than the arithmetic itself, the same model can train at very different speeds depending on how those kernels are organized: whether operations are fused into one kernel, what precision the GEMMs run at, whether expert routing is block-sparse or padded, and whether communication overlaps computation. These kernel decisions are now the difference between a training run that fits a budget and one that does not — DeepSeek-V3 trained at 180K H800 GPU-hours per trillion tokens with FP8 GEMMs, fused communication, and MoE kernels 35.
The question matters for anyone allocating compute or evaluating “x-times faster training” claims: which kernel techniques are real, how large are the measured gains, what do they cost in engineering effort and numerical risk, and which technique fits which workload? This review maps the 2018-2026 literature on kernel optimization for LLM training, organized by technique family, with the pros, cons, and use cases of each.
Scope and methods
Question. Which kernel-level optimization techniques most improve LLM training efficiency, and what are the trade-offs and use cases of each?
Inclusion criteria. Studies published 2018-2026 (two foundations: 8-bit floating-point training, 2018 20, and Triton, 2019 2); kernel-level or operator-level work on attention (forward and backward), GEMM and low-precision training (FP8/FP4/BF16/microscaling), MoE dispatch/combine and expert communication, communication-computation overlap, fused optimizer/normalization kernels, and the tooling used to build them (Triton, CUTLASS, torch.compile, kernel DSLs); peer-reviewed systems/ML venues or widely-used preprints; English.
Exclusion criteria. Inference-only kernels (PagedAttention, FlashDecoding, MARLIN, SageAttention) except where they benchmark the same kernel in training; pure distributed-systems/interconnect papers without a kernel component (covered by the separate LLM-interconnects review) except communication-overlap kernels; algorithmic attention substitutes with no kernel implementation; USENIX-only papers with no DOI; paywalled-only work with no open version; hardware microarchitecture without kernel focus.
Search and screening. Five databases (OpenAlex with API key, arXiv, Crossref, Semantic Scholar, DBLP). 25 concept queries (recorded verbatim in the frontmatter) produced a merged pool of 3,836 records; after title screening (~1,170 topic-gate hits) and full-text screening, 75 sources were included: 66 read in full text, 9 abstract-only (publisher-paywalled: Triton PLDI, PyTorch 2, FasterMoE PPoPP, WASP, PipeMesh, RailS, BF16-FMA, CUTLASS benchmark, low-precision survey, Expert Choice — the last was upgraded via its arXiv version). Approximately 50 exact-title resolution lookups resolved landmark papers; several remembered titles and IDs proved wrong and were corrected or dropped: “MOSS: A Benchmark for Efficient LLM Training Kernels” does not exist (the real MOSS paper is the FP8 microscaling training paper 17), “SwitchBack” could not be resolved in any database and was dropped, and 1-bit-LAMB was dropped as off-topic (communication compression, not kernels). GitHub-only artifacts without papers (DeepEP, DeepGEMM, DualPipe) are covered through their parent papers and repository READMEs, with their numbers flagged vendor-stated. Every DOI was verified against Crossref or the arXiv abs page; all 75 resolve.
A note on GitHub-only artifacts. DeepEP (MoE dispatch/combine all-to-all kernels), DeepGEMM (FP8 GEMM kernels), and DualPipe (bidirectional pipeline scheduling) have no papers and no DOIs — they are repository-documented 353436. This review treats their READMEs (retrieved 2026-08-15) as primary documentation and reports their performance as vendor-stated, cross-checked where possible against third-party work 666768.
The landscape
The literature is young, concentrated, and shaped by one lineage. FlashAttention (2022) established IO-aware tiling as the template 1112134, and most attention-kernel work since is either a refinement of that template (block-sparse 49, INT8 50, vector-relieved 46, wavefront-reordered 48) or an extension of it to long contexts and distributed memory 29561. The low-precision training literature runs parallel: FP8 formats were standardized in 2022 2120, production FP8 training arrived with FP8-LM and DeepSeek-V3 1635, and 2025 papers pushed to full FP8 181719 and FP4 6364. MoE kernel work tracks the model architecture: block-sparse reformulation 249, adaptive parallelism 25, single-kernel fusion 2728, and communication redesign 69676674.
Three structural facts stand out. First, the field is dominated by a small number of labs and vendors: the FlashAttention lineage is one group’s program 111213, the deep-learning-kernel tooling papers come overwhelmingly from NVIDIA-affiliated authors 23552, and DeepSeek’s technical reports carry an outsized share of the production-scale evidence 3435. Second, almost all quantitative evidence is vendor- or single-group-benchmarked; independent head-to-heads are rare, and the best-known independent study found that correctness-based kernel evaluation accepts catastrophically slow kernels 54. Third, the era is compressed: the most-cited techniques (FlashAttention, FP8 training, single-kernel MoE) are all from 2022-2025, which means the field is still consolidating — few claims have been independently replicated at the same scale.
Theme 1 — Fused attention kernels: the FlashAttention lineage and its variants
The core result is settled. FlashAttention’s IO-aware tiling — computing attention in blocks that never leave the chip’s SRAM, with online softmax and backward recomputation — trains Transformers 15% faster than the MLPerf 1.1 BERT-large record and 3x faster on GPT-2 at 1K sequence length 11. FlashAttention-2 improved parallelism and work partitioning for roughly 2x over the original, reaching 50-73% of theoretical peak FLOPs/s 12, and FlashAttention-3 added warp specialization and asynchronous copy/GEMM overlap on Hopper for 1.5-2.0x forward and 1.5-1.75x backward speedups over FlashAttention-2, hitting 740 TFLOPS/s (about 75% of H100 peak) in FP16 13. The I/O complexity analysis proves this tiling is optimal up to constant factors for the attention computation 4. A CUTLASS implementation of FlashAttention-2’s forward pass using Hopper TMA bulk copies and WGMMA async matrix operations gains another 20-50% FLOPs/s over the Ampere-optimized reference on H100 51.
The training-specific refinements cluster into five groups. First, custom attention variants: FlexAttention provides a PyTorch-native programming model for generating optimized attention kernels, matching FlashAttention-2 on supported variants (1.00-1.22x forward, 0.86-1.05x backward on causal attention) while beating PyTorch’s SDPA by 5.49-8.00x on masked variants, and speeding up torchtune training 2.4x 14. Second, efficiency for real training shapes: packing multiple sequences with position IDs improves throughput up to 2x over padding with identical loss behavior 43; hiding dropout’s random-number generation inside preceding GEMMs gives 1.26x over sequential execution 44; binary block masking dispatches only unmasked blocks for up to 9x on real-world sparse masks 45; Block-Sparse FlashAttention prunes roughly half of blocks via calibrated per-layer thresholds for up to 1.10-1.24x with accuracy retention 49; sparse QK-dropping and hash-sparse patterns implemented inside the flash kernel speed up transformer training 2.0x at 8K and 3.3x at 16K sequence length 40; and vector-relieved variants cut the online-softmax vector-op latency share from ~77% to ~46% for ~2x 46. Third, numerical stability in low precision: FlashAttention shows roughly 10x more numeric deviation than baseline attention at BF16 in isolation, but Wasserstein-based analysis bounds its training impact at 2-5x less than feared 42; the first mechanistic account of BF16 flash-attention loss explosion attributes it to low-rank attention representations compounded by biased rounding, and demonstrates a minimal fix 41. Fourth, long-context and RL-specific kernels: DualKV fuses forward/backward kernels over dual KV regions (shared prompt plus per-sequence response) to eliminate shared-prompt replication in RL training, with 1.63-2.09x policy-update speedups and model FLOPs utilization rising from 36% to 76% 47. Fifth, INT8 attention: INT-FlashAttention, the first attention operator with fully INT8 inputs, runs ~72% faster than FP16 FlashAttention with up to 82% memory savings, though the reported benchmarks are inference-time 50.
Linear-attention kernels are a separate branch with a different trade-off. FlashLinearAttention-style fused kernels are faster than FlashAttention-2 even at short sequences (~1K) for linear-attention architectures, and Gated Linear Attention transformers train with higher throughput than a same-size Mamba model at matched quality 39. Tiled Flash Linear Attention’s two-level sequence parallelism delivers training (forward+backward) kernels faster than FlashAttention-3 at longer sequences and over 2x faster than Mamba 2 on H100 58. The trade-off: these kernels serve linear-attention architectures, which trade exact softmax attention for recurrence-friendly computation — a model-level choice, not a drop-in kernel swap.
Pros and cons. Pros: fused attention kernels are the single best-documented training optimization, with replicated gains across independent implementations 111213, and the IO-optimality proof means the tiling strategy will not be superseded on the same hardware 4. Cons: gains are hardware-generation-specific (Hopper’s TMA/WGMMA are what FA3 exploits 1351); the backward pass is where memory and numerical risk concentrate 4142; and custom-variant flexibility requires either compiler tooling 14 or expert CUDA work. Use cases: any transformer training run benefits from the stock kernels; the variants pay off for masked/packed/RL workloads 454347; linear-attention kernels are for recurrent architectures where exact attention is not required 3958.
Theme 2 — GEMM kernels and low-precision training: FP8, FP4, and microscaling
The GEMM kernel layer. Stream-K’s work-centric decomposition — splitting the inner-loop iterations of a matrix product across streaming multiprocessors instead of tiling by output block — reaches peak speedups of up to 14x (FP64) and 6.7x (FP16) over CUTLASS/cuBLAS across 32,824 GEMM shapes 23. ThunderKittens, a CUDA template library for writing AI kernels, matches cuBLAS and FlashAttention-3 on GEMM and attention (GEMM up to 805 TFLOPS on H100-class hardware) while outperforming the strongest baselines by 10-40% on a range of kernels 55. A systematic CUTLASS benchmarking study confirms that tensor-core GEMM kernels require per-shape tuning to reach their potential 56. Sparse GPU kernels tuned for deep learning (SpMM/SDDMM) reach 27% of V100 peak and beat cuSPARSE by 3.58x geometric mean, which is what made sparse MoE training viable 9.
FP8 training is production-proven at scale, with conditions. The FP8 interchange format (E4M3 for weights/activations, E5M2 for gradients) was defined in 2022 with evidence that FP8 training matches 16-bit quality with unchanged hyperparameters 21; the first FP8 training demonstration predates it (2018, chunk-based accumulation with stochastic rounding, ResNet18 test error 42.45% vs 41.96% FP32) 20. FP8-LM showed FP8 gradients, all-reduce, optimizer states, and tensor-parallel communication can train GPT-175B with 39% lower real memory and 75% faster than the Megatron baseline 16. DeepSeek-V3 trained a 671B-parameter MoE fully in FP8 (with BF16 master weights) at 180K H800 GPU-hours per trillion tokens 35. Subsequent work pushed further: MOSS achieves 34% higher end-to-end training throughput than BF16 on OLMo-7B (45,374 vs 33,805 tokens/s) using microscaling formats and automatic scaling, and 12.3% over a prior FP8 framework at comparable perplexity 17. μnit Scaling trains 1B-13B models with all hidden linear layers in FP8 using static unit-variance scaling and square-root softmax — no dynamic scale factors — at 25-33% higher throughput than BF16 19. Fully-FP8 pushes FP8 into the attention and even the LM head’s GEMMs for up to +43% training throughput at 8B scale (12,764 vs 9,105 tokens/s/GPU), stable to 450B tokens 18. At trillion-token scale, FP8 training with both Adam moments quantized reaches BF16 parity with ~34% throughput improvement 60.
The conditions matter. The counter-evidence is specific and consistent: even standard BF16 mixed precision diverged in ~10% of runs (18 of 188 random seeds) at only 5% of training in one study, and MS-AMP FP8 O1 failed to match BF16 convergence on noisier data — the failures cluster on small runs, low-precision master weights, and noisy gradients 61. FP4 remains experimental: the first FP4 training framework trains 13B models on 100B tokens with a minor loss gap (2.17 vs 2.07 BF16 for 7B) 63, and mixed-precision FP4 pretraining (FP8 attention, FP4 FFN, FP8 backward) reaches near-FP16 validation loss at ~66% of the theoretical computation cost 64. A direct pretraining study found 8-bit per-channel weights and per-token activations match the FP32 baseline with memory savings, while 4-bit activations or gradients destabilize training (activation quantization produced perplexity 418 vs 39.9 baseline) 10. Microscaling (MX) formats with per-block scaling work as low-friction FP32 drop-ins across 20+ benchmarks, and 6-bit MX enabled the first sub-8-bit training of generative language models 22. On the hardware side, a BF16-only FMA operator family (no FP32 FMA units) trains complex DNNs to FP32-equivalent accuracy at 1.28-1.35x performance 62, and the low-precision training survey organizes this landscape by format family and open challenges 59.
Pros and cons. Pros: FP8 is the only kernel-level technique with production-scale validation at frontier scale 1635, delivers memory savings (39%) and throughput gains (25-75%) simultaneously 161719, and the formats are standardized 21. Cons: the numerical risk is real and not fully characterized — divergence is seed-dependent at small scale 61 and the loss-explosion mechanism is only beginning to be understood 41; the gains require H100-class hardware with FP8 tensor cores; and each new precision (FP4, MX) restarts the stability engineering 636422. Use cases: FP8 is the default for large-scale pretraining on Hopper/Blackwell 3518; FP4 and MX are for pushing memory/bandwidth limits where quality loss is acceptable or for frontier labs with stability engineering capacity 6322; BF16 remains the safe default for small runs and fine-tuning 61.
Theme 3 — MoE training kernels: from padded to block-sparse to single-kernel
The first generation attacked padding. MoE layers route each token to a subset of experts; naive implementations pad tokens to a uniform expert batch, wasting compute. MegaBlocks reformulated MoE as block-sparse operations with new GPU kernels that never drop tokens, achieving end-to-end training speedups of 1.38x/2.0x/4.35x over Tutel’s padding-based approach 24. Tutel itself contributed adaptive parallelism plus fast SIMT encode/decode kernels and a two-dimensional hierarchical all-to-all, with single-MoE-layer speedups of 4.96x/5.75x on 16/2,048 A100s over Fairseq and 1.14-1.55x end-to-end training on SwinV2-MoE 25. FasterMoE framed the field’s core problem statement — dynamic load imbalance, inefficient synchronous execution, and congested all-to-all communication 26 — and DeepSeekMoE showed that finer-grained expert segmentation plus shared expert isolation reaches LLaMA2-7B quality with a 16B model at ~40% of the compute 32.
The second generation fused the whole layer into one kernel. FlashMoE fuses gate, dispatch, expert GEMMs, and combine into a single persistent GPU-resident kernel with NVSHMEM DMA and in-kernel actor scheduling, delivering up to 6x lower latency and 5.7x higher throughput (17.7M tokens/s on 8 H100s) than state-of-the-art baselines, with SM utilization of 93.17% vs 9.67% for FasterMoE 27. SonicMoE adds IO- and tile-aware optimizations, cutting activation memory by 45% and achieving 1.86x compute throughput over a BF16 MoE kernel on Hopper, sustaining 213B tokens/day on 64 H100s 28. On the tooling side, a pure-Triton fused MoE dispatch (router, permute, grouped expert GEMMs, unpermute) reaches 89-131% of MegaBlocks’ throughput at inference batch sizes — evidence that the DSL path is now viable for MoE dispatch 52.
The third generation attacked communication. Expert-parallel training spends 45-67% of its time in all-to-all in some workloads 69; LSH-MoE compresses routed activations with cross-polytope hashing and residual error compensation for 1.28-2.2x end-to-end training speedups 69. DeepEP provides high-throughput and low-latency all-to-all GPU kernels (MoE dispatch/combine) with FP8 support; per its repository README it reaches 90 GB/s RDMA dispatch bandwidth on CX7 and 726-740 GB/s NVLink bandwidth on SM100 at minimal SM occupancy 35. Third-party work validates the workload and the approach: UBEP re-architects the expert-parallel all-to-all with kernel decomposition and hierarchical token scheduling for up to 52.4% lower all-to-all latency 67; NCCL EP builds expert-parallel communication on the NCCL Device API with low-latency (1-128-token) and high-throughput (4096+ token) modes 66; RailS exploits rail topologies to turn global load balancing into local scheduling, improving bus bandwidth 20-78% and cutting all-to-all completion time 17-78% 74; and Shortcut-connected expert parallelism overlaps dispatch with expert computation for 1.49x training speedups at 100% communication overlap on 8x A30 68. Algorithmic routing work complements the kernels: expert-choice routing trains over 2x faster to the same perplexity than Switch/GShard top-k routing at 8B/64E 3, pre-gating plus preemptive expert migration cuts MoE-block latency 1.7x on average 33, and PEER (a million small experts with product-key routing) reaches the best compute-optimal perplexity at two FLOP budgets 8. The architectural lineage matters for the kernels: Switch Transformers showed 7x pretraining speedups with sparse routing 30, GShard scaled MoE to 600B parameters on 2048 TPU v3s in 4 days 31, and DeepSpeed-MoE demonstrated dense-quality training at 5x lower cost with 3.7x model compression 70.
Pros and cons. Pros: MoE kernels deliver the largest single-layer gains in the field (up to 5.7x 2725) and directly enable the compute-efficiency economics of modern MoE models 3435. Cons: the kernel work is tightly coupled to routing algorithm and model architecture — changing routing (top-k vs expert-choice vs PEER) changes the kernel problem 38; communication kernels are topology- and hardware-specific 6774; and the single-kernel approaches are the most engineering-intensive, with FlashMoE’s training/backward fusion still deferred 27. Use cases: block-sparse kernels for dense-scale MoE pretraining 24; single-kernel fusion for latency-sensitive large-batch training and inference 2728; communication redesign for expert-parallel clusters where all-to-all dominates 69676674; and Triton-based dispatch where portability matters more than peak performance 52.
Theme 4 — Communication-overlap and long-context kernels
Attention kernels that span devices. Ring Attention overlaps blockwise KV communication with attention computation, training sequences device-count times longer than prior memory-efficient transformers — 8x on 8 A100s (512K vs 64K tokens) and up to 100M-token contexts at larger scales 29. Striped Attention improves on Ring by striping tokens uniformly across devices instead of contiguous blocks, reaching up to 1.45x end-to-end training throughput at 256K sequence length 5. LoongTrain’s 2D attention (head-parallel plus context-parallel) improves model FLOPs utilization by up to 2.88x over Megatron-CP and 1.49-1.53x over DeepSpeed-Ulysses 6. DeepSpeed-Ulysses keeps communication volume constant at O(M/P) versus O(M) for baselines, training 2.5x faster with 4x longer sequences than Megatron-LM sequence parallelism and exceeding 175 TFLOPS/GPU at 1M-token training 1. UPipe refines Ulysses with head-level chunking, cutting attention intermediate-tensor memory by up to 87.5% and enabling 5M-token contexts at matched training speed 71.
Communication-computation overlap beyond attention. FLUX over-decomposes communication and computation into tiles fused into a single GEMM kernel, overlapping up to 96% of communication for up to 1.24x/1.66x/1.30x training speedups across workloads 57. Triton-distributed extends the Triton programming model to generate overlapping distributed kernels, with speedups of 1.09x-44.97x over PyTorch+NCCL baselines 53. PipeMesh uses elastic pipeline scheduling to eliminate most of the 28% all-accelerator idle time caused by communication, improving training throughput 20.1-33.8% over baselines with recomputation adding under 1.9% 73. DualPipe, documented in the DeepSeek-V3 report, achieves full overlap of forward and backward computation-communication phases with reduced pipeline bubbles — the bidirectional schedule that helped DeepSeek-V3 train at 3.7 days per trillion tokens on 2,048 H800s 35. WASP takes a hardware-software co-design route, adding hardware-accelerated automatic warp specialization with warp-level register-file queues for 47% average runtime gains on pipeline-parallel GPU workloads 72.
Pros and cons. Pros: these kernels are the only way to train beyond single-device memory, with gains that compound with sequence length (8x-512x context extension 29); overlap techniques are complementary to fusion and precision work 5753. Cons: they require multi-GPU clusters and are sensitive to interconnect topology 56; the gains are measured against different baselines (Megatron-CP vs Ulysses vs Ring), making cross-paper comparison unreliable; and communication-overlap kernels add scheduling complexity that interacts with pipeline parallelism 7335. Use cases: long-context pretraining and RL with large rollouts 2947; frontier-scale training where per-device memory is the binding constraint 171; and MoE/expert-parallel clusters where all-to-all dominates step time 696766.
Theme 5 — Fused elementwise/optimizer kernels and the tooling layer
Fused training-op kernels. Liger Kernel, a library of Triton kernels for cross-entropy, normalization, RoPE, and other memory-heavy training ops, delivers on average +20% training throughput and -60% GPU memory across popular LLMs (LLaMA3-8B: +42.8% throughput, -54.8% memory at batch size 64) with loss parity 15. Fusing the optimizer into the forward or backward pass reduces training time by up to 20% by eliminating separate kernel launches and memory round-trips 38. Block-wise dynamic quantization of optimizer states matches 32-bit Adam/AdamW/Momentum performance while cutting state memory 4x (8GB to 2GB for a 1B-parameter model) 7. The Muon optimizer achieves roughly 2x computational efficiency over AdamW at compute-optimal training — comparable quality at ~52% of the training FLOPs — and trained Moonlight 3B/16B MoE models on 5.7T tokens 37. torch.compile (TorchDynamo + TorchInductor, which lowers to Triton on GPUs) delivers 1.41x training geometric-mean speedups across 180+ models on A100 with no code changes 75.
The tooling layer determines who can build kernels. Triton’s tile-based DSL made custom kernels accessible at “minimal performance cost” without vendor-library dependence 2, and it is the substrate of both torch.compile 75 and training-kernel libraries like Liger 15. ThunderKittens shows the CUDA-template alternative — near-hand-tuned performance with higher-level primitives 55. But the evaluation gap is real: a 2026 study found correctness-based kernel benchmarks accept catastrophically slow kernels — an idiomatic TileLang LayerNorm passes the KernelBench check while running over 300x slower than PyTorch — and that re-tuning a single kernel at one shape can take minutes 54. On the TPU side, JAXBench shows conditioning on curated hardware documentation raises per-sample correctness from 5.8% to 37.3% in autonomous kernel generation, with 1.28x geomean speedup over the XLA baseline 65.
Pros and cons. Pros: fused elementwise/optimizer kernels are the lowest-risk optimization — they require no numerical changes, preserve loss curves 15, and compound with everything else 75; DSLs and compilers are what make the whole field accessible to non-vendor teams 214. Cons: the per-kernel gains are smaller than attention or FP8 (20% vs 2x) 1538; compiler-generated kernels can be catastrophically slow on unusual shapes, so benchmarks must be roofline-aware 54; and optimizer-level changes (Muon) interact with hyperparameters and have a narrower evidence base than kernel fusion 37. Use cases: fused training-op kernels for any training run, especially memory-bound small-batch settings 15; torch.compile as the zero-effort default 75; DSLs for custom kernels with portability needs 252; hand-written CUDA/CUTLASS where peak performance is non-negotiable 5155.
Theme 6 — Choosing among techniques: the use-case map
Across the five families, the evidence supports a consistent decision framework. For a standard dense pretraining run on Hopper-class hardware, the default stack is: FlashAttention-3-class attention kernels 13, FP8 GEMMs with BF16 master weights 1635, fused normalization/cross-entropy/optimizer kernels 15, and torch.compile or equivalent graph compilation 75 — together these account for most of the reported 1.4-2x end-to-end gains, with FP8 providing the largest single increment 1719. For long-context or RL training, the binding constraint moves to memory and communication, so ring/striped/Ulysses-class kernels and overlap techniques dominate the decision 295147. For MoE models, the kernel choice is architectural: block-sparse or single-kernel fused dispatch for dense-scale training 2427, and communication redesign (DeepEP-class all-to-all, LSH-MoE compression, rail-aware scheduling) once expert-parallel communication dominates 696774. For non-NVIDIA hardware or small teams, the DSL/compiler path (Triton, torch.compile) buys most of the gains at a fraction of the engineering cost, with the caveat that unusual shapes need roofline-level validation 25452.
Where the evidence disagrees
FP8 training: production-proven or dangerously fragile? DeepSeek-V3, FP8-LM, MOSS, μnit, and Fully-FP8 all report FP8 at matched quality at scale 1635171918, while the “To FP8 and Back” study reports seed-dependent divergence even in BF16 and FP8 failures on noisier data 61, and the low-precision attention analysis documents a concrete failure mechanism 41. The best available resolution is scale and data quality: the failures cluster in small runs and noisy-gradient settings, while the successes are all at 175B-671B scale with careful master-weight and scaling engineering — the disagreement is between “FP8 with production-scale safeguards” and “FP8 as a naive drop-in.”
Single-kernel MoE: universally faster? FlashMoE and SonicMoE report 1.86-5.7x over their chosen baselines 2728, yet the Triton-based dispatch study reports only 89-131% of MegaBlocks at inference batch sizes 52, and Tutel’s adaptive approach remains competitive on its own benchmarks 25. The explanation is baseline and shape: single-kernel fusion pays off at large batch sizes and with NVSHMEM-class interconnects, while at small batches the launch overheads are amortized differently and simpler kernels close the gap.
DSL vs hand-written CUDA. The compiler papers report parity or better 147552, the independent evaluation finds order-of-magnitude slowdowns on unusual shapes 54, and the CUTLASS/ThunderKittens camp argues for template-level control 5551. This is a real disagreement about the distribution of shapes: DSLs win on the shapes the compiler authors tuned, and lose badly off-distribution; the resolution is workload-specific validation, not a winner.
FlashAttention numerical stability. One study measures ~10x deviation in isolation but low training impact 42; another documents training-time loss explosions in BF16 flash attention with a mechanistic cause 41. These are consistent once separated by setting — isolation versus full training, and BF16-specific rounding interactions — but the field has not yet produced a unified stability criterion.
Gaps and open questions
No shared benchmark. Every paper benchmarks against a baseline of its own choosing, on hardware of its own generation, at shapes of its own design. MOSS is a step toward standardized FP8 training evaluation 17 and JAXBench toward standardized kernel-generation evaluation 65, but there is no equivalent of a training-side MLPerf for kernels; the “Correct but Slow” study shows why the absence matters 54. What would settle it: a community roofline-based training-kernel benchmark across hardware generations with fixed baselines.
The backward pass is under-analyzed. Most kernel papers report forward-pass numbers (Sawtooth is explicitly forward-only 48, FlashMoE defers training/backward fusion 27), yet training spends roughly half its time in backward kernels and the numerical risk concentrates there 41. The backward pass of low-precision attention and single-kernel MoE is the field’s largest unexamined corner.
FP4 and MX are unresolved frontiers. FP4 training works at 13B/100B tokens with a small loss gap 6364, and 6-bit MX trains generative LMs 22, but there is no evidence yet at frontier scale, and the stability mechanisms that made FP8 work (master weights, scaling) have not been re-derived for FP4.
Portability is unmeasured. Almost all evidence is NVIDIA Hopper/Ampere; the TPU evidence (GShard, JAXBench) uses different kernel abstractions entirely 3165, and the Triton cross-platform story is only beginning 52. Whether the FP8 and MoE kernel results transfer to AMD, Intel, or TPU training stacks is untested in the retrieved literature.
Confidence and limitations
Confidence in the qualitative map — five technique families, each with real and conditional gains — is high: it is consistent across dozens of independent papers. Confidence in specific numbers is moderate: nearly all performance claims are vendor- or single-group-benchmarked, hardware-specific, and measured against heterogeneous baselines; the two independent evaluations in this corpus (the kernel-evaluation gap study 54 and the FP8 stability study 61) both caution against taking headline speedups at face value.
This review’s own limitations: 9 of 75 sources were abstract-only (publisher paywalled), including several load-bearing IEEE venues (WASP, PipeMesh, RailS, BF16-FMA); three load-bearing artifacts (DeepEP, DeepGEMM, DualPipe) have no papers and are documented from their repositories with vendor-stated numbers; Semantic Scholar was 429-unreachable from this IP all session and contributed nothing; one planned source (HyGIN, IEEE LCA 2026) was dropped for having no retrievable abstract anywhere; and SwitchBack, a remembered low-precision training paper, could not be resolved in any database and was dropped rather than cited from memory. The review covers 2018-2026 with a cutoff of 2026-08-15.
Evidence table
| key | year | design | sample | measure | finding | limitations | confidence | access | note |
|---|---|---|---|---|---|---|---|---|---|
| aimuyo2025flashmoe | 2025 | framework | 8x NVIDIA H100 80G GPUs on NVLink (PyTorch 2.6.0, CUDA 12.8); MoE models up to 128 experts and 16K-token sequences; 4- and 8-GPU configs; FP32; baselines Comet, FasterMoE, Megatron-CUTLASS, Megatron-TE, DeepEP; motivation/trace study on 2x A100 and distributed training of a 1.3B GPT-3 MoE across 32x A100 + 8x V100 | MoE forward latency, SM/GPU utilization, throughput (MTokens/s), overlap efficiency, expert scalability | Fusing the distributed MoE layer (gate-dispatch-expert-combine) into one persistent GPU-resident kernel with NVSHMEM DMA and in-kernel actor scheduling gives up to 6x lower latency, 9x higher GPU utilization (93.17% avg SM utilization vs 9.67% FasterMoE and 13.55% DeepEP) and 5.7x higher throughput (17.7 MTokens/s at 8 GPUs, vs 5.7x over FasterMoE and 4.9x over Megatron-TE/CUTLASS) than SOTA baselines on 8x H100 - achieved despite running FP32 while baselines use FP16. | Inference-only: training support (fusing backward computation and gradient communication) explicitly deferred to future work; single-node (4/8x H100) evaluation only; FP32 doubles communication volume and compute workload vs FP16 baselines; relies on NVSHMEM/NVLink; autotuned GEMM (cuBLASDx/CUTLASS builders) left as future work | high | full-text | FlashMoE is the first fully fused distributed MoE operator: single persistent kernel with Processor/Scheduler/Subscriber actors, symmetric tensor layout, in-place padding for payload-efficient dispatch, and fine-grained pipelining of dispatch/compute/combine |
| ansel2024pytorch2 | 2024 | framework | 180+ real-world models, NVIDIA A100 GPU | geometric-mean wall-clock speedup of torch.compile vs eager PyTorch | torch.compile (TorchDynamo + TorchInductor, which lowers to Triton on GPUs) delivers 2.27x inference and 1.41x training geometric-mean speedups on an NVIDIA A100 across 180+ real-world models, outperforming six other compilers. | single GPU generation (A100); geometric means may hide per-model variance; training speedup smaller than inference | high | abstract-only | Baseline evidence that compiler-based kernel generation (Dynamo/Inductor to Triton) yields 1.41x training speedup out of the box - anchors the kernel-tooling section. |
| beck2025tiledfla | 2025 | framework | NVIDIA H100 80GB GPUs; kernel runtime benchmarks at embedding dim 4096 with 65,536 tokens and head dims 64-512; language modeling at 160M/400M/1.4B params (19B/24B/48B tokens, ctx 4096); baselines FlashAttention 2/3, Mamba 2, GLA/FLA, Simple GLA, LightningAttention2; theoretical runtime/arithmetic-intensity/roofline analysis across V100/A100/H100/B200 | Kernel runtime (forward and training forward+backward), GPU memory usage, validation perplexity, theoretical runtime and arithmetic intensity | TFLA's two-level sequence parallelism enables arbitrary chunk sizes and yields training (fwd+bwd) kernels faster than FlashAttention 3 for longer sequences and over 2x faster than Mamba 2 kernels at all sequence lengths (embedding 4096, 65,536 tokens, H100), with the mLSTMsig sigmoid-gate variant >30% faster than mLSTMexp in forward and matching its perplexity up to 1.4B parameters. | Runtime benchmarks on H100 only (theoretical roofline covers V100/A100/H100/B200); Simple GLA slightly faster in one regime (within ~3 ms / 15%) but uses ~2x the GPU memory; TFLA mLSTM uses ~7.3 GB vs 6.2 GB for LightningAttention2 (which is >3x slower); xl_chunk kernels show occasional gradient-norm/loss spikes at some head dims; LM experiments limited to 1.4B scale | high | full-text | TFLA (Tiled Flash Linear Attention) fixes FLA's limited chunk size by combining a recurrent kernel and a parallel kernel (inter-chunk recurrent + intra-chunk parallel contributions), raising arithmetic intensity for long-context pre-training; also proposes mLSTMsig with sigmoid input gate and negative bias init (-10) for faster kernels and stabler training |
| bikshandi2023fa2hopper | 2023 | case-study | NVIDIA H100 PCIe GPU; FP16 operands with FP32 accumulation; head dims 64-256; QBLK/KBLK tile sweep | FLOPs/s of fused FlashAttention-2 forward kernel | A CUTLASS/CuTe implementation of the FlashAttention-2 forward pass using Hopper TMA + WGMMA with copy-GEMM overlap achieves 20-50% higher FLOPs/s than the Ampere-optimized FlashAttention-2 kernel on a single H100 PCIe GPU (up to ~308 TFLOPS/s at head dim 256 in the reported tile sweep). | forward pass only (no backward/training); single H100 PCIe; FP16 only; didactic single-head-dim cases | high | full-text | Shows Hopper-specific TMA/WGMMA instructions plus tile-size tuning can push fused attention well past Ampere-optimized kernels - forward-pass reference for the attention-kernel section. |
| brandon2023stripedattention | 2023 | case-study | 1B/3B/7B causal language models; 8x A100 80GB (NVLink), TPU v3 8-chip, TPU v4 16-chip; seq lengths 8k-786k; JAX | end-to-end training throughput (tokens/s) vs Ring Attention | Striped Attention (uniform token striping instead of contiguous blocks) achieves up to 1.45x end-to-end training throughput vs Ring Attention on 8x A100 80GB at seq 256k (1.41-1.45x across 1B/3B/7B models) and up to 1.65x on 16 TPUv4 chips at seq 786k, approaching a theoretical 2x maximum. | benefit grows with sequence-parallelism degree; tile granularity limits GPU savings at small block sizes; JAX implementation; TPU results on larger mesh than A100 results | high | full-text | Distributed long-context attention: workload-balancing permutation of Ring Attention gives ~1.4-1.65x causal-training speedups - evidence for sequence-parallel attention scheduling in the review. |
| cai2024shortcutep | 2024 | case-study | SwinV2-MoE-S (vision), GPT2-MoE, LLaMA2-MoE; 8x A30-PCIe, 8x A800-NVLink, 16x A800-NVLink (2 nodes) | end-to-end training and inference wall-clock speedup vs standard top-2 MoE | ScMoE (shortcut-connected MoE with adaptive overlap) achieves 1.49x training and 1.82x inference speedups vs standard top-2 MoE on 8x A30-PCIe (1.14x/1.21x on 8x A800-NVLink), fully overlapping All-to-All communication where communication is up to ~50-60% of MoE time. | changes MoE architecture (shortcut connections), not a pure kernel optimization; evaluated on small models; inference speedups measured over one iteration; benefits shrink when communication drops below ~20% of MoE time | high | full-text | MoE training: quantifies All-to-All as ~50-60% of MoE layer time and shows decoupling + overlap yields up to 1.49x training speedup - key evidence for the communication-overlap section. |
| chang2024flux | 2024 | framework | Megatron-LM-style training on 128-GPU clusters (multiple GPU generations/interconnects); vLLM inference on 8-GPU clusters; CUTLASS-based fused kernels | wall-clock speedup and effective communication time / overlap efficiency | Flux over-decomposes communication and computation into tiles fused into a single GEMM kernel, potentially overlapping up to 96% of communication and achieving up to 1.24x training speedup over Megatron-LM on 128 GPUs and 1.66x prefill / 1.30x decoding speedups over vLLM on 8 GPUs. | requires peer-to-peer (NVSHMEM for cross-node); targets tensor-parallel GEMM patterns (ReduceScatter/AllGather); inference cluster limited to 8 GPUs | high | full-text | Kernel-fusion-based communication overlap (tile-level GEMM+comm fusion, single kernel launch) reaching up to 96% overlap - core evidence for the communication-overlap subsection. |
| chen2024intfa | 2024 | case-study | RTX 4090 GPU; Triton implementation; seq lengths 1k-16k; fully INT8 Q/K/V with token-level quantization (PTQ) | inference latency and quantization error (Mean Relative Error) vs FlashAttention-FP16/FP8 | INT-FlashAttention, the first attention operator with fully INT8 input, runs ~72% faster than FP16 FlashAttention (31-73% smaller inference time across seq 1k-16k) with up to 82% smaller quantization error than FP8 FlashAttention. | inference/post-training-quantization only (not training); V matrix quantized only at tensor level; consumer GPU (RTX 4090); accuracy evaluated on synthetic normal/uniform activations | high | full-text | INT8 attention kernels on Ampere-class hardware - inference-side counterpart evidence for the low-precision/quantized-kernel discussion. |
| chitsaz2024quantpretrain | 2024 | case-study | GPT-2 Small (124M) through X-Large pre-trained from scratch on OpenWebText (30 models, 300k steps, global batch 512, ctx 1024, ~157B tokens) on 4x A100 80G (~4.3 days per run); linear min-max quantization at 4/8 bits with per-tensor/per-channel/per-token granularity on weights, activations, gradients, and Adam optimizer states | Validation perplexity (WikiText103/2, PTB, 1BW), few-shot downstream accuracy, training stability (loss-sharpness, gradient-norm spikes), peak memory profiling, kernel execution-time profiling (Nsight) | 8-bit per-channel weight and per-token activation quantization achieves perplexity near the FP32 baseline (WikiText103 42.43 and 42.86 vs 39.94) with significant memory savings, while 4-bit quantization destabilizes training (4-bit per-tensor activations blow up to 418.63 PPL; sharper loss landscape, persistent activation outliers) and 4-bit gradient quantization causes non-convergence (per-tensor PPL 17990.70). | No custom kernels: actual training speedups are only estimated from Nsight kernel-time profiling (linear layers >80% of execution time at short sequence lengths), not measured; linear (min-max) quantization only; per-channel weight+activation combos noted as not efficiently implementable by hardware GEMM kernels; GPT-2-scale models and OpenWebText only; quantizing gradients yields little memory benefit since gradients do not drive peak memory (activations do) | high | full-text | Controlled study of straightforward quantization during from-scratch pre-training; recommends 8-bit weights+activations (per-channel/per-token) as the safe recipe, flags 4-bit and gradient quantization as unstable, and provides a per-component perplexity table across granularities |
| crago2024wasp | 2024 | framework | modern GPU baseline (proposed hardware + compiler support for warp specialization); applications incl. machine learning, sparse linear algebra | runtime improvement vs modern GPU baseline | WASP (hardware + compiler support for fine-grained warp specialization with warp-level register-file queues, hardware-accelerated address generation, and pipeline-aware scheduling) improves runtime by an average of 47% over a modern GPU baseline across a variety of applications. | hardware+compiler co-design (not evaluated on shipping silicon); average across general applications, not LLM-training-specific; fine-grained memory patterns only | high | abstract-only | Hardware/compiler support for warp specialization (register queues, pipeline-aware mapping) - background evidence for kernel tooling and GPU hardware co-design. |
| dai2024deepseekmoe | 2024 | case-study | DeepSeekMoE 2B/16B/145B; 100B-2T training tokens; NVIDIA A100 and H800 clusters (8 GPUs/node, NVLink, InfiniBand); HAI-LLM framework with CUDA+Triton kernels | model quality vs computational cost (activated params, % of compute) | DeepSeekMoE (fine-grained expert segmentation + shared expert isolation) with 2B params matches GShard 2.9B (1.5x the expert params/compute), 16B matches LLaMA2 7B with ~40% of the compute, and 145B matches DeepSeek 67B using 28.5% (possibly 18.2%) of the compute. | quality-focused; efficiency reported as compute/FLOP ratios rather than wall-clock kernel speedups; 145B results preliminary; relies on custom fused expert/gating kernels (CUDA/Triton) for load balance | high | full-text | MoE architecture (fine-grained segmentation + shared experts) that makes sparse training compute-economical; documents custom CUDA/Triton kernels for gating and cross-expert linear-layer fusion. |
| dao2022flashattention | 2022 | benchmark | BERT-large (seq 512), GPT-2 (seq 1K), Long Range Arena (1K-4K), Path-X (16K), Path-256 (64K); A100 GPU | wall-clock training speedup, HBM accesses, memory footprint | FlashAttention (IO-aware tiling + recomputation, fused single kernel) trains Transformers 15% faster than the MLPerf 1.1 BERT-large record, 3x faster on GPT-2 (seq 1K) and 2.4x faster on LRA, with up to 7.6x attention-kernel speedup, up to 9x fewer HBM accesses than standard attention, and linear (vs quadratic) memory. | requires custom CUDA kernel; recomputation increases FLOPs; beyond seq ~1K some approximate methods (e.g., Linformer) are faster than exact FlashAttention; block-sparse variant is approximate | high | full-text | Foundational IO-aware attention kernel: tiling + recomputation yields 2-4x training speedups and linear memory - the baseline every later attention-kernel work builds on. |
| dao2023flashattention2 | 2023 | benchmark | GPT-style models end-to-end; A100 GPU; head dims 64-256; causal and non-causal; MQA/GQA variants | FLOPs/s, % of theoretical peak, end-to-end training TFLOPs/s | FlashAttention-2 (fewer non-matmul FLOPs, sequence-dimension parallelism, warp-level work partitioning) achieves ~2x speedup over FlashAttention, reaching 50-73% of theoretical peak FLOPs/s in the forward pass and up to 63% backward on A100, and 225 TFLOPs/s (72% model FLOPs utilization) end-to-end GPT-style training per A100. | benchmarked on A100 (Ampere) only; ~2x gain is relative to FlashAttention-1, not to GEMM peak; no Hopper-specific implementation in this paper | high | full-text | Work partitioning (parallelize over sequence, reduce non-matmul FLOPs, warp-level partitioning) lifts attention to 50-73% of peak FLOPs/s - key attention-kernel evidence on what limits fused attention vs GEMM. |
| deepseekai2024deepseekv2 | 2024 | case-study | DeepSeek-V2: 236B total / 21B activated params, 128K context, 8.1T pretraining tokens; H800 cluster (8 GPUs/node, NVLink+NVSwitch, InfiniBand); MLA + DeepSeekMoE; improved FlashAttention-2 kernels | training cost (GPU hours), KV cache size, generation throughput | DeepSeek-V2 saves 42.5% of training cost vs dense DeepSeek 67B (172.8K vs 300.6K H800 GPU hours per trillion tokens), reduces KV cache by 93.3% via MLA low-rank joint compression, and boosts maximum generation throughput 5.76x (over 50K tokens/s on a single 8x H800 node). | vendor technical report; cost savings mix architecture change (sparse MoE + MLA) with kernel/operator optimization; token-dropping strategy used during training; no independent replication | high | full-text | Production-scale evidence that MLA (KV compression) + DeepSeekMoE + improved FlashAttention-2-based kernels cut training cost 42.5% and KV cache 93.3% - evidence for fused-op and MoE kernel sections. |
| deepseekai2024deepseekv3 | 2024 | case-study | DeepSeek-V3: 671B total / 37B activated params, 14.8T pretraining tokens, 128K context; 2048 H800 GPUs; FP8 mixed-precision training; DualPipe pipeline; custom cross-node all-to-all kernels | total training cost (GPU hours / USD), FP8 training feasibility at scale | DeepSeek-V3 completes full training in 2.788M H800 GPU hours (~$5.576M; 180K GPU hours per trillion tokens, 3.7 days per trillion on 2048 H800 GPUs) using FP8 mixed-precision training with fine-grained (per-group) quantization and FP32 accumulation, DualPipe computation-communication overlap, and near-zero cross-node all-to-all overhead. | vendor technical report; H800-specific; FP8 framework depends on custom kernels and hardware suggestions not yet shipping; no independent replication; TFLOPS/utilization numbers not reported in text | high | full-text | First extremely-large-scale FP8 mixed-precision training with DualPipe overlap and custom all-to-all kernels - flagship evidence for the FP8-kernel and communication-overlap sections. |
| deepseekai2025deepseekv32 | 2025 | case-study | DeepSeek-V3.2 (continued pre-training from DeepSeek-V3.1-Terminus base, 128K context; sparse training stage on 943.7B tokens, 2048 KV tokens selected per query) | attention computational complexity and long-context benchmark parity | DeepSeek Sparse Attention (DSA) cuts attention compute by routing each query to only the top-2048 KV tokens (indexer + fine-grained token selection), trained via a 1000-step dense warm-up plus a 943.7B-token sparse stage, while matching dense-attention quality on long-context benchmarks; no kernel-level speedup numbers reported in extracted text. | No GPU kernel throughput/TFLOPS numbers in text; efficiency claims are architectural; inference-cost section not kernel-level | moderate | full-text | Production-scale sparse attention (DSA) recipe for long-context continued pre-training and RL post-training, motivating sparse attention kernels |
| dettmers2021optimizers8bit | 2021 | benchmark | 1.5B and 355M parameter language models, GLUE finetuning, ImageNet classification, WMT'14 machine translation, MoCo v2, RoBERTa pretraining; 209M ablation models | optimizer-state memory footprint and accuracy parity vs 32-bit | Block-wise dynamic quantization of Adam/AdamW/Momentum states matches 32-bit optimizer performance while cutting state memory 4x (8 GB to 2 GB for Adam on a 1B-param model; up to 8.5 GB GPU memory saved on the largest 1.5B LM), with optimizer states consuming 33-75% of training memory; no hyperparameter changes needed. | Quantizes poorly for AdaGrad (wide gradient-statistic range); requires stable embedding layer for embedding gradients; small speedup only (memory is the main win) | high | full-text | Shows optimizer states dominate training memory and are safely compressible 4x, complementing kernel-level memory optimizations in training stacks |
| dong2024flexattention | 2024 | framework | 7 attention variants (Alibi, Document Masking, PagedAttention, etc.); llama3-8B in torchtune; LLaMa3.1-8B/70B in gpt-fast; QKV lengths 1k-64k (train), KV up to 132k (decode) | attention kernel forward/backward speedup and end-to-end training/inference throughput | FlexAttention (compiler-driven, PyTorch-native) matches FlashAttention-2 on supported variants (1.00-1.22x forward, 0.86-1.05x backward on causal), beats SDPA by 5.49-8.00x on variants FAv2 lacks native support for, and delivers 2.4x end-to-end training speedup in torchtune and up to 2.04x inference in gpt-fast, with <1% paged-attention overhead. | Slightly slower than FAv2 on some variants (0.68x floor); requires torch.compile pipeline; BlockMask optimization gives only ~15% on common causal patterns | high | full-text | Programmable attention kernels solve the 'software lottery' for attention variants; key tooling evidence for training attention kernels |
| fedus2021switch | 2021 | case-study | T5-Base/T5-Large-derived Switch models up to 1.6T parameters, C4 corpus (576B tokens pretrain), mT5 across 101 languages | pre-training speed at fixed compute (FLOPs per token) | Simplified top-1 Switch routing yields up to 7x pre-training speedup over T5 baselines with the same FLOPs per token, a 4x speedup over T5-XXL at up to 1.6T parameters, and the first bfloat16 training of large sparse models. | Expert-attention variants diverge under bfloat16; token-dropping/stability issues require careful init and regularization; quality anomalies at extreme scale (SQuAD 87.7 vs 89.6 for smaller model) | high | full-text | Foundational result establishing MoE sparse training efficiency (7x) that motivates all later MoE kernel work |
| fishman2024fp8trillion | 2024 | case-study | Llama2-7B trained on Red Pajama for 2 trillion tokens on 256 Intel Gaudi2 accelerators; A6000 Ada micro-benchmarks; Llama2-100M/700M ablations | training throughput and convergence/stability at FP8 | FP8 training scaled to 2T tokens (20x previous limit) using Smooth-SwiGLU plus FP8 quantization of both Adam moments achieves BF16-parity results with ~34% throughput improvement (full-FP8 gives ~37% but diverges; keeping w3 in BF16 gives ~27%); TFLOPS rises from 76 to 101.9 on A6000. | SwiGLU outlier amplification causes instabilities only visible over long training runs; full FP8 diverges without Smooth-SwiGLU; requires E4M3 first moment / E5M2 second moment combination | high | full-text | Shows FP8 training stability pitfalls (SwiGLU outliers) at trillion-token scale and a fix, plus first FP8 Adam-moment quantization |
| gai2026dualkv | 2026 | framework | Qwen3-8B GRPO/DAPO RL training on 8x H100 (N=32, 8K context); Qwen3-30B-A3B MoE on 16x H100; Gemma-4-31B GRPO at 64K context; veRL pipeline | policy-update latency, MFU, end-to-end step time, token reduction ratio | DualKV fused forward/backward kernels over dual KV regions (shared prompt + per-sequence response) eliminate shared-prompt replication: 1.63-2.09x policy-update speedup with MFU rising 36% to 76% on Qwen3-8B (DAPO: 2.47x, 77% MFU), and 3.82x policy-update / 3.38x end-to-end step speedup at 30B MoE scale over FlashAttention with 4-way Ulysses; token reduction rho up to 14.3x (P=64K, N=16). | Gains depend on rollout factor N and prompt/response ratio (speedup saturates at 1+P/R); requires kernel + data-pipeline (veRL repacking) co-design; not applicable to approximate attention variants | high | full-text | First attention-kernel-level attack on shared-prompt redundancy in RL post-training; strong numbers for the training-kernel review |
| gale2020sparsekernels | 2020 | benchmark | NVIDIA V100 GPUs (CUDA 10.1); sparse Transformer and MobileNetV1 models; LSTM/GRU/RNN sparse-weight problems (state sizes 1k-8k, 70-90% sparsity) | kernel TFLOPS vs peak, speedup vs cuSPARSE, end-to-end model speedup and memory | Deep-learning-tuned SpMM/SDDMM kernels reach 27% of V100 single-precision peak (4.29 TFLOPs SpMM; 3.58x geometric-mean over cuSPARSE, 5.97x mixed-precision), enabling sparse Transformer/MobileNet speedups of 1.2-2.1x with up to 12.8x memory savings; sparse beats dense at as low as 71% sparsity vs 14x-fewer-nonzeros needed by vendor libraries. | Shared-memory-bandwidth bound on large problems; no tensor-core (MMA) usage; relies on 16-bit sparse indices; MobileNet gains only 21-24% at fixed accuracy | high | full-text | Early evidence that moderate DL sparsity can beat dense GPU kernels; foundation for block-sparse MoE kernel design |
| gale2022megablocks | 2022 | framework | Decoder-only Transformer MoEs (46M-1.3B dense-equivalent; MoE-XS/Small/Medium with 64 experts, top-1 routing) trained on The Pile with 8 A100 SXM4 80GB GPUs, 8-way expert parallelism | end-to-end training time to target loss; achievable micro-batch size | Reformulating MoE as block-sparse operations with new GPU kernels (never dropping tokens) gives end-to-end training speedups of 1.38x/2.0x/4.35x over Tutel's padding-based approach for MoE-XS/Small/Medium (up to 40% overall) and 1.8-2.4x over dense Megatron-LM, while supporting 2-8x larger micro-batches. | Requires static shape constraints that TPUs/XLA cannot accommodate; gains grow with model size because padding memory shrinks feasible micro-batches in baselines | high | full-text | Block-sparse MoE kernels without token dropping; direct precursor of modern dropless MoE training systems |
| ghadia2026untiedulysses | 2026 | framework | Llama3-8B on single 8x H100 node and 16x H100; Qwen3-32B; C4 dataset, 128K-token convergence runs (1000 steps) | attention activation memory, maximum supported context length, training throughput parity | UPipe (head-level fine-grained context-parallel chunking) reduces attention intermediate-tensor memory by up to 87.5% for 32B transformers at training speed matching Ulysses, enabling 5M-token context on one 8x H100 node (25% over FPDT's 4M) and up to 8M tokens on 16x H100 (33% over USP-Hybrid) with matched throughput. | Slightly slower than Ulysses at short sequences due to extra kernel launches; GQA head reordering introduces minor non-associativity-driven numerical differences | high | full-text | Memory-efficient Ulysses-style context parallelism: breaks activation-memory barrier for long-context training without throughput loss |
| golden2024fastability | 2024 | case-study | Text-to-image generative model retrained on Shutterstock dataset across a cluster of NVIDIA 80GB A100 GPUs; attention matrix microbenchmarks across precisions (BF16-FP64) and sequence lengths | numeric deviation of FlashAttention vs baseline attention and bounded downstream weight deviation (Wasserstein Distance) | FlashAttention shows ~10x more numeric deviation than baseline attention at BF16 in an isolated forward pass, but Wasserstein-based analysis bounds its training impact at 2-5x LESS model weight deviation than low-precision training, while delivering a 14% forward+backward speedup on the example workload. | Deviation grows with sequence length; proxy-based bounds rather than observed instability; single workload family (text-to-image) studied | moderate | full-text | Provides methodology to validate that kernel optimizations (FlashAttention) do not destabilize training; useful for reviewing fused-kernel adoption |
| goldman2026ncclep | 2026 | framework | H100 EOS cluster (576 nodes, 8x H100 80GB per node, 400 Gbit/s InfiniBand); MoE dispatch/combine benchmarks; vLLM serving integration | dispatch/combine kernel throughput, coordination memory footprint, end-to-end serving latency (ITL/TPOT) and throughput | NCCL EP (MoE communication built on NCCL Device API, with Low-Latency mode for 1-128-token decoding and High-Throughput mode for 4096+ token training batches) cuts LL-mode coordination footprint ~14x (N=64, E=512, K=8) and shows competitive LL kernel performance, though vLLM end-to-end trails DeepEP by 7-10% in throughput and 7-9% in ITL/TPOT. | HT-mode (training) evaluation and Megatron-LM integration results not yet released; LL combine overhead remains vs DeepEP; host-side timing may understate dispatch gains | moderate | full-text | Device-initiated MoE dispatch/combine inside NCCL; HT mode targets training overlap of all-to-all with compute |
| gu2024loongtrain | 2024 | framework | 7B-MHA and 7B-GQA LLMs trained on 64 GPUs (analysis to 512 GPUs) with sequence lengths 128K-1M; InternEvo framework | Model FLOPs Utilization (MFU) and end-to-end training speed vs DeepSpeed-Ulysses and Megatron Context Parallelism | 2D-Attention combining head-parallel and context-parallel (Double-Ring-Attention) improves MFU by up to 2.88x over Megatron-CP and 1.49x/1.53x over DeepSpeed-Ulysses (MHA/GQA), where Ring-Attention spends 1.8x more time on communication than computation (GQA, 64 GPUs, 128K). | Megatron-CP OOMs at 1M sequence length; pure ring (head-parallel=1) gives <10% MFU at 128K MHA; results depend on device-placement tuning | high | full-text | Hybrid head+context sequence parallelism for long-sequence LLM training scalability; context-parallel baseline evidence |
| guo2025sonicmoe | 2025 | framework | Fine-grained 7B MoE on 64 H100s (FSDP-2, lm-engine); OLMoE-sized 7B on Blackwell (B300); Qwen3-Next-80B-A3B-Thinking and 7B-685B MoE layer configs on H100; pretraining runs 0.5B-1.8B MoEs (20-100B tokens) | activation memory, MoE kernel compute throughput (TFLOPS), training throughput (tokens/day), fwd/bwd speedup | SonicMoE cuts activation memory by 45% and achieves 1.86x compute throughput vs ScatterMoE's BF16 MoE kernel on Hopper, reaching 213B tokens/day on 64 H100s (vs ScatterMoE's 225B on 96 H100s), with 25%/15% forward/backward speedups over DeepGEMM on Blackwell; tile-aware token rounding adds 1.16x kernel speedup (up to 19.6%/7.9% fwd/bwd on highly sparse 80B-A3B) with similar downstream performance. | Gains largest for fine-grained/sparse MoEs; token rounding benefits depend on sparsity (K/E); forward throughput averages 88% of cuBLAS upper bound (router not included) | high | full-text | Memory-efficient MoE fwd/bwd kernels with IO-compute overlap and padding-free Grouped GEMM; strongest modern MoE kernel evidence |
| hao2026lowprecsurvey | 2026 | survey | n/a - survey of low-precision training literature (fixed-point/integer, floating-point, custom formats, plus quantization-aware training) | taxonomy coverage and research directions (no quantitative results in abstract) | No quantitative findings in abstract: the survey organizes low-precision training by numerical format family (fixed-point/integer, floating-point, custom formats) plus QAT, and discusses efficiency, robustness, and deployment reliability tradeoffs. | Abstract-only access; no speedup/memory numbers extractable | low | abstract-only | Taxonomy to position FP8/int8 training results within the low-precision training landscape |
| he2022fastermoe | 2022 | framework | n/a (abstract describes MoE training systems generally; trillion-scale MoE pretraining context) | n/a - no quantitative results in abstract | No quantitative findings in abstract: FasterMoE frames MoE training efficiency as challenged by dynamic load imbalance, inefficient synchronous execution modes, and congested all-to-all communication. | Abstract-only access; no numbers or results extractable | low | abstract-only | Canonical statement of MoE training system bottlenecks (load imbalance, sync execution, all-to-all congestion) motivating kernel-level MoE work |
| he2024millionexperts | 2024 | case-study | PEER (product-key retrieval) MoE layers with up to 1M tiny experts (1024^2, h=8 heads, top-k=16/head); C4 language-model pretraining, batch 128, seq 2048, isoFLOP budgets 6e18/2e19 FLOPs | compute-optimal perplexity (isoFLOP curves); expert usage/unevenness | PEER achieves the lowest compute-optimal perplexity of all methods at both FLOP budgets (e.g., C4 16.45 vs dense 18.31, coarse MoE 17.12, PKM 17.36 at 2e19 FLOPs) while keeping ~100% expert usage even with 1M experts. | No wall-clock GPU efficiency/throughput numbers; authors note an efficient implementation requires specialized hardware kernels for embedding lookup and einsum fusion that are not built. | high | full-text | Fine-grained-MoE scaling evidence motivating million-expert designs; flags product-key retrieval as a kernel-implementation target for training. |
| hernndezcano2025fullyfp8 | 2025 | case-study | Llama3-derived 390M/1.5B/8B models and a 41B-8E MoE; 4xGH200 nodes, Megatron-LM + Transformer Engine; FineWeb-Edu, WSD schedule, 1.5B model scaled to 450B tokens (15x Chinchilla-optimal) | training throughput (tokens/s/GPU), downstream benchmark accuracy, kurtosis-based stability | Fully-FP8 GEMM training including FP8 attention (FP8DPA) delivers up to +43% training throughput at 8B scale (12,764 vs 9,105 tokens/s/GPU BF16; +42.6% at GBS=1k; +15-18% at 1.5B; +29.2% for the 41B-8E MoE) with downstream quality matching BF16. | LM head projection still runs in BF16; every prior architecture tested diverges under FP8DPA (larger models diverge later); fine-grained scaling recipes trade throughput for stability. | high | full-text | Key positive evidence that FP8 for ALL GEMMs including attention kernels is trainable at scale given outlier-mitigating architecture; kurtosis gives an early-warning diagnostic for FP8 training stability. |
| hsu2024liger | 2024 | framework | Liger-Kernel Triton kernels (RMSNorm, LayerNorm, RoPE, SwiGLU, GeGLU, CE, FusedLinearCrossEntropy); single A100-80GB kernel benchmarks; 4x A100-80GB fine-tuning of LLaMA3-8B, Qwen2, Gemma, Mistral, Phi3 (bf16, Alpaca); Medusa multi-head training | training throughput and peak GPU memory vs HuggingFace eager implementations | On average +20% training throughput and -60% GPU memory across popular LLMs (LLaMA3-8B +42.8% throughput/-54.8% memory at bs64; Qwen2 +25.5%, Gemma +11.9%, Mistral +27%, Phi3 +17%), with per-kernel gains like ~3x faster/5x less memory CE and ~8x RoPE speedup. | Performance benchmark report only; gains vary by model, batch size and sequence length; kernel correctness/convergence tested at small scale. | high | full-text | Reference open-source Triton kernel library for LLM training; concrete evidence that kernel fusion + input chunking (esp. fused linear-CE) removes logit-materialization memory bottlenecks. |
| huang2023cutlassbench | 2023 | benchmark | Formalized CUTLASS benchmark suite (NVIDIA templated kernels) for GEMM and convolution offloading to tensor cores on modern NVIDIA GPUs, low-precision data types | Benchmark methodology + relative performance of tensor-core GEMM/conv kernels | No numeric results available in the abstract; qualitative claim that with necessary fine tuning, tensor-core ASICs dramatically boost performance for specific operations like GEMM offloading. | Abstract-only; no concrete speedup/throughput numbers in available text; fulltext not present locally. | moderate | abstract-only | Background evidence for CUTLASS as the composable template-kernel library underpinning GEMM/conv kernel tooling for training. |
| hwang2022tutel | 2022 | framework | Tutel MoE system; Azure NDm A100 v4 (8x A100 SXM 80GB, 200Gbps InfiniBand) clusters up to 2,048 GPUs; SwinV2-MoE-B (32 experts, top-1) on ImageNet-22K/1K and COCO; Fairseq MoE baseline | Single MoE-layer speedup, end-to-end training/inference speed (images/s), GPU memory | Adaptive parallelism+pipelining + SIMT fast encode/decode kernels + 2DH all-to-all deliver 4.96x/3.11x/5.75x single-MoE-layer speedup on 16/128/2,048 A100s over Fairseq, 1.14-1.55x end-to-end training and 1.95-2.11x inference speedup on SwinV2-MoE, with 20-90% GPU-memory savings. | Evaluated on a computer-vision MoE (SwinV2-MoE), not an LLM; gains depend on dynamic workload (capacity factor) and scale; sparse dispatch kernels cannot use tensor cores efficiently. | high | full-text | Core MoE-training systems evidence: zero-cost adaptive parallelism switching and communication-computation overlap of all-to-all with expert compute. |
| hwang2023pregatedmoe | 2023 | framework | SwitchTransformer Switch-Base (8/64/128 experts, 0.7-7.5B params) and Switch-Large (128 experts, 26.4B); single A100-80GB + AMD EPYC 7V12 1.8TB CPU; FasterTransformer; SQuAD fine-tuned QA | MoE-block latency, end-to-end inference throughput (tokens/s), peak GPU memory | Pre-gating + preemptive expert migration cuts MoE-block latency 1.7x avg (max 1.9x) vs MoE-OnDemand and 42x (max 125x) vs MoE-Prefetch, reaching 81% of oracular GPU-only throughput (111 tokens/s avg) while using only 23% of GPU-only peak memory (4.2x reduction). | Inference-focused (ISCA 2024); training gains not measured - transferability to MoE training is by analogy only; single-GPU CPU-GPU offload setting. | high | full-text | Evidence that overlapping expert-migration latency with compute (pre-gating) is the key lever for CPU-offloaded MoE efficiency - instructive for MoE training comm-overlap, though inference-side. |
| jacobs2024ulysses | 2024 | framework | GPT 1.2B/7B/30B dense and sparse attention models; 32/64/256 A100 GPUs; sequence lengths up to 1M tokens; compared vs Megatron-LM sequence parallelism; ZeRO-3 integrated | Throughput (TFLOPS/GPU), communication volume/complexity, max sequence length | DeepSpeed-Ulysses keeps communication volume constant O(M/P) vs O(M) for baselines, trains 2.5x faster with 4x longer sequences than Megatron-LM sequence parallelism, reduces communication >10x, and sustains >175 TFLOPS/GPU (>54% of peak) scaling to 1M-token sequences. | Slight throughput decline at 256 GPUs (136 TFLOPS vs 165 at 64 GPUs) from communication; attention-agnostic all-to-all adds a synchronization point. | high | full-text | Sequence-parallelism-via-all-to-all evidence enabling 1M-token LLM training; attention-kernel-agnostic design composes with FlashAttention. |
| jiang2021optimizerfusion | 2021 | case-study | ResNet18/50/152, DenseNet201, MobileNetV2, VGG19_BN on ImageNet; Transformer base on WMT En-De; PyTorch eager, float32; TITAN Xp / GTX 1080 / GTX 1070 maxQ; SGD/Adam/Adagrad/RMSprop/Adadelta | Training time reduction / throughput speedup | Fusing the optimizer into forward (forward-fusion) or backward (backward-fusion) computation reduces training time by up to 20% (MobileNetV2 bs32: +12%/+16% throughput; Transformer base bs256: +3.0%/+1.9%). | Gains shrink at large mini-batch sizes and control-flow overhead can make it slower at small batches; evaluated on CNN-era models, not LLMs; distributed training beyond DDP unsupported. | high | full-text | Early conceptual evidence for optimizer fusion (locality + overlap of parameter update with backprop) - the ancestor of fused optimizer kernels in modern LLM training stacks. |
| kundu2024packing | 2024 | benchmark | 10 of 14 HF models incl. Llama-2-7B, Mistral-7B, granite-8b-code, falcon-7b, gemma-7b, phi-2, CodeQwen1.5-7B, starcoder2-7b, stablelm-2-1.6b, Qwen1.5-MoE-A2.7B; FLAN_20k, OrcaMath_20k, Stack_20k; single A100-80GB node (8 GPUs, FSDP) | Fine-tuning throughput (tokens/s), peak GPU memory, validation loss | Packing with position IDs improves throughput up to ~2x over padding with identical loss behavior (minibatch packing, e.g., Mistral-7B on FLAN 2289 vs 1671 Tok/s), while offline fixed-length packing reaches up to ~2x more (3191-3378 Tok/s) at the cost of worse validation loss from fewer optimizer steps. | SFT fine-tuning scale only (one epoch, 20K examples); gains depend on dataset length statistics; offline packing degrades loss; two models (Gemma-7B, Qwen1.5-MoE-A2.7B) showed inconsistent benefits. | high | full-text | Evidence that sample packing (with correct position-ID masking in FlashAttention-2) is a cheap data-side win for fine-tuning throughput; interacts directly with attention-kernel masking support. |
| lee2024fp8back | 2024 | case-study | nanoGPT GPT-2 124M (OpenWebText), Llama 120M and Llama-7B via TinyLlama repo (SlimPajama/StarCoder); 8x A100 and 8x H100 nodes; MS-AMP O1 FP8; FineWeb-Edu subsample | Training stability (divergence rate across seeds/LRs), loss-landscape sharpness metric | Even standard BF16 mixed-precision diverged in ~10% of runs (18/188 random seeds) at only 5% of training, and MS-AMP FP8 O1 failed to match BF16 convergence on noisier data (gap persists after 6x iterations) - current FP8 training methods lack the robustness needed for cost-effective use. | Early-training analysis only (5% of steps; authors note this underestimates later divergence); exponent-bit experiments limited by hardware; training-loss-only evaluation. | high | full-text | Cautionary counter-evidence for FP8 training claims: proposes a sharpness metric to predict divergence before loss curves show it - relevant for validating FP8 kernel adoption in training. |
| lepikhin2020gshard | 2020 | framework | GShard annotation API + XLA SPMD partitioner; MoE Transformers (128/512/2048 experts, 12-60 layers) up to 600B params; multilingual NMT 100 languages to English (25B sentence pairs); 128-2048 TPU v3 cores | Training cost (TPU core-years, wall-clock days), per-device memory scaling, step-time scaling, BLEU | The 600B-param MoE model trained in 4 days on 2048 TPU v3 cores (22.4 core-years, avg BLEU 44.3) vs 235.5 core-years / 6 weeks for the dense 2.3B GPipe baseline (BLEU 36.9); per-device memory stays ~constant as experts scale and step time grows only 1.7x for a 16x larger model (48% of roofline at 2048 experts vs >70% at 128). | TPU/XLA-specific; MoE dispatch/combine (AllToAll) grows from 16% to 36% of MoE-layer time as experts scale 128->2048; bf16 1T-param run had trainability issues and was excluded. | high | full-text | Foundational MoE-training system: automatic sharding + conditional computation; its dispatch/combine overhead measurements define the kernel problem later systems (Tutel, FasterMoE) attack. |
| li2025pipemesh | 2025 | framework | LLM training on commodity clouds with limited network bandwidth and accelerator memory; compared against depth-first (Megatron-style, ~20%+ idle) and breadth-first pipeline schedules | Training throughput, all-accelerator idle time, recomputation overhead | Elastic pipeline scheduling eliminates most of the 28% all-accelerator idle time caused by communication (recomputation adds <1.9% of training time) and improves training throughput by 20.1-33.8% over existing baselines on commodity clouds. | Abstract-only (no local fulltext); exact models, GPUs and cluster sizes not named in the abstract; numbers are aggregate across configurations. | moderate | abstract-only | Evidence that pipeline-schedule granularity controls the communication-computation overlap vs memory tradeoff - directly relevant to communication overlap in training systems. |
| li2026correctbutslow | 2026 | benchmark | 22 Triton and TileLang kernels across 5 operator categories (GEMM, convolution, normalization, element-wise, reduction/attention); NVIDIA A100-SXM4-40GB (sm_80) and GH200 (sm_90); PyTorch 2.8/Triton 3.4/TileLang 0.1.6 vs cuBLAS/cuDNN; Nsight Compute counters, locked clocks | Library efficiency (% of vendor baseline), roofline fraction, latency | Correctness-based evaluation admits severe slowdowns - an idiomatic TileLang LayerNorm passes KernelBench's check while running >300x slower than PyTorch (299x at 8192^2; root-caused and repaired to 1347x speedup), Triton large GEMM reaches only 59.7% of cuBLAS at 16384^2 and conv2d 28.9%; library-relative efficiency + roofline utilization jointly flag every valid-but-slow kernel. | 22-kernel suite does not span the full design space; naive kernels are the authors' own re-implementations (representativeness threat); attention comparison excluded as algorithmically non-equivalent. | high | full-text | Kernel-tooling evidence: benchmarks must gate on performance not just correctness; proposes roofline-anchored screening heuristics for evaluating DSL/LLM-generated training kernels. |
| liu2023ringattention | 2023 | framework | LLaMA 3B/7B/13B/30B; 8x and 32x A100 (NVLink/InfiniBand), TPUv3-512, TPUv4-1024, TPUv5e; FSDP + Jax SPMD; LLaMA-13B fine-tuned to 512K context on ShareGPT; ExoRL RL benchmarks | Maximum trainable context length, model FLOPs utilization (MFU), activation memory (6bch) | Ring attention with blockwise KV communication overlap trains sequences device-count times longer than prior memory-efficient transformers - 8x on 8x A100 (512K vs 64K), 32x on 32x A100 (4M vs 128K), 512x on TPUv4-1024 (16M vs 32K) - exceeding 100M tokens without approximations and without extra communication/computation overhead. | Requires sufficient interconnect bandwidth (min block size = FLOPS/bandwidth; InfiniBand needs ~150K-token sequences per host); long-context self-attention has lower MFU than FFN so end-to-end MFU drops at extreme contexts. | high | full-text | Foundational communication-computation overlap for long-context training; blockwise attention + ring KV exchange is the template later sequence-parallel attention kernels build on. |
| liu2025muon | 2025 | framework | Moonlight 3B/16B MoE trained on 5.7T tokens; scaling-law sweeps vs AdamW; distributed Muon (ZeRO-1 + Megatron-LM style) | training FLOPs efficiency (compute-optimal) and end-to-end model quality | Muon achieves ~2x computational efficiency vs AdamW at compute-optimal training (comparable quality at ~52% of the training FLOPs) and trained Moonlight 3B/16B MoE on 5.7T tokens, with distributed communication workload only (1, 1.25]x that of Distributed AdamW. | optimizer-level gains, not a kernel optimization; no per-kernel GPU throughput data; MoE scale limited to 16B | high | full-text | Shows optimizer choice (Muon + weight decay + update scaling) can halve training FLOPs, complementing kernel-level gains. |
| liu2026ubep | 2026 | framework | NVIDIA NVL72/576 and Huawei CloudMatrix384 superpods; 64/128/256 ranks; MoE inference | All-to-All latency, Time Per Output Token (TPOT), synchronization overhead share | UBEP re-architects MoE all-to-all (kernel decomposition + hierarchical token scheduling + data-as-flag sync) reducing All-to-All latency by up to 52.4% and MoE inference TPOT by up to 11.1%, cutting synchronization overhead from ~70% to ~30% of runtime (38.6-41.9% speedups) on 400 GB/s-class superpod fabrics. | inference/TPOT-focused rather than training kernels; results tied to specific superpod fabrics (CM384/NPU); raw communication latency slightly longer than baseline | high | full-text | Argues interconnect bandwidth alone is not enough: synchronization and scheduling dominate MoE all-to-all on superpods. |
| ma2024dropout | 2024 | benchmark | Llama3 transformer block; GH100/H100 GPUs; FP8 precision; Philox RNG variants | end-to-end per-block speedup of RNG-GEMM overlap vs sequential and vs RNG-Attention fusion | Overlapping dropout RNG with preceding GEMM layers (they share no hardware bottleneck) yields 1.26x speedup over sequential execution and 1.22x over state-of-the-art fused RNG-Attention on one Llama3 block (GH100, FP8), where silicon measurements show only 10-20% of RNG runtime can be hidden inside fused FlashAttention. | validated at single-transformer-block level; relies on analytical resource-utilization model; FP8/one model family | high | full-text | Shows kernel fusion is not always the answer: RNG and attention share issue-stage bottlenecks, so overlapping RNG with GEMM wins. |
| micikevicius2022fp8formats | 2022 | theoretical | CNNs, RNNs, Transformers incl. 175B-param language models; BERT PTQ on SQuAD | training/inference quality parity with 16-bit baselines at unchanged hyperparameters | Defines the FP8 interchange format (E4M3 for weights/activations, E5M2 for gradients) and shows FP8 training matches 16-bit result quality with all hyperparameters unchanged across CNN/RNN/Transformer architectures up to 175B parameters, while FP8 PTQ also succeeds where int8 PTQ failed. | format/spec paper; reports no speedup or throughput numbers; 175B baseline perplexity reported at 75% training; per-tensor scaling still required for some networks | high | full-text | Foundational FP8 format spec underpinning all subsequent FP8 training-kernel work (E4M3/E5M2 split). |
| mitra2026crossmoe | 2026 | framework | A100-SXM4-80GB (2039 GB/s, 312 TFLOPS FP16) and AMD MI300X; Mixtral-8x7B, Mixtral-8x22B, DeepSeek-V3, Qwen2-MoE; <=512 tokens inference | MoE layer latency/throughput vs Megablocks and PyTorch cuBLAS; cross-platform correctness | TritonMoE (pure-Triton fused dispatch: router, permute, grouped expert GEMMs, unpermute) reaches 89-131% of Megablocks throughput at inference batch sizes on A100 and 15.4x/17.7x over the PyTorch cuBLAS baseline (55.18ms -> 3.11ms on Mixtral-8x7B@512 tokens), with the fused gate+up kernel cutting 35% of global memory traffic and all 162 correctness tests passing on A100 and MI300X. | inference-only (no backward/training kernels); AMD performance validated for correctness only; fixed-tile scheduling degrades vs Megablocks at 64+ experts under Zipfian skew; CPU-side block scheduling sync point | high | full-text | Demonstrates portable Triton MoE kernels can approach hand-tuned CUDA (Megablocks) without NVIDIA lock-in. |
| narayan2025munit | 2025 | framework | 1B-13B parameter LLMs; 64 NVIDIA H100 GPUs; all hidden linear layers in FP8 | training throughput and quality vs BF16 and TransformerEngine FP8 | MUnit Scaling (static unit-variance scaling, square-root softmax, no dynamic scale factors) trains 1B-13B models with all hidden linear layers in FP8 at 25-33% higher throughput than BF16 and 1-6% higher than TransformerEngine FP8, with quality equal to higher-precision baselines and no hyperparameter tuning (vs ~41.7% of FLOPs that TE-style schemes keep out of FP8). | FP8 applied to hidden linear layers only (attention/embeddings handled by scaling scheme); throughput gains modest vs TE; requires architecture changes (ReLU, square-root softmax) | high | full-text | Shows hyperparameter-transferable static-scaling FP8 training can beat dynamic-scaling TransformerEngine. |
| nie2024lshmoe | 2024 | framework | RoBERTa-MoE, GPT-MoE, T5-MoE, Swin-MoE; 4x A100 servers, 200Gb/s RDMA interconnect; pretraining + fine-tuning | end-to-end MoE training time speedup via all-to-all activation compression | LSH-MoE compresses routed activations with cross-polytope hashing + residual error compensation, speeding up end-to-end MoE training 1.28x-2.2x (and convergence 1.6x-2.2x) on clusters where all-to-all communication consumes ~45% on average (up to 67%) of training time. | compression applied to forward activations (less error-tolerant than gradients) so needs residual compensation; evaluated on 4-node 200Gb/s clusters, not HPC-scale superpods; no kernel-level microbenchmarks | high | full-text | Quantifies the all-to-all bottleneck in MoE training (45-67% of time) and attacks it via communication-volume compression. |
| ohayon2025blocksparsefa | 2025 | framework | Llama-3.1-8B; RULER long-context benchmarks at 32K/64K/128K sequences; A100 GPUs; CUDA drop-in for FlashAttention | prefill latency speedup and accuracy retention vs FlashAttention and SpargeAttention | Block-Sparse FlashAttention computes exact QK scores and prunes ~50% of blocks via per-layer/per-head calibrated thresholds (training-free), giving up to 1.10x speedup on reasoning benchmarks and 1.24x on needle-in-a-haystack for Llama-3.1-8B while keeping >=99% baseline accuracy. | inference/prefill-focused (no training/backward gains); requires one-time threshold calibration per model; speedups modest (<=1.24x); evaluated on A100 only | high | full-text | Content-based (score-gated) block sparsity beats quantization-based SpargeAttention (0.86-0.99x) in their benchmarks. |
| osama2023streamk | 2023 | benchmark | 32,824 GEMM problem geometries; NVIDIA A100; FP64 and FP16->FP32; CUTLASS/cuBLAS baselines | GEMM throughput/utilization vs tile-based libraries; quantization efficiency | Stream-K's work-centric decomposition (splitting inner-loop iterations across SMs) reaches peak speedups of up to 14x (FP64) and 6.7x (FP16) over CUTLASS/cuBLAS across 32,824 GEMM geometries with a single tile-size configuration per precision, where data-parallel tiling can be capped at 75-90% of rated throughput by wave quantization. | GEMM-only (no attention/training end-to-end); per-GPU single-device; memory-bound regimes can regress (noted as future work); no TFLOPS figures for LLM workloads | high | full-text | Key idea: persistent-CTA work-stealing-style inner-loop partition eliminates wave quantization waste in GEMM kernels. |
| osorio2022bf16fma | 2022 | theoretical | ResNet101 training; proposed BF16-only FMA hardware operators (FMA^bf16_n_m); no silicon results in abstract | training accuracy parity with FP32 and execution-time improvement | Proposes the first BF16-only FMA operator family (no FP32 FMA units) that trains complex DNNs to FP32-equivalent accuracy, achieving 1.28-1.35x performance improvement on ResNet101 versus FP32 (abstract-only evidence). | abstract-only (no full text available); hardware design without silicon validation reported in abstract; single benchmark (ResNet101); not LLM-specific | low | abstract-only | Hardware-angle evidence that mantissa-reduced BF16-only arithmetic can sustain FP32-level training accuracy. |
| pagliardini2023sparseflash | 2023 | framework | Transformer LM on enwik8 (12 blocks, 768 hidden, 8 heads); MNIST autoregressive; Triton kernels; sequences 8k/16k tokens | training speedup vs FlashAttention at equal perplexity | Sparse FlashAttention (QK-dropping and hash-sparse patterns implemented with no complexity overhead) increases transformer LM training speed 2.0x at 8k and 3.3x at 16k sequence lengths over FlashAttention without sacrificing perplexity. | small (enwik8-scale) models; requires choosing sparsity structure; sorting/alloc overhead for compact tensors; speedups grow with sequence length only | high | full-text | Shows dynamic (hash/QK-drop) sparsity can beat static patterns (Reformer) and speed up training, not just inference. |
| peng2023fp8lm | 2023 | framework | GPT-125M/7B/13B/175B on H100 80GB; TP/PP/SP; pretraining, SFT, RLHF; Megatron-LM and TransformerEngine baselines | training throughput, GPU memory, MFU vs BF16 baseline | FP8-LM applies FP8 to gradients, all-reduce, optimizer states, and tensor-parallel communication, training GPT-175B on H100 with 39% lower real memory usage and 75% faster than Megatron-LM BF16 (37% faster than NVIDIA Transformer Engine), and SFT with -14% memory and +27% throughput at equal model quality. | H100-specific; system numbers reported for GPT-175B flagship config (MFU 45.0% -> 63.4% per table); accuracy claims rely on per-tensor scaling; no attention-kernel-level FP8 detail | high | full-text | End-to-end FP8 training framework (MS-AMP) showing memory and speed gains come from gradients/optimizer/comm, not just matmuls. |
| qiu2025lowprecisionfa | 2025 | theoretical | GPT-2 with BF16 flash attention; 4x A100 80GB DDP; 524,288 tokens per optimization step; BF16 fwd / FP32 bwd | mechanistic explanation of loss explosion and stabilization via rounding-bias mitigation | Provides the first mechanistic account of the BF16 flash-attention loss explosion (similar low-rank attention representations compounded by biased rounding errors), and shows a minimal softmax-normalization tweak that eliminates the rounding bias restores stable convergence where the standard configuration diverged. | analysis at GPT-2 scale on 4 GPUs; fix is a targeted softmax modification, not a general FP8 recipe; no throughput/speedup claims; failure specific to low-precision flash attention | high | full-text | Explains WHY low-precision flash-attention training fails numerically - crucial caution for FP8 kernel adoption in training. |
| rajbhandari2022deepspeedmoe | 2022 | framework | MoE NLG models trained on 300B tokens vs GPT-3/MT-NLG dense baselines; DeepSpeed library; PR-MoE + Mixture-of-Students compression | training cost reduction, model-size compression, inference latency/cost | DeepSpeed-MoE shows MoE NLG training reaches dense quality at 5x less training cost, compresses MoE model size by up to 3.7x (PR-MoE + knowledge distillation), and its inference system is 7.3x better in latency and cost than prior MoE inference solutions and 4.5x faster/9x cheaper than quality-equivalent dense models. | inference-system focus with paper-level (not kernel-level) detail; model compression relies on distillation; Residual-MoE training gain only ~10% over Top2-MoE; numbers are system-level, not per-kernel | high | full-text | Establishes the MoE training-cost argument (5x) and that expert-parallel inference needs its own optimized kernels/communication. |
| rouhani2023microscaling | 2023 | theoretical | 20+ benchmarks (vision + NLP); generative transformer LMs; MXINT8/MXFP8/MXFP6/MXFP4 formats emulated on GPUs via custom CUDA/PyTorch library | accuracy vs FP32 for direct-cast inference, finetuned inference, and training | Microscaling (MX) formats with per-block scaling work as low-friction FP32 drop-ins across 20+ benchmarks, and 6-bit MX enables the first sub-8-bit training of generative LMs with weights/activations/gradients matching FP32 accuracy with no training-recipe changes, while 4-bit MX weights incur only a minor accuracy drop. | emulation-based (no native MX hardware); 4-bit demonstrated for weights only; accuracy loss for 4-bit described qualitatively as 'minor'; no kernel speedup/throughput numbers | moderate | full-text | Format-level evidence that per-block scaling (MX) extends below FP8 for training, relevant to future narrow-precision training kernels. |
| saha2024iocomplexity | 2024 | theoretical | n/a (two-level memory hierarchy model, cache size M, head dim d) | I/O complexity bounds for attention vs FlashAttention | Proves FlashAttention's I/O complexity N^2*d^2/M is optimal within constant factors for all M >= d^2, and gives an improved optimal algorithm for M < d^2, even when fast matrix multiplication is used. | purely theoretical; no empirical benchmarks or GPU measurements; abstract two-level memory model | high | full-text | First work connecting communication complexity to I/O complexity; resolves FlashAttention optimality question in full generality. |
| shah2024flashattention3 | 2024 | benchmark | NVIDIA H100 SXM5 GPUs (clock fixed 1830MHz), FP16/BF16/FP8, head dims 64/128/256, seq len 512-16k | TFLOPs/s and speedup vs FlashAttention-2 (forward and backward) | FlashAttention-3 achieves 1.5-2.0x forward and 1.5-1.75x backward speedup over FlashAttention-2 on H100, reaching 740 TFLOPs/s (75% utilization) in FP16 and close to 1.2 PFLOPs/s in FP8, with FP8 block-quantized attention 2.6x more accurate than per-tensor quantization. | Hopper-specific (TMA, WGMMA, warp specialization); FP8 accuracy validated on attention but large-scale training effects deferred to future work | high | full-text | Warp-specialized producer/consumer asynchrony with pingpong scheduling and GEMM-softmax pipelining; first attention kernel exploiting Hopper async hardware. |
| sharma2024maskdispatch | 2024 | benchmark | RTX 3060 6GB, bf16, batch 4, 32 heads, Triton kernels; masks from MEDUSA/ALPACA/Longformer, up to 340x340 attention matrices | total runtime (forward+backward) vs FlashAttention on masked attention | Binary Block Masking (BinBlkMsk) delivers up to 9x runtime improvement over FlashAttention on real-world sparse masks, with RCM preprocessing reducing the number of processed blocks by up to 90%. | single consumer GPU; gains highly dependent on mask fill pattern; Triton kernels not integrated with production FlashAttention; speedup minimal at small (340x340) scales | high | full-text | Mask-aware FlashAttention modification with contiguous-nonzero and extremely-sparse optimizations; exact (not approximate) attention. |
| spector2024thunderkittens | 2024 | framework | NVIDIA H100 80GB SXM, CUDA 12.6; GEMM up to 16384^3, attention B,H,N,D=16,16,3072,128 | TFLOPS and relative speedup vs CuBLAS, FlashAttention-3, and strongest baselines | ThunderKittens matches CuBLAS and FlashAttention-3 on GEMM and attention inference (GEMM up to 805 TFLOPS, attention forward ~600 TFLOPS) and outperforms strongest baselines by 10-40% on attention backward, up to 8x on state space models, and up to 14x on linear attention. | some speedups (SSM/linear attention) vs weaker baselines; performance tuned to H100; framework young and hardware-specific | high | full-text | Three-level abstractions (16x16 warp tiles, thread-block async template, grid-level persistent launch) map directly to GPU hierarchy. |
| sun2026vfa | 2026 | benchmark | modern accelerator with C16V32/C8V32/C4V32/C4V16 configs (hardware unspecified); downstream checks on MMLU and MATH500 | kernel latency breakdown (vector vs tensor vs exponential) and speedup vs C16V32 baseline | Vector Relieved Flash Attention cuts the vector/SIMD (online-softmax reduction) latency share from ~77% to ~46% and achieves ~2x speedup over the C16V32 baseline in C8V32/C4V32/C4V16 configs, with a projected 6x for C4V16 on upcoming hardware. | target hardware details vague; ~2x figure is relative speedup and part of the 6x is projected on future architecture; no absolute TFLOPs reported | moderate | full-text | Approximates running-maximum initialization from key-block summaries, reorders key-block traversal (sink/local first), and freezes the maximum to remove rescale chains; integrates with BLASST sparsity as VSA. |
| tillet2019triton | 2019 | framework | n/a | n/a (no quantitative results in available text) | No numbers reported in the available abstract; introduces Triton, a language and compiler for specifying custom deep-learning kernels at minimal performance cost without vendor-library dependence. | abstract-only and truncated (openalex intro paragraph); no experimental numbers or evaluation details available | low | abstract-only | Foundational Triton DSL/compiler paper motivating portable custom kernels for operations cuBLAS/cuDNN cannot cover. |
| tschand2026jaxbench | 2026 | benchmark | Google Cloud TPU v6e (918 TFLOPS bf16, 1640 GB/s HBM, 128 MiB VMEM); 50 JAX workloads from Llama-3.1/DeepSeek-V3/Mixtral/Mamba-2/AlphaFold2 plus 33 KernelBench ports; 8 hand-tuned Pallas baselines | AI-generated Pallas kernel correctness and speedup vs XLA baseline | Conditioning on curated TPU documentation raises per-sample correctness from 5.8% to 37.3% and solves 48/50 benchmarks at 1.28x geomean speedup; Autocomp's beam search reaches 1.36x overall (1.60x on the 8 hand-tuned kernels) vs XLA, recovering most of the 2.08x Tokamax upper bound. | single-device only (multi-chip and collectives out of scope); TPU-specific; matmul-fused and linear/MoE kernels already reach 60-95% MXU utilization under XLA so headroom is mainly in memory-bound kernels | high | full-text | First TPU-native benchmark suite for autonomous kernel optimization, with expert Pallas upper-bound baselines and reproducibility harness. |
| wang2018fp8training | 2018 | simulation | CIFAR10-CNN, CIFAR10-ResNet, BN50-DNN, AlexNet, ResNet18, ResNet50 on CIFAR10/ImageNet; FP8 (1,5,2) emulated on NVIDIA GPUs | test error vs FP32 baseline; projected hardware throughput | First successful FP8 DNN training preserving accuracy (e.g., ResNet18 ImageNet test error 42.45% vs 41.96% FP32 baseline) using chunk-based accumulation and floating-point stochastic rounding, with 2x memory-footprint reduction and a projected 2-4x throughput gain on future FP8 hardware. | FP8 arithmetic emulated on FP16/FP32 hardware (no native FP8 tensor cores); 2-4x speedup is potential, not measured; emulation skipped some preprocessing/augmentation steps | moderate | full-text | Foundational FP8 training paper; chunk-based accumulation and stochastic rounding overcome 8-bit gradient fidelity limits. |
| wang2025fp4train | 2025 | framework | 1.3B/7B/13B LLMs trained on up to 100B tokens (seq 2048, ~4M tokens/batch), FP4 emulated on H100 FP8 tensor cores | training loss and zero-shot accuracy vs BF16/FP8; theoretical FLOPs speedup | First FP4 LLM training framework (differentiable gradient estimator + outlier clamping/compensation) trains 13B models on 100B tokens with minor loss gap (e.g., 7B: 2.17 vs 2.07 BF16) and a theoretical ~3.12x Transformer-layer speedup, though speedup is not directly measured without native FP4 hardware. | FP4 emulated via FP8 tensor cores so speedup is theoretical only; small loss gap persists at scale; quantization kernel implemented via lookup table | high | full-text | DGE estimator corrects STE bias and clamp-compensation prevents activation collapse from FP4 outliers. |
| xu2026rails | 2026 | framework | MoE training on Rail (deterministic topology) multi-NIC architectures; synthetic and Mixtral workloads | all-to-all completion time, bus bandwidth utilization, iteration time | RailS improves bus bandwidth by 20-78% and reduces all-to-all completion time by 17-78% (Mixtral iteration time by 18-40%) by proving uniform sending guarantees uniform receiving on Rail topologies and scheduling via local LPT spraying over N parallel rails. | abstract-only (no full text available); results specific to Rail topology; no cross-topology generality claimed | moderate | abstract-only | Turns global MoE load balancing into local scheduling by exploiting Rail symmetry; near-optimal load balance with zero auxiliary loss. |
| yang2023gla | 2023 | benchmark | 340M (15B tokens) and 1.3B (100B tokens) Transformers on SlimPajama, A100 GPUs, seq 512-32k | training throughput (tokens/s), perplexity, length generalization | FlashLinearAttention is faster than FlashAttention-2 even at short sequences (e.g., 1K), and the GLA Transformer trains with higher throughput than a same-size Mamba model while matching Transformer++/RetNet perplexity and generalizing from 2K training to >20K sequences. | moderate scale (max 1.3B); parallel form increases memory footprint ~10-20% (mitigated by recomputation); no absolute TFLOPs/s or % speedup numbers reported | high | full-text | I/O-aware chunkwise linear attention trading memory movement against parallelizability; hardware-efficient gated linear attention training. |
| zhang2025moss | 2025 | framework | OLMo-7B pretraining (~22B tokens; MOSS run 144B tokens), 8x H800 GPUs, seq 2048, custom Triton FP8 GEMM kernels | training throughput (tokens/s) and perplexity vs BF16 and COAT | MOSS achieves 34% (1.34x) higher end-to-end training throughput than BF16 on OLMo-7B (45,374 vs 33,805 tokens/s) and 12.3% over the FP8 framework COAT with comparable perplexity, using two-level microscaling and automatic scaling that cut per-step scaling overhead from 3.8ms (JIT) to 0.2ms. | single model scale (7B); Triton GEMM kernels not fully production-tuned (vs DeepGEMM); long 144B-token MOSS run lacks full BF16/COAT retrain comparisons | high | full-text | Eliminates JIT-scaling dequantization overhead inside FP8 GEMM via two-level microscaling (global + power-of-two local scales) and prediction-based automatic weight scaling. |
| zheng2025tritondist | 2025 | framework | up to 64 devices: 8x H800 nodes (NVLink ~170 GB/s + CX7 400Gb/s RDMA) and AMD MI308X (full-mesh 7x50 GB/s); MoE AllGather/ReduceScatter/AllToAll and GEMM+comm fused workloads | speedup vs PyTorch+NCCL/RCCL and FLUX | Triton-distributed generates overlapping distributed kernels with speedups of 1.09x-44.97x vs PyTorch+NCCL across workloads (e.g., 1.42x average intra-node AllGather+GEMM on 8 H800s, 1.33x average ReduceScatter reaching 95.6% of FLUX performance), often beating hand-optimized code. | standalone GEMM reaches only ~95% of cuBLAS/CUTLASS; gains workload- and topology-dependent; requires OpenSHMEM-style primitives and compiler support | high | full-text | First compiler extension with native compute-memory-communication overlapping for distributed AI workloads; high-level Python programming model. |
| zhou2022expertchoice | 2022 | benchmark | T5-style MoE from 0.1B/16E to 8B/64E (143B total params) pretrained on GLaM 1.6T-token dataset; Switch top-1 and GShard top-2 baselines; GLUE/SuperGLUE fine-tuning | training convergence (steps to target perplexity) and downstream accuracy | Expert-choice routing trains >2x faster to the same perplexity than Switch top-1/GShard top-2 in the 8B/64E setting (each GShard top-2 step ~20% slower due to load imbalance), gains >2% average accuracy over baselines at equal compute, and beats a T5 11B dense model on 7/11 tasks. | routing-level contribution; assumes fixed expert capacity so drop-in kernels unchanged; token-choice baselines waste 20-40% over-capacity; auxiliary-loss-free balance relies on top-k token selection | high | full-text | Experts select top-k tokens instead of tokens selecting experts: perfect load balance without auxiliary loss and heterogeneous per-token expert counts. |
| zhou2025fp4pretrain | 2025 | framework | GPT-2-small/mid (~10B tokens) and GPT-2-large (~25B tokens), seq 4K, GLUE evaluation | validation loss/perplexity and theoretical computation cost vs FP16 and FP4/FP8 mixes | Mixed-precision FP4 pretraining (FP8 attention + FP4 FFN + FP8 backward) reaches val loss 2.2225 vs 2.1998 for FP16 on GPT-2-mid at ~66% theoretical computation cost (fully-FP4 variant 57.1%), stabilized by a target-precision schedule that runs only 5-10% of steps in FP16. | computation cost is theoretical (no FP4 hardware); GPT-2 scale only; requires FP16 refinement phase; attention must be protected from FP4 (underflow ~8.6% weights / 18% activations) | high | full-text | Module- and stage-adaptive precision recipe: attention-protected neighbor linear, gradient-sensitive FFN linear, and target-precision training schedule. |
| zhu2026sawtooth | 2026 | benchmark | NVIDIA GB10 (Grace Blackwell, 48 SMs, 24 MiB L2, ~301 GB/s raw / ~600 GB/s aggregate BW); FlashAttention forward kernel with WMMA Tensor Cores, split-Q dataflow; CUDA tile 80x80 and CuTile 64x64; seq len 128x1024, batch 8, head dim 64; also seq 32K/128K analysis | L2 cache miss count/sectors and kernel throughput (TFLOPS) | Sawtooth Wavefront Reordering (alternating KV traversal order across CTA wavefronts) reduced L2 misses by 50% (CUDA) and ~67% (CuTile, 370M to 120M sectors) and raised FlashAttention forward throughput from 1.3 to 2.4 TFLOPS on raw CUDA, and from 61 to 69 TFLOPS (+13%, non-causal) and 41 to 66 TFLOPS (+60%, causal) on CuTile on GB10. | Forward attention only (no training/backward pass); single GPU/workload (GB10, FlashAttention); analytical L2 model assumes single-batch single-head; technique degrades when tile size exceeds L1Tex capacity (compiler tile splitting alters pattern, left as future work) | high | full-text | Cache-behavior analysis of CuTile FlashAttention identifies L2 non-compulsory misses from synchronized CTA wavefronts as the bottleneck, and shows a scheduler-level reordering (sawtooth) transfers to high-level DSLs like CuTile |
Swipe sideways to see all columns.
References
- (2024). System Optimizations for Enabling Training of Extreme Long Sequence Transformer Models — 2024 IEEE International Parallel and Distributed Processing Symposium Workshops (IPDPSW). Full text read. resolved this session (arXiv/Crossref/OpenAlex)doi:10.1109/ipdpsw63119.2024.00208
- (2019). Triton: an intermediate language and compiler for tiled neural network computations — Proceedings of the 3rd ACM SIGPLAN International Workshop on Machine Learning and Programming Languages. Abstract only. resolved this session (arXiv/Crossref/OpenAlex)doi:10.1145/3315508.3329973
- (2022). Mixture-Of-Experts with Expert Choice Routing — Advances in Neural Information Processing Systems 35. Full text read. resolved this session (arXiv/Crossref/OpenAlex)doi:10.52202/068431-0515
- (2024). The I/O Complexity of Attention, or How Optimal is Flash Attention? — arXiv (Cornell University). Full text read. resolved this session (arXiv/Crossref/OpenAlex)doi:10.48550/arxiv.2402.07443
- (2023). Striped Attention: Faster Ring Attention for Causal Transformers — arXiv (Cornell University). Full text read. resolved this session (arXiv/Crossref/OpenAlex)doi:10.48550/arxiv.2311.09431
- (2024). LoongTrain: Efficient Training of Long-Sequence LLMs with Head-Context Parallelism — arXiv (Cornell University). Full text read. resolved this session (arXiv/Crossref/OpenAlex)doi:10.48550/arxiv.2406.18485
- (2021). 8-bit Optimizers via Block-wise Quantization — arXiv preprint. Full text read. resolved this session (arXiv/Crossref/OpenAlex)doi:10.48550/arxiv.2110.02861
- (2024). Mixture of A Million Experts — arXiv preprint. Full text read. resolved this session (arXiv/Crossref/OpenAlex)doi:10.48550/arxiv.2407.04153
- (2020). Sparse GPU Kernels for Deep Learning — arXiv preprint. Full text read. resolved this session (arXiv/Crossref/OpenAlex)doi:10.1109/sc41405.2020.00021
- (2024). Exploring Quantization for Efficient Pre-Training of Transformer Language Models — arXiv preprint. Full text read. resolved this session (arXiv/Crossref/OpenAlex)doi:10.18653/v1/2024.findings-emnlp.787
- (2022). FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awareness — arXiv (Cornell University). Full text read. landmark: FlashAttentiondoi:10.48550/arxiv.2205.14135
- (2023). FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioning — arXiv (Cornell University). Full text read. landmark: FlashAttention-2doi:10.48550/arxiv.2307.08691
- (2024). FlashAttention-3: Fast and Accurate Attention with Asynchrony and Low-precision — Advances in Neural Information Processing Systems 37. Full text read. landmark: FlashAttention-3doi:10.52202/079017-2193
- (2024). Flex Attention: A Programming Model for Generating Optimized Attention Kernels — arXiv (Cornell University). Full text read. landmark: FlexAttentiondoi:10.48550/arxiv.2412.05496
- (2024). Liger Kernel: Efficient Triton Kernels for LLM Training — arXiv (Cornell University). Full text read. landmark: Liger Kerneldoi:10.48550/arxiv.2410.10989
- (2023). FP8-LM: Training FP8 Large Language Models — arXiv (Cornell University). Full text read. landmark: FP8-LMdoi:10.48550/arxiv.2310.18313
- (2025). MOSS: Efficient and Accurate FP8 LLM Training with Microscaling and Automatic Scaling — arXiv (Cornell University). Full text read. landmark: MOSS FP8doi:10.48550/arxiv.2511.05811
- (2025). Towards Fully FP8 GEMM LLM Training at Scale — Advances in Neural Information Processing Systems 38. Full text read. landmark: Fully FP8 GEMMdoi:10.52202/085713-1896
- (2025). $\mu$nit Scaling: Simple and Scalable FP8 LLM Training — arXiv (Cornell University). Full text read. landmark: mu-nit Scalingdoi:10.48550/arxiv.2502.05967
- (2018). Training Deep Neural Networks with 8-bit Floating Point Numbers — arXiv (Cornell University). Full text read. landmark: 8-bit FP trainingdoi:10.48550/arxiv.1812.08011
- (2022). FP8 Formats for Deep Learning — arXiv preprint. Full text read. landmark: FP8 Formatsdoi:10.48550/arxiv.2209.05433
- (2023). Microscaling Data Formats for Deep Learning — arXiv preprint. Full text read. landmark: Microscalingdoi:10.48550/arxiv.2310.10537
- (2023). Stream-K: Work-centric Parallel Decomposition for Dense Matrix-Matrix Multiplication on the GPU — arXiv preprint. Full text read. landmark: Stream-Kdoi:10.48550/arxiv.2301.03598
- (2022). MegaBlocks: Efficient Sparse Training with Mixture-of-Experts — arXiv (Cornell University). Full text read. landmark: MegaBlocksdoi:10.48550/arxiv.2211.15841
- (2022). Tutel: Adaptive Mixture-of-Experts at Scale — arXiv (Cornell University). Full text read. landmark: Tuteldoi:10.48550/arxiv.2206.03382
- (2022). FasterMoE — Proceedings of the 27th ACM SIGPLAN Symposium on Principles and Practice of Parallel Programming. Abstract only. landmark: FasterMoEdoi:10.1145/3503221.3508418
- (2025). FlashMoE: Fast Distributed MoE in a Single Kernel — Advances in Neural Information Processing Systems 38. Full text read. landmark: FlashMoEdoi:10.52202/085713-3368
- (2025). SonicMoE: Accelerating MoE with IO and Tile-aware Optimizations — arXiv (Cornell University). Full text read. landmark: SonicMoEdoi:10.48550/arxiv.2512.14080
- (2023). Ring Attention with Blockwise Transformers for Near-Infinite Context — arXiv (Cornell University). Full text read. landmark: Ring Attentiondoi:10.48550/arxiv.2310.01889
- (2021). Switch Transformers: Scaling to Trillion Parameter Models with Simple and Efficient Sparsity — arXiv (Cornell University). Full text read. landmark: Switch Transformersdoi:10.48550/arxiv.2101.03961
- (2020). GShard: Scaling Giant Models with Conditional Computation and Automatic Sharding — arXiv preprint. Full text read. landmark: GSharddoi:10.48550/arxiv.2006.16668
- (2024). DeepSeekMoE: Towards Ultimate Expert Specialization in Mixture-of-Experts Language Models — Proceedings of the 62nd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers). Full text read. landmark: DeepSeekMoEdoi:10.18653/v1/2024.acl-long.70
- (2023). Pre-gated MoE: An Algorithm-System Co-Design for Fast and Scalable Mixture-of-Expert Inference — arXiv preprint. Full text read. landmark: Pre-gated MoEdoi:10.48550/arxiv.2308.12066
- (2024). DeepSeek-V2: A Strong, Economical, and Efficient Mixture-of-Experts Language Model — arXiv preprint. Full text read. landmark: DeepSeek-V2doi:10.48550/arxiv.2405.04434
- (2024). DeepSeek-V3 Technical Report — arXiv preprint. Full text read. landmark: DeepSeek-V3doi:10.48550/arxiv.2412.19437
- (2025). DeepSeek-V3.2: Pushing the Frontier of Open Large Language Models — arXiv (Cornell University). Full text read. landmark: DeepSeek-V3.2doi:10.48550/arxiv.2512.02556
- (2025). Muon is Scalable for LLM Training — arXiv preprint. Full text read. landmark: Muondoi:10.48550/arxiv.2502.16982
- (2021). Optimizer Fusion: Efficient Training with Better Locality and Parallelism — arXiv preprint. Full text read. landmark: Optimizer Fusiondoi:10.48550/arxiv.2104.00237
- (2023). Gated Linear Attention Transformers with Hardware-Efficient Training — arXiv (Cornell University). Full text read. landmark: Gated Linear Attentiondoi:10.48550/arxiv.2312.06635
- (2023). Faster Causal Attention Over Large Sequences Through Sparse Flash Attention — arXiv (Cornell University). Full text read. landmark: Sparse Flash Attentiondoi:10.48550/arxiv.2306.01160
- (2025). Why Low-Precision Transformer Training Fails: An Analysis on Flash Attention — arXiv preprint. Full text read. landmark: Low-Precision FA failuredoi:10.48550/arxiv.2510.04212
- (2024). Is Flash Attention Stable? — arXiv preprint. Full text read. landmark: Is Flash Attention Stabledoi:10.48550/arxiv.2405.02803
- (2024). Enhancing Training Efficiency Using Packing with Flash Attention — arXiv preprint. Full text read. landmark: Packing FA trainingdoi:10.48550/arxiv.2407.09105
- (2024). Reducing the Cost of Dropout in Flash-Attention by Hiding RNG with GEMM — arXiv preprint. Full text read. landmark: Dropout FAdoi:10.48550/arxiv.2410.07531
- (2024). Efficiently Dispatching Flash Attention For Partially Filled Attention Masks — arXiv preprint. Full text read. landmark: Dispatching FA masksdoi:10.48550/arxiv.2409.15097
- (2026). VFA: Relieving Vector Operations in Flash Attention with Global Maximum Pre-computation — arXiv preprint. Full text read. landmark: VFAdoi:10.48550/arxiv.2604.12798
- (2026). DualKV: Shared-Prompt Flash Attention for Efficient RL Training with Large Rollouts and Long Contexts — arXiv preprint. Full text read. landmark: DualKV RL trainingdoi:10.48550/arxiv.2605.15422
- (2026). Sawtooth Wavefront Reordering: Enhanced CuTile FlashAttention on NVIDIA GB10 — arXiv preprint. Full text read. landmark: Sawtooth CuTiledoi:10.48550/arxiv.2601.16032
- (2025). Block Sparse Flash Attention — arXiv preprint. Full text read. landmark: Block Sparse FAdoi:10.48550/arxiv.2512.07011
- (2024). INT-FlashAttention: Enabling Flash Attention for INT8 Quantization — arXiv preprint. Full text read. landmark: INT-FlashAttentiondoi:10.48550/arxiv.2409.16997
- (2023). A Case Study in CUDA Kernel Fusion: Implementing FlashAttention-2 on NVIDIA Hopper Architecture using the CUTLASS Library — arXiv (Cornell University). Full text read. landmark: FA2 Hopper case studydoi:10.48550/arxiv.2312.11918
- (2026). Cross-Platform Fused MoE Dispatch in Triton: Portable Expert Routing Without CUDA — arXiv (Cornell University). Full text read. landmark: Cross-platform MoE dispatchdoi:10.48550/arxiv.2605.23911
- (2025). Triton-distributed: Programming Overlapping Kernels on Distributed AI Systems with the Triton Compiler — arXiv (Cornell University). Full text read. landmark: Triton-distributeddoi:10.48550/arxiv.2504.19442
- (2026). Correct but Slow: An Empirical Study of the GPU Kernel Evaluation Gap in Modern Domain-Specific Languages — arXiv (Cornell University). Full text read. landmark: Correct but Slowdoi:10.48550/arxiv.2607.04454
- (2024). ThunderKittens: Simple, Fast, and Adorable AI Kernels — arXiv (Cornell University). Full text read. landmark: ThunderKittensdoi:10.48550/arxiv.2410.20399
- (2023). Benchmarking GPU Tensor Cores on General Matrix Multiplication Kernels through CUTLASS — Applied Sciences. Abstract only. landmark: CUTLASS benchmarkingdoi:10.3390/app132413022
- (2024). FLUX: Fast Software-based Communication Overlap On GPUs Through Kernel Fusion — arXiv (Cornell University). Full text read. landmark: FLUXdoi:10.48550/arxiv.2406.06858
- (2025). Tiled Flash Linear Attention: More Efficient Linear RNN and xLSTM Kernels — Advances in Neural Information Processing Systems 38. Full text read. landmark: Tiled Flash Linear Attentiondoi:10.52202/085713-2522
- (2026). Low-Precision Training of Large Language Models: Methods, Challenges, and Opportunities — IEEE Transactions on Pattern Analysis and Machine Intelligence. Abstract only. landmark: Low-Precision Training LLM surveydoi:10.1109/tpami.2026.3718968
- (2024). Scaling FP8 training to trillion-token LLMs — arXiv (Cornell University). Full text read. landmark: Scaling FP8 trillion-tokendoi:10.48550/arxiv.2409.12517
- (2024). To FP8 and Back Again: Quantifying Reduced Precision Effects on LLM Training Stability — arXiv (Cornell University). Full text read. landmark: To FP8 and Back Againdoi:10.48550/arxiv.2405.18710
- (2022). A BF16 FMA is All You Need for DNN Training — IEEE Transactions on Emerging Topics in Computing. Abstract only. landmark: BF16 FMAdoi:10.1109/tetc.2022.3187770
- (2025). Optimizing Large Language Model Training Using FP4 Quantization — arXiv (Cornell University). Full text read. landmark: FP4 quantization trainingdoi:10.48550/arxiv.2501.17116
- (2025). Towards Efficient Pre-training: Exploring FP4 Precision in Large Language Models — arXiv preprint. Full text read. landmark: FP4 pre-trainingdoi:10.48550/arxiv.2502.11458
- (2026). JAXBench: Benchmarking Autonomous TPU Kernel Optimization — arXiv preprint. Full text read. landmark: JAXBenchdoi:10.48550/arxiv.2607.20466
- (2026). NCCL EP: Towards a Unified Expert Parallel Communication API for NCCL — arXiv preprint. Full text read. landmark: NCCL EPdoi:10.48550/arxiv.2603.13606
- (2026). UBEP: Re-architecting Expert Parallelism Communication Library for Production Superpods — arXiv preprint. Full text read. landmark: UBEPdoi:10.48550/arxiv.2607.06202
- (2024). Shortcut-connected Expert Parallelism for Accelerating Mixture-of-Experts — arXiv (Cornell University). Full text read. landmark: Shortcut-connected EPdoi:10.48550/arxiv.2404.05019
- (2024). LSH-MoE: Communication-efficient MoE Training via Locality-Sensitive Hashing — arXiv (Cornell University). Full text read. landmark: LSH-MoEdoi:10.48550/arxiv.2411.08446
- (2022). DeepSpeed-MoE: Advancing Mixture-of-Experts Inference and Training to Power Next-Generation AI Scale — arXiv (Cornell University). Full text read. landmark: DeepSpeed-MoEdoi:10.48550/arxiv.2201.05596
- (2026). Untied Ulysses: Memory-Efficient Context Parallelism via Headwise Chunking — arXiv (Cornell University). Full text read. landmark: Untied Ulyssesdoi:10.48550/arxiv.2602.21196
- (2024). WASP: Exploiting GPU Pipeline Parallelism with Hardware-Accelerated Automatic Warp Specialization — 2024 IEEE International Symposium on High-Performance Computer Architecture (HPCA). Abstract only. landmark: WASPdoi:10.1109/hpca57654.2024.00086
- (2025). PipeMesh: Achieving Memory-Efficient Computation-Communication Overlap for Training Large Language Models — IEEE Transactions on Parallel and Distributed Systems. Abstract only. landmark: PipeMeshdoi:10.1109/tpds.2025.3583983
- (2026). RailS: Load Balancing for All-to-All Communication in Distributed Mixture-of-Experts Training — IEEE Transactions on Networking. Abstract only. landmark: RailSdoi:10.1109/ton.2026.3676382
- (2024). PyTorch 2: Faster Machine Learning Through Dynamic Python Bytecode Transformation and Graph Compilation — International Conference on Architectural Support for Programming Languages and Operating Systems. Abstract only. landmark: PyTorch 2doi:10.1145/3620665.3640366