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
7362b445
Unverified
Commit
7362b445
authored
Mar 16, 2026
by
Li, Jiang
Committed by
GitHub
Mar 15, 2026
Browse files
[Bugfix] Avoid LD_PRELOAD check on MacOS (#37145)
Signed-off-by:
jiang1.li
<
jiang1.li@intel.com
>
parent
57a314d1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
vllm/v1/worker/cpu_worker.py
vllm/v1/worker/cpu_worker.py
+5
-3
No files found.
vllm/v1/worker/cpu_worker.py
View file @
7362b445
...
...
@@ -2,6 +2,7 @@
# SPDX-FileCopyrightText: Copyright contributors to the vLLM project
import
os
import
platform
import
sys
from
collections.abc
import
Callable
from
typing
import
Any
...
...
@@ -63,9 +64,10 @@ class CPUWorker(Worker):
"to setup required pre-loaded libraries."
)
check_preloaded_libs
(
"libtcmalloc"
)
if
current_platform
.
get_cpu_architecture
()
==
CpuArchEnum
.
X86
:
check_preloaded_libs
(
"libiomp"
)
if
sys
.
platform
.
startswith
(
"linux"
):
check_preloaded_libs
(
"libtcmalloc"
)
if
current_platform
.
get_cpu_architecture
()
==
CpuArchEnum
.
X86
:
check_preloaded_libs
(
"libiomp"
)
# Setup OpenMP threads affinity.
omp_cpuids
=
envs
.
VLLM_CPU_OMP_THREADS_BIND
...
...
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