Skip to content
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

[Misc] Check manager and engine arguments in entrypoints #19

Merged
merged 9 commits into from
Aug 29, 2024
Merged

Conversation

s5u13b
Copy link
Contributor

@s5u13b s5u13b commented Aug 28, 2024

Currently, Llumnix asserts unsupported arguments in the functions that use the arguments. This pr adds manager arguments checker function in arg_utils.py, and checks manager and engine arguments in entrypoints. With this pr, we can have a unified entrance checking all the manager/engine arguments instead of checking in several places, which is more user-friendly.
Also, I refine the exception output passingly in this pr.

llumnix/backends/vllm/worker.py Show resolved Hide resolved
llumnix/arg_utils.py Outdated Show resolved Hide resolved
@s5u13b s5u13b merged commit d4cd8fa into main Aug 29, 2024
4 checks passed
@s5u13b s5u13b deleted the check-args branch August 29, 2024 08:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants