[cuDNN][Convolution][TF32][64bit] Add tf32_on_and_off decorator to conv3d 64bit test (#161004)

cuDNN has new generated kernels that can use TF32.

Pull Request resolved: https://github.com/pytorch/pytorch/pull/161004
Approved by: https://github.com/janeyx99, https://github.com/Skylion007
This commit is contained in:
eqy
2025-09-10 21:39:32 +00:00
committed by PyTorch MergeBot
parent 864ffe12d7
commit 5dbee5691c

View File

@ -4041,6 +4041,7 @@ class TestConvolutionNNDeviceType(NNTestCase):
@onlyCUDA
@largeTensorTest("40GB")
@largeTensorTest("24GB", "cpu")
@tf32_on_and_off(0.005)
def test_conv3d_64bit_indexing(self, device):
x = torch.rand(1, 32, 512, 512, 256)
m = torch.nn.Conv3d(32, 1, kernel_size=1, padding=0, stride=1, bias=False)