KEMBAR78
Provide default max model length by WoosukKwon · Pull Request #1224 · vllm-project/vllm · GitHub
Skip to content

Conversation

@WoosukKwon
Copy link
Collaborator

Some models like BLOOM and (original) Falcon does not have attributes like max_position_embeddings. This PR provides a default value (2048) for such models and prints a warning message to the user.

Copy link
Member

@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 fix!

@WoosukKwon WoosukKwon merged commit f936657 into main Sep 28, 2023
@WoosukKwon WoosukKwon deleted the max-len branch September 28, 2023 21:44
hongxiayang pushed a commit to hongxiayang/vllm that referenced this pull request Feb 13, 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