Disable cuDNN persistent RNN on A30 (#59830)
Summary:
https://github.com/pytorch/pytorch/issues/59829
cherry-picked from ptrblck 's change CC ngimel xwang233
Pull Request resolved: https://github.com/pytorch/pytorch/pull/59830
Reviewed By: bdhirsh
Differential Revision: D29046145
Pulled By: ngimel
fbshipit-source-id: 270ab3bb6c1c7c759497a15eb38b20a177c94adb