Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenDAS
vllm_cscc
Commits
84ec470f
Unverified
Commit
84ec470f
authored
May 30, 2025
by
Richard Zou
Committed by
GitHub
May 30, 2025
Browse files
Improve "failed to get the hash of the compiled graph" error (#18956)
Signed-off-by:
rzou
<
zou3519@gmail.com
>
parent
b29ca5c4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
2 deletions
+8
-2
vllm/compilation/compiler_interface.py
vllm/compilation/compiler_interface.py
+8
-2
No files found.
vllm/compilation/compiler_interface.py
View file @
84ec470f
...
...
@@ -415,8 +415,14 @@ class InductorAdaptor(CompilerInterface):
# compilation cache. So turn off the checks if we disable the
# compilation cache.
if
not
envs
.
VLLM_DISABLE_COMPILE_CACHE
:
assert
hash_str
is
not
None
,
(
"failed to get the hash of the compiled graph"
)
if
hash_str
is
None
:
raise
RuntimeError
(
"vLLM failed to compile the model. The most "
"likely reason for this is that a previous compilation "
"failed, leading to a corrupted compilation artifact. "
"We recommend trying to "
"remove ~/.cache/vllm/torch_compile_cache and try again "
"to see the real issue. "
)
assert
file_path
is
not
None
,
(
"failed to get the file path of the compiled graph"
)
return
compiled_graph
,
(
hash_str
,
file_path
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment