[Bugfix] Widen flashinfer.comm import guard so a failed import doesn't abort engine startup (#52241)

Signed-off-by: shanjiaz <zsjwpianpian@gmail.com>

shanjiaz committed Aug 14, 2026 at 12:27 UTC e078a2238a1e4b53d49a7cc15e09716ed61abf3b
1 file changed +2 -2
vllm/compilation/passes/fusion/allreduce_rms_fusion.py
+2 -2
@@ -93,8 +93,8 @@ if find_spec("flashinfer"):
93 _flashinfer_comm, "create_allreduce_fusion_workspace"
94 ):
95 flashinfer_comm = _flashinfer_comm
96 - except ImportError:
97 - pass
96 + except Exception as e:
97 + logger.debug_once("flashinfer.comm import failed: %s", e)
98
99 if hasattr(torch.ops._C, "scaled_fp4_quant"):
100 STATIC_FP4_QUANT_OP = torch.ops._C.scaled_fp4_quant.out