-
Notifications
You must be signed in to change notification settings - Fork 27.7k
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
RWKV split CPU & GPU results in high perplexity #23368
Comments
@younesbelkada Any update ? |
Hi @3outeille |
Hi @younesbelkada, I update transformers & accelerate to the latest release version as shown here: https://github.com/3outeille/hf_rwkv_bug/blob/master/requirements.txt and the bug is still here |
This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread. Please note that issues that do not follow the contributing guidelines are likely to be ignored. |
System Info
Using #22797 (comment) PR, I tried to evaluate perplexity on wikitext2 using HuggingFace RWKV but found a weird behavior (gist to reproduce the bug: https://gist.github.com/3outeille/e74ec833ec2800a94325f8dad8e0da3d).
Any idea ?
Who can help?
@sgugger, @younesbelkada
Information
Tasks
examples
folder (such as GLUE/SQuAD, ...)Reproduction
https://gist.github.com/3outeille/e74ec833ec2800a94325f8dad8e0da3d
Expected behavior
nlls: tensor([2.0129, 2.3220, 2.3500])
Perplexity: 9.284077644348145
nlls: tensor([2.0137, 2.3223, 2.3496], device='cuda:0', dtype=torch.float16)
Perplexity: 9.2890625
nlls: tensor([15.6641, 15.9141, 16.5469], device='cuda:0', dtype=torch.float16)
Perplexity: 9312564.0
The text was updated successfully, but these errors were encountered: