-
Notifications
You must be signed in to change notification settings - Fork 474
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
why dense_embedding_codegen_lookup_function has No DispatchKey::Autograd with DataParallel #2657
Comments
It has backward method,But Autograd is not registered |
@imhandsome are you training on GPU or CPU? |
gpu |
Having the same issue |
@sarckk GPU |
@imhandsome I think this is just a user warning saying that when using PyTorch 2 (torch.compile) you may silently run into an incorrect behaviour. However if you aren't using PT2 shouldn't be an issue in your case. I believe a fix would be to update this op's autograd registration, like in pytorch/FBGEMM#1948. @sryap any plans to do that here? |
The text was updated successfully, but these errors were encountered: