Article may be outdated

This article is 9 days old. Some details may have changed since publication.

Hacker News·5 min read·hard

Reverse-engineering Nvidia's CUDA-checkpoint for faster cold starts

I
ilreb
Reverse-engineering Nvidia's CUDA-checkpoint for faster cold starts
AI Summary

A technical analysis explores the internal workings of NVIDIA's 'cuda-checkpoint' feature, which allows for the freezing and restoration of GPU states. The author investigates why the tool fails to saturate PCIe bandwidth and provides a code-based demonstration of the process.

Reverse-engineering NVIDIA's cuda-checkpoint for faster cold starts Fergus Finn Founder & Member of Technical Staff, Doubleword There’s a little known feature in the closed-source NVIDIA driver that lets you freeze a running CUDA process, serialize its GPU state into host memory, and later restore it to the GPU exactly as it was. We used it in an earlier post to speed up SGLang server startup by up to 70x.

Continue reading on Headlinne

Create a free account to read the full article.

Read full article →
technologyscience

Get the full story

Sign up for Headlinne to unlock AI insights, political bias analysis, and your personalized news feed.

Create free account

Already have an account? Sign in