From 36960501d336a15cf0de7569e2662793ad9a4f3f Mon Sep 17 00:00:00 2001 From: Akash kaothalkar <61960177+Akashcodes732@users.noreply.github.com> Date: Fri, 31 Oct 2025 13:15:26 +0530 Subject: [PATCH] [Hardware][Powerpc] Fix VLLM_CPU_OMP_THREADS_BIND="auto" low CPU utilization for Power (#27734) Signed-off-by: Akash Kaothalkar Co-authored-by: Akash Kaothalkar --- vllm/platforms/cpu.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/vllm/platforms/cpu.py b/vllm/platforms/cpu.py index 8c1d46564f6f6..4b9f4aef022d0 100644 --- a/vllm/platforms/cpu.py +++ b/vllm/platforms/cpu.py @@ -316,7 +316,8 @@ class CpuPlatform(Platform): if ( platform.system() == "Linux" - and Platform.get_cpu_architecture() == CpuArchEnum.ARM + and Platform.get_cpu_architecture() + in (CpuArchEnum.ARM, CpuArchEnum.POWERPC) and not ("libomp" in ld_preload_str or "libgomp" in ld_preload_str) ): # We need to LD_PRELOAD PyTorch's libgomp, otherwise only