Skip to content

Support YaRN models (RoFormer implementation in rotary_embedding kernel) #1027

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

Closed
kevaldekivadiya2415 opened this issue Sep 13, 2023 · 3 comments

Comments

@kevaldekivadiya2415
Copy link

Feature request
Nous Research and EleutherAI have recently released the YaRN model, which comes in two versions with context sizes of 64k and 128k. This model utilizes RoFormer-style embeddings, distinguishing it from GPT-NeoX and GPT-J. It is built upon the foundation of the LLaMa 2 model, making it largely compatible with some minor adjustments required for optimal support.

Motivation
The YaRN model's longer context length (up to 128k) is highly valuable for tasks involving extensive context, compared to the limited 4096 context length of the llama2 base model.

Other
YaRN paper: YaRN: Efficient Context Window Extension of Large Language Models
YaRN Code: YaRN Github

@viktor-ferenczi
Copy link
Contributor

viktor-ferenczi commented Sep 22, 2023

Duplicate of #980

@zhongwei1968
Copy link

+1

@hmellor
Copy link
Member

hmellor commented Mar 8, 2024

Closing as duplicate of #980

@hmellor hmellor closed this as completed Mar 8, 2024
@hmellor hmellor closed this as completed Feb 27, 2025
yiliu30 pushed a commit to yiliu30/vllm-fork that referenced this issue Apr 15, 2025
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

No branches or pull requests

4 participants