Skip to content

LLaMA 3.2 3B: Tied weights missing #1102

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

Open
heffernankevin opened this issue Apr 3, 2025 · 0 comments
Open

LLaMA 3.2 3B: Tied weights missing #1102

heffernankevin opened this issue Apr 3, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@heffernankevin
Copy link

Describe the bug:
Currently the config for LLaMA 3.2 3B is not using tied weights. Only the 1B model is currently supported (https://github.com/facebookresearch/fairseq2/blob/main/src/fairseq2/models/llama/_config.py#L257)

Describe how to reproduce:
Loaded LLaMA 3.2 3B and confirmed weights are tied

In [13]: (model.decoder_frontend.embed.weight == model.final_proj.weight).all()
Out[13]: tensor(True)
@heffernankevin heffernankevin added the bug Something isn't working label Apr 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant