🐛 Describe the bug
=================================== FAILURES ===================================
___________ TestTorchDeviceTypeCPU.test_bytes_to_scalar_cpu_float32 ____________
Traceback (most recent call last):
File "/home/jenkins/pytorch/test/test_torch.py", line 132, in test_bytes_to_scalar
self.assertEqual(scalar.storage().untyped().tolist(), bytes_list)
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/jenkins/pip/lib/python3.13/site-packages/torch/testing/_internal/common_utils.py", line 4445, in assertEqual
raise error_metas.pop()[0].to_error( # type: ignore[index]
...<4 lines>...
)
AssertionError: Scalars are not equal!
Expected 69 but got 0.
Absolute difference: 69
Relative difference: 1.0
The failure occurred for item [0]
To execute this test, run the following from the base repo dir:
python test/test_torch.py TestTorchDeviceTypeCPU.test_bytes_to_scalar_cpu_float32
This message can be suppressed by setting PYTORCH_PRINT_REPRO_ON_FAILURE=0
----------------------------- Captured stderr call -----------------------------
/home/jenkins/pytorch/test/test_torch.py:132: UserWarning: TypedStorage is deprecated. It will be removed in the future and UntypedStorage will be the only storage class. This should only matter to you if you are using storages directly. To access UntypedStorage directly, use tensor.untyped_storage() instead of tensor.storage()
self.assertEqual(scalar.storage().untyped().tolist(), bytes_list)
=========================== short test summary info ============================
FAILED [0.0200s] test_torch.py::TestTorchDeviceTypeCPU::test_bytes_to_scalar_cpu_float32
!!!!!!!!!!!!!!!!!!!!!!!!!! stopping after 1 failures !!!!!!!!!!!!!!!!!!!!!!!!!!!
===== shard_0_ci.log =====
=================================== FAILURES ===================================
___________ TestTorchDeviceTypeCPU.test_bytes_to_scalar_cpu_float32 ____________
Traceback (most recent call last):
File "/home/jenkins/pytorch/test/test_torch.py", line 132, in test_bytes_to_scalar
self.assertEqual(scalar.storage().untyped().tolist(), bytes_list)
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/jenkins/pip/lib/python3.13/site-packages/torch/testing/_internal/common_utils.py", line 4445, in assertEqual
raise error_metas.pop()[0].to_error( # type: ignore[index]
...<4 lines>...
)
AssertionError: Scalars are not equal!
Expected 69 but got 0.
Absolute difference: 69
Relative difference: 1.0
The failure occurred for item [0]
To execute this test, run the following from the base repo dir:
python test/test_torch.py TestTorchDeviceTypeCPU.test_bytes_to_scalar_cpu_float32
This message can be suppressed by setting PYTORCH_PRINT_REPRO_ON_FAILURE=0
----------------------------- Captured stderr call -----------------------------
/home/jenkins/pytorch/test/test_torch.py:132: UserWarning: TypedStorage is deprecated. It will be removed in the future and UntypedStorage will be the only storage class. This should only matter to you if you are using storages directly. To access UntypedStorage directly, use tensor.untyped_storage() instead of tensor.storage()
self.assertEqual(scalar.storage().untyped().tolist(), bytes_list)
=========================== short test summary info ============================
FAILED [0.0207s] test_torch.py::TestTorchDeviceTypeCPU::test_bytes_to_scalar_cpu_float32
!!!!!!!!!!!!!!!!!!!!!!!!!! stopping after 1 failures !!!!!!!!!!!!!!!!!!!!!!!!!!!
Versions
Same with #5
🐛 Describe the bug
Versions
Same with #5