-
Notifications
You must be signed in to change notification settings - Fork 382
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
aten::cudnn_convolution_backward_weight not found #96
Comments
You're on the right track, keep following |
Hi @iszihan @Bathsheba, any followups about this issue? |
I'm on pytorch 1.13.0, and currently the code does run with the following modification though I'm not 100% sure if this does what the old code do. ` #flags = [torch.backends.cudnn.benchmark, torch.backends.cudnn.deterministic, torch.backends.cudnn.allow_tf32] op, _ = torch._C._jit_get_operation(name) empty_weight = torch.tensor(0.0, dtype=input.dtype, device=input.device).expand(weight_shape) output_mask = [False,True,False] _, grad_weight, _ = op(grad_output, input, empty_weight, None, stride, padding, dilation, transpose, (0,0), groups, output_mask) #*flags) return grad_weight |
Hello, I was trying to run the training file but got this error after following some fixes with this #91
aten::cudnn_convolution_backward_weight not found when calling from ops/conv2d_grad_fix.py line 179. After searching around, it seems to suggest we need to replace this function with aten::convolution_backward (according to pytorch/pytorch#74437), which requires a shuffling of input arguments and some additional arguments such as output mask, and bias size. I'm wondering if you know another fix and if not, how should one modify the arguments to convolution_backward() for this call? Thank you!
The text was updated successfully, but these errors were encountered: