-
-
Notifications
You must be signed in to change notification settings - Fork 11.7k
[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
Merged
Merged
Changes from 2 commits
Commits
Show all changes
40 commits
Select commit
Hold shift + click to select a range
f7a6356
replace narrow-usage set_cuda_visible_devices to general update_envir…
youkaichao bbdfc69
add warning when env is overwritten
youkaichao 1e62614
use logger.warning
youkaichao 37eb344
fix env copy
youkaichao 6f64b48
avoid overwritten warning in ray
youkaichao 0499106
fix lint
youkaichao d26672f
allow heterogeneous args in _run_workers; move update_environment_var…
youkaichao 3a01337
unified init worker
youkaichao c85d040
fix recursion
youkaichao 5e49b98
on the fly local rank calculation
youkaichao 37ed6c9
post update kwargs
youkaichao b654ee2
add remote
youkaichao e11448e
fix update_environment_variables in ray worker
youkaichao 97e6601
use staticmethod
youkaichao fd2cbe2
fix dummy worker local_rank
youkaichao a8d7504
fix dummy worker rank
youkaichao e659635
add WorkerWrapperBase
youkaichao 778fb3f
add all_args to _run_workers
youkaichao d295107
refactor
youkaichao 7ca22a4
fix dangling self
youkaichao 5f6c8f3
fix execute_method in driver worker
youkaichao 13de66e
withdraw changes in many workers
youkaichao 32ef3bb
no need for init_worker in workerbase
youkaichao 221f626
unify worker_node_and_gpu_ids
youkaichao 0087773
use id rather than ip
youkaichao 36a185e
unify init
youkaichao 95ca917
fix lint
youkaichao ea5f2a5
finish todo
youkaichao d10ca88
rename to RayWorkerWrapper
youkaichao a164219
Merge remote-tracking branch 'origin' into update_env
youkaichao eb27be9
fix mypy typing
youkaichao 74deb44
move init hf decision to each worker
youkaichao 3bd2c98
use quotes to address white space in env var values
youkaichao 21be004
add docstring
youkaichao 1aee6a0
add config
youkaichao 4337ac6
Merge remote-tracking branch 'origin' into update_env
youkaichao 40d4560
fix _run_workers_async
youkaichao 2509db4
move duplicate code to utils
youkaichao d1bda36
add docstring
youkaichao 1e30d89
use docstring
youkaichao File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.