Skip to content

Commit 690f948

Browse files
authored
[Bugfix] Fix for the import error from #24588 (#25481)
Signed-off-by: Gregory Shtrasberg <[email protected]>
1 parent 08275ec commit 690f948

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vllm/model_executor/layers/fused_moe/gpt_oss_triton_kernels_moe.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
from triton_kernels.routing import (RoutingData, routing,
2424
routing_from_bitmatrix)
2525
from triton_kernels.tensor import Bitmatrix
26-
except (ModuleNotFoundError, AttributeError) as e:
26+
except (AttributeError, ImportError) as e:
2727
logger.error(
2828
"Failed to import Triton kernels. Please make sure your triton "
2929
"version is compatible. Error: %s", e)

0 commit comments

Comments
 (0)