mirror of
https://github.com/zebrajr/pytorch.git
synced 2025-12-07 12:21:27 +01: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:
parent
864ffe12d7
commit
5dbee5691c
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user