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

RuntimeError: "nll_loss_forward_reduce_cuda_kernel_2d_index" not implemented for 'Int' #1553

Open
celsowm opened this issue Oct 16, 2023 · 0 comments

Comments

@celsowm
Copy link

celsowm commented Oct 16, 2023

Describe the bug

Tried to execute this code: https://simpletransformers.ai/docs/t5-minimal-start/
And got this error:
RuntimeError: "nll_loss_forward_reduce_cuda_kernel_2d_index" not implemented for 'Int'

To Reproduce

Copy, paste on Thonny and executed

Expected behavior

To worked fine :)

Screenshots

image

Desktop (please complete the following information):

  • OS: Windows 10
  • Pytorch: 2.1.0+cu121
  • Python: 3.10.9 (tags/v3.10.9:1dd9be6, Dec 6 2022, 20:01:21) [MSC v.1934 64 bit (AMD64)]
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

1 participant