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
2890aecc
Unverified
Commit
2890aecc
authored
Mar 19, 2026
by
Fadi Arafeh
Committed by
GitHub
Mar 19, 2026
Browse files
[CPU][UX] Do not crash when tcmalloc/libiomp are not ldpreloaded (#37561)
Signed-off-by:
Fadi Arafeh
<
fadi.arafeh@arm.com
>
parent
34f093b4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
vllm/v1/worker/cpu_worker.py
vllm/v1/worker/cpu_worker.py
+6
-4
No files found.
vllm/v1/worker/cpu_worker.py
View file @
2890aecc
...
...
@@ -57,11 +57,13 @@ class CPUWorker(Worker):
def
check_preloaded_libs
(
name
:
str
):
ld_preload_list
=
os
.
environ
.
get
(
"LD_PRELOAD"
,
""
)
if
name
not
in
ld_preload_list
:
raise
RuntimeError
(
f
"
{
name
}
is not found in LD_PRELOAD. "
"Please follow the section `set LD_PRELOAD` in "
logger
.
warning
(
"%s is not found in LD_PRELOAD. "
"For best performance, please follow the section "
"`set LD_PRELOAD` in "
"https://docs.vllm.ai/en/latest/getting_started/installation/cpu/ "
"to setup required pre-loaded libraries."
"to setup required pre-loaded libraries."
,
name
,
)
if
sys
.
platform
.
startswith
(
"linux"
):
...
...
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