Long-context costs and the limits of fast video generation

The September 10–16 issue covers 16 papers. Serving papers separate the costs of SSD expert reads, host KV index scans, and restoring recurrent state in hybrid models. Video papers ask whether models can infer a physical event from several modalities and whether fast distilled models still produce varied, plausible motion. Performance numbers retain the authors' model, hardware, workload, and comparison scope. Availability notes describe the projects at the time of this issue.

Long-context inference

1. SSD-LLaMA fits trillion-parameter MoE models with SSD storage

SSD-LLaMA packs expert weights into aligned blocks and combines concurrent direct reads, a fixed pinned-memory pool, and asynchronous host-to-device copies across SSD, RAM, and VRAM. Every routed expert executes. Its main setup uses an RTX 5090 with 32GB VRAM, 16GB host memory, and a 4TB NVMe SSD rated around 9 GiB/s for sequential I/O, at batch size one. Tests include DeepSeek-V4-Flash, Kimi-K2.7-Code, and GLM-5.2. In the DeepSeek setup, assigning some experts to CPU was slower. The final design executes experts on GPU while CPU manages I/O.

The paper's Kimi K3 extension reports 1.217 tokens/s for prefill and 0.465 tokens/s for decode, or about two seconds per generated token. Acceleration ranges vary between the abstract and main text, so use per-model measurements. Capacity feasibility does not establish comfortable interactivity. Quantization, disk capacity, actual random-read bandwidth, and generation rate still matter.

2. Fathom reduces host-side selection traffic for offloaded KV

Fathom targets sparse decode where a host index may be scanned in full before a few tokens reach attention. It divides four-bit keys into channel bit planes and uses the current query and statistics to vary bit depth by channel. The budget measures bits actually read.

On A100 with Qwen3-8B and a million-token context, comparison methods use four-bit storage. The 32-channel scan reads 136 bits including scale per token, layer, and KV head. Fathom reports up to 1.67× GPU decode-step speedup over these baselines. At equal GPU time versus 16-channel SparQ, it reads 18% fewer bytes and reduces attention error in six of seven settings. Benefits come from the host-index bottleneck. The paper does not see the same edge when the index resides entirely on GPU, and timing excludes queueing and CPU scheduling.

3. GLM-5.3-Flash cache recovery needs token counts and execution paths to match

Validating Hybrid-State Cache Recovery restores both attention KV and hybrid-layer state on the full 45-layer RedHatAI/GLM-5.3-Flash-NVFP4 model with tensor parallelism of four. A full cache hit can recover the prompt while the scheduler miscounts one token. Partial prefixes need exact alignment, and kernel selection and shared computation can cause divergence across ranks even with the same checkpoint.

After fixes, serial checks across nine lengths improve from 34/36 to 36/36 on the next 64 token IDs. The paper also runs 72 paired 256-token continuation checks in two fresh containers. Across 120 serial requests, CPU reload cuts time to first token by 46–64% and end-to-end time by 1.9–7%. Those figures apply to specified revisions and a modified recompute baseline. High-concurrency capacity and determinism across versions still require separate tests.

4. ASPIRE mixes draft and verification phases within a batch

ASPIRE uses sparse attention to draft and full attention to verify. A mixed forward can process requests in different phases instead of synchronizing the whole batch. Each request adjusts its draft length to acceptance and batch cost. A full-attention refresh layer helps the sparse draft track context.

On one H100 NVL 96GB with BF16, torch.compile, and CUDA Graph, the paper evaluates Qwen3-1.7B, Qwen3-8B, and DeepSeek-R1-Distill-LLaMA-8B. Decode-forward throughput is 1.70–4.58× autoregressive, with the highest gain on long-context Qwen3-1.7B. Prefill is outside the measurement. Comparing fixed and adaptive draft lengths at similar acceptance rates isolates differences in batch organization and verification cost.

Low-bit inference and MoE

5. OmniKVQuant treats audio and video cache statistics separately

OmniKVQuant studies two-bit KV on audio-video models such as Qwen2.5-Omni and Qwen3-Omni. Temporal key drift and modality-dependent value distributions make text-only quantization rules less suitable. Short windows estimate key ranges, and separate modality rotations prepare values. A fused Triton decode kernel unpacks two-bit data inside attention without materializing an FP16 cache.

The paper covers seven audio-video benchmarks. The repository provides rotation parameters, quantized caches, fused kernels, a TurboQuant comparison, and WorldSense evaluation. The method requires no further training, but its value rotations still use calibration. Measure task accuracy, actual memory, and decode time. The 16-to-2-bit ratio alone omits scales, indexes, and temporary space. Code and calibration

6. Colla-Q balances the worst expert's quantization error

Colla-Q uses activation entropy to estimate information carried by each expert, then applies minimax precision balancing to reduce the worst weighted error. Routing frequency alone can underfund infrequent specialists, while average error can hide severe degradation. Minimax here is an optimization criterion.

Tests cover Mixtral 8×7B, DeepSeek-MoE-16B-Base, and Phi3.5-MoE, with different average bit widths and calibration sets on zero-shot tasks. The linked repository contained only a license at publication. Bit allocation, expert selection, and executable GEMM layouts each need validation for deployment. Repository

Training and kernels

7. Long-context MoE training has several different memory peaks

Flattening Every Memory Peak targets expert dispatch, vocabulary projection, cross-layer checkpoint boundaries, and optimizer state. Its four changes are tiled LLEP, Ring-DTP vocabulary projection, long-lived activation offload to CPU, and bucketed OffloadStreamAdamW. Vocabulary projection uses an online log-sum-exp to compute exact loss without materializing the full tokens-by-vocabulary tensor.

The authors initialize 120B, 241B, and 667B models with a shared architecture and train them on 16, 32, and 64 H200 GPUs respectively. The combined approach supports million-token contexts for all three. The baseline is the best FSDP2 configuration found by the authors on matching models and GPU counts. The 10.4× throughput result belongs to a 667B, 64K comparison. Dispatch buffers, vocabulary logits, checkpoint boundaries, and optimizer staging are practical locations to inspect when memory spikes.

8. mKernel overlaps compute and communication across node boundaries

mKernel uses a persistent kernel and a GPU-side controller to allocate SMs between computation and communication. A completed tile can trigger movement. NVLink handles local traffic, while GPU queues and a host proxy submit RDMA between nodes. The network path remains host-assisted.

On two 16-H200 test clusters with InfiniBand and AWS EFA, the authors report up to 1.72× for GEMM plus AllReduce and 1.88× for Ring Attention. IBGDA brings limited additional benefit over host assistance in those tests. The public code defaults to Hopper sm_90a and includes CX7 and EFA backends. Profile tile production, notification, transmission, and consumption alongside the SMs that communication takes away from GEMM. Code and hardware requirements

9. ForgeMegakernel checks intermediate tensors during kernel generation

ForgeMegakernel generates autoregressive decode megakernels through ten milestones with independent intermediate checks. Fine-grained per-SM instructions, dependency counters, and shared-memory pools advance work as inputs become ready and reduce global barriers. The authors generate 14 megakernels across eight model types from 0.6B to 13B, including Qwen3, Llama, and MiniCPM.

On an H100 80GB, the reported geometric-mean speedup is 1.21× over SGLang 0.5.18 and 1.54× over the compared megakernel compiler, with 50.5–85.9% memory-bandwidth utilization. The tests cover decode on one GPU architecture. A useful check in manual fusion is to compare intermediate tensors after each step and locate the first deviation before checking final tokens.

10. OPEN-1B supplies training artifacts for interval replay

OPEN-1B exposes an approximately 1.61B-parameter model with about 1.08B non-embedding parameters, trained on 400B tokens. It records state hashes for 80,957 optimizer steps and publishes training and replay tools.

Bitwise replay across devices depends on reductions, initialization streams, data order, cross-rank aggregation, and clipping order in addition to seeds. Sensitive CPU, CUDA, and Metal operations use matched implementations. Initialization checks and interval replay are separate. Hash equality verifies the specified artifacts and backends over the checked interval, and not every runtime state is hashed. Report step ranges and artifacts for any reproduced segment. Training and audit repository

Video reasoning, distillation, and streaming

11. MiniMax-H3 evaluation distributes physical clues across inputs

Can MiniMax-H3 Reason About the Physical World? tests whether an existing H3 generator can infer an implicit task from multiple views, sounds, and video segments. Four families cover multiview spatial reasoning, sound disambiguation, video decisions, and audiovisual integration. Three experts independently rate and cross-check 517 samples. Overall success is 41.97%, with 56.00% for video decisions and 27.40% for sound disambiguation.

The tasks, input distributions, and generation goals differ, so the gap alone cannot isolate vision from audio capability. Understanding, inference, and rendering all affect success. For a multi-reference workflow, construct checks where a necessary clue is available only in one input and verify that the generation uses it. Evaluation project

12. Uncertainty DMD restores variation in the first video chunk

Uncertainty DMD finds that different seeds can produce convergent first chunks in a few-step autoregressive model. Deterministic cached state then propagates that similarity. The method adds timestep perturbation in the first chunk and stochastic cache writing later, coordinating perturbations in training and inference without changing the architecture. It targets both content and motion variation while keeping similar quality.

Adding noise to a cache in an existing model at inference is a different experiment and can harm temporal consistency. Compare several seeds for one prompt side by side to see whether their motion remains varied and plausible.

13. CrossDistill uses different objectives at high and low noise

CrossDistill preserves alternative motion and content paths at high noise and restores fine detail with distribution matching at low noise. A crossover state aligns the trajectory between objectives. The authors show combinations such as PCM and DMD, with the connection between the two segments doing more than summing losses.

Quantitative evidence is mainly text-to-video, with image-to-video demonstrations also shown. Transferring the method to Wan or H3 requires checking training objectives, sampler, and model assumptions. Together with Uncertainty DMD, it motivates separate ablations for step-dependent objectives, early chunks, and cached propagation.

14. ReCAST places multi-reward learning signals along the trajectory

ReCAST separates how much weight a user assigns to a reward from which denoising times are informative for that reward. A reward-by-timestep matrix preserves reward budgets through row constraints and total work per timestep through column constraints. Rényi discrimination gain directs credit assignment.

On SD3.5-Medium, the paper tests two four-reward setups with five budgets each and evaluates generalization with models excluded from optimization. This is image diffusion evidence. LeanGRPO addresses repeated rollout and update work, while ReCAST changes the placement of learning signals. Their combined behavior remains a separate question.

15. Vidu S2 accepts new references during streaming

Vidu S2 describes real-time Avatar and Editing paths that accept reference and instruction updates during playback. A low-resolution backbone and a light one-step refiner produce 720p. Training increases large body motion, temporal event captions, and moderate camera movement. Serving combines sparse attention, low-bit GEMM, fusion, and multi-GPU pipelining.

Average FPS and response to a new instruction measure distinct parts of the experience. Record first-frame latency, time to reflect an edit, and sustained stability. At publication the technical report and online demo were verifiable. Public weights and S2-specific production configurations require separate evidence. Earlier S1 consumer-GPU tests do not establish S2 behavior. Official demo

Video inference on JAX and TPU

16. vidax separates precision migration, compilation, and latency

vidax provides JAX/Flax video inference and PyTorch weight conversion for Wan, Cosmos, LTX, HunyuanVideo, and CogVideoX. Its inference path runs without PyTorch, with tensor parallelism and Ulysses sequence parallelism in one JAX mesh.

The tests use TPU v4-8, or four chips, and report compilation, denoising latency, and peak HBM separately. Layerwise offload makes some reference resolutions fit, though transfers are not fully hidden. Conversion can retain FP32 for selected residual or AdaLN parameters. Code is public and weights come from their own projects under separate terms. The paper does not provide the matched end-to-end GPU cost comparison needed to choose between platforms. Code and licenses

Suggested reading order

For serving, read GLM-5.3 cache recovery and ASPIRE first to separate correctness from batching. SSD-LLaMA and Fathom then isolate weight I/O and KV index I/O. For training, connect memory-peak analysis to mKernel to see which tensors must coexist and when communication can start. For video, read H3 failure cases before the distillation papers to see what output behavior a faster model might lose.

The companion open-source issue in Chinese tracks release availability, merges, and deployment changes.