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
988ee66b
Unverified
Commit
988ee66b
authored
Nov 22, 2025
by
jinghanhu
Committed by
GitHub
Nov 22, 2025
Browse files
Handle triton kernel import exception (#29062)
parent
ea38474a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
vllm/model_executor/layers/fused_moe/config.py
vllm/model_executor/layers/fused_moe/config.py
+3
-2
No files found.
vllm/model_executor/layers/fused_moe/config.py
View file @
988ee66b
...
...
@@ -28,10 +28,11 @@ logger = init_logger(__name__)
if
has_triton_kernels
():
try
:
from
triton_kernels.matmul_ogs
import
PrecisionConfig
except
ImportError
:
except
(
ImportError
,
AttributeError
)
as
e
:
logger
.
error
(
"Failed to import Triton kernels. Please make sure your triton "
"version is compatible."
"version is compatible. Error: %s"
,
e
,
)
...
...
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