Repository navigation
Conversation
Describe the sleep-mode tags, what each does on sleep, what cannot be released in-process (context, driver-held CUDA graph memory, communication buffers) and how to reduce it. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: aoshen02 <aoshen@inferact.ai>
Contributor
|
Documentation preview: https://vllm--59165.org.readthedocs.build/en/59165/ |
5 of 20 tasks
This branch has not been deployed
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.
Purpose
Adds a "What stays on the GPU" section to the sleep mode docs. It covers:
NCCL_GRAPH_REGISTERdefault.The table describes behavior after the related PRs land: #59156 (
workspace), #59158 and #59162 (runtime), #59160 (graph pool andNCCL_GRAPH_REGISTER). Keep this PR in draft until they are merged.Test Plan
Docs only. Numbers come from DeepSeek-V4-Flash runs on 4x GB300.
Test Result
Docs only. Below are the results with all four PRs applied together (#59156, #59158, #59160, #59162) on GB300. Every run is the same image with and without the PRs. GSM8K is 1319 questions, 5-shot, temperature 0.
Memory per GPU while asleep (level 1):
mp)mp), MTPGSM8K accuracy (unpatched → all PRs):
reload_weights*
reload_weightsafter a level-2 sleep is already broken for DeepSeek-V4 models on unpatched vLLM.layerwise.pylogs "Failed to load weights" for the V4 attention, rotary and n-gram modules. This is unrelated to these PRs.vllm bench serve, random 1024/256 at concurrency 1–256 and 4096/512 at concurrency 32).reload_weights(Qwen).test_cumem.py,test_sleep_mode_backend.py,test_workspace.py: 37/37).This PR contains AI-assisted text (Claude Code); the commit carries a
Co-authored-bytrailer.🤖 Generated with Claude Code