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

Everyone, I have implemented multi-token prediction of InfiniAttention and meta. #518

Open
win10ogod opened this issue May 8, 2024 · 1 comment

Comments

@win10ogod
Copy link

Is anyone willing to help improve memory consumption?
I will post a PR.
(https://github.com/win10ogod/llama2-InfiniAttention.c/blob/master/model.py)
I commented outmodel_export(raw_model, os.path.join(out_dir, "model.bin"), version=0)
Because I don’t understand C language, there are also errors in export .py

@bityigoss
Copy link

if we still tie the weights of lm_head in multi-token prediction, how they output different token predictions? @win10ogod

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

No branches or pull requests

2 participants