
MemSage 1.0.0: the first release
The first tagged release of MemSage watches a Python program or PyTorch training job for memory leaks, peak GPU memory and out-of-memory kills, and checks a job before it runs at scale.
Teyon AI builds reliable infrastructure for AI training. We help teams identify memory problems, catch configuration issues before jobs run, and quickly diagnose and recover from failures. Our goal is to reduce wasted GPU time and engineering effort so teams can train models more efficiently and reliably. Our first product, MemSage, helps developers understand CPU and GPU memory usage, identify leaks and inefficiencies, and investigate out-of-memory failures.
effective training time reported for Llama 3
unexpected interruptions in 54 days of Llama 3 training
illustrative annual cost of 10% waste on 10,000 GPUs
Source: Meta, The Llama 3 Herd of Models (2024), §3.3.4. Estimate: 10,000 GPUs × 8,760 h/year × 10% × $5/GPU-h = $43.8M. Read the Meta paper
Teyon connects what happened in training to why it happened—and a clearer next step.
MemSage focuses on memory monitoring, preflight checks, and on-demand diagnosis. Our broader platform research explores how recording and replay can support failure diagnosis and recovery.
Profilers today
Memory profilers can show allocation history, usage, and call stacks. Developers still need to connect that evidence to the behavior of their workload.
With Teyon
MemSage connects memory growth and peaks to relevant allocations, tensors, and call stacks to help investigate leaks, inefficiencies, and OOM failures.
Smoke tests today
A small test exercises a particular configuration and input. It may not cover the memory peaks or configurations encountered during a longer run.
With Teyon
MemSage preflight checks can help identify configurations that risk memory failures or inefficient resource use before committing to a longer job.
Checkpoint-restart today
Checkpoint-restart restores saved state after an interruption. Investigating the cause still requires evidence about the failure.
With Teyon
Our platform research explores replay to investigate failures and guide recovery. Automatic recovery is in development and is separate from the MemSage private beta.
Product updates, research, and conversations with our community.
Explore practical guidance and the research behind our approach.
MemSage
Catch risky setups before launch. Find what is holding memory during the run. MemSage brings the first part of the Teyon platform to your workload.