Unverified Commit 36960501 authored by Akash kaothalkar's avatar Akash kaothalkar Committed by GitHub
Browse files

[Hardware][Powerpc] Fix VLLM_CPU_OMP_THREADS_BIND="auto" low CPU utilization for Power (#27734)


Signed-off-by: default avatarAkash Kaothalkar <akash.kaothalkar@ibm.com>
Co-authored-by: default avatarAkash Kaothalkar <akash.kaothalkar@ibm.com>
parent b2e65cb4
...@@ -316,7 +316,8 @@ class CpuPlatform(Platform): ...@@ -316,7 +316,8 @@ class CpuPlatform(Platform):
if ( if (
platform.system() == "Linux" 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) and not ("libomp" in ld_preload_str or "libgomp" in ld_preload_str)
): ):
# We need to LD_PRELOAD PyTorch's libgomp, otherwise only # We need to LD_PRELOAD PyTorch's libgomp, otherwise only
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment