Skip to content

Fix the prefix for OPT model in opt_modelling.py #2370

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

Conversation

sadra-barikbin
Copy link
Contributor

@sadra-barikbin sadra-barikbin commented Aug 7, 2024

Hi there!

  • Fixed the prefix for weight names according to the OPT models in the HuggingFace hub.
  • Added a test just to make sure OPT could be served without error.

Fixes #2197

drbh added a commit that referenced this pull request Aug 8, 2024
* Fix the bug

* fix: run lints

* fix: small syntax tweak

---------

Co-authored-by: Sadra Barikbin <[email protected]>
@drbh
Copy link
Collaborator

drbh commented Aug 8, 2024

closing this PR since all of the changes were included and merged in #2371. Thank you!

@drbh drbh closed this Aug 8, 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.

OPTForCausalLM 's prefix should not be 'model' in opt_modelling.py
2 participants