[CPU] Enable tcmalloc for s390x (#50841)

Signed-off-by: Rehan Khan <Rehan.Khan7@ibm.com>
Co-authored-by: Li, Jiang <jiang1.li@intel.com>
This commit is contained in:
Rehan Khan
2026-08-05 10:55:39 +08:00
committed by GitHub
co-authored by Li, Jiang <jiang1.li@intel.com>
parent 2cb3ff88cc
commit 0187f4c88e
4 changed files with 39 additions and 2 deletions
+2 -1
View File
@@ -290,7 +290,8 @@ class CpuPlatform(Platform):
# memory allocation overhead
if (
platform.system() == "Linux"
and cpu_architecture in (CpuArchEnum.ARM, CpuArchEnum.X86)
and cpu_architecture
in (CpuArchEnum.ARM, CpuArchEnum.X86, CpuArchEnum.S390X)
and "libtcmalloc" not in ld_preload_str
):
vllm_pkg = os.path.dirname(os.path.dirname(__file__))