Open hylrh2008 opened 4 years ago
Check this issue: https://github.com/pytorch/vision/issues/1865 I'm working with Windows10+cuda10.1+vs2019 and it works for me using specified fixes. I'm currently running ResNet152 training on GPU.
Patches I applied : https://github.com/fmigneault/vision/tree/windows-patches Hope this helps you.
@fmigneault thank you but It doesn't work for me although i change my compiler to vs2019. this is my vs setting:
it seems like cmake can't find cuda compiler link to vs.could i see your vs setting screenshot? thank you
Configurations look like this for me:
And include directories:
Make sure that CUDA
and CUDNN
libraries and include directories can be found adequately. Otherwise I think CMake disables WITH_CUDA
option.
@fmigneault I am using the same Windows10 + cuda10.1 + vs2019 with you. But I make error. Can you descripe your steps to cmake torchvision, thanks.
@hylrh2008 Did you slove your problem, I have the the same problem with you.
@LI-Wen-Jiang I did these modifications to make it work: https://github.com/fmigneault/vision/commit/9983a277f731b76f9c71dd4dbcd93abbc0666b04
windows10+cuda10.1+vs2017 when i cmake torchvision with CUDA but it doesn't work.i change enable_language(CUDA) as find_package(CUDA) but it still only compile cpu file.