Vibeleaderboard
← All Intel
Intel / article

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

Source
developer.nvidia.com
Author
Tanya Lenz
Date

Context

JAX offloading frees GPU memory by temporarily storing selected intermediate training results in the CPU's memory. Those results, called activations, are brought back when training needs them to calculate updates. This offers an alternative to discarding them and recomputing them later. NVIDIA explains the approach in its training article.

Moving data introduces its own cost, so scheduling matters as much as available memory. Transfers need to overlap with useful GPU computation instead of leaving the GPU waiting. The article's experiments show that changes with the model and scheduling configuration. Offloading therefore exchanges memory pressure and recomputation for communication that the system must efficiently hide. The reported comparisons show that dependency.

Terms in this piece · Glossary
  • Host — The computer on which a process runs.
  • throughput — How much model output a provider can generate over time, commonly measured in output tokens per second.
  • Dependency — Anything a program needs to run that its author did not write: the language, its standard library, or a separately installed package.
  • mixture-of-experts — A model built from many specialist sub-networks where only a few activate per token, giving big-model capability at small-model running cost.

Get the Brief

A cited digest of what matters for people building with AI, every morning. Unsubscribe anytime. See today’s edition

Read the source developer.nvidia.com
More from Tanya Lenz
Recommended reads
Comments

Checking sign-in…

Loading comments…