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: "index_select_out_cuda_impl" not implemented for 'Float' #4

Open
QiWang233 opened this issue Oct 19, 2023 · 3 comments
Open

Comments

@QiWang233
Copy link

Hi, I encountered the following error while executing the training command, I don't know how to solve it, I hope I can get your help.
image

@peonycabbage
Copy link

Hello, I solved the problem by adding .float() after select_indices from lines 384, 436, 439 and 441

@QiWang233
Copy link
Author

QiWang233 commented Nov 20, 2023 via email

@username123062
Copy link

username123062 commented Jan 21, 2024

Face the similar problem:
"GASLT/signjoey/search.py", line 385, in beam_search
[alive_seq.index_select(0, select_indices), topk_ids.view(-1, 1)], -1
RuntimeError: expected scalar type Long but found Float

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

3 participants