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
3157aebb
Unverified
Commit
3157aebb
authored
Aug 09, 2025
by
Wentao Ye
Committed by
GitHub
Aug 08, 2025
Browse files
[Log] Add Warning for Deprecation of DeepGEMM old version (#22194)
Signed-off-by:
yewentao256
<
zhyanwentao@126.com
>
parent
8a0ffd62
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
vllm/utils/deep_gemm.py
vllm/utils/deep_gemm.py
+9
-0
No files found.
vllm/utils/deep_gemm.py
View file @
3157aebb
...
@@ -14,6 +14,7 @@ from typing import Any, Callable, NoReturn
...
@@ -14,6 +14,7 @@ from typing import Any, Callable, NoReturn
import
torch
import
torch
import
vllm.envs
as
envs
import
vllm.envs
as
envs
from
vllm.logger
import
logger
from
vllm.platforms
import
current_platform
from
vllm.platforms
import
current_platform
from
vllm.utils
import
cdiv
,
has_deep_gemm
from
vllm.utils
import
cdiv
,
has_deep_gemm
...
@@ -57,6 +58,14 @@ def _resolve_symbol(module, new: str, old: str) -> Callable[..., Any] | None:
...
@@ -57,6 +58,14 @@ def _resolve_symbol(module, new: str, old: str) -> Callable[..., Any] | None:
if
hasattr
(
module
,
new
):
if
hasattr
(
module
,
new
):
return
getattr
(
module
,
new
)
return
getattr
(
module
,
new
)
if
hasattr
(
module
,
old
):
if
hasattr
(
module
,
old
):
# TODO(wentao): deprecate old symbol in the future.
logger
.
warning_once
(
"Found legacy DeepGEMM symbol `%s`. Please upgrade the `deep_gemm` "
"package so that `%s` is available. Support for the legacy symbol "
"will be removed in a future vLLM release."
,
old
,
new
,
)
return
getattr
(
module
,
old
)
return
getattr
(
module
,
old
)
return
None
return
None
...
...
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