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
63f5f03a
Commit
63f5f03a
authored
Dec 07, 2024
by
zhuwenwen
Browse files
update ray.init()
parent
da99b8e3
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
tests/utils.py
tests/utils.py
+1
-1
No files found.
tests/utils.py
View file @
63f5f03a
...
...
@@ -340,7 +340,7 @@ def multi_process_parallel(
# as compared to multiprocessing.
# NOTE: We need to set working_dir for distributed tests,
# otherwise we may get import errors on ray workers
ray
.
init
(
runtime_env
=
{
"working_dir"
:
VLLM_PATH
})
ray
.
init
(
num_gpus
=
tp_size
,
runtime_env
=
{
"working_dir"
:
VLLM_PATH
})
distributed_init_port
=
get_open_port
()
refs
=
[]
...
...
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