Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

std/var: Require correction parameter always be given explicitly #55680

Open
wants to merge 57 commits into
base: gh/peterbell10/59/base
Choose a base branch
from

Conversation

peterbell10
Copy link
Collaborator

@peterbell10 peterbell10 commented Apr 9, 2021

Stack from ghstack (oldest at bottom):

This changes the default None correction and all overloads using the
unbiased parameter result in an error.

BC-breaking message:

torch.std, torch.std_mean, torch.var and torch.var_mean now
require the correction argument be passed in all function calls.
This means it cannot be left as defaulted and also the unbiased
overloads cannot be used any more. To recover the old default, use
correction=1 which is equivalent to unbiased=True; or use
correction=0 for the same behavior as unbiased=False.

@facebook-github-bot
Copy link
Contributor

facebook-github-bot commented Apr 9, 2021

🔗 Helpful links

❌ 26 New Failures

As of commit 777839e (more details on the Dr. CI page):

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

🕵️ 26 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 (dynamo, 2, 2, linux.2xlarge) (1/26)

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

2022-07-30T03:18:35.8733053Z RuntimeError: test_ops failed!
2022-07-30T03:18:34.8224703Z =========================== short test summary info ============================
2022-07-30T03:18:34.8225641Z FAILED test_ops.py::TestCommonCPU::test_out_warning_std_cpu - TypeError: std(...
2022-07-30T03:18:34.8226734Z !!!!!!!!!!!!!!!!!!!!!!!!!! stopping after 1 failures !!!!!!!!!!!!!!!!!!!!!!!!!!!
2022-07-30T03:18:34.8228211Z !!!!!!!!!!!! xdist.dsession.Interrupted: stopping after 1 failures !!!!!!!!!!!!!
2022-07-30T03:18:34.8240611Z = 1 failed, 2978 passed, 1150 skipped, 28 xfailed, 75 warnings, 2 rerun in 191.05s (0:03:11) =
2022-07-30T03:18:35.8707507Z Traceback (most recent call last):
2022-07-30T03:18:35.8707823Z   File "test/run_test.py", line 973, in <module>
2022-07-30T03:18:35.8730468Z     main()
2022-07-30T03:18:35.8730722Z   File "test/run_test.py", line 951, in main
2022-07-30T03:18:35.8732794Z     raise RuntimeError(err_message)
2022-07-30T03:18:35.8733053Z RuntimeError: test_ops failed!
2022-07-30T03:18:36.2125251Z 
2022-07-30T03:18:36.2125534Z real	11m44.055s
2022-07-30T03:18:36.2125874Z user	31m48.785s
2022-07-30T03:18:36.2127463Z sys	2m12.677s
2022-07-30T03:18:36.2166914Z ##[error]Process completed with exit code 1.
2022-07-30T03:18:36.2220478Z Prepare all required actions
2022-07-30T03:18:36.2220817Z Getting action download info
2022-07-30T03:18:36.4017950Z ##[group]Run ./.github/actions/get-workflow-job-id
2022-07-30T03:18:36.4018188Z with:
2022-07-30T03:18:36.4018527Z   github-token: ***

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

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

2022-07-30T02:47:35.9679396Z RuntimeError: test_ops failed!
2022-07-30T02:47:35.0072575Z =========================== short test summary info ============================
2022-07-30T02:47:35.0073786Z FAILED test_ops.py::TestCommonCPU::test_out_warning_std_cpu - TypeError: std(...
2022-07-30T02:47:35.0074752Z !!!!!!!!!!!!!!!!!!!!!!!!!! stopping after 1 failures !!!!!!!!!!!!!!!!!!!!!!!!!!!
2022-07-30T02:47:35.0075912Z !!!!!!!!!!!! xdist.dsession.Interrupted: stopping after 1 failures !!!!!!!!!!!!!
2022-07-30T02:47:35.0085284Z = 1 failed, 1956 passed, 736 skipped, 17 xfailed, 72 warnings, 2 rerun in 136.12s (0:02:16) =
2022-07-30T02:47:35.9675153Z Traceback (most recent call last):
2022-07-30T02:47:35.9675653Z   File "test/run_test.py", line 973, in <module>
2022-07-30T02:47:35.9677132Z     main()
2022-07-30T02:47:35.9677493Z   File "test/run_test.py", line 951, in main
2022-07-30T02:47:35.9678979Z     raise RuntimeError(err_message)
2022-07-30T02:47:35.9679396Z RuntimeError: test_ops failed!
2022-07-30T02:47:36.2615804Z 
2022-07-30T02:47:36.2616217Z real	5m57.716s
2022-07-30T02:47:36.2616523Z user	13m6.025s
2022-07-30T02:47:36.2616700Z sys	2m7.667s
2022-07-30T02:47:36.2649805Z ##[error]Process completed with exit code 1.
2022-07-30T02:47:36.2719156Z Prepare all required actions
2022-07-30T02:47:36.2719629Z Getting action download info
2022-07-30T02:47:36.4321895Z ##[group]Run ./.github/actions/get-workflow-job-id
2022-07-30T02:47:36.4322120Z with:
2022-07-30T02:47:36.4322435Z   github-token: ***

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

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

2022-07-30T03:06:43.0415030Z RuntimeError: test_quantization failed!
2022-07-30T03:06:42.2770154Z Generated XML report: test-reports/python-unittest/test_quantization/TEST-quantization.bc.test_backward_compatibility.TestSerialization-20220730025724.xml
2022-07-30T03:06:42.2789864Z Generated XML report: test-reports/python-unittest/test_quantization/TEST-quantization.core.test_quantized_module.TestStaticQuantizedModule-20220730025724.xml
2022-07-30T03:06:42.2802887Z Generated XML report: test-reports/python-unittest/test_quantization/TEST-quantization.fx.test_subgraph_rewriter.TestSubgraphRewriter-20220730025724.xml
2022-07-30T03:06:42.2807000Z Generated XML report: test-reports/python-unittest/test_quantization/TEST-quantization.core.test_utils.TestUtils-20220730025724.xml
2022-07-30T03:06:42.2812760Z Generated XML report: test-reports/python-unittest/test_quantization/TEST-quantization.eager.test_quantize_eager_ptq.TestQuantizeEagerONNXExport-20220730025724.xml
2022-07-30T03:06:43.0410438Z Traceback (most recent call last):
2022-07-30T03:06:43.0410899Z   File "test/run_test.py", line 973, in <module>
2022-07-30T03:06:43.0412662Z     main()
2022-07-30T03:06:43.0412904Z   File "test/run_test.py", line 951, in main
2022-07-30T03:06:43.0414721Z     raise RuntimeError(err_message)
2022-07-30T03:06:43.0415030Z RuntimeError: test_quantization failed!
2022-07-30T03:06:43.3328679Z 
2022-07-30T03:06:43.3329062Z real	23m59.873s
2022-07-30T03:06:43.3329479Z user	91m46.413s
2022-07-30T03:06:43.3329745Z sys	2m28.054s
2022-07-30T03:06:43.3362540Z ##[error]Process completed with exit code 1.
2022-07-30T03:06:43.3417428Z Prepare all required actions
2022-07-30T03:06:43.3417732Z Getting action download info
2022-07-30T03:06:43.4925788Z ##[group]Run ./.github/actions/get-workflow-job-id
2022-07-30T03:06:43.4926103Z with:
2022-07-30T03:06:43.4926439Z   github-token: ***

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

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

2022-07-30T03:13:45.7996192Z RuntimeError: test_ops failed!
2022-07-30T03:13:44.8858684Z =========================== short test summary info ============================
2022-07-30T03:13:44.8859482Z FAILED test_ops.py::TestCommonCPU::test_out_warning_std_cpu - TypeError: std(...
2022-07-30T03:13:44.8860300Z !!!!!!!!!!!!!!!!!!!!!!!!!! stopping after 1 failures !!!!!!!!!!!!!!!!!!!!!!!!!!!
2022-07-30T03:13:44.8860961Z !!!!!!!!!!!! xdist.dsession.Interrupted: stopping after 1 failures !!!!!!!!!!!!!
2022-07-30T03:13:44.8870857Z = 1 failed, 2180 passed, 1045 skipped, 19 xfailed, 75 warnings, 2 rerun in 156.97s (0:02:36) =
2022-07-30T03:13:45.7992368Z Traceback (most recent call last):
2022-07-30T03:13:45.7992772Z   File "test/run_test.py", line 973, in <module>
2022-07-30T03:13:45.7994247Z     main()
2022-07-30T03:13:45.7994466Z   File "test/run_test.py", line 951, in main
2022-07-30T03:13:45.7995937Z     raise RuntimeError(err_message)
2022-07-30T03:13:45.7996192Z RuntimeError: test_ops failed!
2022-07-30T03:13:46.0811563Z 
2022-07-30T03:13:46.0811787Z real	7m1.499s
2022-07-30T03:13:46.0812029Z user	21m56.577s
2022-07-30T03:13:46.0812235Z sys	2m38.658s
2022-07-30T03:13:46.0852913Z ##[error]Process completed with exit code 1.
2022-07-30T03:13:46.0925928Z Prepare all required actions
2022-07-30T03:13:46.0926254Z Getting action download info
2022-07-30T03:13:46.2747159Z ##[group]Run ./.github/actions/get-workflow-job-id
2022-07-30T03:13:46.2747378Z with:
2022-07-30T03:13:46.2747711Z   github-token: ***

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

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

2022-07-30T03:32:24.4847109Z RuntimeError: test_quantization failed!
2022-07-30T03:32:23.8027760Z Generated XML report: test-reports/python-unittest/test_quantization/TEST-quantization.bc.test_backward_compatibility.TestSerialization-20220730032212.xml
2022-07-30T03:32:23.8046922Z Generated XML report: test-reports/python-unittest/test_quantization/TEST-quantization.core.test_quantized_module.TestStaticQuantizedModule-20220730032212.xml
2022-07-30T03:32:23.8059697Z Generated XML report: test-reports/python-unittest/test_quantization/TEST-quantization.fx.test_subgraph_rewriter.TestSubgraphRewriter-20220730032212.xml
2022-07-30T03:32:23.8063948Z Generated XML report: test-reports/python-unittest/test_quantization/TEST-quantization.core.test_utils.TestUtils-20220730032212.xml
2022-07-30T03:32:23.8069665Z Generated XML report: test-reports/python-unittest/test_quantization/TEST-quantization.eager.test_quantize_eager_ptq.TestQuantizeEagerONNXExport-20220730032212.xml
2022-07-30T03:32:24.4842865Z Traceback (most recent call last):
2022-07-30T03:32:24.4843361Z   File "test/run_test.py", line 973, in <module>
2022-07-30T03:32:24.4845140Z     main()
2022-07-30T03:32:24.4845343Z   File "test/run_test.py", line 951, in main
2022-07-30T03:32:24.4846837Z     raise RuntimeError(err_message)
2022-07-30T03:32:24.4847109Z RuntimeError: test_quantization failed!
2022-07-30T03:32:24.7684305Z 
2022-07-30T03:32:24.7684690Z real	25m41.655s
2022-07-30T03:32:24.7684993Z user	124m54.354s
2022-07-30T03:32:24.7685178Z sys	11m18.728s
2022-07-30T03:32:24.7717065Z ##[error]Process completed with exit code 1.
2022-07-30T03:32:24.7750750Z Prepare all required actions
2022-07-30T03:32:24.7751048Z Getting action download info
2022-07-30T03:32:24.9787835Z ##[group]Run ./.github/actions/get-workflow-job-id
2022-07-30T03:32:24.9788057Z with:
2022-07-30T03:32:24.9788381Z   github-token: ***

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

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

2022-07-30T03:12:32.4316079Z RuntimeError: test_ops failed!
2022-07-30T03:12:31.5310345Z =========================== short test summary info ============================
2022-07-30T03:12:31.5310890Z FAILED test_ops.py::TestCommonCPU::test_out_warning_std_cpu - TypeError: std(...
2022-07-30T03:12:31.5311333Z !!!!!!!!!!!!!!!!!!!!!!!!!! stopping after 1 failures !!!!!!!!!!!!!!!!!!!!!!!!!!!
2022-07-30T03:12:31.5311626Z !!!!!!!!!!!! xdist.dsession.Interrupted: stopping after 1 failures !!!!!!!!!!!!!
2022-07-30T03:12:31.5319245Z = 1 failed, 2063 passed, 843 skipped, 19 xfailed, 74 warnings, 2 rerun in 137.44s (0:02:17) =
2022-07-30T03:12:32.4311717Z Traceback (most recent call last):
2022-07-30T03:12:32.4311991Z   File "test/run_test.py", line 973, in <module>
2022-07-30T03:12:32.4313935Z     main()
2022-07-30T03:12:32.4314281Z   File "test/run_test.py", line 951, in main
2022-07-30T03:12:32.4315729Z     raise RuntimeError(err_message)
2022-07-30T03:12:32.4316079Z RuntimeError: test_ops failed!
2022-07-30T03:12:32.7502948Z 
2022-07-30T03:12:32.7503376Z real	5m44.040s
2022-07-30T03:12:32.7503841Z user	17m48.315s
2022-07-30T03:12:32.7504078Z sys	2m33.352s
2022-07-30T03:12:32.7543887Z ##[error]Process completed with exit code 1.
2022-07-30T03:12:32.7589309Z Prepare all required actions
2022-07-30T03:12:32.7589614Z Getting action download info
2022-07-30T03:12:32.9665848Z ##[group]Run ./.github/actions/get-workflow-job-id
2022-07-30T03:12:32.9666071Z with:
2022-07-30T03:12:32.9666417Z   github-token: ***

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

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

2022-07-30T02:59:28.6096725Z RuntimeError: test_ops failed!
2022-07-30T02:59:27.1872689Z =========================== short test summary info ============================
2022-07-30T02:59:27.1873343Z FAILED test_ops.py::TestCommonCPU::test_out_warning_std_cpu - TypeError: std(...
2022-07-30T02:59:27.1873839Z !!!!!!!!!!!!!!!!!!!!!!!!!! stopping after 1 failures !!!!!!!!!!!!!!!!!!!!!!!!!!!
2022-07-30T02:59:27.1874297Z !!!!!!!!!!!! xdist.dsession.Interrupted: stopping after 1 failures !!!!!!!!!!!!!
2022-07-30T02:59:27.1891708Z = 1 failed, 1683 passed, 3712 skipped, 43 xfailed, 79 warnings, 2 rerun in 100.74s (0:01:40) =
2022-07-30T02:59:28.6088645Z Traceback (most recent call last):
2022-07-30T02:59:28.6088994Z   File "test/run_test.py", line 973, in <module>
2022-07-30T02:59:28.6092494Z     main()
2022-07-30T02:59:28.6092756Z   File "test/run_test.py", line 951, in main
2022-07-30T02:59:28.6096351Z     raise RuntimeError(err_message)
2022-07-30T02:59:28.6096725Z RuntimeError: test_ops failed!
2022-07-30T02:59:29.1971275Z 
2022-07-30T02:59:29.1971610Z real	6m51.106s
2022-07-30T02:59:29.1971861Z user	9m10.073s
2022-07-30T02:59:29.1972040Z sys	0m52.268s
2022-07-30T02:59:29.2004600Z ##[error]Process completed with exit code 1.
2022-07-30T02:59:29.2052122Z Prepare all required actions
2022-07-30T02:59:29.2052474Z Getting action download info
2022-07-30T02:59:29.4167237Z ##[group]Run ./.github/actions/get-workflow-job-id
2022-07-30T02:59:29.4167457Z with:
2022-07-30T02:59:29.4167793Z   github-token: ***

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

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

2022-07-30T04:30:54.9072542Z RuntimeError: test_ops failed!
2022-07-30T04:30:51.6391466Z Generated XML report: test-reports/python-unittest/test_ops/TEST-TestCommonCUDA-20220730031121.xml
2022-07-30T04:30:51.7996019Z Generated XML report: test-reports/python-unittest/test_ops/TEST-TestCompositeComplianceCUDA-20220730031121.xml
2022-07-30T04:30:51.8576323Z Generated XML report: test-reports/python-unittest/test_ops/TEST-TestFakeTensorNonErroringCUDA-20220730031121.xml
2022-07-30T04:30:52.0250446Z Generated XML report: test-reports/python-unittest/test_ops/TEST-TestMathBitsCUDA-20220730031121.xml
2022-07-30T04:30:52.1227744Z Generated XML report: test-reports/python-unittest/test_ops/TEST-TestTagsCUDA-20220730031121.xml
2022-07-30T04:30:54.9068307Z Traceback (most recent call last):
2022-07-30T04:30:54.9068739Z   File "/var/lib/jenkins/workspace/test/run_test.py", line 973, in <module>
2022-07-30T04:30:54.9069398Z     main()
2022-07-30T04:30:54.9070136Z   File "/var/lib/jenkins/workspace/test/run_test.py", line 951, in main
2022-07-30T04:30:54.9072061Z     raise RuntimeError(err_message)
2022-07-30T04:30:54.9072542Z RuntimeError: test_ops failed!
2022-07-30T04:30:55.1599789Z 
2022-07-30T04:30:55.1600505Z real	79m40.237s
2022-07-30T04:30:55.1600894Z user	78m25.995s
2022-07-30T04:30:55.1601136Z sys	1m23.597s
2022-07-30T04:30:55.1643440Z ##[error]Process completed with exit code 1.
2022-07-30T04:30:55.1679394Z Prepare all required actions
2022-07-30T04:30:55.1679817Z Getting action download info
2022-07-30T04:30:55.3677371Z ##[group]Run ./.github/actions/get-workflow-job-id
2022-07-30T04:30:55.3677690Z with:
2022-07-30T04:30:55.3678170Z   github-token: ***

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

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

2022-07-30T03:17:16.5839707Z test_backward_un... require grad and does not have a grad_fn (0.001s)
2022-07-30T03:17:16.5498360Z   test_randperm_randomness_same_use_generator_True_cpu (__main__.TestRandomnessCPU) ... ok (0.002s)
2022-07-30T03:17:16.5577093Z   test_unsupported_random_cpu (__main__.TestRandomnessCPU) ... ok (0.008s)
2022-07-30T03:17:16.5607978Z   test_fails_with_autograd_function_transform_grad_and_value_cpu (__main__.TestTransformFailureCPU) ... ok (0.003s)
2022-07-30T03:17:16.5636163Z   test_fails_with_autograd_function_transform_grad_cpu (__main__.TestTransformFailureCPU) ... ok (0.003s)
2022-07-30T03:17:16.5667247Z   test_fails_with_autograd_function_transform_jacfwd_cpu (__main__.TestTransformFailureCPU) ... ok (0.003s)
2022-07-30T03:17:16.5695650Z   test_fails_with_autograd_function_transform_jacrev_cpu (__main__.TestTransformFailureCPU) ... ok (0.003s)
2022-07-30T03:17:16.5724462Z   test_fails_with_autograd_function_transform_jvp_cpu (__main__.TestTransformFailureCPU) ... ok (0.003s)
2022-07-30T03:17:16.5752661Z   test_fails_with_autograd_function_transform_vjp_cpu (__main__.TestTransformFailureCPU) ... ok (0.003s)
2022-07-30T03:17:16.5780845Z   test_fails_with_autograd_function_transform_vmap_cpu (__main__.TestTransformFailureCPU) ... ok (0.003s)
2022-07-30T03:17:16.5825035Z   test_accepts_nested_inputs (__main__.TestVmapAPI) ... ok (0.004s)
2022-07-30T03:17:16.5839707Z   test_backward_unsupported_interaction (__main__.TestVmapAPI) ... skip: error: element 0 of tensors does not require grad and does not have a grad_fn (0.001s)
2022-07-30T03:17:16.5856994Z   test_batch_rule_does_not_need_to_handle_no_batched_input (__main__.TestVmapAPI) ... ok (0.002s)
2022-07-30T03:17:16.5872773Z   test_batched_gradient_basic (__main__.TestVmapAPI) ... ok (0.002s)
2022-07-30T03:17:16.5884902Z   test_constant_function (__main__.TestVmapAPI) ... ok (0.001s)
2022-07-30T03:17:16.5915447Z   test_data_dependent_control_flow_throws (__main__.TestVmapAPI) ... ok (0.003s)
2022-07-30T03:17:16.5931171Z   test_different_map_dim_size_raises (__main__.TestVmapAPI) ... ok (0.002s)
2022-07-30T03:17:16.5952962Z   test_fallback_atan2 (__main__.TestVmapAPI) ... /var/lib/jenkins/workspace/functorch/functorch/_src/vmap.py:487: UserWarning: There is a performance drop because we have not yet implemented the batching rule for aten::copysign.Tensor. Please file us an issue on GitHub so that we can prioritize its implementation. (Triggered internally at /var/lib/jenkins/workspace/functorch/functorch/csrc/BatchedFallback.cpp:85.)
2022-07-30T03:17:16.5953953Z   batched_outputs = func(*batched_inputs, **kwargs)
2022-07-30T03:17:16.6414792Z ok (0.048s)
2022-07-30T03:17:16.6430306Z   test_fallback_does_not_warn_by_default (__main__.TestVmapAPI) ... ok (0.002s)
2022-07-30T03:17:16.6443640Z   test_fallback_masked_fill (__main__.TestVmapAPI) ... ok (0.001s)

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

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

2022-07-30T03:35:20.5565608Z AssertionError: 1 unit test(s) failed:
2022-07-30T03:35:20.2043716Z 
2022-07-30T03:35:20.2043817Z OK
2022-07-30T03:35:20.2043959Z 
2022-07-30T03:35:20.2044076Z Generating XML reports...
2022-07-30T03:35:20.2095052Z Generated XML report: test-reports/dist-nccl/distributed.test_distributed_spawn/TEST-TestDistBackendWithSpawn-20220730033509.xml
2022-07-30T03:35:20.5562796Z Traceback (most recent call last):
2022-07-30T03:35:20.5563308Z   File "/var/lib/jenkins/workspace/test/distributed/test_distributed_spawn.py", line 40, in <module>
2022-07-30T03:35:20.5563670Z     run_tests()
2022-07-30T03:35:20.5564355Z   File "/opt/conda/lib/python3.10/site-packages/torch/testing/_internal/common_utils.py", line 671, in run_tests
2022-07-30T03:35:20.5565228Z     assert len(failed_tests) == 0, "{} unit test(s) failed:\n\t{}".format(
2022-07-30T03:35:20.5565608Z AssertionError: 1 unit test(s) failed:
2022-07-30T03:35:20.5566076Z 	TestDistBackendWithSpawn.test_DistributedDataParallel_SyncBatchNorm_Diff_Input_Sizes_Running_Value
2022-07-30T03:35:20.7583648Z Traceback (most recent call last):
2022-07-30T03:35:20.7584259Z   File "/var/lib/jenkins/workspace/test/run_test.py", line 973, in <module>
2022-07-30T03:35:20.7585415Z     main()
2022-07-30T03:35:20.7585778Z   File "/var/lib/jenkins/workspace/test/run_test.py", line 951, in main
2022-07-30T03:35:20.7588769Z     raise RuntimeError(err_message)
2022-07-30T03:35:20.7589388Z RuntimeError: distributed/test_distributed_spawn failed!
2022-07-30T03:35:21.0073330Z 
2022-07-30T03:35:21.0073979Z real	25m36.092s
2022-07-30T03:35:21.0074282Z user	37m35.016s

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

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

2022-07-30T03:35:37.2638696Z test_backward_un... require grad and does not have a grad_fn (0.001s)
2022-07-30T03:35:37.2257277Z   test_randperm_randomness_same_use_generator_True_cuda (__main__.TestRandomnessCUDA) ... ok (0.003s)
2022-07-30T03:35:37.2343971Z   test_unsupported_random_cuda (__main__.TestRandomnessCUDA) ... ok (0.009s)
2022-07-30T03:35:37.2378346Z   test_fails_with_autograd_function_transform_grad_and_value_cuda (__main__.TestTransformFailureCUDA) ... ok (0.003s)
2022-07-30T03:35:37.2408920Z   test_fails_with_autograd_function_transform_grad_cuda (__main__.TestTransformFailureCUDA) ... ok (0.003s)
2022-07-30T03:35:37.2443540Z   test_fails_with_autograd_function_transform_jacfwd_cuda (__main__.TestTransformFailureCUDA) ... ok (0.003s)
2022-07-30T03:35:37.2474588Z   test_fails_with_autograd_function_transform_jacrev_cuda (__main__.TestTransformFailureCUDA) ... ok (0.003s)
2022-07-30T03:35:37.2505283Z   test_fails_with_autograd_function_transform_jvp_cuda (__main__.TestTransformFailureCUDA) ... ok (0.003s)
2022-07-30T03:35:37.2535729Z   test_fails_with_autograd_function_transform_vjp_cuda (__main__.TestTransformFailureCUDA) ... ok (0.003s)
2022-07-30T03:35:37.2565852Z   test_fails_with_autograd_function_transform_vmap_cuda (__main__.TestTransformFailureCUDA) ... ok (0.003s)
2022-07-30T03:35:37.2622621Z   test_accepts_nested_inputs (__main__.TestVmapAPI) ... ok (0.006s)
2022-07-30T03:35:37.2638696Z   test_backward_unsupported_interaction (__main__.TestVmapAPI) ... skip: error: element 0 of tensors does not require grad and does not have a grad_fn (0.001s)
2022-07-30T03:35:37.2657725Z   test_batch_rule_does_not_need_to_handle_no_batched_input (__main__.TestVmapAPI) ... ok (0.002s)
2022-07-30T03:35:37.2677073Z   test_batched_gradient_basic (__main__.TestVmapAPI) ... ok (0.002s)
2022-07-30T03:35:37.2690922Z   test_constant_function (__main__.TestVmapAPI) ... ok (0.001s)
2022-07-30T03:35:37.2726794Z   test_data_dependent_control_flow_throws (__main__.TestVmapAPI) ... ok (0.003s)
2022-07-30T03:35:37.2744255Z   test_different_map_dim_size_raises (__main__.TestVmapAPI) ... ok (0.002s)
2022-07-30T03:35:37.2767217Z   test_fallback_atan2 (__main__.TestVmapAPI) ... /var/lib/jenkins/workspace/functorch/functorch/_src/vmap.py:487: UserWarning: There is a performance drop because we have not yet implemented the batching rule for aten::copysign.Tensor. Please file us an issue on GitHub so that we can prioritize its implementation. (Triggered internally at /var/lib/jenkins/workspace/functorch/functorch/csrc/BatchedFallback.cpp:85.)
2022-07-30T03:35:37.2768114Z   batched_outputs = func(*batched_inputs, **kwargs)
2022-07-30T03:35:37.3499483Z ok (0.075s)
2022-07-30T03:35:37.3516889Z   test_fallback_does_not_warn_by_default (__main__.TestVmapAPI) ... ok (0.002s)
2022-07-30T03:35:37.3526906Z   test_fallback_masked_fill (__main__.TestVmapAPI) ... skip:  (0.001s)

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

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

2022-07-30T03:30:57.3402473Z �[0;31m[ FAILED ] �[mLazyOpsTest.TestNormalInPlace
2022-07-30T03:30:57.3397370Z �[0;32m[  SKIPPED ] �[mLazyOpsTest.TestAmpForeachNonFiniteCheckAndUnscale
2022-07-30T03:30:57.3398163Z �[0;32m[  SKIPPED ] �[mLazyOpsTest.TestAmpUpdateScale
2022-07-30T03:30:57.3398676Z �[0;31m[  FAILED  ] �[m8 tests, listed below:
2022-07-30T03:30:57.3399171Z �[0;31m[  FAILED  ] �[mLazyOpsTest.TestStdWithCorrection
2022-07-30T03:30:57.3399648Z �[0;31m[  FAILED  ] �[mLazyOpsTest.TestStdMeanWithCorrection
2022-07-30T03:30:57.3400203Z �[0;31m[  FAILED  ] �[mLazyOpsTest.TestVarWithCorrection
2022-07-30T03:30:57.3400783Z �[0;31m[  FAILED  ] �[mLazyOpsTest.TestVarMeanWithCorrection
2022-07-30T03:30:57.3401365Z �[0;31m[  FAILED  ] �[mLazyOpsTest.TestNormalTwoTensor
2022-07-30T03:30:57.3401745Z �[0;31m[  FAILED  ] �[mLazyOpsTest.TestNormalDoubleMean
2022-07-30T03:30:57.3402152Z �[0;31m[  FAILED  ] �[mLazyOpsTest.TestNormalDoubleStd
2022-07-30T03:30:57.3402473Z �[0;31m[  FAILED  ] �[mLazyOpsTest.TestNormalInPlace
2022-07-30T03:30:57.3402719Z 
2022-07-30T03:30:57.3402798Z  8 FAILED TESTS
2022-07-30T03:30:57.7566684Z ##[error]Process completed with exit code 1.
2022-07-30T03:30:57.7603501Z Prepare all required actions
2022-07-30T03:30:57.7603828Z Getting action download info
2022-07-30T03:30:57.9321027Z ##[group]Run ./.github/actions/get-workflow-job-id
2022-07-30T03:30:57.9321265Z with:
2022-07-30T03:30:57.9321613Z   github-token: ***
2022-07-30T03:30:57.9321779Z env:
2022-07-30T03:30:57.9321961Z   GIT_DEFAULT_BRANCH: master

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

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

2022-07-30T04:05:01.0714494Z RuntimeError: test_torch failed!
2022-07-30T04:05:00.4310431Z Generated XML report: test-reports/python-unittest/test_torch/TEST-TestTorchDeviceTypeCPU-20220730040408.xml
2022-07-30T04:05:00.4312154Z Generated XML report: test-reports/python-unittest/test_torch/TEST-TestVitalSignsCudaCPU-20220730040408.xml
2022-07-30T04:05:00.9692810Z [TORCH_VITAL] Dataloader.enabled		 True
2022-07-30T04:05:00.9693306Z [TORCH_VITAL] Dataloader.basic_unit_test		 TEST_VALUE_STRING
2022-07-30T04:05:00.9693560Z [TORCH_VITAL] CUDA.used		 False
2022-07-30T04:05:01.0706917Z Traceback (most recent call last):
2022-07-30T04:05:01.0707320Z   File "test/run_test.py", line 973, in <module>
2022-07-30T04:05:01.0710477Z     main()
2022-07-30T04:05:01.0710824Z   File "test/run_test.py", line 951, in main
2022-07-30T04:05:01.0713840Z     raise RuntimeError(err_message)
2022-07-30T04:05:01.0714494Z RuntimeError: test_torch failed!
2022-07-30T04:05:01.5872845Z 
2022-07-30T04:05:01.5873187Z real	72m29.587s
2022-07-30T04:05:01.5873553Z user	78m14.221s
2022-07-30T04:05:01.5873851Z sys	1m51.824s
2022-07-30T04:05:01.5910687Z ##[error]Process completed with exit code 1.
2022-07-30T04:05:01.5967177Z Prepare all required actions
2022-07-30T04:05:01.5967491Z Getting action download info
2022-07-30T04:05:01.7746882Z ##[group]Run ./.github/actions/get-workflow-job-id
2022-07-30T04:05:01.7747096Z with:
2022-07-30T04:05:01.7747423Z   github-token: ***

See GitHub Actions build pull / win-vs2019-cpu-py3 / test (functorch, 1, 1, windows.4xlarge) (14/26)

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

2022-07-30T03:19:02.7430595Z test_backward_un... require grad and does not have a grad_fn (0.000s)
2022-07-30T03:19:02.7118975Z   test_randperm_randomness_same_use_generator_True_cpu (__main__.TestRandomnessCPU) ... ok (0.000s)
2022-07-30T03:19:02.7154656Z   test_unsupported_random_cpu (__main__.TestRandomnessCPU) ... ok (0.000s)
2022-07-30T03:19:02.7184367Z   test_fails_with_autograd_function_transform_grad_and_value_cpu (__main__.TestTransformFailureCPU) ... ok (0.000s)
2022-07-30T03:19:02.7211828Z   test_fails_with_autograd_function_transform_grad_cpu (__main__.TestTransformFailureCPU) ... ok (0.016s)
2022-07-30T03:19:02.7242470Z   test_fails_with_autograd_function_transform_jacfwd_cpu (__main__.TestTransformFailureCPU) ... ok (0.000s)
2022-07-30T03:19:02.7269712Z   test_fails_with_autograd_function_transform_jacrev_cpu (__main__.TestTransformFailureCPU) ... ok (0.000s)
2022-07-30T03:19:02.7297518Z   test_fails_with_autograd_function_transform_jvp_cpu (__main__.TestTransformFailureCPU) ... ok (0.000s)
2022-07-30T03:19:02.7324470Z   test_fails_with_autograd_function_transform_vjp_cpu (__main__.TestTransformFailureCPU) ... ok (0.000s)
2022-07-30T03:19:02.7351150Z   test_fails_with_autograd_function_transform_vmap_cpu (__main__.TestTransformFailureCPU) ... ok (0.000s)
2022-07-30T03:19:02.7410095Z   test_accepts_nested_inputs (__main__.TestVmapAPI) ... ok (0.016s)
2022-07-30T03:19:02.7430595Z   test_backward_unsupported_interaction (__main__.TestVmapAPI) ... skip: error: element 0 of tensors does not require grad and does not have a grad_fn (0.000s)
2022-07-30T03:19:02.7453611Z   test_batch_rule_does_not_need_to_handle_no_batched_input (__main__.TestVmapAPI) ... ok (0.000s)
2022-07-30T03:19:02.7474992Z   test_batched_gradient_basic (__main__.TestVmapAPI) ... ok (0.000s)
2022-07-30T03:19:02.7491332Z   test_constant_function (__main__.TestVmapAPI) ... ok (0.000s)
2022-07-30T03:19:02.7510642Z   test_data_dependent_control_flow_throws (__main__.TestVmapAPI) ... ok (0.000s)
2022-07-30T03:19:02.7532954Z   test_different_map_dim_size_raises (__main__.TestVmapAPI) ... ok (0.016s)
2022-07-30T03:19:02.8259406Z   test_fallback_atan2 (__main__.TestVmapAPI) ... c:\actions-runner\_work\pytorch\pytorch\functorch\functorch\_src\vmap.py:487: UserWarning: There is a performance drop because we have not yet implemented the batching rule for aten::copysign.Tensor. Please file us an issue on GitHub so that we can prioritize its implementation. (Triggered internally at C:\actions-runner\_work\pytorch\pytorch\functorch\functorch\csrc\BatchedFallback.cpp:85.)
2022-07-30T03:19:02.8260684Z   batched_outputs = func(*batched_inputs, **kwargs)
2022-07-30T03:19:02.8260999Z ok (0.065s)
2022-07-30T03:19:02.8279262Z   test_fallback_does_not_warn_by_default (__main__.TestVmapAPI) ... ok (0.000s)
2022-07-30T03:19:02.8292335Z   test_fallback_masked_fill (__main__.TestVmapAPI) ... skip:  (0.000s)

See GitHub Actions build pull / linux-xenial-cuda11.3-py3.7-gcc7-bazel-test / build-and-test (15/26)

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

2022-07-30T04:02:16.0371575Z [ FAILED ] NNUtilsTest.ClipGradNorm
2022-07-30T04:02:16.0368037Z [ RUN      ] PackedSequenceTest.TotalLength
2022-07-30T04:02:16.0368462Z [       OK ] PackedSequenceTest.TotalLength (12 ms)
2022-07-30T04:02:16.0368829Z [ RUN      ] PackedSequenceTest.To
2022-07-30T04:02:16.0369190Z [       OK ] PackedSequenceTest.To (2 ms)
2022-07-30T04:02:16.0369719Z [----------] 3 tests from PackedSequenceTest (16 ms total)
2022-07-30T04:02:16.0369964Z 
2022-07-30T04:02:16.0370209Z [----------] Global test environment tear-down
2022-07-30T04:02:16.0370595Z [==========] 10 tests from 2 test suites ran. (2985 ms total)
2022-07-30T04:02:16.0370926Z [  PASSED  ] 9 tests.
2022-07-30T04:02:16.0371219Z [  FAILED  ] 1 test, listed below:
2022-07-30T04:02:16.0371575Z [  FAILED  ] NNUtilsTest.ClipGradNorm
2022-07-30T04:02:16.0371793Z 
2022-07-30T04:02:16.0371907Z  1 FAILED TEST
2022-07-30T04:02:16.0372224Z ================================================================================
2022-07-30T04:02:16.0372796Z �[32m[3,214 / 3,223]�[0m 21 / 27 tests, �[31m�[1m4 failed�[0m;�[0m 7 actions running�[0m; last test: �[31m�[1m//:nn_u\
2022-07-30T04:02:16.0373330Z tils_test�[0m
2022-07-30T04:02:16.0373937Z     Testing //:modules_test; 73s processwrapper-sandbox
2022-07-30T04:02:16.0374407Z     Testing //:rnn_test; 59s processwrapper-sandbox
2022-07-30T04:02:16.0374917Z     Testing //:optim_test; 37s processwrapper-sandbox
2022-07-30T04:02:16.0375484Z     Compiling test/cpp/api/serialize.cpp; 21s processwrapper-sandbox
2022-07-30T04:02:16.0376216Z     Compiling test/cpp/api/tensor_options.cpp; 16s processwrapper-sandbox

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

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

2022-07-30T04:05:47.6536079Z RuntimeError: test_torch failed!
2022-07-30T04:05:47.0594332Z Generated XML report: test-reports/python-unittest/test_torch/TEST-TestTorchDeviceTypeCUDA-20220730040358.xml
2022-07-30T04:05:47.0597090Z Generated XML report: test-reports/python-unittest/test_torch/TEST-TestVitalSignsCudaCUDA-20220730040358.xml
2022-07-30T04:05:47.5001519Z [TORCH_VITAL] Dataloader.enabled		 True
2022-07-30T04:05:47.5002235Z [TORCH_VITAL] Dataloader.basic_unit_test		 TEST_VALUE_STRING
2022-07-30T04:05:47.5002589Z [TORCH_VITAL] CUDA.used		 true
2022-07-30T04:05:47.6531313Z Traceback (most recent call last):
2022-07-30T04:05:47.6532111Z   File "/var/lib/jenkins/workspace/test/run_test.py", line 973, in <module>
2022-07-30T04:05:47.6532725Z     main()
2022-07-30T04:05:47.6533499Z   File "/var/lib/jenkins/workspace/test/run_test.py", line 951, in main
2022-07-30T04:05:47.6535421Z     raise RuntimeError(err_message)
2022-07-30T04:05:47.6536079Z RuntimeError: test_torch failed!
2022-07-30T04:05:47.9197358Z 
2022-07-30T04:05:47.9198095Z real	54m43.627s
2022-07-30T04:05:47.9198744Z user	49m51.408s
2022-07-30T04:05:47.9199168Z sys	4m5.732s
2022-07-30T04:05:47.9246659Z ##[error]Process completed with exit code 1.
2022-07-30T04:05:47.9288692Z Prepare all required actions
2022-07-30T04:05:47.9289163Z Getting action download info
2022-07-30T04:05:48.0757664Z ##[group]Run ./.github/actions/get-workflow-job-id
2022-07-30T04:05:48.0757978Z with:
2022-07-30T04:05:48.0758464Z   github-token: ***

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

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

2022-07-30T03:34:50.3563524Z RuntimeError: test_quantization failed!
2022-07-30T03:34:49.3715502Z Generated XML report: test-reports/python-unittest/test_quantization/TEST-quantization.core.test_utils.TestUtils-20220730030152.xml
2022-07-30T03:34:49.3720402Z Generated XML report: test-reports/python-unittest/test_quantization/TEST-quantization.fx.test_numeric_suite_fx.TestFXGraphMatcherModels-20220730030152.xml
2022-07-30T03:34:49.3733348Z Generated XML report: test-reports/python-unittest/test_quantization/TEST-quantization.core.test_quantized_op.TestQNNPackOps-20220730030152.xml
2022-07-30T03:34:49.3737213Z Generated XML report: test-reports/python-unittest/test_quantization/TEST-quantization.dbr.test_quantize_dbr.TestQuantizeDBRModels-20220730030152.xml
2022-07-30T03:34:49.3742186Z Generated XML report: test-reports/python-unittest/test_quantization/TEST-quantization.eager.test_quantize_eager_ptq.TestQuantizeEagerONNXExport-20220730030152.xml
2022-07-30T03:34:50.3554921Z Traceback (most recent call last):
2022-07-30T03:34:50.3555531Z   File "test/run_test.py", line 973, in <module>
2022-07-30T03:34:50.3559985Z     main()
2022-07-30T03:34:50.3560242Z   File "test/run_test.py", line 951, in main
2022-07-30T03:34:50.3563277Z     raise RuntimeError(err_message)
2022-07-30T03:34:50.3563524Z RuntimeError: test_quantization failed!
2022-07-30T03:34:50.8416908Z 
2022-07-30T03:34:50.8417763Z real	42m19.889s
2022-07-30T03:34:50.8417955Z user	55m37.982s
2022-07-30T03:34:50.8418197Z sys	3m9.460s
2022-07-30T03:34:50.8449399Z ##[error]Process completed with exit code 1.
2022-07-30T03:34:50.8513309Z Prepare all required actions
2022-07-30T03:34:50.8513607Z Getting action download info
2022-07-30T03:34:51.0161460Z ##[group]Run ./.github/actions/get-workflow-job-id
2022-07-30T03:34:51.0161675Z with:
2022-07-30T03:34:51.0161999Z   github-token: ***

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

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

2022-07-30T03:05:25.6138881Z RuntimeError: test_ops failed!
2022-07-30T03:05:24.7601477Z =========================== short test summary info ===========================
2022-07-30T03:05:24.7601803Z FAILED test_ops.py::TestCommonCPU::test_out_warning_std_cpu - TypeError: std(...
2022-07-30T03:05:24.7602112Z !!!!!!!!!!!!!!!!!!!!!!!!!! stopping after 1 failures !!!!!!!!!!!!!!!!!!!!!!!!!!
2022-07-30T03:05:24.7602399Z !!!!!!!!!!!! xdist.dsession.Interrupted: stopping after 1 failures !!!!!!!!!!!!
2022-07-30T03:05:24.7603162Z = 1 failed, 2424 passed, 2440 skipped, 37 xfailed, 86 warnings, 2 rerun in 54.84s =
2022-07-30T03:05:25.6137572Z Traceback (most recent call last):
2022-07-30T03:05:25.6137971Z   File "run_test.py", line 973, in <module>
2022-07-30T03:05:25.6138202Z     main()
2022-07-30T03:05:25.6138402Z   File "run_test.py", line 951, in main
2022-07-30T03:05:25.6138656Z     raise RuntimeError(err_message)
2022-07-30T03:05:25.6138881Z RuntimeError: test_ops failed!
2022-07-30T03:05:25.8201047Z 
2022-07-30T03:05:25.8201779Z (base) C:\actions-runner\_work\pytorch\pytorch\test>if ERRORLEVEL 1 goto fail 
2022-07-30T03:05:25.8203045Z 
2022-07-30T03:05:25.8203464Z (base) C:\actions-runner\_work\pytorch\pytorch\test>exit /b 1 
2022-07-30T03:05:25.8258104Z ##[error]Process completed with exit code 1.
2022-07-30T03:05:25.8471203Z Prepare all required actions
2022-07-30T03:05:25.8471706Z Getting action download info
2022-07-30T03:05:25.9986345Z Download action repository 'nick-fields/retry@71062288b76e2b6214ebde0e673ce0de1755740a' (SHA:71062288b76e2b6214ebde0e673ce0de1755740a)
2022-07-30T03:05:26.3730726Z ##[group]Run ./.github/actions/get-workflow-job-id
2022-07-30T03:05:26.3730941Z with:

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

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

2022-07-30T03:51:42.0809109Z RuntimeError: test_quantization failed!
2022-07-30T03:51:41.0444056Z Generated XML report: test-reports/python-unittest/test_quantization/TEST-quantization.fx.test_subgraph_rewriter.TestSubgraphRewriter-20220730033823.xml
2022-07-30T03:51:41.0449735Z Generated XML report: test-reports/python-unittest/test_quantization/TEST-quantization.core.test_utils.TestUtils-20220730033823.xml
2022-07-30T03:51:41.0455024Z Generated XML report: test-reports/python-unittest/test_quantization/TEST-quantization.fx.test_numeric_suite_fx.TestFXGraphMatcherModels-20220730033823.xml
2022-07-30T03:51:41.0459969Z Generated XML report: test-reports/python-unittest/test_quantization/TEST-quantization.dbr.test_quantize_dbr.TestQuantizeDBRModels-20220730033823.xml
2022-07-30T03:51:41.0468253Z Generated XML report: test-reports/python-unittest/test_quantization/TEST-quantization.eager.test_quantize_eager_ptq.TestQuantizeEagerONNXExport-20220730033823.xml
2022-07-30T03:51:42.0803895Z Traceback (most recent call last):
2022-07-30T03:51:42.0804827Z   File "/var/lib/jenkins/workspace/test/run_test.py", line 973, in <module>
2022-07-30T03:51:42.0805564Z     main()
2022-07-30T03:51:42.0806157Z   File "/var/lib/jenkins/workspace/test/run_test.py", line 951, in main
2022-07-30T03:51:42.0808074Z     raise RuntimeError(err_message)
2022-07-30T03:51:42.0809109Z RuntimeError: test_quantization failed!
2022-07-30T03:51:42.3249468Z 
2022-07-30T03:51:42.3250250Z real	41m41.580s
2022-07-30T03:51:42.3250523Z user	57m30.533s
2022-07-30T03:51:42.3250760Z sys	3m20.464s
2022-07-30T03:51:42.3295592Z ##[error]Process completed with exit code 1.
2022-07-30T03:51:42.3332392Z Prepare all required actions
2022-07-30T03:51:42.3332816Z Getting action download info
2022-07-30T03:51:42.5046563Z ##[group]Run ./.github/actions/get-workflow-job-id
2022-07-30T03:51:42.5046858Z with:
2022-07-30T03:51:42.5047328Z   github-token: ***

See GitHub Actions build pull / linux-focal-py3.7-clang10-onnx / test (default, 2, 2, linux.2xlarge) (20/26)

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

2022-07-30T03:09:41.4330209Z RuntimeError: var:...ll with correction=1 for the old default behavior.
2022-07-30T03:09:41.4327230Z   File "/opt/conda/lib/python3.7/site-packages/torch/jit/_trace.py", line 132, in forward
2022-07-30T03:09:41.4327470Z     self._force_outplace,
2022-07-30T03:09:41.4327795Z   File "/opt/conda/lib/python3.7/site-packages/torch/jit/_trace.py", line 118, in wrapper
2022-07-30T03:09:41.4328068Z     outs.append(self.inner(*trace_inputs))
2022-07-30T03:09:41.4328425Z   File "/opt/conda/lib/python3.7/site-packages/torch/nn/modules/module.py", line 1186, in _call_impl
2022-07-30T03:09:41.4328704Z     return forward_call(*input, **kwargs)
2022-07-30T03:09:41.4329065Z   File "/opt/conda/lib/python3.7/site-packages/torch/nn/modules/module.py", line 1174, in _slow_forward
2022-07-30T03:09:41.4329352Z     result = self.forward(*input, **kwargs)
2022-07-30T03:09:41.4329631Z   File "/var/lib/jenkins/workspace/test/onnx/test_pytorch_onnx_onnxruntime.py", line 3210, in forward
2022-07-30T03:09:41.4329896Z     y = torch.var(input, 1)
2022-07-30T03:09:41.4330209Z RuntimeError: var: the correction parameter must be given explicitly. Call with correction=1 for the old default behavior.
2022-07-30T03:09:41.4991657Z 
2022-07-30T03:09:41.4992257Z ---------- coverage: platform linux, python 3.7.13-final-0 -----------
2022-07-30T03:09:41.4992815Z Coverage XML written to file test/coverage.xml
2022-07-30T03:09:41.4992969Z 
2022-07-30T03:09:41.5002791Z =========================== short test summary info ============================
2022-07-30T03:09:41.5003334Z FAILED test/onnx/test_pytorch_onnx_onnxruntime.py::TestONNXRuntime_opset_version_7_is_script_True_keep_initializers_as_inputs_True::test_var
2022-07-30T03:09:41.5004165Z FAILED test/onnx/test_pytorch_onnx_onnxruntime.py::TestONNXRuntime_opset_version_7_is_script_False_keep_initializers_as_inputs_True::test_var
2022-07-30T03:09:41.5006836Z FAILED test/onnx/test_pytorch_onnx_onnxruntime.py::TestONNXRuntime_opset_version_8_is_script_True_keep_initializers_as_inputs_True::test_var
2022-07-30T03:09:41.5007423Z FAILED test/onnx/test_pytorch_onnx_onnxruntime.py::TestONNXRuntime_opset_version_8_is_script_False_keep_initializers_as_inputs_True::test_var
2022-07-30T03:09:41.5008242Z FAILED test/onnx/test_pytorch_onnx_onnxruntime.py::TestONNXRuntime_opset_version_9_is_script_True_keep_initializers_as_inputs_True::test_var

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

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

2022-07-30T03:51:42.3047154Z RuntimeError: test_meta failed!
2022-07-30T03:51:40.0537529Z FAILED (errors=24, skipped=123, expected failures=72)
2022-07-30T03:51:40.0537740Z 
2022-07-30T03:51:40.0537847Z Generating XML reports...
2022-07-30T03:51:41.2887592Z Generated XML report: test-reports/python-unittest/test_meta/TEST-TestMetaCUDA-20220730034024.xml
2022-07-30T03:51:41.2900799Z Generated XML report: test-reports/python-unittest/test_meta/TEST-TestMetaConverter-20220730034024.xml
2022-07-30T03:51:42.3042723Z Traceback (most recent call last):
2022-07-30T03:51:42.3043538Z   File "/var/lib/jenkins/workspace/test/run_test.py", line 973, in <module>
2022-07-30T03:51:42.3044232Z     main()
2022-07-30T03:51:42.3044930Z   File "/var/lib/jenkins/workspace/test/run_test.py", line 951, in main
2022-07-30T03:51:42.3046471Z     raise RuntimeError(err_message)
2022-07-30T03:51:42.3047154Z RuntimeError: test_meta failed!
2022-07-30T03:51:42.5732090Z 
2022-07-30T03:51:42.5732539Z real	41m47.012s
2022-07-30T03:51:42.5733175Z user	40m44.452s
2022-07-30T03:51:42.5733620Z sys	1m15.875s
2022-07-30T03:51:42.5782293Z ##[error]Process completed with exit code 1.
2022-07-30T03:51:42.5820091Z Prepare all required actions
2022-07-30T03:51:42.5820560Z Getting action download info
2022-07-30T03:51:42.8839834Z ##[group]Run ./.github/actions/get-workflow-job-id
2022-07-30T03:51:42.8840146Z with:
2022-07-30T03:51:42.8840615Z   github-token: ***

See GitHub Actions build pull / linux-focal-py3.7-gcc7 / test (functorch, 1, 1, linux.2xlarge) (22/26)

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

2022-07-30T02:53:20.1541893Z test_backward_un... require grad and does not have a grad_fn (0.001s)
2022-07-30T02:53:20.1215752Z   test_randperm_randomness_same_use_generator_True_cpu (__main__.TestRandomnessCPU) ... ok (0.002s)
2022-07-30T02:53:20.1289224Z   test_unsupported_random_cpu (__main__.TestRandomnessCPU) ... ok (0.007s)
2022-07-30T02:53:20.1317908Z   test_fails_with_autograd_function_transform_grad_and_value_cpu (__main__.TestTransformFailureCPU) ... ok (0.003s)
2022-07-30T02:53:20.1345078Z   test_fails_with_autograd_function_transform_grad_cpu (__main__.TestTransformFailureCPU) ... ok (0.003s)
2022-07-30T02:53:20.1374361Z   test_fails_with_autograd_function_transform_jacfwd_cpu (__main__.TestTransformFailureCPU) ... ok (0.003s)
2022-07-30T02:53:20.1401724Z   test_fails_with_autograd_function_transform_jacrev_cpu (__main__.TestTransformFailureCPU) ... ok (0.003s)
2022-07-30T02:53:20.1428798Z   test_fails_with_autograd_function_transform_jvp_cpu (__main__.TestTransformFailureCPU) ... ok (0.003s)
2022-07-30T02:53:20.1455847Z   test_fails_with_autograd_function_transform_vjp_cpu (__main__.TestTransformFailureCPU) ... ok (0.003s)
2022-07-30T02:53:20.1482865Z   test_fails_with_autograd_function_transform_vmap_cpu (__main__.TestTransformFailureCPU) ... ok (0.003s)
2022-07-30T02:53:20.1527371Z   test_accepts_nested_inputs (__main__.TestVmapAPI) ... ok (0.004s)
2022-07-30T02:53:20.1541893Z   test_backward_unsupported_interaction (__main__.TestVmapAPI) ... skip: error: element 0 of tensors does not require grad and does not have a grad_fn (0.001s)
2022-07-30T02:53:20.1558466Z   test_batch_rule_does_not_need_to_handle_no_batched_input (__main__.TestVmapAPI) ... ok (0.002s)
2022-07-30T02:53:20.1574256Z   test_batched_gradient_basic (__main__.TestVmapAPI) ... ok (0.002s)
2022-07-30T02:53:20.1587187Z   test_constant_function (__main__.TestVmapAPI) ... ok (0.001s)
2022-07-30T02:53:20.1618124Z   test_data_dependent_control_flow_throws (__main__.TestVmapAPI) ... ok (0.003s)
2022-07-30T02:53:20.1633647Z   test_different_map_dim_size_raises (__main__.TestVmapAPI) ... ok (0.002s)
2022-07-30T02:53:20.1654773Z   test_fallback_atan2 (__main__.TestVmapAPI) ... /var/lib/jenkins/workspace/functorch/functorch/_src/vmap.py:487: UserWarning: There is a performance drop because we have not yet implemented the batching rule for aten::copysign.Tensor. Please file us an issue on GitHub so that we can prioritize its implementation. (Triggered internally at /var/lib/jenkins/workspace/functorch/functorch/csrc/BatchedFallback.cpp:85.)
2022-07-30T02:53:20.1655402Z   batched_outputs = func(*batched_inputs, **kwargs)
2022-07-30T02:53:20.2200828Z ok (0.057s)
2022-07-30T02:53:20.2216964Z   test_fallback_does_not_warn_by_default (__main__.TestVmapAPI) ... ok (0.002s)
2022-07-30T02:53:20.2229692Z   test_fallback_masked_fill (__main__.TestVmapAPI) ... ok (0.001s)

See GitHub Actions build pull / linux-focal-py3.7-gcc7 / test (distributed, 1, 1, linux.2xlarge) (23/26)

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

2022-07-30T03:37:13.4407498Z AssertionError: 1 unit test(s) failed:
2022-07-30T03:37:13.1390455Z 
2022-07-30T03:37:13.1390542Z OK
2022-07-30T03:37:13.1390676Z 
2022-07-30T03:37:13.1390783Z Generating XML reports...
2022-07-30T03:37:13.1414719Z Generated XML report: test-reports/python-unittest/distributed.rpc.test_tensorpipe_agent/TEST-TensorPipeThreeWorkersRemoteModuleTest-20220730033710.xml
2022-07-30T03:37:13.4404133Z Traceback (most recent call last):
2022-07-30T03:37:13.4404605Z   File "distributed/rpc/test_tensorpipe_agent.py", line 38, in <module>
2022-07-30T03:37:13.4404961Z     run_tests()
2022-07-30T03:37:13.4405445Z   File "/opt/conda/lib/python3.7/site-packages/torch/testing/_internal/common_utils.py", line 672, in run_tests
2022-07-30T03:37:13.4407077Z     len(failed_tests), '\n\t'.join(failed_tests))
2022-07-30T03:37:13.4407498Z AssertionError: 1 unit test(s) failed:
2022-07-30T03:37:13.4408008Z 	TensorPipeReinforcementLearningRpcTest.test_rl_rpc
2022-07-30T03:37:13.6629938Z Traceback (most recent call last):
2022-07-30T03:37:13.6631414Z   File "test/run_test.py", line 973, in <module>
2022-07-30T03:37:13.6631699Z     main()
2022-07-30T03:37:13.6631883Z   File "test/run_test.py", line 951, in main
2022-07-30T03:37:13.6633098Z     raise RuntimeError(err_message)
2022-07-30T03:37:13.6633399Z RuntimeError: distributed/rpc/test_tensorpipe_agent failed!
2022-07-30T03:37:13.9445247Z 
2022-07-30T03:37:13.9445716Z real	55m28.297s
2022-07-30T03:37:13.9446079Z user	121m22.991s

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

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

2022-07-30T03:50:38.9256850Z RuntimeError: test_torch failed!
2022-07-30T03:50:38.5840901Z Generated XML report: test-reports/python-unittest/test_torch/TEST-TestTorchDeviceTypeCPU-20220730035019.xml
2022-07-30T03:50:38.5843282Z Generated XML report: test-reports/python-unittest/test_torch/TEST-TestVitalSignsCudaCPU-20220730035019.xml
2022-07-30T03:50:38.9038116Z [TORCH_VITAL] Dataloader.enabled		 True
2022-07-30T03:50:38.9038636Z [TORCH_VITAL] Dataloader.basic_unit_test		 TEST_VALUE_STRING
2022-07-30T03:50:38.9250127Z [TORCH_VITAL] CUDA.used		 False
2022-07-30T03:50:38.9250530Z Traceback (most recent call last):
2022-07-30T03:50:38.9250947Z   File "test/run_test.py", line 973, in <module>
2022-07-30T03:50:38.9253937Z     main()
2022-07-30T03:50:38.9254299Z   File "test/run_test.py", line 951, in main
2022-07-30T03:50:38.9256498Z     raise RuntimeError(err_message)
2022-07-30T03:50:38.9256850Z RuntimeError: test_torch failed!
2022-07-30T03:50:39.2334991Z 
2022-07-30T03:50:39.2335422Z real	43m57.268s
2022-07-30T03:50:39.2335796Z user	166m6.357s
2022-07-30T03:50:39.2335982Z sys	8m55.421s
2022-07-30T03:50:39.2367994Z ##[error]Process completed with exit code 1.
2022-07-30T03:50:39.2402314Z Prepare all required actions
2022-07-30T03:50:39.2402613Z Getting action download info
2022-07-30T03:50:39.3966936Z ##[group]Run ./.github/actions/get-workflow-job-id
2022-07-30T03:50:39.3967152Z with:
2022-07-30T03:50:39.3967489Z   github-token: ***

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

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

2022-07-30T03:44:48.4012015Z RuntimeError: test_torch failed!
2022-07-30T03:44:48.0956558Z Generated XML report: test-reports\python-unittest\test_torch\TEST-TestTorchDeviceTypeCPU-20220730034433.xml
2022-07-30T03:44:48.0957048Z Generated XML report: test-reports\python-unittest\test_torch\TEST-TestVitalSignsCudaCPU-20220730034433.xml
2022-07-30T03:44:48.3729201Z [TORCH_VITAL] CUDA.used		 False
2022-07-30T03:44:48.3729516Z [TORCH_VITAL] Dataloader.basic_unit_test		 TEST_VALUE_STRING
2022-07-30T03:44:48.3729772Z [TORCH_VITAL] Dataloader.enabled		 True
2022-07-30T03:44:48.4010731Z Traceback (most recent call last):
2022-07-30T03:44:48.4011124Z   File "run_test.py", line 973, in <module>
2022-07-30T03:44:48.4011336Z     main()
2022-07-30T03:44:48.4011539Z   File "run_test.py", line 951, in main
2022-07-30T03:44:48.4011788Z     raise RuntimeError(err_message)
2022-07-30T03:44:48.4012015Z RuntimeError: test_torch failed!
2022-07-30T03:44:48.6387535Z 
2022-07-30T03:44:48.6388042Z (base) C:\actions-runner\_work\pytorch\pytorch\test>if ERRORLEVEL 1 goto fail 
2022-07-30T03:44:48.6391713Z 
2022-07-30T03:44:48.6392097Z (base) C:\actions-runner\_work\pytorch\pytorch\test>exit /b 1 
2022-07-30T03:44:48.6447508Z ##[error]Process completed with exit code 1.
2022-07-30T03:44:48.6963232Z Prepare all required actions
2022-07-30T03:44:48.6963749Z Getting action download info
2022-07-30T03:44:48.8292708Z Download action repository 'nick-fields/retry@71062288b76e2b6214ebde0e673ce0de1755740a' (SHA:71062288b76e2b6214ebde0e673ce0de1755740a)
2022-07-30T03:44:49.0799973Z ##[group]Run ./.github/actions/get-workflow-job-id
2022-07-30T03:44:49.0800204Z with:

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

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

2022-07-30T04:15:56.2918950Z �[0;31m[ FAILED ] �[mAtenXlaTensorTest.TestVarMeanWithCorrection
2022-07-30T04:15:56.2913762Z 
2022-07-30T04:15:56.2914046Z �[0;32m[----------] �[mGlobal test environment tear-down
2022-07-30T04:15:56.2914585Z �[0;32m[==========] �[m629 tests from 9 test suites ran. (481700 ms total)
2022-07-30T04:15:56.2915016Z �[0;32m[  PASSED  ] �[m624 tests.
2022-07-30T04:15:56.2915441Z �[0;32m[  SKIPPED ] �[m1 test, listed below:
2022-07-30T04:15:56.2915990Z �[0;32m[  SKIPPED ] �[mAtenXlaTensorTest.TestGroupNormBackward
2022-07-30T04:15:56.2916500Z �[0;31m[  FAILED  ] �[m4 tests, listed below:
2022-07-30T04:15:56.2917042Z �[0;31m[  FAILED  ] �[mAtenXlaTensorTest.TestStdWithCorrection
2022-07-30T04:15:56.2917679Z �[0;31m[  FAILED  ] �[mAtenXlaTensorTest.TestStdMeanWithCorrection
2022-07-30T04:15:56.2918318Z �[0;31m[  FAILED  ] �[mAtenXlaTensorTest.TestVarWithCorrection
2022-07-30T04:15:56.2918950Z �[0;31m[  FAILED  ] �[mAtenXlaTensorTest.TestVarMeanWithCorrection
2022-07-30T04:15:56.2919256Z 
2022-07-30T04:15:56.2919375Z  4 FAILED TESTS
2022-07-30T04:15:57.0253800Z + sccache_epilogue
2022-07-30T04:15:57.0254316Z + echo '::group::Sccache Compilation Log'
2022-07-30T04:15:57.0255071Z ##[group]Sccache Compilation Log
2022-07-30T04:15:57.0255424Z + echo '=================== sccache compilation log ==================='
2022-07-30T04:15:57.0255715Z =================== sccache compilation log ===================
2022-07-30T04:15:57.0256036Z + python /var/lib/jenkins/workspace/.jenkins/pytorch/print_sccache_log.py /home/jenkins/sccache_error.log
2022-07-30T04:15:57.0454058Z + echo '=========== If your build fails, please take a look at the log above for possible reasons ==========='
2022-07-30T04:15:57.0454486Z =========== If your build fails, please take a look at the log above for possible reasons ===========

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.

peterbell10 added a commit to peterbell10/pytorch that referenced this pull request May 4, 2021
ghstack-source-id: 9b51349d6746e263c623be602b6a4be3e2a1714c
Pull Request resolved: pytorch#55680
peterbell10 added a commit that referenced this pull request Nov 1, 2022
This changes the default `None` correction and all overloads using the
unbiased parameter result in an error.

BC-breaking message:

`torch.std`, `torch.std_mean`, `torch.var` and `torch.var_mean` now
require the `correction` argument be passed in all function calls.
This means it cannot be left as defaulted and also the `unbiased`
overloads cannot be used any more. To recover the old default, use
`correction=1` which is equivalent to `unbiased=True`; or use
`correction=0` for the same behavior as `unbiased=False`.

ghstack-source-id: 4fda2ef0b35dc0dcbe1da0d16fd12cef1966e5d0
Pull Request resolved: #55680
…icitly"

This changes the default `None` correction and all overloads using the
unbiased parameter result in an error.

BC-breaking message:

`torch.std`, `torch.std_mean`, `torch.var` and `torch.var_mean` now
require the `correction` argument be passed in all function calls.
This means it cannot be left as defaulted and also the `unbiased`
overloads cannot be used any more. To recover the old default, use
`correction=1` which is equivalent to `unbiased=True`; or use
`correction=0` for the same behavior as `unbiased=False`.

[ghstack-poisoned]
peterbell10 added a commit that referenced this pull request Nov 2, 2022
This changes the default `None` correction and all overloads using the
unbiased parameter result in an error.

BC-breaking message:

`torch.std`, `torch.std_mean`, `torch.var` and `torch.var_mean` now
require the `correction` argument be passed in all function calls.
This means it cannot be left as defaulted and also the `unbiased`
overloads cannot be used any more. To recover the old default, use
`correction=1` which is equivalent to `unbiased=True`; or use
`correction=0` for the same behavior as `unbiased=False`.

ghstack-source-id: 685632fbd1a9d61c8cd7bc320b386e2760a25019
Pull Request resolved: #55680
…icitly"

This changes the default `None` correction and all overloads using the
unbiased parameter result in an error.

BC-breaking message:

`torch.std`, `torch.std_mean`, `torch.var` and `torch.var_mean` now
require the `correction` argument be passed in all function calls.
This means it cannot be left as defaulted and also the `unbiased`
overloads cannot be used any more. To recover the old default, use
`correction=1` which is equivalent to `unbiased=True`; or use
`correction=0` for the same behavior as `unbiased=False`.

[ghstack-poisoned]
peterbell10 added a commit that referenced this pull request Nov 2, 2022
This changes the default `None` correction and all overloads using the
unbiased parameter result in an error.

BC-breaking message:

`torch.std`, `torch.std_mean`, `torch.var` and `torch.var_mean` now
require the `correction` argument be passed in all function calls.
This means it cannot be left as defaulted and also the `unbiased`
overloads cannot be used any more. To recover the old default, use
`correction=1` which is equivalent to `unbiased=True`; or use
`correction=0` for the same behavior as `unbiased=False`.

ghstack-source-id: e566ff4b22be838936dbfc049e78e834a48a2a52
Pull Request resolved: #55680
…icitly"

This changes the default `None` correction and all overloads using the
unbiased parameter result in an error.

BC-breaking message:

`torch.std`, `torch.std_mean`, `torch.var` and `torch.var_mean` now
require the `correction` argument be passed in all function calls.
This means it cannot be left as defaulted and also the `unbiased`
overloads cannot be used any more. To recover the old default, use
`correction=1` which is equivalent to `unbiased=True`; or use
`correction=0` for the same behavior as `unbiased=False`.

[ghstack-poisoned]
peterbell10 added a commit that referenced this pull request Nov 3, 2022
This changes the default `None` correction and all overloads using the
unbiased parameter result in an error.

BC-breaking message:

`torch.std`, `torch.std_mean`, `torch.var` and `torch.var_mean` now
require the `correction` argument be passed in all function calls.
This means it cannot be left as defaulted and also the `unbiased`
overloads cannot be used any more. To recover the old default, use
`correction=1` which is equivalent to `unbiased=True`; or use
`correction=0` for the same behavior as `unbiased=False`.

ghstack-source-id: e566ff4b22be838936dbfc049e78e834a48a2a52
Pull Request resolved: #55680
peterbell10 added a commit to peterbell10/pytorch that referenced this pull request Nov 7, 2022
This changes the default `None` correction and all overloads using the
unbiased parameter result in an error.

BC-breaking message:

`torch.std`, `torch.std_mean`, `torch.var` and `torch.var_mean` now
require the `correction` argument be passed in all function calls.
This means it cannot be left as defaulted and also the `unbiased`
overloads cannot be used any more. To recover the old default, use
`correction=1` which is equivalent to `unbiased=True`; or use
`correction=0` for the same behavior as `unbiased=False`.

ghstack-source-id: e566ff4b22be838936dbfc049e78e834a48a2a52
Pull Request resolved: pytorch#55680
…icitly"

This changes the default `None` correction and all overloads using the
unbiased parameter result in an error.

BC-breaking message:

`torch.std`, `torch.std_mean`, `torch.var` and `torch.var_mean` now
require the `correction` argument be passed in all function calls.
This means it cannot be left as defaulted and also the `unbiased`
overloads cannot be used any more. To recover the old default, use
`correction=1` which is equivalent to `unbiased=True`; or use
`correction=0` for the same behavior as `unbiased=False`.

[ghstack-poisoned]
peterbell10 added a commit that referenced this pull request Nov 7, 2022
This changes the default `None` correction and all overloads using the
unbiased parameter result in an error.

BC-breaking message:

`torch.std`, `torch.std_mean`, `torch.var` and `torch.var_mean` now
require the `correction` argument be passed in all function calls.
This means it cannot be left as defaulted and also the `unbiased`
overloads cannot be used any more. To recover the old default, use
`correction=1` which is equivalent to `unbiased=True`; or use
`correction=0` for the same behavior as `unbiased=False`.

ghstack-source-id: 3f6833870f5ec839e140439569bcc186b3bfc3f4
Pull Request resolved: #55680
peterbell10 added a commit to peterbell10/pytorch that referenced this pull request Dec 4, 2022
This changes the default `None` correction and all overloads using the
unbiased parameter result in an error.

BC-breaking message:

`torch.std`, `torch.std_mean`, `torch.var` and `torch.var_mean` now
require the `correction` argument be passed in all function calls.
This means it cannot be left as defaulted and also the `unbiased`
overloads cannot be used any more. To recover the old default, use
`correction=1` which is equivalent to `unbiased=True`; or use
`correction=0` for the same behavior as `unbiased=False`.

ghstack-source-id: 3f6833870f5ec839e140439569bcc186b3bfc3f4
Pull Request resolved: pytorch#55680
…icitly"

This changes the default `None` correction and all overloads using the
unbiased parameter result in an error.

BC-breaking message:

`torch.std`, `torch.std_mean`, `torch.var` and `torch.var_mean` now
require the `correction` argument be passed in all function calls.
This means it cannot be left as defaulted and also the `unbiased`
overloads cannot be used any more. To recover the old default, use
`correction=1` which is equivalent to `unbiased=True`; or use
`correction=0` for the same behavior as `unbiased=False`.

[ghstack-poisoned]
peterbell10 added a commit that referenced this pull request Dec 4, 2022
This changes the default `None` correction and all overloads using the
unbiased parameter result in an error.

BC-breaking message:

`torch.std`, `torch.std_mean`, `torch.var` and `torch.var_mean` now
require the `correction` argument be passed in all function calls.
This means it cannot be left as defaulted and also the `unbiased`
overloads cannot be used any more. To recover the old default, use
`correction=1` which is equivalent to `unbiased=True`; or use
`correction=0` for the same behavior as `unbiased=False`.

ghstack-source-id: 2de2a7ac3ac1a8f7ed257a216250bac20346a05c
Pull Request resolved: #55680
@github-actions github-actions bot added the release notes: quantization release notes category label Dec 4, 2022
peterbell10 added a commit to peterbell10/pytorch that referenced this pull request Dec 7, 2022
This changes the default `None` correction and all overloads using the
unbiased parameter result in an error.

BC-breaking message:

`torch.std`, `torch.std_mean`, `torch.var` and `torch.var_mean` now
require the `correction` argument be passed in all function calls.
This means it cannot be left as defaulted and also the `unbiased`
overloads cannot be used any more. To recover the old default, use
`correction=1` which is equivalent to `unbiased=True`; or use
`correction=0` for the same behavior as `unbiased=False`.

ghstack-source-id: 2de2a7ac3ac1a8f7ed257a216250bac20346a05c
Pull Request resolved: pytorch#55680
…icitly"

This changes the default `None` correction and all overloads using the
unbiased parameter result in an error.

BC-breaking message:

`torch.std`, `torch.std_mean`, `torch.var` and `torch.var_mean` now
require the `correction` argument be passed in all function calls.
This means it cannot be left as defaulted and also the `unbiased`
overloads cannot be used any more. To recover the old default, use
`correction=1` which is equivalent to `unbiased=True`; or use
`correction=0` for the same behavior as `unbiased=False`.

[ghstack-poisoned]
@pytorch-bot pytorch-bot bot added the ciflow/mps Run MPS tests (subset of trunk) label Dec 7, 2022
peterbell10 added a commit that referenced this pull request Dec 7, 2022
This changes the default `None` correction and all overloads using the
unbiased parameter result in an error.

BC-breaking message:

`torch.std`, `torch.std_mean`, `torch.var` and `torch.var_mean` now
require the `correction` argument be passed in all function calls.
This means it cannot be left as defaulted and also the `unbiased`
overloads cannot be used any more. To recover the old default, use
`correction=1` which is equivalent to `unbiased=True`; or use
`correction=0` for the same behavior as `unbiased=False`.

ghstack-source-id: d2710e1f875af2c3dc1f078c98ab7f5f22da7bf3
Pull Request resolved: #55680
@github-actions github-actions bot closed this Jan 6, 2023
@peterbell10 peterbell10 removed the Stale label Jan 7, 2023
@peterbell10 peterbell10 reopened this Jan 7, 2023
@github-actions
Copy link

github-actions bot commented Mar 8, 2023

Looks like this PR hasn't been updated in a while so we're going to go ahead and mark this as Stale.
Feel free to remove the Stale label if you feel this was a mistake.
If you are unable to remove the Stale label please contact a maintainer in order to do so.
If you want the bot to never mark this PR stale again, add the no-stale label.
Stale pull requests will automatically be closed after 30 days of inactivity.

@evelynmitchell
Copy link
Contributor

No one has reviewed this, and the original author has removed stale and added no-stale, even though there has been no activity in more than a year.

@z-a-f
Copy link
Contributor

z-a-f commented Mar 12, 2024

@pytorchbot rebase

@pytorchmergebot
Copy link
Collaborator

@pytorchbot started a rebase job onto refs/remotes/origin/viable/strict. Check the current status here

@pytorchmergebot
Copy link
Collaborator

Rebase failed due to Command git -C /home/runner/work/pytorch/pytorch rebase refs/remotes/origin/viable/strict gh/peterbell10/59/orig returned non-zero exit code 1

warning: skipped previously applied commit 9d8ee47225a
hint: use --reapply-cherry-picks to include skipped commits
hint: Disable this message with "git config advice.skippedCherryPicks false"
Rebasing (1/2)
Auto-merging aten/src/ATen/native/ReduceOps.cpp
CONFLICT (content): Merge conflict in aten/src/ATen/native/ReduceOps.cpp
Auto-merging benchmarks/fastrnns/custom_lstms.py
Auto-merging test/distributions/test_distributions.py
CONFLICT (content): Merge conflict in test/distributions/test_distributions.py
Auto-merging test/onnx/test_pytorch_onnx_onnxruntime.py
Auto-merging test/test_autograd.py
Auto-merging test/test_bundled_inputs.py
Auto-merging test/test_legacy_vmap.py
Auto-merging test/test_mps.py
Auto-merging test/test_namedtensor.py
Auto-merging test/test_nn.py
CONFLICT (content): Merge conflict in test/test_nn.py
Auto-merging test/test_reductions.py
CONFLICT (content): Merge conflict in test/test_reductions.py
Auto-merging test/test_tensor_creation_ops.py
Auto-merging torch/_decomp/decompositions.py
CONFLICT (content): Merge conflict in torch/_decomp/decompositions.py
Auto-merging torch/_decomp/decompositions_for_jvp.py
Auto-merging torch/_torch_docs.py
CONFLICT (content): Merge conflict in torch/_torch_docs.py
Auto-merging torch/masked/_ops.py
Auto-merging torch/nn/modules/batchnorm.py
CONFLICT (content): Merge conflict in torch/nn/modules/batchnorm.py
Auto-merging torch/nn/modules/instancenorm.py
Auto-merging torch/nn/modules/normalization.py
error: could not apply 29f9170d1f9... std/var: Deprecate default `correction` value and `unbiased` argument
hint: Resolve all conflicts manually, mark them as resolved with
hint: "git add/rm <conflicted_files>", then run "git rebase --continue".
hint: You can instead skip this commit: run "git rebase --skip".
hint: To abort and get back to the state before "git rebase", run "git rebase --abort".
Could not apply 29f9170d1f9... std/var: Deprecate default `correction` value and `unbiased` argument

Raised by https://github.com/pytorch/pytorch/actions/runs/8254193916

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ciflow/mps Run MPS tests (subset of trunk) cla signed no-stale open source release notes: quantization release notes category
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants