ptrblck:

at::globalContext().setUserEnabledCuDNN(false);


I am doing a quick test with torch::conv2d on a simple RGB image, but whether i enable or disable CUDNN, the runtime seems to be the same.
torch::cuda::cudnn_is_available() is true
EDIT:
No CUDNN is faster, just needed to run more iterations and take an average