Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenDAS
vllm_cscc
Commits
843af7f7
Unverified
Commit
843af7f7
authored
Oct 22, 2025
by
Li, Jiang
Committed by
GitHub
Oct 22, 2025
Browse files
[Bugfix][CPU] Disable dual stream execution for experts on CPU (#27320)
Signed-off-by:
jiang1.li
<
jiang1.li@intel.com
>
parent
1f633b86
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
vllm/platforms/cpu.py
vllm/platforms/cpu.py
+3
-0
No files found.
vllm/platforms/cpu.py
View file @
843af7f7
...
...
@@ -297,6 +297,9 @@ class CpuPlatform(Platform):
# Disable torch async compiling which won't work with daemonic processes
os
.
environ
[
"TORCHINDUCTOR_COMPILE_THREADS"
]
=
"1"
# Disable multi-stream for shared experts as no Stream on CPU
os
.
environ
[
"VLLM_DISABLE_SHARED_EXPERTS_STREAM"
]
=
"0"
# Intel OpenMP setting
ld_prealod_str
=
os
.
getenv
(
"LD_PRELOAD"
,
""
)
if
"libiomp5.so"
in
ld_prealod_str
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment