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][OpenAI] Support for returning max_model_len on /v1/models response #4643

Conversation

Avinash-Raj
Copy link
Contributor

This pull request introduces the max_model_len parameter to the response of the OpenAI server's /v1/models endpoint. This enhancement provides clients with information about the maximum number of tokens (prompt_tokens + output_tokens) that a model can support.

@DarkLight1337 DarkLight1337 enabled auto-merge (squash) May 31, 2024 15:58
@DarkLight1337
Copy link
Member

LGTM, thanks for the contribution! @simon-mo can you manually trigger the remaining tests in the pipeline to be re-run?

@DarkLight1337 DarkLight1337 merged commit f790ad3 into vllm-project:main Jun 2, 2024
60 checks passed
blinkbear pushed a commit to blinkbear/vllm that referenced this pull request Jun 3, 2024
robertgshaw2-neuralmagic pushed a commit to neuralmagic/nm-vllm that referenced this pull request Jun 11, 2024
joerunde pushed a commit to joerunde/vllm that referenced this pull request Jun 17, 2024
xjpang pushed a commit to xjpang/vllm that referenced this pull request Jun 27, 2024
xjpang pushed a commit to xjpang/vllm that referenced this pull request Jul 8, 2024
xjpang pushed a commit to xjpang/vllm that referenced this pull request Jul 24, 2024
Temirulan pushed a commit to Temirulan/vllm-whisper that referenced this pull request Sep 6, 2024
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.

2 participants