Search the archive

14,355 indexed articles, 13,283 of them summarised by us.

Articles
14,355
Research papers
91,965
Models priced
2,249
Providers
163

7 results for “XLA”

Newest and most relevant first

Our newest TPUs: 8tx and 8i Max, built for the agentic era

New TPUs enable secure, large-context AI agents, improving efficiency for developers.

Google launches new TPUs for secure AI tasks and handling large data, making complex computations faster and safer.

Google's new TPUs boost AI performance and security, potentially strengthening their cloud infrastructure against competitors.

TPU 8tx offers secure inference with hardware encryption; TPU 8i Max doubles memory bandwidth for large contexts, achieving 80% better inference price performance.

Google AI Blog →

Composable function transformations for numerical computing at scale

Researchers can now combine numerical transformations more easily, speeding up machine learning development.

A new tool lets scientists write simple math code and automatically make it run faster on powerful computers.

JAX gives researchers faster ways to test machine learning ideas, giving early adopters an edge over competitors.

JAX enables composing gradients, compilation, and vectorization in Python, using XLA for hardware acceleration with no special API.

GitHub Opensource Projects →

Accelerating Dropless MoE Training in JAX with NVIDIA Transformer Engine

Teams training large MoE models in JAX on NVIDIA GPUs can now get 10.4x throughput gains and 97% scaling efficiency at 1,024 GPUs using a public container.

NVIDIA reports that its Transformer Engine library makes training 'mixture of experts' models, a design where different small networks handle different inputs, in the JAX programming framework dramatically faster. By processing every token without dropping or padding and fusing communication steps, training the DeepSeek-V3 model went from 103 to 1,068 TFLOPS per GPU, a 10.4x improvement. The system also sustains 97% efficiency across 1,024 GPUs. This affects engineers running large-scale AI training on NVIDIA hardware.

NVIDIA claims its Transformer Engine plus JAX stack cuts MoE training costs dramatically: DeepSeek-V3 671B training on GB300 NVL72 hardware hit 1,068 TFLOPS/GPU, 10.4x an unoptimized baseline that spent 84% of kernel time on communication. Dropless MoE avoids the quality tradeoff of token dropping. Teams training MoE models on NVIDIA hardware gain access via the NGC MaxText container; those on other stacks gain nothing. Vendor benchmark figures warrant independent verification.

NVIDIA's JAX Transformer Engine MoE path achieves 10.4x throughput on DeepSeek-V3 671B (103 to 1,068 TFLOPS/GPU on GB300 NVL72), sustaining 97% scaling efficiency at 1,024 GPUs. Key mechanisms: cuBLAS-backed grouped GEMM handling ragged expert token counts in one call, NCCL EP fusing dispatch/combine with token deduplication, JAX host offloading of Q/V projections, and XLA multistreaming collectives overlapping InfiniBand and NVLink. Future work: NVFP4 and A2A overlap.

NVIDIA Developer Blog →

Reducing High-Bandwidth Memory Bottlenecks in JAX-Based LLM Training with Host Offloading

Teams training very large LLMs in JAX can fit batch sizes four times larger on NVIDIA Grace-Blackwell systems by offloading activations to host memory instead of recomputing them, directly changing memory-versus-throughput tradeoffs.

NVIDIA engineers describe a way to train very large AI models without running out of GPU memory. When a model trains, its chip stores lots of intermediate numbers; the technique moves some of those to the computer's main memory instead and fetches them back when needed. On NVIDIA's newest Grace Blackwell machines, the CPU and GPU are connected fast enough that this exchange doesn't slow training. It helped run DeepSeek-V3, a 671-billion-parameter model, with larger batches than otherwise possible.

For organizations training frontier LLMs, GPU memory, not compute, is often the binding constraint. NVIDIA reports that on a 128-GPU GB200 NVL72 system, host offloading let DeepSeek-V3 671B run at 908.2 TFLOPs/s per device, 57% faster than recomputing activations, and made a batch configuration feasible that otherwise ran out of memory. Gains depend on NVIDIA's tight CPU-GPU interconnect; commodity clusters with PCIe may not see the same benefit.

JAX host offloading streams selected activations to pinned host memory during forward pass and reloads them for backward, replacing activation rematerialization. On GB200 NVL72 (128 GPUs, MaxText), DeepSeek-V3 671B hit 908.2 TFLOPs/s/device with LHS and pipelined transfers enabled, versus 578.3 with rematerialization; device-only storage OOMed at micro batch 8/global batch 1024. Llama 3.1 405B gained only 2.9% with QKV offloading. Required flags: --xla_gpu_enable_latency_hiding_scheduler=true, --xla_gpu_enable_pipelined_host_offloading=true, --xla_gpu_experimental_parallel_async_compute_limit=8; validate with Nsight Systems profiling.

NVIDIA Developer Blog →

Accelerating Long-Context Model Training in JAX and XLA

Teams training long-context LLMs in JAX can now get up to 36% faster training on GB200 NVL72 systems just by enabling a runtime flag, with no code changes.

NVIDIA has made an optimization called NVSHMEM part of the XLA compiler, the software that turns Google's JAX AI framework into GPU instructions. When AI models are trained on very long passages of text, computing must be split across many GPUs that constantly swap data; NVSHMEM handles those swaps faster than the standard NCCL library. Training Meta's Llama 3 8B model on 256,000-token sequences ran up to 36% faster. This matters mainly to engineering teams building or training large AI models, not everyday AI users.

Organizations training large language models with very long context windows could cut training costs meaningfully. NVIDIA's benchmark on Llama 3 8B showed 30-36% speedups for 256K-token sequences on GB200 NVL72 systems, with gains concentrated at 128K tokens and above; shorter sequences saw under 4%. The catch: the advantage applies to JAX users, requires newer NVIDIA hardware and multi-node deployments, and the feature is still flagged experimental. PyTorch-centric teams and smaller workloads gain little today.

NVIDIA integrated NVSHMEM into the XLA compiler so the CollectiveBackendAssigner pass automatically selects NVSHMEM for CollectivePermute operations and sub-16MB AllReduce under single-device, single-partition, or NVLink-domain heuristics. NVSHMEM's symmetric memory, stream-aware APIs, and CUDA Graphs capture suit ring attention's latency-critical point-to-point KV exchanges, offloading work to copy engines. Benchmarks: Llama 3 8B in MaxText on GB200 NVL72, up to 36.3% speedup at 256K tokens versus NCCL, 0.7-2.4% at 128K, 0.3-3.9% at 64K. Enabled via --xla_gpu_experimental_enable_nvshmem=true.

NVIDIA Developer Blog →

Just Released: Warp 1.10 Expands JAX Interoperability and Performance

Warp 1.10 removes the warp.sim module and adds experimental JAX autodiff, so teams on older workflows must migrate to Newton or stay pinned.

NVIDIA released Warp 1.10, a free programming library for writing fast GPU code in Python. The update lets its functions work with JAX, a Google machine-learning framework, so gradients can be computed automatically through Warp kernels. It also makes common operations like matrix multiplication up to 70x faster. Anyone using the old warp.sim physics module must switch to a separate package called Newton.

NVIDIA's Warp 1.10 is a free, open GPU programming library update with two practical consequences. Experimental JAX integration enables automatic differentiation and multi-GPU execution via jax.pmap(), useful for teams mixing Warp kernels with machine-learning pipelines. However, warp.sim is deleted this release; groups relying on it must migrate to the Linux Foundation's Newton physics engine, an unplanned engineering cost for robotics-focused users.

Warp 1.10 adds experimental jax_kernel() autodiff via enable_backward=True, with proper jax.pmap()/shard_map() support using XLA FFI device ordinals and thread synchronization. Python-scope builtin calls cache overload resolution with functools.lru_cache, cutting wp.mat44 multiplication from ~570μs to ~8μs (70x), but dropping list/tuple arguments. wp.Bvh.rebuild() enables CUDA-graph-capturable in-place rebuilds (lbvh on CUDA only), and default Bvh leaf_size changed from 4 to 1. Tile kernels on AArch64 (Jetson, Grace) get a stack-allocation fix for LLVM JIT segfaults.

NVIDIA Developer Blog →

Optimizing for Low-Latency Communication in Inference Workloads with JAX and XLA

NVIDIA shows a custom single-shot all-reduce JAX kernel cutting decode latency 27% on 8-way tensor-parallel Gemma2, a directly reusable technique for teams running multi-GPU LLM inference today.

NVIDIA engineers found that in multi-GPU AI inference, the step where small messages get combined across GPUs (called all-reduce) was a major slowdown. They replaced the usual 'ring' method, which passes data in many stages, with a one-step version where all GPUs exchange data at once over their direct connections. They also merged this with nearby math operations into one kernel, the basic unit of GPU work. The result was roughly 3x faster for that operation and 27% faster token generation on an 8-GPU Gemma2 model.

For teams running tensor-parallel LLM inference on NVIDIA hardware, this cuts end-to-end decode latency by about 27% and kernel time by 3x on an 8x H100 Gemma2 setup, using a custom kernel that works with JAX and CUDA Graphs. It's free performance for existing JAX/XLA users but requires writing custom CUDA code. NCCL 2.27's upcoming symmetric memory support may deliver up to 4x faster small-payload communication without custom kernels.

NVIDIA's XLA team replaced ring-based all-reduce (2N-2 stages, ~2x latency penalty at ~30 KB message sizes) with a single-shot all-reduce using bidirectional NVLink exchanges and cudaDeviceEnablePeerAccess to skip memory copies. The kernel fuses all-reduce with RMSNorm and pointwise add, registered via JAX FFI with the kCmdBufferCompatible trait for CUDA Graph compatibility. Results: ~3x kernel speedup, ~27% end-to-end decode latency improvement on 8-way tensor-parallel Gemma2, plus 5% from CUDA Graphs. All-reduce was ~23% of decode latency; NCCL 2.27 symmetric memory promises up to 4x faster small payloads.

NVIDIA Developer Blog →