All resources

Video

Profiling a PyTorch run with no code changes

A training script is launched under LD_PRELOAD with MemSage attached and runs unmodified. When it fails with an out-of-memory error, the recording opens the capture in Perfetto: the allocation timeline, the tensor graph, and the lines of code behind the growth. Recorded under the product's earlier name, MemScope.

By Teyon team ·