Disable cuDNN persistent RNN on sm_86 devices (#49534)
Summary:
Excludes sm_86 GPU devices from using cuDNN persistent RNN.
This is because there are some hard-to-detect edge cases that will throw exceptions with cudnn 8.0.5 on Nvidia A40 GPU.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/49534
Reviewed By: mruberry
Differential Revision: D25632378
Pulled By: mrshenli
fbshipit-source-id: cbe78236d85d4d0c2e4ca63a3fc2c4e2de662d9e