Пример #1
0
 def test_unique_id(self, device):
     uid = nccl.unique_id()
     self.assertIsInstance(uid, bytes)
     self.assertGreater(len(uid), 1)
Пример #2
0
 def test_unique_id(self):
     uid = nccl.unique_id()
     self.assertIsInstance(uid, bytes)
     self.assertGreater(len(uid), 1)