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

fix max seq len #489

Merged
merged 2 commits into from
Jul 18, 2023
Merged

fix max seq len #489

merged 2 commits into from
Jul 18, 2023

Conversation

LiuXiaoxuanPKU
Copy link
Collaborator

This PR tries to remove the definition of max sequence length. A response is capped only when it's longer than max_model_len. A request is ignored if the input prompt is longer than min(max_model_len, max_num_batched_tokens). This should fix #446.

Copy link
Collaborator

@zhuohan123 zhuohan123 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Thanks for the quick fix!

@zhuohan123 zhuohan123 merged commit b4b195b into vllm-project:main Jul 18, 2023
2 checks passed
@LiuXiaoxuanPKU LiuXiaoxuanPKU deleted the fix_seq branch August 10, 2023 17:49
hongxiayang pushed a commit to hongxiayang/vllm that referenced this pull request Feb 13, 2024
sjchoi1 pushed a commit to casys-kaist-internal/vllm that referenced this pull request May 7, 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.

None yet

2 participants