原版MOC
pytorch=0.4.1支持的最高版本cuda是9.2,我发现只要conda环境中装对cuda版本即可,与系统装的cuda版本是无关的
’At least one of the inputs that requires gradient ’
check_gradient_dpooling True
配置1
系统Ubuntu 20.04
显卡2080Ti
cuda9.0
cudnn7.6.5
gcc5
conda环境中pytorch=0.4.1 torchvision=0.2.1 cuda92
配置2
系统Ubuntu 20.04
显卡2080Ti
cuda9.2
cudnn7.6.5
gcc5
conda环境中pytorch=0.4.1 torchvision=0.2.1 cuda92
配置3
系统Ubuntu 20.04
显卡2080Ti
cuda10.0
cudnn7.6.5
gcc5
conda环境中pytorch=0.4.1 torchvision=0.2.1 cuda92
配置4
系统Ubuntu 20.04
显卡2080Ti
cuda11.0
cudnn8.0.5
gcc5
conda环境中pytorch=0.4.1 torchvision=0.2.1 cuda92
配置5
系统Ubuntu 20.04
显卡2080Ti
cuda11.0
cudnn8.0.5
gcc5
conda环境中pytorch=0.4.1 torchvision=0.2.1 cuda92
配置6
系统Ubuntu 20.04
显卡2080Ti
cuda11.0
cudnn8.0.5
gcc5
conda环境中pytorch=0.4.1 torchvision=0.2.1 cudatoolkit=9.2
undefined symbol: __cudaRegisterFatBinaryEnd
配置7
系统Ubuntu 20.04
显卡2080Ti
cuda11.0
cudnn8.0.5
gcc5
conda环境中pytorch=0.4.1 torchvision=0.2.1 cuda90
undefined symbol: __cudaRegisterFatBinaryEnd
配置8
系统Ubuntu 20.04
显卡2080Ti
cuda11.0
cudnn8.0.5
gcc5
conda环境中pytorch=0.4.1 torchvision=0.2.1 cudatoolkit=9.0
undefined symbol: __cudaRegisterFatBinaryEnd
pytorch1.0的DCNv2
配置1
系统Ubuntu 20.04
显卡2080Ti
cuda9.0
cudnn7.6.5
gcc5
conda环境中pytorch=1.2.0 torchvision=0.4.0 cudatoolkit=9.2
RuntimeError: Backward is not reentrant
配置2
系统Ubuntu 20.04
显卡2080Ti
cuda9.0
cudnn7.6.5
gcc5
conda环境中pytorch1.0.0 torchvision0.2.1 cudatoolkit=9.0
RuntimeError: Creating MTGP constants failed. at /opt/conda/conda-bld/pytorch_1544202130060/work/aten/src/THC/THCTensorRandom.cu:35
配置3
系统Ubuntu 20.04
显卡2080Ti
cuda9.2
cudnn7.6.5
gcc5
conda环境中pytorch=1.2.0 torchvision=0.4.0 cudatoolkit=9.2
RuntimeError: Backward is not reentrant
配置4
系统Ubuntu 20.04
显卡2080Ti
cuda9.2
cudnn7.6.5
gcc5
conda环境中pytorch=1.0.0 torchvision=0.2.1 cudatoolkit=10.0
RuntimeError: Backward is not reentrant
配置5
系统Ubuntu 20.04
显卡2080Ti
cuda10.0
cudnn7.6.5
gcc5
conda环境中pytorch=1.2.0 torchvision=0.4.0 cudatoolkit=9.2
RuntimeError: Backward is not reentrant
配置6
系统Ubuntu 20.04
显卡2080Ti
cuda10.0
cudnn7.6.5
gcc5
conda环境中pytorch=1.0.0 torchvision=0.2.1 cudatoolkit=10.0
RuntimeError: Backward is not reentrant
配置7
系统Ubuntu 20.04
显卡2080Ti
cuda11.0
cudnn8.0.5
gcc5
conda环境中pytorch=1.2.0 torchvision=0.4.0 cudatoolkit=9.2
RuntimeError: Backward is not reentrant
配置8
系统Ubuntu 20.04
显卡2080Ti
cuda11.0
cudnn8.0.5
gcc5
conda环境中pytorch1.7.0 torchvision0.8.0 cudatoolkit=11.0
RuntimeError: Error compiling objects for extension