"...git@developer.sourcefind.cn:2222/OpenDAS/vllm_cscc.git" did not exist on "0d50fa1db616c83ba3c67f506385fe373f585084"
Unverified Commit a5e7242d authored by Isotr0py's avatar Isotr0py Committed by GitHub
Browse files

[Misc] Remove duplicate multiproc method setting for CPU platform (#19649)


Signed-off-by: default avatarIsotr0py <2037008807@qq.com>
parent 91b2c17a
...@@ -216,9 +216,6 @@ class CpuPlatform(Platform): ...@@ -216,9 +216,6 @@ class CpuPlatform(Platform):
# Disable torch async compiling which won't work with daemonic processes # Disable torch async compiling which won't work with daemonic processes
os.environ["TORCHINDUCTOR_COMPILE_THREADS"] = "1" os.environ["TORCHINDUCTOR_COMPILE_THREADS"] = "1"
# Share the cpusets list among ranks by spawning process instead
os.environ["VLLM_WORKER_MULTIPROC_METHOD"] = "spawn"
# Intel OpenMP setting # Intel OpenMP setting
ld_prealod_str = os.getenv("LD_PRELOAD", "") ld_prealod_str = os.getenv("LD_PRELOAD", "")
if "libiomp5.so" in ld_prealod_str: if "libiomp5.so" in ld_prealod_str:
......
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