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
ba8d2165
Unverified
Commit
ba8d2165
authored
Sep 23, 2025
by
Ming Yang
Committed by
GitHub
Sep 23, 2025
Browse files
Handle triton kernel import exception (#25319)
Signed-off-by:
Ming Yang
<
minos.future@gmail.com
>
parent
c98be0a2
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
3 deletions
+8
-3
vllm/model_executor/layers/fused_moe/config.py
vllm/model_executor/layers/fused_moe/config.py
+8
-3
No files found.
vllm/model_executor/layers/fused_moe/config.py
View file @
ba8d2165
...
@@ -14,10 +14,15 @@ from vllm.model_executor.layers.quantization.utils.quant_utils import (
...
@@ -14,10 +14,15 @@ from vllm.model_executor.layers.quantization.utils.quant_utils import (
from
vllm.utils
import
cdiv
,
has_triton_kernels
from
vllm.utils
import
cdiv
,
has_triton_kernels
from
vllm.utils.flashinfer
import
has_flashinfer_cutlass_fused_moe
from
vllm.utils.flashinfer
import
has_flashinfer_cutlass_fused_moe
logger
=
init_logger
(
__name__
)
if
has_triton_kernels
():
if
has_triton_kernels
():
try
:
from
triton_kernels.matmul_ogs
import
PrecisionConfig
from
triton_kernels.matmul_ogs
import
PrecisionConfig
except
ImportError
:
logger
=
init_logger
(
__name__
)
logger
.
error
(
"Failed to import Triton kernels. Please make sure your triton "
"version is compatible."
)
def
_get_config_dtype_str
(
def
_get_config_dtype_str
(
...
...
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