Skip to content

Commit

Permalink
[ROCm] [FakeTensorTest] Enable test_fallback_memory_prop (pytorch#85760)
Browse files Browse the repository at this point in the history
Signed-off-by: Jagadish Krishnamoorthy <jagdish.krishna@gmail.com>

Pull Request resolved: pytorch#85760
Approved by: https://github.com/kit1980
  • Loading branch information
jaglinux authored and pytorchmergebot committed Oct 25, 2022
1 parent e818574 commit 9efca7c
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion test/test_fake_tensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,6 @@ def fn(
self.assertTrue(isinstance(ten, FakeTensor))
self.assertEqual(ten.device.type, 'cuda')

@skipIfRocm
@unittest.skipIf(not RUN_CUDA, "requires cuda")
def test_fallback_memory_prop(self):
m = nn.Conv2d(16, 33, 3, stride=2, device="cuda", dtype=torch.half)
Expand Down

0 comments on commit 9efca7c

Please sign in to comment.