[Bugfix][Misc] Use TritonPlaceholderModule to defensively import triton (#15099)

Signed-off-by: Mengqing Cao <cmq0113@163.com>
This commit is contained in:
Mengqing Cao
2025-04-25 13:51:02 +08:00
committed by GitHub
parent 5aa6efb9a5
commit 2f54045508
5 changed files with 53 additions and 6 deletions

View File

@@ -2,4 +2,4 @@
from vllm.triton_utils.importing import HAS_TRITON
__all__ = ["HAS_TRITON"]
__all__ = ["HAS_TRITON"]