-
-
Notifications
You must be signed in to change notification settings - Fork 6.1k
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
Add support for LLaMA-2 #505
Conversation
I notice that you didn't new a llama2.py, so this PR compatible with both llama and llama2? |
Yes, old model should still be compatible. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@zhuohan123 Awesome! Thanks for the great work! Just left minor comments.
Please double-check that this PR doesn't break LLaMA V1 and other models using RoPE, before merging the PR.
Add support for LLaMA-2 (vllm-project#505)
I am getting an error when trying to load some LLama V1 models: LlamaConfig object has no attribute 'num_key_value_heads' |
WARNING 07-28 03:23:18 scheduler.py:196] Input prompt (2716 tokens) is too long and exceeds limit of 4096 |
|
Co-authored-by: Michał Kuligowski <mkuligowski@habana.ai>
Fix #501
Update: this PR has some correctness issues on 70B models. Will look into it.@WoosukKwon This PR is ready to go. Please review and let's merge it!