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

[BugFix] Fix RoPE kernel on long sequences #2164

Merged
merged 1 commit into from
Dec 18, 2023
Merged

Conversation

WoosukKwon
Copy link
Collaborator

Currently, the RoPE kernel dose not work for very long sequences (e.g., LLaMA 7B with 256K sequence length). This PR fixes this bug.

@Yard1
Copy link
Collaborator

Yard1 commented Dec 18, 2023

Looks good, are there any changes needed in Python?

@WoosukKwon
Copy link
Collaborator Author

@Yard1 I don't think so. After this change, the kernel and our RoPE classes work.

@WoosukKwon WoosukKwon merged commit 76a7983 into main Dec 18, 2023
2 checks passed
@WoosukKwon WoosukKwon deleted the fix-rope-kernel branch December 18, 2023 01:09
xjpang pushed a commit to xjpang/vllm that referenced this pull request Dec 18, 2023
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.

None yet

2 participants