I’m attempting to build a pytorch v1.4 wheel using the instructions found here but am running into some issues that I believe is due to cuDNN being version 8.0 instead of 7.0. For example:
../caffe2/operators/conv_op_cudnn.cc:1173:11: error: ‘CUDNN_CONVOLUTION_BWD_FILTER_SPECIFY_WORKSPACE_LIMIT’ was not declared in this scope
CUDNN_CONVOLUTION_BWD_FILTER_SPECIFY_WORKSPACE_LIMIT,
../caffe2/operators/conv_op_cudnn.cc:754:56: error: ‘cudnnGetConvolutionForwardAlgorithm’ was not declared in this scope
CUDNN_ENFORCE(cudnnGetConvolutionForwardAlgorithm(
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
cudnn_wrapper_.inline_cudnn_handle(),
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
bottom_desc_,
~~~~~~~~~~~~~
filter_desc_,
~~~~~~~~~~~~~
conv_desc_,
~~~~~~~~~~~
top_desc_,
~~~~~~~~~~
CUDNN_CONVOLUTION_FWD_SPECIFY_WORKSPACE_LIMIT,
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cudnn_ws_nbytes_limit_,
~~~~~~~~~~~~~~~~~~~~~~~
&algo_));
....
../caffe2/operators/conv_op_cudnn.cc:1255:63: error: ‘cudnnGetConvolutionBackwardDataAlgorithm’ was not declared in this scope
CUDNN_ENFORCE(cudnnGetConvolutionBackwardDataAlgorithm(
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
cudnn_wrapper_.inline_cudnn_handle(),
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
filter_desc_,
~~~~~~~~~~~~~
top_desc_,
~~~~~~~~~~
bwd_data_conv_desc_,
~~~~~~~~~~~~~~~~~~~~
bottom_desc_,
~~~~~~~~~~~~~
CUDNN_CONVOLUTION_BWD_DATA_SPECIFY_WORKSPACE_LIMIT,
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cudnn_ws_nbytes_limit_,
~~~~~~~~~~~~~~~~~~~~~~~
&bwd_data_algo_));
I know there are wheels successfully pre-built with those instructions. Am I missing something to be able to build this?