-
-
Notifications
You must be signed in to change notification settings - Fork 11.8k
[Core] replace narrow-usage RayWorkerVllm to general WorkerWrapper to reduce code duplication #4024
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 29 commits
f7a6356
bbdfc69
1e62614
37eb344
6f64b48
0499106
d26672f
3a01337
c85d040
5e49b98
37ed6c9
b654ee2
e11448e
97e6601
fd2cbe2
a8d7504
e659635
778fb3f
d295107
7ca22a4
5f6c8f3
13de66e
32ef3bb
221f626
0087773
36a185e
95ca917
ea5f2a5
d10ca88
a164219
eb27be9
74deb44
3bd2c98
21be004
1aee6a0
4337ac6
40d4560
2509db4
d1bda36
1e30d89
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -232,8 +232,12 @@ def get_open_port() -> int: | |
| return s.getsockname()[1] | ||
|
|
||
|
|
||
| def set_cuda_visible_devices(device_ids: List[int]) -> None: | ||
| os.environ["CUDA_VISIBLE_DEVICES"] = ",".join(map(str, device_ids)) | ||
| def update_environment_variables(envs: Dict[str, str]): | ||
| for k, v in envs.items(): | ||
| if k in os.environ: | ||
| logger.warning(f"Overwriting environment variable {k} " | ||
| f"from {os.environ[k]} to {v}") | ||
|
||
| os.environ[k] = v | ||
|
|
||
|
|
||
| def chunk_list(lst, chunk_size): | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.