mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 21:14:14 +08:00
[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:
@ -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)
|
||||
|
Reference in New Issue
Block a user