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
de7d9456
Commit
de7d9456
authored
Sep 20, 2024
by
zhuwenwen
Browse files
[Core] Change multiproc method default to spawn
parent
0c70376b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
vllm/envs.py
vllm/envs.py
+2
-2
No files found.
vllm/envs.py
View file @
de7d9456
...
@@ -45,7 +45,7 @@ if TYPE_CHECKING:
...
@@ -45,7 +45,7 @@ if TYPE_CHECKING:
VLLM_USE_RAY_SPMD_WORKER
:
bool
=
False
VLLM_USE_RAY_SPMD_WORKER
:
bool
=
False
VLLM_USE_RAY_COMPILED_DAG
:
bool
=
False
VLLM_USE_RAY_COMPILED_DAG
:
bool
=
False
VLLM_USE_RAY_COMPILED_DAG_NCCL_CHANNEL
:
bool
=
True
VLLM_USE_RAY_COMPILED_DAG_NCCL_CHANNEL
:
bool
=
True
VLLM_WORKER_MULTIPROC_METHOD
:
str
=
"
fork
"
VLLM_WORKER_MULTIPROC_METHOD
:
str
=
"
spawn
"
VLLM_ASSETS_CACHE
:
str
=
os
.
path
.
join
(
VLLM_CACHE_ROOT
,
"assets"
)
VLLM_ASSETS_CACHE
:
str
=
os
.
path
.
join
(
VLLM_CACHE_ROOT
,
"assets"
)
VLLM_IMAGE_FETCH_TIMEOUT
:
int
=
5
VLLM_IMAGE_FETCH_TIMEOUT
:
int
=
5
VLLM_AUDIO_FETCH_TIMEOUT
:
int
=
5
VLLM_AUDIO_FETCH_TIMEOUT
:
int
=
5
...
@@ -341,7 +341,7 @@ environment_variables: Dict[str, Callable[[], Any]] = {
...
@@ -341,7 +341,7 @@ environment_variables: Dict[str, Callable[[], Any]] = {
# Use dedicated multiprocess context for workers.
# Use dedicated multiprocess context for workers.
# Both spawn and fork work
# Both spawn and fork work
"VLLM_WORKER_MULTIPROC_METHOD"
:
"VLLM_WORKER_MULTIPROC_METHOD"
:
lambda
:
os
.
getenv
(
"VLLM_WORKER_MULTIPROC_METHOD"
,
"
fork
"
),
lambda
:
os
.
getenv
(
"VLLM_WORKER_MULTIPROC_METHOD"
,
"
spawn
"
),
# Path to the cache for storing downloaded assets
# Path to the cache for storing downloaded assets
"VLLM_ASSETS_CACHE"
:
"VLLM_ASSETS_CACHE"
:
...
...
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