@@ -74,11 +74,9 @@ class TestBasicCastsHalf(_TestBasicCasts):
...
@@ -74,11 +74,9 @@ class TestBasicCastsHalf(_TestBasicCasts):
deftearDown(self):
deftearDown(self):
self.handle._deactivate()
self.handle._deactivate()
@unittest.skip("The failing unit test is introduced by a PyTorch commit sometime in between rocm/pytorch:rocm4.3.1_ubuntu18.04_py3.6_pytorch_1.9.0 and 2021/12/01. Same error is also observed on CUDA. Please refer to https://github.com/ROCmSoftwarePlatform/apex/issues/62")
deftest_linear_is_half(self):
deftest_linear_is_half(self):
self._test_linear(ALWAYS_HALF)
self._test_linear(ALWAYS_HALF)
@unittest.skip("The failing unit test is introduced by a PyTorch commit sometime in between rocm/pytorch:rocm4.3.1_ubuntu18.04_py3.6_pytorch_1.9.0 and 2021/12/01. Same error is also observed on CUDA. Please refer to https://github.com/ROCmSoftwarePlatform/apex/issues/62")
@unittest.skip("The failing unit test is introduced by a PyTorch commit sometime in between rocm/pytorch:rocm4.3.1_ubuntu18.04_py3.6_pytorch_1.9.0 and 2021/12/01. Same error is also observed on CUDA. Please refer to https://github.com/ROCmSoftwarePlatform/apex/issues/62")
@@ -69,7 +69,6 @@ class TestCheckpointing(unittest.TestCase):
...
@@ -69,7 +69,6 @@ class TestCheckpointing(unittest.TestCase):
'key: {}\nparam: {}\nrestored: {}\ndiff: {} for {}'.format(
'key: {}\nparam: {}\nrestored: {}\ndiff: {} for {}'.format(
key,paramA,paramB,paramA-paramB,test_setup))
key,paramA,paramB,paramA-paramB,test_setup))
@unittest.skip("The failing unit test is introduced by a PyTorch commit sometime in between rocm/pytorch:rocm4.3.1_ubuntu18.04_py3.6_pytorch_1.9.0 and 2021/12/01. Same error is also observed on CUDA. Please refer to https://github.com/ROCmSoftwarePlatform/apex/issues/62")
deftest_restoring(self):
deftest_restoring(self):
nb_epochs=10
nb_epochs=10
nb_epochs_restore=nb_epochs//2
nb_epochs_restore=nb_epochs//2
...
@@ -222,7 +221,6 @@ class TestCheckpointing(unittest.TestCase):
...
@@ -222,7 +221,6 @@ class TestCheckpointing(unittest.TestCase):
@unittest.skip("The failing unit test is introduced by a PyTorch commit sometime in between rocm/pytorch:rocm4.3.1_ubuntu18.04_py3.6_pytorch_1.9.0 and 2021/12/01. Same error is also observed on CUDA. Please refer to https://github.com/ROCmSoftwarePlatform/apex/issues/62")
@@ -40,17 +40,14 @@ class TestRnnCells(unittest.TestCase):
...
@@ -40,17 +40,14 @@ class TestRnnCells(unittest.TestCase):
fori,xinenumerate(xs):
fori,xinenumerate(xs):
self.assertEqual(x.grad.dtype,x.dtype)
self.assertEqual(x.grad.dtype,x.dtype)
@unittest.skip("The failing unit test is introduced by a PyTorch commit sometime in between rocm/pytorch:rocm4.3.1_ubuntu18.04_py3.6_pytorch_1.9.0 and 2021/12/01. Same error is also observed on CUDA. Please refer to https://github.com/ROCmSoftwarePlatform/apex/issues/62")
deftest_rnn_cell_is_half(self):
deftest_rnn_cell_is_half(self):
cell=nn.RNNCell(self.h,self.h)
cell=nn.RNNCell(self.h,self.h)
self.run_cell_test(cell)
self.run_cell_test(cell)
@unittest.skip("The failing unit test is introduced by a PyTorch commit sometime in between rocm/pytorch:rocm4.3.1_ubuntu18.04_py3.6_pytorch_1.9.0 and 2021/12/01. Same error is also observed on CUDA. Please refer to https://github.com/ROCmSoftwarePlatform/apex/issues/62")
deftest_gru_cell_is_half(self):
deftest_gru_cell_is_half(self):
cell=nn.GRUCell(self.h,self.h)
cell=nn.GRUCell(self.h,self.h)
self.run_cell_test(cell)
self.run_cell_test(cell)
@unittest.skip("The failing unit test is introduced by a PyTorch commit sometime in between rocm/pytorch:rocm4.3.1_ubuntu18.04_py3.6_pytorch_1.9.0 and 2021/12/01. Same error is also observed on CUDA. Please refer to https://github.com/ROCmSoftwarePlatform/apex/issues/62")