mirror of
https://git.datalinker.icu/vllm-project/vllm.git
synced 2025-12-13 18:25:40 +08:00
[Bug] Fix cpu disable shared_experts VLLM_DISABLE_SHARED_EXPERTS_STREAM (#28157)
Signed-off-by: yewentao256 <zhyanwentao@126.com>
This commit is contained in:
parent
b6a248bdd7
commit
d79d9f0780
@ -299,7 +299,7 @@ class CpuPlatform(Platform):
|
|||||||
os.environ["TORCHINDUCTOR_COMPILE_THREADS"] = "1"
|
os.environ["TORCHINDUCTOR_COMPILE_THREADS"] = "1"
|
||||||
|
|
||||||
# Disable multi-stream for shared experts as no Stream on CPU
|
# Disable multi-stream for shared experts as no Stream on CPU
|
||||||
os.environ["VLLM_DISABLE_SHARED_EXPERTS_STREAM"] = "0"
|
os.environ["VLLM_DISABLE_SHARED_EXPERTS_STREAM"] = "1"
|
||||||
|
|
||||||
# Intel OpenMP setting
|
# Intel OpenMP setting
|
||||||
ld_preload_str = os.getenv("LD_PRELOAD", "")
|
ld_preload_str = os.getenv("LD_PRELOAD", "")
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user