DingXiaoH / RepLKNet-pytorch

Scaling Up Your Kernels to 31x31: Revisiting Large Kernel Design in CNNs (CVPR 2022)
MIT License
867 stars 86 forks source link

Compiling 19_large_depthwise_conv2d_torch_extension #20

Open gaowq2017 opened 2 years ago

gaowq2017 commented 2 years ago

Hi, thanks for sharing the code. I have issue when compling the file of 19_large_depthwise_conv2d_torch_extension. Python 3.6 torch 1.8 cuda 11.1 vs2019 as follow: image Any ideas?

TheGreatTreatsby commented 2 years ago

Python 3.7 torch 1.9.0 cuda 11.1 vs2017 不知道cutlass是不是要先安装,才能用这个19_large_depthwise_conv2d_torch_extension,虽然cutlass的测试环境都包含了win,但是命令都是Linux的,不知道咋操作

DingXiaoH commented 2 years ago

Hi, we have never tried Windows. We would be appreciated if you could share your experience and solution.

yuan-kai-design commented 2 years ago

我在win11上也遇到了这个问题 LINK : fatal error LNK1181: 无法打开输入文件“D:\anaconda3_python37\Github\cutlass-master\cutlass-master\examples\19_large_depthwise_conv2d_torch_extension\build\temp.win-amd64-3.7\Release\frontend.obj” error: command 'D:\VisualStudio2019\cummunity\VC\Tools\MSVC\14.29.30133\bin\HostX86\x64\link.exe' failed with exit status 1181 不知道问题出在什么地方