-
Notifications
You must be signed in to change notification settings - Fork 643
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
[Chatllama] fix embedding out of bounds #253
[Chatllama] fix embedding out of bounds #253
Conversation
Hi @HuangLK!
|
Seem like another case. You could check the max length of training data, or just use one simple&short example for debugging. |
will do, thnx! |
Did you fix that? I met this at iteration 205. |
@HuangLK Thanks for solving 'srcIndex < srcSelectDimSize' problem. I modified
Do you have any ideas? |
@bnuzhanyu |
Hi @HuangLK Thanks for the PR! We are very excited to have people be part of this project! |
while token_id is -1, embedding will cause out of bounds.
https://github.com/nebuly-ai/nebullvm/blob/ca085a979b5b596bf0ecd477e4c4deff3725661c/apps/accelerate/chatllama/chatllama/llama_model.py#L482
partial error message: