mirror of
https://github.com/zebrajr/pytorch.git
synced 2025-12-06 12:20:52 +01:00
[OpenReg] Remove the unit.skip for test_serialization (#156804)
This bugs was fixed by this [PR](https://github.com/pytorch/pytorch/pull/147095) Pull Request resolved: https://github.com/pytorch/pytorch/pull/156804 Approved by: https://github.com/albanD ghstack dependencies: #156588, #156589
This commit is contained in:
parent
98e594b565
commit
0a16818d5b
|
|
@ -339,10 +339,6 @@ class TestOpenReg(TestCase):
|
|||
self.assertNotEqual(pinned_a.data_ptr(), rewrapped_a.data_ptr())
|
||||
|
||||
# Serialization
|
||||
@unittest.skip(
|
||||
"Temporarily disable due to the tiny differences between clang++ and g++ in defining static variable in inline function,"
|
||||
"this pr can fix this, https://github.com/pytorch/pytorch/pull/147095"
|
||||
)
|
||||
def test_serialization(self):
|
||||
storage = torch.UntypedStorage(4, device=torch.device("openreg"))
|
||||
self.assertEqual(torch.serialization.location_tag(storage), "openreg:0")
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user