Created
August 27, 2024 16:50
-
-
Save hvaara/40b510a2521e7f452bd6eec1da38e128 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
python test/test_modules.py -v -k test_memory_format_nn_BatchNorm2d_ | |
test_memory_format_nn_BatchNorm2d_eval_mode_cpu_float32 (__main__.TestModuleCPU.test_memory_format_nn_BatchNorm2d_eval_mode_cpu_float32) ... ok | |
test_memory_format_nn_BatchNorm2d_eval_mode_cpu_float64 (__main__.TestModuleCPU.test_memory_format_nn_BatchNorm2d_eval_mode_cpu_float64) ... ok | |
test_memory_format_nn_BatchNorm2d_train_mode_cpu_float32 (__main__.TestModuleCPU.test_memory_format_nn_BatchNorm2d_train_mode_cpu_float32) ... ok | |
test_memory_format_nn_BatchNorm2d_train_mode_cpu_float64 (__main__.TestModuleCPU.test_memory_format_nn_BatchNorm2d_train_mode_cpu_float64) ... ok | |
test_memory_format_nn_BatchNorm2d_eval_mode_mps_float16 (__main__.TestModuleMPS.test_memory_format_nn_BatchNorm2d_eval_mode_mps_float16) ... ok | |
test_memory_format_nn_BatchNorm2d_eval_mode_mps_float32 (__main__.TestModuleMPS.test_memory_format_nn_BatchNorm2d_eval_mode_mps_float32) ... ok | |
test_memory_format_nn_BatchNorm2d_train_mode_mps_float16 (__main__.TestModuleMPS.test_memory_format_nn_BatchNorm2d_train_mode_mps_float16) ... FAIL | |
test_memory_format_nn_BatchNorm2d_train_mode_mps_float32 (__main__.TestModuleMPS.test_memory_format_nn_BatchNorm2d_train_mode_mps_float32) ... FAIL | |
====================================================================== | |
FAIL: test_memory_format_nn_BatchNorm2d_train_mode_mps_float16 (__main__.TestModuleMPS.test_memory_format_nn_BatchNorm2d_train_mode_mps_float16) | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/Users/hvaara/dev/pytorch/pytorch/torch/testing/_internal/common_utils.py", line 2918, in wrapper | |
method(*args, **kwargs) | |
File "/Users/hvaara/dev/pytorch/pytorch/torch/testing/_internal/common_device_type.py", line 447, in instantiated_test | |
result = test(self, **param_kwargs) | |
^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
File "/Users/hvaara/dev/pytorch/pytorch/torch/testing/_internal/common_utils.py", line 1515, in wrapper | |
fn(*args, **kwargs) | |
File "/Users/hvaara/dev/pytorch/pytorch/torch/testing/_internal/common_modules.py", line 129, in test_wrapper | |
return test(*args, **kwargs) | |
^^^^^^^^^^^^^^^^^^^^^ | |
File "/Users/hvaara/dev/pytorch/pytorch/torch/testing/_internal/common_cuda.py", line 225, in wrapped | |
return f(*args, **kwargs) | |
^^^^^^^^^^^^^^^^^^ | |
File "/Users/hvaara/dev/pytorch/pytorch/test/test_modules.py", line 774, in test_memory_format | |
self.assertEqual( | |
File "/Users/hvaara/dev/pytorch/pytorch/torch/testing/_internal/common_utils.py", line 3824, in assertEqual | |
raise error_metas.pop()[0].to_error( | |
AssertionError: Tensor-likes are not close! | |
Mismatched elements: 216 / 216 (100.0%) | |
Greatest absolute difference: 1.05078125 at index (1, 0, 1, 4) (up to 1e-05 allowed) | |
Greatest relative difference: 2576.0 at index (0, 2, 5, 0) (up to 0.001 allowed) | |
The failure occurred for item [0] | |
To execute this test, run the following from the base repo dir: | |
python test/test_modules.py TestModuleMPS.test_memory_format_nn_BatchNorm2d_train_mode_mps_float16 | |
This message can be suppressed by setting PYTORCH_PRINT_REPRO_ON_FAILURE=0 | |
====================================================================== | |
FAIL: test_memory_format_nn_BatchNorm2d_train_mode_mps_float32 (__main__.TestModuleMPS.test_memory_format_nn_BatchNorm2d_train_mode_mps_float32) | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/Users/hvaara/dev/pytorch/pytorch/torch/testing/_internal/common_utils.py", line 2918, in wrapper | |
method(*args, **kwargs) | |
File "/Users/hvaara/dev/pytorch/pytorch/torch/testing/_internal/common_device_type.py", line 447, in instantiated_test | |
result = test(self, **param_kwargs) | |
^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
File "/Users/hvaara/dev/pytorch/pytorch/torch/testing/_internal/common_utils.py", line 1515, in wrapper | |
fn(*args, **kwargs) | |
File "/Users/hvaara/dev/pytorch/pytorch/torch/testing/_internal/common_modules.py", line 129, in test_wrapper | |
return test(*args, **kwargs) | |
^^^^^^^^^^^^^^^^^^^^^ | |
File "/Users/hvaara/dev/pytorch/pytorch/torch/testing/_internal/common_cuda.py", line 225, in wrapped | |
return f(*args, **kwargs) | |
^^^^^^^^^^^^^^^^^^ | |
File "/Users/hvaara/dev/pytorch/pytorch/test/test_modules.py", line 774, in test_memory_format | |
self.assertEqual( | |
File "/Users/hvaara/dev/pytorch/pytorch/torch/testing/_internal/common_utils.py", line 3824, in assertEqual | |
raise error_metas.pop()[0].to_error( | |
AssertionError: Tensor-likes are not close! | |
Mismatched elements: 216 / 216 (100.0%) | |
Greatest absolute difference: 1.0258822441101074 at index (1, 1, 4, 4) (up to 1e-05 allowed) | |
Greatest relative difference: 1735.79296875 at index (0, 1, 0, 0) (up to 1e-05 allowed) | |
The failure occurred for item [0] | |
To execute this test, run the following from the base repo dir: | |
python test/test_modules.py TestModuleMPS.test_memory_format_nn_BatchNorm2d_train_mode_mps_float32 | |
This message can be suppressed by setting PYTORCH_PRINT_REPRO_ON_FAILURE=0 | |
---------------------------------------------------------------------- | |
Ran 8 tests in 0.325s | |
FAILED (failures=2) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment