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

[Frontend] Disallow passing model as both argument and option #7347

Merged
merged 8 commits into from
Aug 12, 2024

Conversation

DarkLight1337
Copy link
Member

@DarkLight1337 DarkLight1337 commented Aug 9, 2024

Currently, it's possible to run vllm serve <model_tag> --model <model>, in which case model is ignored. To avoid this confusing behavior, this PR prohibits using the --model option in vllm serve.

FIX #7345

@DarkLight1337 DarkLight1337 requested a review from simon-mo August 9, 2024 10:13
Copy link

github-actions bot commented Aug 9, 2024

👋 Hi! Thank you for contributing to the vLLM project.
Just a reminder: PRs would not trigger full CI run by default. Instead, it would only run fastcheck CI which consists a small and essential subset of CI tests to quickly catch errors. You can run other CI tests on top of default ones by unblocking the steps in your fast-check build on Buildkite UI.

Once the PR is approved and ready to go, please make sure to run full CI as it is required to merge (or just use auto-merge).

To run full CI, you can do one of these:

  • Comment /ready on the PR
  • Add ready label to the PR
  • Enable auto-merge.

🚀

vllm/scripts.py Outdated Show resolved Hide resolved
vllm/scripts.py Outdated Show resolved Hide resolved
@DarkLight1337 DarkLight1337 enabled auto-merge (squash) August 12, 2024 11:17
@github-actions github-actions bot added the ready ONLY add when PR is ready to merge/full CI is needed label Aug 12, 2024
@DarkLight1337 DarkLight1337 merged commit 24154f8 into vllm-project:main Aug 12, 2024
48 checks passed
sfc-gh-mkeralapura pushed a commit to sfc-gh-mkeralapura/vllm that referenced this pull request Aug 12, 2024
@DarkLight1337 DarkLight1337 deleted the no-duplicate-arg branch August 13, 2024 01:22
kylesayrs pushed a commit to neuralmagic/vllm that referenced this pull request Aug 17, 2024
fialhocoelho pushed a commit to opendatahub-io/vllm that referenced this pull request Aug 22, 2024
Alvant pushed a commit to compressa-ai/vllm that referenced this pull request Oct 26, 2024
KuntaiDu pushed a commit to KuntaiDu/vllm that referenced this pull request Nov 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready ONLY add when PR is ready to merge/full CI is needed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug]:vllm server will get some error and python3 -m vllm.entrypoints.openai.api_server is correct
3 participants