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: check for wte.weight along with embed_tokens.weight #356

Merged
merged 1 commit into from
Sep 27, 2024

Conversation

willmj
Copy link
Collaborator

@willmj willmj commented Sep 27, 2024

Description of the change

Some granite models use naming convention wte.weight instead of embed_tokens.weight. Accounting for the difference for v2.0.0 release until we can get something more generic.

Related issue number

How to verify the PR

Was the PR tested

  • I have added >=1 unit test(s) for every new method I have added.
  • I have ensured all unit tests pass

Signed-off-by: Will Johnson <mwjohnson728@gmail.com>
Copy link

Thanks for making a pull request! 😃
One of the maintainers will review and advise on the next steps.

@github-actions github-actions bot added the fix label Sep 27, 2024
@Ssukriti Ssukriti merged commit a37f074 into foundation-model-stack:main Sep 27, 2024
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants