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 OPT weight loading #1819

Merged
merged 1 commit into from
Nov 28, 2023
Merged

Fix OPT weight loading #1819

merged 1 commit into from
Nov 28, 2023

Conversation

WoosukKwon
Copy link
Collaborator

Fixes #1810

This PR adds model. prefix to OPT parameter names during weight loading. This renaming is necessary for some OPT models like OPT-6.7B but was deleted in #1622.

@WoosukKwon WoosukKwon marked this pull request as ready for review November 28, 2023 19:20
@simon-mo simon-mo merged commit b943890 into main Nov 28, 2023
2 checks passed
@WoosukKwon WoosukKwon deleted the fix-opt branch November 28, 2023 19:27
xjpang pushed a commit to xjpang/vllm that referenced this pull request Dec 4, 2023
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.

KeyError: 'decoder.layers.23.fc2.weight' when test model "facebook/opt-6.7b"
2 participants