From f76d71d7ceac040d555323f36b2f6afeab0e8df2 Mon Sep 17 00:00:00 2001 From: Misha Goin Date: Wed, 19 Aug 2026 13:32:37 -0400 Subject: [PATCH] [CI/Build] Fix CPU platform pre-commit formatting (#52981) Signed-off-by: mgoin Co-authored-by: OpenAI Codex --- vllm/platforms/cpu.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/vllm/platforms/cpu.py b/vllm/platforms/cpu.py index e002c80ad8..724f840129 100644 --- a/vllm/platforms/cpu.py +++ b/vllm/platforms/cpu.py @@ -181,13 +181,16 @@ class CpuPlatform(Platform): "otherwise the performance is not optimized." ) - # Accelerated GDN (AMX tiles or AVX-512BF16 VDPBF16PS) requires float32 SSM state. + # Accelerated GDN (AMX tiles or AVX-512BF16 VDPBF16PS) requires + # float32 SSM state. if ( torch.cpu._is_avx512_bf16_supported() and cache_config.mamba_ssm_cache_dtype != "float32" ): cache_config.mamba_ssm_cache_dtype = "float32" - logger.warning("Reset SSM cache type to float32 for accelerated GDN mamba attention.") + logger.warning( + "Reset SSM cache type to float32 for accelerated GDN mamba attention." + ) # Lagecy setting env_key = "VLLM_CPU_KVCACHE_SPACE"