Support for starting sandboxes with cuda-checkpoint - #13987
Open
luiscape wants to merge 1 commit into
Open
Conversation
Collaborator
|
Thanks for the investigation Luis!!! Maybe we should simplify this:
|
google#13400 introduces sequential checkpoints but notes that the option is the most useful when processes are started with `cuda-checkpoint --launch-job`. That is required--when using NVIDIA driver 610+--in order to support coherent checkpoint/restore of CUDA programs that use IPC (see [docs](https://github.com/NVIDIA/cuda-checkpoint#610-features)). I think that this is the most useful checkpointing feature of driver 610+. IPC-enabled workloads are arguably the most popular when using multiple GPUs. These include popular inference engines like SGLang and vLLM. I am adding this to provide first-class support in gvisor. I'm adding two new CLI flags: - `nvproxy-cuda-checkpoint-path`: indicates the path for `cuda-checkpoint` when calling `runsc create` - `nvproxy-cuda-checkpoint-jobs`: prepend all container commands with `cuda-checkpoint --launch-job`. These can be combined with `--cuda-checkpoint-sequential`, providing full support for IPC-enabled workloads.
luiscape
force-pushed
the
luis/start-job-for-cuda-checkpoint
branch
from
August 4, 2026 19:20
b723e77 to
9c3de61
Compare
EtiennePerot
requested review from
parth-opensrc
and removed request for
fvoznika
August 4, 2026 21:40
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
#13400 introduces sequential checkpoints but notes that the option is the most useful when processes are started with
cuda-checkpoint --launch-job. That is required--when using NVIDIA driver 610+--in order to support coherent checkpoint/restore of CUDA programs that use IPC (see docs).I think that this is the most useful checkpointing feature of driver 610+. IPC-enabled workloads are arguably the most popular when using multiple GPUs. These include popular inference engines like SGLang and vLLM. I am adding this to provide first-class support in gvisor.
I'm adding two new CLI flags:
nvproxy-cuda-checkpoint-path: indicates the path forcuda-checkpointwhen callingrunsc createnvproxy-cuda-checkpoint-jobs: prepend all container commands withcuda-checkpoint --launch-job.These can be combined with
--cuda-checkpoint-sequential, providing full support for IPC-enabled workloads.