Skip to content

Errors enountered when fine tuning models (RuntimeError: No such operator aten::cudnn_convolution_backward_weight) #458

Answered by user41pp
oschan77 asked this question in How-to
Discussion options

You must be logged in to vote

Update: I downgraded some packages, now it works. New env:

PyTorch: 1.10.2+cu111
TorchVision: 0.11.3+cu111
OpenCV: 4.6.0
MMCV: 1.5.3
MMGen: 0.7.1+3542102
MMCV Compiler: GCC 9.4
MMCV CUDA Compiler: 11.1

I have the same issue.

...
  File "/mmgeneration/mmgen/ops/conv2d_gradfix.py", line 207, in backward
    grad_weight = Conv2dGradWeight.apply(grad_output, input)
  File "/mmgeneration/mmgen/ops/conv2d_gradfix.py", line 250, in forward
    return torch._C._jit_get_operation(name)(weight_shape, grad_output,
RuntimeError: No such operator aten::cudnn_convolution_backward_weight
...

My env:

sys.platform: linux
Python: 3.8.13 (default, Mar 28 2022, 11:38:47) [GCC 7.5.0]
CUDA available: True
CU…

Replies: 8 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by zengyh1900
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
How-to
Labels
None yet
5 participants
Converted from issue

This discussion was converted from issue #322 on October 12, 2022 11:20.