Skip to content

Revert "Dispatch to mv rather than mm in the case that tensor1.ndim == 1 and tensor2.ndim == 2 (#75195)"#82484

Closed
zou3519 wants to merge 1 commit intogh/zou3519/454/basefrom
gh/zou3519/454/head
Closed

Revert "Dispatch to mv rather than mm in the case that tensor1.ndim == 1 and tensor2.ndim == 2 (#75195)"#82484
zou3519 wants to merge 1 commit intogh/zou3519/454/basefrom
gh/zou3519/454/head

Conversation

@zou3519
Copy link
Contributor

@zou3519 zou3519 commented Jul 29, 2022

…= 1 and tensor2.ndim == 2 (#75195)"

This reverts commit d024d26.

[ghstack-poisoned]
zou3519 added a commit that referenced this pull request Jul 29, 2022
…= 1 and tensor2.ndim == 2 (#75195)"

This reverts commit d024d26.

ghstack-source-id: d5daa0c
Pull Request resolved: #82484
@facebook-github-bot
Copy link
Contributor

facebook-github-bot commented Jul 29, 2022

🔗 Helpful links

❌ 12 New Failures

As of commit 4e81b6c (more details on the Dr. CI page):

Expand to see more
  • 12/12 failures introduced in this PR

🕵️ 12 new failures recognized by patterns

The following CI failures do not appear to be due to upstream breakages

See GitHub Actions build pull / linux-bionic-py3.7-clang9 / test (default, 1, 2, linux.2xlarge) (1/12)

Step: "Test" (full log | diagnosis details | 🔁 rerun)

2022-07-29T17:39:26.1992845Z FAIL [0.010s]: tes...with_stack_and_modules (__main__.TestProfilerTree)
2022-07-29T17:39:26.1920651Z -                       enum.py(...): __hash__
2022-07-29T17:39:26.1920908Z -                         <built-in function hash>
2022-07-29T17:39:26.1921351Z -                     ... : To accept the new output, re-run test with envvar EXPECTTEST_ACCEPT=1 (we recommend staging/committing your changes before doing this)
2022-07-29T17:39:26.1921594Z 
2022-07-29T17:39:26.1922000Z   test_profiler_experimental_tree_with_stack_and_modules (__main__.TestProfilerTree) ... STAGE:2022-07-29 17:39:26 1340:1340 ActivityProfilerController.cpp:294] Completed Stage: Warm Up
2022-07-29T17:39:26.1924591Z STAGE:2022-07-29 17:39:26 1340:1340 ActivityProfilerController.cpp:300] Completed Stage: Collection
2022-07-29T17:39:26.1991277Z FAIL (0.010s)
2022-07-29T17:39:26.1991913Z     test_profiler_experimental_tree_with_stack_and_modules failed - num_retries_left: 0
2022-07-29T17:39:26.1992233Z 
2022-07-29T17:39:26.1992390Z ======================================================================
2022-07-29T17:39:26.1992845Z FAIL [0.010s]: test_profiler_experimental_tree_with_stack_and_modules (__main__.TestProfilerTree)
2022-07-29T17:39:26.1993457Z ----------------------------------------------------------------------
2022-07-29T17:39:26.1993974Z Traceback (most recent call last):
2022-07-29T17:39:26.1994363Z   File "test_profiler_tree.py", line 43, in begin_unit_test_marker
2022-07-29T17:39:26.1994700Z     return f(self)
2022-07-29T17:39:26.1995108Z   File "test_profiler_tree.py", line 563, in test_profiler_experimental_tree_with_stack_and_modules
2022-07-29T17:39:26.1995513Z     ..."""
2022-07-29T17:39:26.1995847Z   File "test_profiler_tree.py", line 159, in assertTreesMatch
2022-07-29T17:39:26.1996347Z     self.assertExpectedInline(actual, expected, skip=1)
2022-07-29T17:39:26.1997145Z   File "/opt/conda/lib/python3.7/site-packages/expecttest/__init__.py", line 262, in assertExpectedInline
2022-07-29T17:39:26.1997819Z     self.assertMultiLineEqualMaybeCppStack(expect, actual, msg=help_text)

See GitHub Actions build pull / linux-bionic-py3.7-clang9 / test (dynamo, 2, 2, linux.2xlarge) (2/12)

Step: "Test" (full log | diagnosis details | 🔁 rerun)

2022-07-29T17:43:49.9130630Z AssertionError: Scalars are not equal!
2022-07-29T17:43:49.9127310Z [gw3] linux -- Python 3.7.13 /opt/conda/bin/python
2022-07-29T17:43:49.9127548Z Traceback (most recent call last):
2022-07-29T17:43:49.9127852Z   File "/var/lib/jenkins/workspace/test/test_ops.py", line 712, in test_out
2022-07-29T17:43:49.9128122Z     _compare_out(_case_one_transform)
2022-07-29T17:43:49.9128387Z   File "/var/lib/jenkins/workspace/test/test_ops.py", line 686, in _compare_out
2022-07-29T17:43:49.9128733Z     self.assertEqual(original_strides, final_strides, msg=stride_msg)
2022-07-29T17:43:49.9129175Z   File "/opt/conda/lib/python3.7/site-packages/torch/testing/_internal/common_utils.py", line 2392, in assertEqual
2022-07-29T17:43:49.9129620Z     msg=(lambda generated_msg: f"{generated_msg} : {msg}") if isinstance(msg, str) and self.longMessage else msg,
2022-07-29T17:43:49.9130136Z   File "/opt/conda/lib/python3.7/site-packages/torch/testing/_comparison.py", line 1093, in assert_equal
2022-07-29T17:43:49.9130410Z     raise error_metas[0].to_error(msg)
2022-07-29T17:43:49.9130630Z AssertionError: Scalars are not equal!
2022-07-29T17:43:49.9130872Z 
2022-07-29T17:43:49.9130970Z Absolute difference: 1
2022-07-29T17:43:49.9131149Z Relative difference: 1.0
2022-07-29T17:43:49.9131269Z 
2022-07-29T17:43:49.9131454Z The failure occurred for item [0][0] : Strides are not the same! Original strides were ((2,),) and strides are now ((1,),)
2022-07-29T17:43:49.9197664Z - generated xml file: /var/lib/jenkins/workspace/test/test-reports/python-pytest/test_ops/test_ops.xml -
2022-07-29T17:43:49.9202238Z =========================== short test summary info ============================
2022-07-29T17:43:49.9202687Z FAILED test_ops.py::TestCommonCPU::test_out_nn_functional_linear_cpu_float32
2022-07-29T17:43:49.9205315Z !!!!!!!!!!!!!!!!!!!!!!!!!! stopping after 1 failures !!!!!!!!!!!!!!!!!!!!!!!!!!!
2022-07-29T17:43:49.9205617Z !!!!!!!!!!!! xdist.dsession.Interrupted: stopping after 1 failures !!!!!!!!!!!!!

See GitHub Actions build pull / linux-focal-py3.7-gcc7 / test (default, 1, 2, linux.2xlarge) (3/12)

Step: "Test" (full log | diagnosis details | 🔁 rerun)

2022-07-29T17:40:54.6316223Z AssertionError: Scalars are not equal!
2022-07-29T17:40:54.6308287Z [gw0] linux -- Python 3.7.13 /opt/conda/bin/python
2022-07-29T17:40:54.6308506Z Traceback (most recent call last):
2022-07-29T17:40:54.6308768Z   File "/var/lib/jenkins/workspace/test/test_ops.py", line 712, in test_out
2022-07-29T17:40:54.6310095Z     _compare_out(_case_one_transform)
2022-07-29T17:40:54.6310433Z   File "/var/lib/jenkins/workspace/test/test_ops.py", line 686, in _compare_out
2022-07-29T17:40:54.6310724Z     self.assertEqual(original_strides, final_strides, msg=stride_msg)
2022-07-29T17:40:54.6313928Z   File "/opt/conda/lib/python3.7/site-packages/torch/testing/_internal/common_utils.py", line 2392, in assertEqual
2022-07-29T17:40:54.6314627Z     msg=(lambda generated_msg: f"{generated_msg} : {msg}") if isinstance(msg, str) and self.longMessage else msg,
2022-07-29T17:40:54.6315284Z   File "/opt/conda/lib/python3.7/site-packages/torch/testing/_comparison.py", line 1093, in assert_equal
2022-07-29T17:40:54.6315764Z     raise error_metas[0].to_error(msg)
2022-07-29T17:40:54.6316223Z AssertionError: Scalars are not equal!
2022-07-29T17:40:54.6316517Z 
2022-07-29T17:40:54.6316666Z Absolute difference: 1
2022-07-29T17:40:54.6316969Z Relative difference: 1.0
2022-07-29T17:40:54.6317092Z 
2022-07-29T17:40:54.6317275Z The failure occurred for item [0][0] : Strides are not the same! Original strides were ((2,),) and strides are now ((1,),)
2022-07-29T17:40:54.6369095Z - generated xml file: /var/lib/jenkins/workspace/test/test-reports/python-pytest/test_ops/test_ops.xml -
2022-07-29T17:40:54.6371762Z =========================== short test summary info ============================
2022-07-29T17:40:54.6372126Z FAILED test_ops.py::TestCommonCPU::test_out_nn_functional_linear_cpu_float32
2022-07-29T17:40:54.6373272Z !!!!!!!!!!!!!!!!!!!!!!!!!! stopping after 1 failures !!!!!!!!!!!!!!!!!!!!!!!!!!!
2022-07-29T17:40:54.6374238Z !!!!!!!!!!!! xdist.dsession.Interrupted: stopping after 1 failures !!!!!!!!!!!!!

See GitHub Actions build pull / linux-bionic-py3.7-clang9 / test (crossref, 1, 2, linux.2xlarge) (4/12)

Step: "Test" (full log | diagnosis details | 🔁 rerun)

2022-07-29T17:42:05.3155186Z AssertionError: Scalars are not equal!
2022-07-29T17:42:05.3148345Z [gw0] linux -- Python 3.7.13 /opt/conda/bin/python
2022-07-29T17:42:05.3148604Z Traceback (most recent call last):
2022-07-29T17:42:05.3149002Z   File "/var/lib/jenkins/workspace/test/test_ops.py", line 712, in test_out
2022-07-29T17:42:05.3151388Z     _compare_out(_case_one_transform)
2022-07-29T17:42:05.3151847Z   File "/var/lib/jenkins/workspace/test/test_ops.py", line 686, in _compare_out
2022-07-29T17:42:05.3152175Z     self.assertEqual(original_strides, final_strides, msg=stride_msg)
2022-07-29T17:42:05.3153116Z   File "/opt/conda/lib/python3.7/site-packages/torch/testing/_internal/common_utils.py", line 2392, in assertEqual
2022-07-29T17:42:05.3153700Z     msg=(lambda generated_msg: f"{generated_msg} : {msg}") if isinstance(msg, str) and self.longMessage else msg,
2022-07-29T17:42:05.3154382Z   File "/opt/conda/lib/python3.7/site-packages/torch/testing/_comparison.py", line 1093, in assert_equal
2022-07-29T17:42:05.3154788Z     raise error_metas[0].to_error(msg)
2022-07-29T17:42:05.3155186Z AssertionError: Scalars are not equal!
2022-07-29T17:42:05.3155748Z 
2022-07-29T17:42:05.3155862Z Absolute difference: 1
2022-07-29T17:42:05.3156193Z Relative difference: 1.0
2022-07-29T17:42:05.3156424Z 
2022-07-29T17:42:05.3156770Z The failure occurred for item [0][0] : Strides are not the same! Original strides were ((2,),) and strides are now ((1,),)
2022-07-29T17:42:05.3213835Z - generated xml file: /var/lib/jenkins/workspace/test/test-reports/python-pytest/test_ops/test_ops.xml -
2022-07-29T17:42:05.3215843Z =========================== short test summary info ============================
2022-07-29T17:42:05.3216268Z FAILED test_ops.py::TestCommonCPU::test_out_nn_functional_linear_cpu_float32
2022-07-29T17:42:05.3218373Z !!!!!!!!!!!!!!!!!!!!!!!!!! stopping after 1 failures !!!!!!!!!!!!!!!!!!!!!!!!!!!
2022-07-29T17:42:05.3218658Z !!!!!!!!!!!! xdist.dsession.Interrupted: stopping after 1 failures !!!!!!!!!!!!!

See GitHub Actions build pull / linux-bionic-cuda11.6-py3.10-gcc7 / test (default, 4, 4, linux.4xlarge.nvidia.gpu) (5/12)

Step: "Test" (full log | diagnosis details | 🔁 rerun)

2022-07-29T18:04:57.0199845Z FAIL [0.017s]: tes...with_stack_and_modules (__main__.TestProfilerTree)
2022-07-29T18:04:57.0077762Z -                       enum.py(...): __hash__
2022-07-29T18:04:57.0078124Z -                         <built-in function hash>
2022-07-29T18:04:57.0078740Z -                     ... : To accept the new output, re-run test with envvar EXPECTTEST_ACCEPT=1 (we recommend staging/committing your changes before doing this)
2022-07-29T18:04:57.0079051Z 
2022-07-29T18:04:57.0079586Z   test_profiler_experimental_tree_with_stack_and_modules (__main__.TestProfilerTree) ... STAGE:2022-07-29 18:04:57 530:530 ActivityProfilerController.cpp:294] Completed Stage: Warm Up
2022-07-29T18:04:57.0103087Z STAGE:2022-07-29 18:04:57 530:530 ActivityProfilerController.cpp:300] Completed Stage: Collection
2022-07-29T18:04:57.0196858Z FAIL (0.017s)
2022-07-29T18:04:57.0197549Z     test_profiler_experimental_tree_with_stack_and_modules failed - num_retries_left: 0
2022-07-29T18:04:57.0198720Z 
2022-07-29T18:04:57.0199051Z ======================================================================
2022-07-29T18:04:57.0199845Z FAIL [0.017s]: test_profiler_experimental_tree_with_stack_and_modules (__main__.TestProfilerTree)
2022-07-29T18:04:57.0200494Z ----------------------------------------------------------------------
2022-07-29T18:04:57.0201009Z Traceback (most recent call last):
2022-07-29T18:04:57.0201644Z   File "/var/lib/jenkins/workspace/test/test_profiler_tree.py", line 43, in begin_unit_test_marker
2022-07-29T18:04:57.0202193Z     return f(self)
2022-07-29T18:04:57.0202613Z   File "/var/lib/jenkins/workspace/test/test_profiler_tree.py", line 469, in test_profiler_experimental_tree_with_stack_and_modules
2022-07-29T18:04:57.0203012Z     self.assertTreesMatch(
2022-07-29T18:04:57.0203409Z   File "/var/lib/jenkins/workspace/test/test_profiler_tree.py", line 159, in assertTreesMatch
2022-07-29T18:04:57.0203839Z     self.assertExpectedInline(actual, expected, skip=1)
2022-07-29T18:04:57.0204550Z   File "/opt/conda/lib/python3.10/site-packages/expecttest/__init__.py", line 262, in assertExpectedInline
2022-07-29T18:04:57.0205336Z     self.assertMultiLineEqualMaybeCppStack(expect, actual, msg=help_text)

See GitHub Actions build pull / linux-bionic-py3_7-clang8-xla / test (xla, 1, 1, linux.2xlarge) (6/12)

Step: "Test" (full log | diagnosis details | 🔁 rerun)

2022-07-29T19:12:55.0194046Z �[0;31m[ FAILED ] �[mAtenXlaTensorTest.TestMatmul_1x2
2022-07-29T19:12:55.0036721Z �[0;32m[ RUN      ] �[mXLABackendTest.TestE2E
2022-07-29T19:12:55.0188903Z �[0;32m[       OK ] �[mXLABackendTest.TestE2E (10 ms)
2022-07-29T19:12:55.0189521Z �[0;32m[----------] �[m4 tests from XLABackendTest (16 ms total)
2022-07-29T19:12:55.0190120Z 
2022-07-29T19:12:55.0190447Z �[0;32m[----------] �[mGlobal test environment tear-down
2022-07-29T19:12:55.0191164Z �[0;32m[==========] �[m629 tests from 9 test suites ran. (472048 ms total)
2022-07-29T19:12:55.0191726Z �[0;32m[  PASSED  ] �[m627 tests.
2022-07-29T19:12:55.0192060Z �[0;32m[  SKIPPED ] �[m1 test, listed below:
2022-07-29T19:12:55.0192743Z �[0;32m[  SKIPPED ] �[mAtenXlaTensorTest.TestGroupNormBackward
2022-07-29T19:12:55.0193399Z �[0;31m[  FAILED  ] �[m1 test, listed below:
2022-07-29T19:12:55.0194046Z �[0;31m[  FAILED  ] �[mAtenXlaTensorTest.TestMatmul_1x2
2022-07-29T19:12:55.0194389Z 
2022-07-29T19:12:55.0194538Z  1 FAILED TEST
2022-07-29T19:12:55.7590690Z + sccache_epilogue
2022-07-29T19:12:55.7591223Z + echo '::group::Sccache Compilation Log'
2022-07-29T19:12:55.7592060Z ##[group]Sccache Compilation Log
2022-07-29T19:12:55.7592383Z + echo '=================== sccache compilation log ==================='
2022-07-29T19:12:55.7592638Z =================== sccache compilation log ===================
2022-07-29T19:12:55.7593021Z + python /var/lib/jenkins/workspace/.jenkins/pytorch/print_sccache_log.py /home/jenkins/sccache_error.log
2022-07-29T19:12:55.7782735Z + echo '=========== If your build fails, please take a look at the log above for possible reasons ==========='
2022-07-29T19:12:55.7783274Z =========== If your build fails, please take a look at the log above for possible reasons ===========

See GitHub Actions build pull / win-vs2019-cpu-py3 / test (default, 2, 2, windows.4xlarge) (7/12)

Step: "Test" (full log | diagnosis details | 🔁 rerun)

2022-07-29T18:47:27.6562314Z FAIL [0.010s]: tes...with_stack_and_modules (__main__.TestProfilerTree)
2022-07-29T18:47:27.6560355Z                         torch/nn/modules/module.py(...): __getattr__
2022-07-29T18:47:27.6560578Z                         <built-in function linear>
2022-07-29T18:47:27.6560779Z                           aten::linear
2022-07-29T18:47:27.6560963Z                             aten::t
2022-07-29T18:47:27.6561157Z                               aten::transpose
2022-07-29T18:47:27.6561349Z                                 aten::as_strided
2022-07-29T18:47:27.6561545Z                             aten::matmul
2022-07-29T18:47:27.6561726Z -                             aten::t
2022-07-29T18:47:27.6561931Z 
2022-07-29T18:47:27.6562028Z ======================================================================
2022-07-29T18:47:27.6562314Z FAIL [0.010s]: test_profiler_experimental_tree_with_stack_and_modules (__main__.TestProfilerTree)
2022-07-29T18:47:27.6562647Z ----------------------------------------------------------------------
2022-07-29T18:47:27.6562887Z Traceback (most recent call last):
2022-07-29T18:47:27.6563175Z   File "test_profiler_tree.py", line 43, in begin_unit_test_marker
2022-07-29T18:47:27.6563398Z     return f(self)
2022-07-29T18:47:27.6563713Z   File "test_profiler_tree.py", line 469, in test_profiler_experimental_tree_with_stack_and_modules
2022-07-29T18:47:27.6563977Z     self.assertTreesMatch(
2022-07-29T18:47:27.6564244Z   File "test_profiler_tree.py", line 159, in assertTreesMatch
2022-07-29T18:47:27.6564601Z     self.assertExpectedInline(actual, expected, skip=1)
2022-07-29T18:47:27.6564997Z   File "C:\Jenkins\Miniconda3\lib\site-packages\expecttest\__init__.py", line 262, in assertExpectedInline
2022-07-29T18:47:27.6565377Z     self.assertMultiLineEqualMaybeCppStack(expect, actual, msg=help_text)

See GitHub Actions build pull / linux-bionic-cuda11.6-py3.10-gcc7 / test (default, 1, 4, linux.4xlarge.nvidia.gpu) (8/12)

Step: "Test" (full log | diagnosis details | 🔁 rerun)

2022-07-29T19:24:44.1684621Z FAIL [0.010s]: tes...onal_linear_cuda_float32 (__main__.TestCommonCUDA)
2022-07-29T19:24:44.1681574Z   File "/opt/conda/lib/python3.10/site-packages/torch/testing/_comparison.py", line 1093, in assert_equal
2022-07-29T19:24:44.1682139Z     raise error_metas[0].to_error(msg)
2022-07-29T19:24:44.1682423Z AssertionError: Scalars are not equal!
2022-07-29T19:24:44.1682618Z 
2022-07-29T19:24:44.1682739Z Absolute difference: 1
2022-07-29T19:24:44.1683004Z Relative difference: 1.0
2022-07-29T19:24:44.1683172Z 
2022-07-29T19:24:44.1683419Z The failure occurred for item [0][0] : Strides are not the same! Original strides were ((2,),) and strides are now ((1,),)
2022-07-29T19:24:44.1683795Z 
2022-07-29T19:24:44.1684002Z ======================================================================
2022-07-29T19:24:44.1684621Z FAIL [0.010s]: test_out_nn_functional_linear_cuda_float32 (__main__.TestCommonCUDA)
2022-07-29T19:24:44.1685649Z ----------------------------------------------------------------------
2022-07-29T19:24:44.1686322Z Traceback (most recent call last):
2022-07-29T19:24:44.1686835Z   File "/opt/conda/lib/python3.10/site-packages/torch/testing/_internal/common_utils.py", line 1904, in wrapper
2022-07-29T19:24:44.1687208Z     method(*args, **kwargs)
2022-07-29T19:24:44.1687728Z   File "/opt/conda/lib/python3.10/site-packages/torch/testing/_internal/common_device_type.py", line 377, in instantiated_test
2022-07-29T19:24:44.1688128Z     result = test(self, **param_kwargs)
2022-07-29T19:24:44.1688652Z   File "/opt/conda/lib/python3.10/site-packages/torch/testing/_internal/common_device_type.py", line 814, in test_wrapper
2022-07-29T19:24:44.1689037Z     return test(*args, **kwargs)
2022-07-29T19:24:44.1689373Z   File "/var/lib/jenkins/workspace/test/test_ops.py", line 712, in test_out
2022-07-29T19:24:44.1689693Z     _compare_out(_case_one_transform)

See GitHub Actions build pull / linux-focal-py3.7-gcc7 / test (default, 2, 2, linux.2xlarge) (9/12)

Step: "Test" (full log | diagnosis details | 🔁 rerun)

2022-07-29T17:38:31.0510805Z FAIL [0.010s]: tes...with_stack_and_modules (__main__.TestProfilerTree)
2022-07-29T17:38:31.0438051Z -                       enum.py(...): __hash__
2022-07-29T17:38:31.0438312Z -                         <built-in function hash>
2022-07-29T17:38:31.0438763Z -                     ... : To accept the new output, re-run test with envvar EXPECTTEST_ACCEPT=1 (we recommend staging/committing your changes before doing this)
2022-07-29T17:38:31.0439003Z 
2022-07-29T17:38:31.0439401Z   test_profiler_experimental_tree_with_stack_and_modules (__main__.TestProfilerTree) ... STAGE:2022-07-29 17:38:31 1252:1252 ActivityProfilerController.cpp:294] Completed Stage: Warm Up
2022-07-29T17:38:31.0443294Z STAGE:2022-07-29 17:38:31 1252:1252 ActivityProfilerController.cpp:300] Completed Stage: Collection
2022-07-29T17:38:31.0509240Z FAIL (0.010s)
2022-07-29T17:38:31.0509863Z     test_profiler_experimental_tree_with_stack_and_modules failed - num_retries_left: 0
2022-07-29T17:38:31.0510175Z 
2022-07-29T17:38:31.0510321Z ======================================================================
2022-07-29T17:38:31.0510805Z FAIL [0.010s]: test_profiler_experimental_tree_with_stack_and_modules (__main__.TestProfilerTree)
2022-07-29T17:38:31.0511403Z ----------------------------------------------------------------------
2022-07-29T17:38:31.0511694Z Traceback (most recent call last):
2022-07-29T17:38:31.0511992Z   File "test_profiler_tree.py", line 43, in begin_unit_test_marker
2022-07-29T17:38:31.0512203Z     return f(self)
2022-07-29T17:38:31.0512470Z   File "test_profiler_tree.py", line 563, in test_profiler_experimental_tree_with_stack_and_modules
2022-07-29T17:38:31.0512721Z     ..."""
2022-07-29T17:38:31.0512927Z   File "test_profiler_tree.py", line 159, in assertTreesMatch
2022-07-29T17:38:31.0513208Z     self.assertExpectedInline(actual, expected, skip=1)
2022-07-29T17:38:31.0513632Z   File "/opt/conda/lib/python3.7/site-packages/expecttest/__init__.py", line 262, in assertExpectedInline
2022-07-29T17:38:31.0514000Z     self.assertMultiLineEqualMaybeCppStack(expect, actual, msg=help_text)

See GitHub Actions build pull / linux-focal-py3.7-clang7-asan / test (default, 4, 5, linux.2xlarge) (10/12)

Step: "Test" (full log | diagnosis details | 🔁 rerun)

2022-07-29T17:45:00.4593791Z FAIL [0.034s]: tes...with_stack_and_modules (__main__.TestProfilerTree)
2022-07-29T17:45:00.4287548Z -                       enum.py(...): __hash__
2022-07-29T17:45:00.4287790Z -                         <built-in function hash>
2022-07-29T17:45:00.4288240Z -                     ... : To accept the new output, re-run test with envvar EXPECTTEST_ACCEPT=1 (we recommend staging/committing your changes before doing this)
2022-07-29T17:45:00.4288484Z 
2022-07-29T17:45:00.4302946Z   test_profiler_experimental_tree_with_stack_and_modules (__main__.TestProfilerTree) ... STAGE:2022-07-29 17:45:00 739:739 ActivityProfilerController.cpp:294] Completed Stage: Warm Up
2022-07-29T17:45:00.4411535Z STAGE:2022-07-29 17:45:00 739:739 ActivityProfilerController.cpp:300] Completed Stage: Collection
2022-07-29T17:45:00.4591286Z FAIL (0.034s)
2022-07-29T17:45:00.4592540Z     test_profiler_experimental_tree_with_stack_and_modules failed - num_retries_left: 0
2022-07-29T17:45:00.4593050Z 
2022-07-29T17:45:00.4593211Z ======================================================================
2022-07-29T17:45:00.4593791Z FAIL [0.034s]: test_profiler_experimental_tree_with_stack_and_modules (__main__.TestProfilerTree)
2022-07-29T17:45:00.4594705Z ----------------------------------------------------------------------
2022-07-29T17:45:00.4595210Z Traceback (most recent call last):
2022-07-29T17:45:00.4595452Z   File "test_profiler_tree.py", line 43, in begin_unit_test_marker
2022-07-29T17:45:00.4595679Z     return f(self)
2022-07-29T17:45:00.4596008Z   File "test_profiler_tree.py", line 563, in test_profiler_experimental_tree_with_stack_and_modules
2022-07-29T17:45:00.4596258Z     ..."""
2022-07-29T17:45:00.4596475Z   File "test_profiler_tree.py", line 159, in assertTreesMatch
2022-07-29T17:45:00.4596811Z     self.assertExpectedInline(actual, expected, skip=1)
2022-07-29T17:45:00.4597234Z   File "/opt/conda/lib/python3.7/site-packages/expecttest/__init__.py", line 262, in assertExpectedInline
2022-07-29T17:45:00.4597674Z     self.assertMultiLineEqualMaybeCppStack(expect, actual, msg=help_text)

See GitHub Actions build pull / linux-focal-py3.7-clang7-asan / test (default, 5, 5, linux.2xlarge) (11/12)

Step: "Test" (full log | diagnosis details | 🔁 rerun)

2022-07-29T17:46:40.0584382Z AssertionError: Scalars are not equal!
2022-07-29T17:46:40.0578006Z [gw3] linux -- Python 3.7.13 /opt/conda/bin/python
2022-07-29T17:46:40.0580697Z Traceback (most recent call last):
2022-07-29T17:46:40.0581246Z   File "/var/lib/jenkins/workspace/test/test_ops.py", line 712, in test_out
2022-07-29T17:46:40.0581749Z     _compare_out(_case_one_transform)
2022-07-29T17:46:40.0582038Z   File "/var/lib/jenkins/workspace/test/test_ops.py", line 686, in _compare_out
2022-07-29T17:46:40.0582344Z     self.assertEqual(original_strides, final_strides, msg=stride_msg)
2022-07-29T17:46:40.0582878Z   File "/opt/conda/lib/python3.7/site-packages/torch/testing/_internal/common_utils.py", line 2392, in assertEqual
2022-07-29T17:46:40.0583286Z     msg=(lambda generated_msg: f"{generated_msg} : {msg}") if isinstance(msg, str) and self.longMessage else msg,
2022-07-29T17:46:40.0583847Z   File "/opt/conda/lib/python3.7/site-packages/torch/testing/_comparison.py", line 1093, in assert_equal
2022-07-29T17:46:40.0584147Z     raise error_metas[0].to_error(msg)
2022-07-29T17:46:40.0584382Z AssertionError: Scalars are not equal!
2022-07-29T17:46:40.0584730Z 
2022-07-29T17:46:40.0584817Z Absolute difference: 1
2022-07-29T17:46:40.0585007Z Relative difference: 1.0
2022-07-29T17:46:40.0585202Z 
2022-07-29T17:46:40.0585396Z The failure occurred for item [0][0] : Strides are not the same! Original strides were ((2,),) and strides are now ((1,),)
2022-07-29T17:46:40.0679859Z - generated xml file: /var/lib/jenkins/workspace/test/test-reports/python-pytest/test_ops/test_ops.xml -
2022-07-29T17:46:40.0683099Z =========================== short test summary info ============================
2022-07-29T17:46:40.0685262Z FAILED test_ops.py::TestCommonCPU::test_out_matmul_cpu_float32 - AssertionErr...
2022-07-29T17:46:40.0686221Z !!!!!!!!!!!!!!!!!!!!!!!!!! stopping after 1 failures !!!!!!!!!!!!!!!!!!!!!!!!!!!
2022-07-29T17:46:40.0688872Z !!!!!!!!!!!! xdist.dsession.Interrupted: stopping after 1 failures !!!!!!!!!!!!!

See GitHub Actions build pull / win-vs2019-cpu-py3 / test (default, 1, 2, windows.4xlarge) (12/12)

Step: "Test" (full log | diagnosis details | 🔁 rerun)

2022-07-29T18:10:13.5904310Z AssertionError: Scalars are not equal!
2022-07-29T18:10:13.5892997Z [gw0] win32 -- Python 3.8.13 C:\Jenkins\Miniconda3\python.exe
2022-07-29T18:10:13.5893249Z Traceback (most recent call last):
2022-07-29T18:10:13.5901518Z   File "C:\actions-runner\_work\pytorch\pytorch\test\test_ops.py", line 712, in test_out
2022-07-29T18:10:13.5901960Z     _compare_out(_case_one_transform)
2022-07-29T18:10:13.5902316Z   File "C:\actions-runner\_work\pytorch\pytorch\test\test_ops.py", line 686, in _compare_out
2022-07-29T18:10:13.5902645Z     self.assertEqual(original_strides, final_strides, msg=stride_msg)
2022-07-29T18:10:13.5903085Z   File "C:\actions-runner\_work\pytorch\pytorch\build\win_tmp\build\torch\testing\_internal\common_utils.py", line 2356, in assertEqual
2022-07-29T18:10:13.5903405Z     assert_equal(
2022-07-29T18:10:13.5903758Z   File "C:\actions-runner\_work\pytorch\pytorch\build\win_tmp\build\torch\testing\_comparison.py", line 1093, in assert_equal
2022-07-29T18:10:13.5904089Z     raise error_metas[0].to_error(msg)
2022-07-29T18:10:13.5904310Z AssertionError: Scalars are not equal!
2022-07-29T18:10:13.5904450Z 
2022-07-29T18:10:13.5904530Z Absolute difference: 1
2022-07-29T18:10:13.5904722Z Relative difference: 1.0
2022-07-29T18:10:13.5904832Z 
2022-07-29T18:10:13.5905018Z The failure occurred for item [0][0] : Strides are not the same! Original strides were ((2,),) and strides are now ((1,),)
2022-07-29T18:10:13.5905442Z - generated xml file: C:\actions-runner\_work\pytorch\pytorch\test\test-reports\python-pytest\test_ops\test_ops.xml -
2022-07-29T18:10:13.5905801Z =========================== short test summary info ===========================
2022-07-29T18:10:13.5906103Z FAILED test_ops.py::TestCommonCPU::test_out_nn_functional_linear_cpu_float32
2022-07-29T18:10:13.5906381Z !!!!!!!!!!!!!!!!!!!!!!!!!! stopping after 1 failures !!!!!!!!!!!!!!!!!!!!!!!!!!
2022-07-29T18:10:13.5906661Z !!!!!!!!!!!! xdist.dsession.Interrupted: stopping after 1 failures !!!!!!!!!!!!

This comment was automatically generated by Dr. CI (expand for details).

Please report bugs/suggestions to the (internal) Dr. CI Users group.

Click here to manually regenerate this comment.

@zou3519
Copy link
Contributor Author

zou3519 commented Jul 29, 2022

Checking to see if this passes CI. We may wish to merge this to fix pytorch/functorch#989 to unblock PyTorch's 1.12.1 release (but the issue still warrants more investigation)

@zou3519
Copy link
Contributor Author

zou3519 commented Aug 8, 2022

no longer necessary (revert happened)

@zou3519 zou3519 closed this Aug 8, 2022
@facebook-github-bot facebook-github-bot deleted the gh/zou3519/454/head branch September 8, 2022 14:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants