From 4b594b4aa1ed8f78d28b96b1a095ecc58c335ab3 Mon Sep 17 00:00:00 2001 From: stefankoncarevic Date: Thu, 23 Jul 2026 00:36:17 +0200 Subject: [PATCH] [Bugfix][CI] Fix `topk_softplus_sqrt` no-op on non-XPU platforms (#49452) Signed-off-by: Stefan Koncarevic --- vllm/_custom_ops.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vllm/_custom_ops.py b/vllm/_custom_ops.py index b22c8f6551..aa75c50a51 100644 --- a/vllm/_custom_ops.py +++ b/vllm/_custom_ops.py @@ -2460,8 +2460,8 @@ def topk_hash_softplus_sqrt( input_tokens, hash_indices_table, ) + return - return torch.ops._moe_C.topk_softplus_sqrt( topk_weights, topk_indices,