From 3ed7b1e6e0d42a704626a622a79c169bdf51ee84 Mon Sep 17 00:00:00 2001 From: Andreas Karatzas Date: Tue, 17 Mar 2026 17:04:40 -0500 Subject: [PATCH] [ROCm] Validate block_size for explicitly selected attention backends (#36846) Signed-off-by: Andreas Karatzas --- vllm/platforms/rocm.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/vllm/platforms/rocm.py b/vllm/platforms/rocm.py index 0af98d562..329445d37 100644 --- a/vllm/platforms/rocm.py +++ b/vllm/platforms/rocm.py @@ -438,8 +438,6 @@ class RocmPlatform(Platform): device_capability = cls.get_device_capability() assert device_capability is not None - attn_selector_config = attn_selector_config._replace(block_size=None) - # First try checking just the selected backend, if there is one. if selected_backend is not None: try: