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

GPTNeo results nan #503

Open
swimdi opened this issue Nov 25, 2024 · 0 comments
Open

GPTNeo results nan #503

swimdi opened this issue Nov 25, 2024 · 0 comments

Comments

@swimdi
Copy link
Collaborator

swimdi commented Nov 25, 2024

Currently pytest tests/models/gpt_neo/test_gpt_neo.py will failed with at this part

> print(probs)
TorchTensor([[nan, nan, nan,  ..., nan, nan, nan]], dtype=torch.bfloat16)
> torch.multinomial(probs, num_samples=1).squeeze(1)
RuntimeError: probability tensor contains either `inf`, `nan` or element < 0

It's because cannot sampling nan value, and I think it is the accuracy issue, so lower priority it until we move on the accuracy debug

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Todo
Development

No branches or pull requests

1 participant