Skip to content

Instantly share code, notes, and snippets.

@dlibenzi
Created September 23, 2019 17:31
Show Gist options
  • Save dlibenzi/a3df1de44517e3a57a2de836f1ee0475 to your computer and use it in GitHub Desktop.
Save dlibenzi/a3df1de44517e3a57a2de836f1ee0475 to your computer and use it in GitHub Desktop.
======================================================================
FAIL: test_chain_matmul_xla (__main__.TestTorchDeviceTypeXLA)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/dlibenzi_google_com/pytorch/test/common_device_type.py", line 127, in instantiated_test
return test(self, cls.device_type)
File "/home/dlibenzi_google_com/pytorch/xla/test/../../test/test_torch.py", line 7480, in test_chain_matmul
run_test([10, 20, 30, 5], device)
File "/home/dlibenzi_google_com/pytorch/xla/test/../../test/test_torch.py", line 7478, in run_test
self.assertEqual(torch.chain_matmul(*matrices), product(matrices))
File "/home/dlibenzi_google_com/pytorch/test/common_utils.py", line 688, in assertEqual
assertTensorsEqual(x, y)
File "/home/dlibenzi_google_com/pytorch/test/common_utils.py", line 668, in assertTensorsEqual
self.assertLessEqual(max_err, prec, message)
AssertionError: tensor(0.2323, device='xla:1') not less than or equal to 1e-05 :
======================================================================
FAIL: test_cholesky_inverse_xla (__main__.TestTorchDeviceTypeXLA)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/dlibenzi_google_com/pytorch/test/common_device_type.py", line 127, in instantiated_test
return test(self, cls.device_type)
File "/home/dlibenzi_google_com/pytorch/test/common_device_type.py", line 310, in dep_fn
return fn(slf, device, *args, **kwargs)
File "/home/dlibenzi_google_com/pytorch/test/common_device_type.py", line 310, in dep_fn
return fn(slf, device, *args, **kwargs)
File "/home/dlibenzi_google_com/pytorch/xla/test/../../test/test_torch.py", line 7891, in test_cholesky_inverse
self.assertLessEqual(inv0.dist(inv1), 1e-12)
AssertionError: tensor(4.2386e-06, device='xla:1') not less than or equal to 1e-12
======================================================================
FAIL: test_cholesky_solve_batched_broadcasting_xla (__main__.TestTorchDeviceTypeXLA)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/dlibenzi_google_com/pytorch/test/common_device_type.py", line 127, in instantiated_test
return test(self, cls.device_type)
File "/home/dlibenzi_google_com/pytorch/test/common_device_type.py", line 310, in dep_fn
return fn(slf, device, *args, **kwargs)
File "/home/dlibenzi_google_com/pytorch/test/common_device_type.py", line 310, in dep_fn
return fn(slf, device, *args, **kwargs)
File "/home/dlibenzi_google_com/pytorch/xla/test/../../test/test_torch.py", line 7874, in test_cholesky_solve_batched_broadcasting
run_test((2, 1, 3, 4, 4), (2, 1, 3, 4, 6), cast, upper) # no broadcasting
File "/home/dlibenzi_google_com/pytorch/xla/test/../../test/test_torch.py", line 7870, in run_test
self.assertEqual(x, cast(x_exp))
File "/home/dlibenzi_google_com/pytorch/test/common_utils.py", line 688, in assertEqual
assertTensorsEqual(x, y)
File "/home/dlibenzi_google_com/pytorch/test/common_utils.py", line 668, in assertTensorsEqual
self.assertLessEqual(max_err, prec, message)
AssertionError: tensor(0.0002, device='xla:1') not less than or equal to 1e-05 :
======================================================================
FAIL: test_cholesky_solve_batched_xla (__main__.TestTorchDeviceTypeXLA)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/dlibenzi_google_com/pytorch/test/common_device_type.py", line 127, in instantiated_test
return test(self, cls.device_type)
File "/home/dlibenzi_google_com/pytorch/test/common_device_type.py", line 310, in dep_fn
return fn(slf, device, *args, **kwargs)
File "/home/dlibenzi_google_com/pytorch/test/common_device_type.py", line 310, in dep_fn
return fn(slf, device, *args, **kwargs)
File "/home/dlibenzi_google_com/pytorch/xla/test/../../test/test_torch.py", line 7816, in test_cholesky_solve_batched
cholesky_solve_batch_helper((5, batchsize), (batchsize, 5, 10), lambda t: t.to(device), upper)
File "/home/dlibenzi_google_com/pytorch/xla/test/../../test/test_torch.py", line 7813, in cholesky_solve_batch_helper
self.assertLessEqual(b.dist(torch.matmul(A, x_act)), 2e-12) # Correctness check
AssertionError: tensor(0.1194, device='xla:1') not less than or equal to 2e-12
======================================================================
FAIL: test_cholesky_solve_xla (__main__.TestTorchDeviceTypeXLA)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/dlibenzi_google_com/pytorch/test/common_device_type.py", line 127, in instantiated_test
return test(self, cls.device_type)
File "/home/dlibenzi_google_com/pytorch/test/common_device_type.py", line 310, in dep_fn
return fn(slf, device, *args, **kwargs)
File "/home/dlibenzi_google_com/pytorch/test/common_device_type.py", line 310, in dep_fn
return fn(slf, device, *args, **kwargs)
File "/home/dlibenzi_google_com/pytorch/xla/test/../../test/test_torch.py", line 7798, in test_cholesky_solve
self.assertLessEqual(b.dist(A.mm(x)), 1e-12)
AssertionError: tensor(0.0311, device='xla:1') not less than or equal to 1e-12
======================================================================
FAIL: test_cholesky_xla (__main__.TestTorchDeviceTypeXLA)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/dlibenzi_google_com/pytorch/test/common_device_type.py", line 127, in instantiated_test
return test(self, cls.device_type)
File "/home/dlibenzi_google_com/pytorch/test/common_device_type.py", line 310, in dep_fn
return fn(slf, device, *args, **kwargs)
File "/home/dlibenzi_google_com/pytorch/test/common_device_type.py", line 310, in dep_fn
return fn(slf, device, *args, **kwargs)
File "/home/dlibenzi_google_com/pytorch/xla/test/../../test/test_torch.py", line 7949, in test_cholesky
self.assertEqual(A, B, 1e-14)
File "/home/dlibenzi_google_com/pytorch/test/common_utils.py", line 688, in assertEqual
assertTensorsEqual(x, y)
File "/home/dlibenzi_google_com/pytorch/test/common_utils.py", line 668, in assertTensorsEqual
self.assertLessEqual(max_err, prec, message)
AssertionError: tensor(0.0287, device='xla:1') not less than or equal to 1e-14 :
======================================================================
FAIL: test_matrix_power_xla (__main__.TestTorchDeviceTypeXLA)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/dlibenzi_google_com/pytorch/test/common_device_type.py", line 127, in instantiated_test
return test(self, cls.device_type)
File "/home/dlibenzi_google_com/pytorch/test/common_device_type.py", line 310, in dep_fn
return fn(slf, device, *args, **kwargs)
File "/home/dlibenzi_google_com/pytorch/test/common_device_type.py", line 310, in dep_fn
return fn(slf, device, *args, **kwargs)
File "/home/dlibenzi_google_com/pytorch/xla/test/../../test/test_torch.py", line 7447, in test_matrix_power
run_test(M)
File "/home/dlibenzi_google_com/pytorch/xla/test/../../test/test_torch.py", line 7440, in run_test
self.assertEqual(MP6, torch.matmul(MP3, MP3))
File "/home/dlibenzi_google_com/pytorch/test/common_utils.py", line 688, in assertEqual
assertTensorsEqual(x, y)
File "/home/dlibenzi_google_com/pytorch/test/common_utils.py", line 668, in assertTensorsEqual
self.assertLessEqual(max_err, prec, message)
AssertionError: tensor(0.2648, device='xla:1') not less than or equal to 1e-05 :
======================================================================
FAIL: test_solve_batched_xla (__main__.TestTorchDeviceTypeXLA)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/dlibenzi_google_com/pytorch/test/common_device_type.py", line 127, in instantiated_test
return test(self, cls.device_type)
File "/home/dlibenzi_google_com/pytorch/test/common_device_type.py", line 310, in dep_fn
return fn(slf, device, *args, **kwargs)
File "/home/dlibenzi_google_com/pytorch/test/common_device_type.py", line 310, in dep_fn
return fn(slf, device, *args, **kwargs)
File "/home/dlibenzi_google_com/pytorch/xla/test/../../test/test_torch.py", line 7738, in test_solve_batched
solve_batch_helper((5, batchsize), (batchsize, 5, 10), device)
File "/home/dlibenzi_google_com/pytorch/xla/test/../../test/test_torch.py", line 7735, in solve_batch_helper
self.assertLessEqual(b.dist(torch.matmul(A, x_act)), 1e-12) # Correctness check
AssertionError: tensor(0.0218, device='xla:1') not less than or equal to 1e-12
======================================================================
FAIL: test_solve_xla (__main__.TestTorchDeviceTypeXLA)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/dlibenzi_google_com/pytorch/test/common_device_type.py", line 127, in instantiated_test
return test(self, cls.device_type)
File "/home/dlibenzi_google_com/pytorch/test/common_device_type.py", line 310, in dep_fn
return fn(slf, device, *args, **kwargs)
File "/home/dlibenzi_google_com/pytorch/test/common_device_type.py", line 310, in dep_fn
return fn(slf, device, *args, **kwargs)
File "/home/dlibenzi_google_com/pytorch/xla/test/../../test/test_torch.py", line 7720, in test_solve
self.assertLessEqual(b.dist(A.mm(x)), 1e-12)
AssertionError: tensor(0.0024, device='xla:1') not less than or equal to 1e-12
======================================================================
FAIL: test_tensordot_xla (__main__.TestTorchDeviceTypeXLA)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/dlibenzi_google_com/pytorch/test/common_device_type.py", line 127, in instantiated_test
return test(self, cls.device_type)
File "/home/dlibenzi_google_com/pytorch/xla/test/../../test/test_torch.py", line 11036, in test_tensordot
self.assertEqual(c, cn)
File "/home/dlibenzi_google_com/pytorch/test/common_utils.py", line 688, in assertEqual
assertTensorsEqual(x, y)
File "/home/dlibenzi_google_com/pytorch/test/common_utils.py", line 668, in assertTensorsEqual
self.assertLessEqual(max_err, prec, message)
AssertionError: tensor(0.0307) not less than or equal to 1e-05 :
======================================================================
FAIL: test_triangular_solve_xla (__main__.TestTorchDeviceTypeXLA)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/dlibenzi_google_com/pytorch/test/common_device_type.py", line 127, in instantiated_test
return test(self, cls.device_type)
File "/home/dlibenzi_google_com/pytorch/test/common_device_type.py", line 310, in dep_fn
return fn(slf, device, *args, **kwargs)
File "/home/dlibenzi_google_com/pytorch/test/common_device_type.py", line 310, in dep_fn
return fn(slf, device, *args, **kwargs)
File "/home/dlibenzi_google_com/pytorch/xla/test/../../test/test_torch.py", line 9588, in test_triangular_solve
self.assertLessEqual(b.dist(A.t().mm(x)), 4e-12)
AssertionError: tensor(2.1711e-08, device='xla:1') not less than or equal to 4e-12
----------------------------------------------------------------------
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment