feat(vllm): enhance OOM diagnostics and guidance in serve summary (eai-8059) - #284
Open
r0x0r wants to merge 2 commits into
Open
feat(vllm): enhance OOM diagnostics and guidance in serve summary (eai-8059)#284r0x0r wants to merge 2 commits into
r0x0r wants to merge 2 commits into
Conversation
Collaborator
|
A few observations, mostly around the signature list and the stacking:
|
r0x0r
force-pushed
the
gpu-out-of-memory
branch
from
August 21, 2026 10:14
ee202f0 to
a97a39f
Compare
Signed-off-by: Roman Sirokov <roman.sirokov@amd.com>
- Drop the generic "engine core initialization failed" wrapper from vllm_log_shows_oom: vLLM emits it as the terminal line for any EngineCore startup crash (unsupported arch, shm size, TP misconfig, missing weights), not just OOM, so it was misreporting unrelated failures as OOM. - Stop double-printing the memory-utilization hint: append_oom_serve_note now skips appending when the pre-launch low-VRAM note already carried the same hint text. - Stop attributing an already-running managed service's log to a new serve invocation: append_oom_serve_note now only fires for a launch this invocation actually performed, not one it merely reused. - Update unit tests accordingly and add regression coverage for the two fixes above. - Repoint the e2e OOM scenario at the actual bug: it now proves that reusing an already-running service never blames it for another process's OOM, using a real allocator OOM signature instead of the removed generic wrapper string. Signed-off-by: Roman Sirokov <roman.sirokov@amd.com>
r0x0r
force-pushed
the
eai-8059-oom-memory-knobs-note
branch
from
August 21, 2026 10:43
738cdf4 to
b9316f3
Compare
Collaborator
Author
|
Thanks for the detailed review — addressed all of these in b9316f3 (rebased onto the current
All changes covered by unit tests; |
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.
This pull request enhances GPU out-of-memory (OOM) diagnostics and user guidance for vLLM model serving, especially on shared or busy GPUs. It introduces actionable hints in both pre-launch warnings and post-failure summaries, ensuring users are clearly informed about how to adjust memory settings to avoid OOM errors. The changes also unify the messaging across CLI, engine logs, and documentation, and add comprehensive tests for these new behaviors.
Improvements to OOM diagnostics and user guidance:
VLLM_GPU_MEMORY_UTILIZATION_HINT) that recommends adjusting--gpu-memory-utilizationand/or targeting a less-busy GPU with--gpu <index>, shown both before launch (when low VRAM is detected) and after OOM failures in vLLM serves. [1] [2] [3] [4]Integration and codebase updates:
collect_serve_notesand related serve summary logic to include vLLM-specific memory guidance, both pre-launch and post-failure, and ensured these notes are only shown when relevant. [1] [2] [3] [4]Documentation and testing:
These changes collectively improve the user experience by making OOM errors easier to diagnose and resolve, especially in shared GPU environments.<!--
Copyright © Advanced Micro Devices, Inc., or its affiliates.
SPDX-License-Identifier: MIT
-->
tests/e2e-cucumber/expectations.tomlfor the fixed ticket ID and removed/narrowed any now-stale xfail rows.