Explore the research collection
3 entries · Follow this search
- Paper
Generalized Tensor Parallelism: Powering Trillion-Parameter LLM Training at 10+ EFLOP/s
Fan et al. (NVIDIA), 'Generalized Tensor Parallelism: Powering Trillion-Parameter LLM Training at 10+ EFLOP/s' (arXiv 2611.32057, Nov 24 2026, CC BY 4.0; implementation open source in Megatron-LM / Megatron-Core + TransformerEngine, marked experimental, requires TE >= 2.19). For linear layers, the five standard parallelisms - data, tensor, sequence, context parallelism and FSDP - are special cases of one framework, generalized tensor parallelism (GTP): each layer's parameters are partitioned along a hidden dimension and activations along the token dimension, and either can be re-materialized with an all-gather before use. The operative move: in GTP a parameter all-gather is an optional preprocessing step on one input of a single GEMM, whereas FSDP implementations treat it as a step before an entire Transformer block, inflating memory and delaying GEMMs - so all-gathers can be scheduled per GEMM, issued early enough to hide the communication but late enough to limit memory. In the implementation this factors as GTP = TP x GTP_remat, where GTP_remat is ZeRO-3-style sharding of weight + gradient + optimizer state on top of TP, with per-weight materialization, a prefetch chain, and low-precision gathers (FP8 / MXFP8 / NVFP4) composing with the sharding; supports dense and MoE models with AdamW and Muon. Results (first-party, internal model): an internal 2T-parameter MoE reaches 13.0 model EFLOP/s at 8K sequence length on 12,288 GB300 GPUs with 98% weak-scaling efficiency (4,096 -> 12,288 GPUs), and the full model runs with 1M-token sequences on 512 GPUs; on 256-1,024 GPUs, 1.05-1.55x the throughput of Megatron-FSDP across three MoE models and 1.27-1.31x a tuned 3D-parallel recipe with pipeline parallelism on a DeepSeek-V4-Pro proxy. Flags, as entered: NVIDIA first-party throughout; the headline 2T model is internal and unreleased; all evidence is at 256+ GPU scale, so nothing here transfers directly to the user's 250M single-node runs - the catalog value is the unification (five parallelisms as one framework) and the per-GEMM communication-scheduling principle, plus native Muon support in Megatron-Core's distributed path.
- Paper
Learning to Compute Is Not Learning to Retain or Reuse in Looped Transformers
Separates three independently-learnable skills: computing an answer, retaining it across extra loops, keeping the hidden state reusable by later computation. Setting: in-context execution of Mealy machines (state-tracking), simulator giving exact intermediate targets and counterfactual continuations; 2-layer shared block (width 128, 4 heads, MLP 512, no positional/loop embeddings), trained to exit at loop 32. Key results: final-only supervision is 100% at the trained exit but keeps 22.3% of answers at loop 64; supervising every position → 94.3%; supervising one uniformly-random position per example (same single-label density as final-only) → 99.8% retention; randomized exit budget raises loop-64 accuracy 30.0% → 85.6%; progressive training works in only 1/3 seeds vs 3/3 for the random-exit control (97.9% retention). Computation is exact — swapping a loop-k hidden vector for one from another input redirects every later position to that input's exact continuation (237/237 pairs across ten models) — but answers fade within a few loops. Retention ≠ reuse: freezing each position at the loop its answer first becomes readable crashes endpoint accuracy 100% → 4.1% (sampled-prefix) / 6.3% (matched random exit); waiting four more loops is harmless. External check: Bansal et al. (2022)'s released recurrent maze network solves 0 of 32 mazes when pixels are frozen at answer arrival, 4/4... all 32 when frozen four iterations later. Caveats (§7): one synthetic task family + one principal architecture; interventions don't identify a microscopic cause or general repair; six paired seeds for original comparisons, three for controls; sampled supervision still needs intermediate labels; finite-window retention ≠ hidden-state convergence or uniform length extrapolation.
- Paper
How Far Are We from Removing the Visual Encoder? Scaling Laws for Encoder-Free Multimodal Pretraining
Studies scaling laws for encoder-free multimodal pretraining (raw visual input into the language model, no separate vision encoder) and asks at what compute budget it catches up with encoder-based models.