atlas

Research map / Large language models / Reasoning and chain of thought

Cost-Efficient LLM Training with Lifetime-Aware Tensor Offloading via GPUDirect Storage

NeurIPS 2025 · Large language models › Reasoning and chain of thought · approach: Efficient LLM serving · 0 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Teraio is a lifetime-aware tensor offloading framework that profiles tensor lifetimes in PyTorch, plans SSD/host-memory offload and prefetch with an I/O-aware algorithm, and migrates tensors via GPUDirect Storage to expand GPU memory for LLM training.

Problem

LLM training is limited by GPU memory, and existing SSD/host offloading (e.g., ZeRO-Offload, ZeRO-Infinity) at coarse granularity wastes SSD bandwidth and GPU memory and stalls training.

Approach

Offload large inactive tensors at fine granularity, using profiled tensor size and inactive-period lifetimes to schedule offload/prefetch under available SSD bandwidth, preferring SSDs and falling back to host memory when SSD bandwidth saturates, with direct GPU-SSD transfers via GPUDirect Storage.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
use lifetime-aware tensor migrationLLM training with TERAIO · Various LLMs and configurationstraining throughput vs. ZeRO-Offload and ZeRO-Infinity: 1.47× on averageHelped
use TERAIO-Mixed instead of ZeRO-InfinityLlama3-70B training · Llama3-70Btraining throughput: 1.33×Helped
use SSDs and CPU memory for tensor migration (ablation)TERAIO · Granite-code-base-8Btraining throughput vs. TERAIO-SSDHelped
restrict tensor migration to SSDs instead of using SSDs and CPU memory (ablation)TERAIO · Granite-code-base-8Btraining throughputHurt
use SSDs and CPU memory for tensor migration (ablation)TERAIO · Llama3-70Btraining throughput vs. ideal: 59.7%Helped
increase (micro-)batch size using memory expansionTERAIO · Llama3-8Btraining throughput: 9%Helped
use 2 SSDs and 64 GB of CPU memory (ablation)TERAIO · Llama-8Btraining throughput vs. idealHelped
use 2 SSDs and 512GB of CPU memory instead of 4 SSDs and 1,024GB of CPU memory (ablation)TERAIO · Llama-70Btraining throughput relative to the larger-resource setup: 73.1%Hurt
migrate tensors only to SSDs rather than using SSDs and CPU memory (ablation)TERAIO · Llama3-70B training setupcost savings vs. PureGPUs: 5.88×Helped
use SSDs and CPU memory rather than SSDs only (ablation)TERAIO · Llama3-70B training setupcost savings vs. PureGPUs: 5.41×Helped

Surprising findings

Limitations

Experimental setup

Datasets: C4

Metrics: training throughput percentage of ideal performance cost efficiency migration bandwidth utilization

Baselines: ZeRO-Offload ZeRO-Infinity Ideal case (unlimited GPU memory) PureGPUs

Builds on: ZeRO-Offload ZeRO-Infinity PyTorch TorchTitan

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy