pytorch
418ebc82 - Build: Respect USE_CUDNN=0, even if cudnn is found (#32404)

Commit
4 years ago
Build: Respect USE_CUDNN=0, even if cudnn is found (#32404) Summary: Currently, setting `USE_CUDNN=0` has no effect and any cudnn library found on your system will be used anyway. This is especially problematic when your system has multiple CUDA versions installed, and you are building with a version that lacks a matching cudnn. CMake will find any other cudnn versions and you end up with both CUDA versions added to your compiler include paths. Pull Request resolved: https://github.com/pytorch/pytorch/pull/32404 Differential Revision: D19499425 Pulled By: ezyang fbshipit-source-id: a9b3f6f9dc22033481c3c1c5999b1a7ef98468cb
Author
Parents
Loading