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

[ONNX] Deprecate various args #65962

Merged
merged 6 commits into from Oct 8, 2021

Conversation

…nction. (pytorch#61702) (pytorch#64370)

Summary:
Pull Request resolved: pytorch#64370

As of now, the "_retain_param_name" parameter has no description in PyTorch docs website. According to code, this argument determines if we keep the original parameter names of PyTorch model in the final ONNX graph. If this is False, those original parameter names will be replaced with a series of integers starting from 1.

Since setting numbers as parameter names make no sense to users, we remove this argument from the torch.onnx.export() function to increase user experience of calling this function.

This PR will still keep it in torch.onnx.export() function for backward support while all backend logic has been changed to work as _retain_param_name is set to True.

Test Plan: Imported from OSS

Reviewed By: ezyang

Differential Revision: D30905270

Pulled By: malfet

fbshipit-source-id: ca60757ca17daaff937e9f08da42596086795f4a

Co-authored-by: fatcat-z <zhang-ji@outlook.com>
@pytorch-probot
Copy link

pytorch-probot bot commented Sep 30, 2021

CI Flow Status

⚛️ CI Flow

Ruleset - Version: v1
Ruleset - File: https://github.com/garymm/pytorch/blob/41ca83cf6a639546ddac4ab3a1ba7803f92ab2c1/.github/generated-ciflow-ruleset.json
PR ciflow labels: ciflow/default

Workflows Labels (bold enabled) Status
Triggered Workflows
linux-bionic-py3.6-clang9 ciflow/all, ciflow/cpu, ciflow/default, ciflow/linux, ciflow/noarch, ciflow/xla ✅ triggered
linux-bionic-py3.8-gcc9-coverage ciflow/all, ciflow/coverage, ciflow/cpu, ciflow/default, ciflow/linux ✅ triggered
linux-xenial-cuda11.3-py3.6-gcc7 ciflow/all, ciflow/cuda, ciflow/default, ciflow/linux ✅ triggered
linux-xenial-py3.6-gcc5.4 ciflow/all, ciflow/cpu, ciflow/default, ciflow/linux ✅ triggered
linux-xenial-py3.6-gcc7-bazel-test ciflow/all, ciflow/bazel, ciflow/cpu, ciflow/default, ciflow/linux ✅ triggered
win-vs2019-cpu-py3 ciflow/all, ciflow/cpu, ciflow/default, ciflow/win ✅ triggered
win-vs2019-cuda11.3-py3 ciflow/all, ciflow/cuda, ciflow/default, ciflow/win ✅ triggered
Skipped Workflows
libtorch-linux-xenial-cuda10.2-py3.6-gcc7 ciflow/all, ciflow/cuda, ciflow/libtorch, ciflow/linux 🚫 skipped
libtorch-linux-xenial-cuda11.3-py3.6-gcc7 ciflow/all, ciflow/cuda, ciflow/libtorch, ciflow/linux 🚫 skipped
linux-bionic-cuda10.2-py3.9-gcc7 ciflow/all, ciflow/cuda, ciflow/linux, ciflow/slow 🚫 skipped
linux-xenial-cuda10.2-py3.6-gcc7 ciflow/all, ciflow/cuda, ciflow/linux, ciflow/slow 🚫 skipped
parallelnative-linux-xenial-py3.6-gcc5.4 ciflow/all, ciflow/cpu, ciflow/linux 🚫 skipped
periodic-libtorch-linux-xenial-cuda11.1-py3.6-gcc7 ciflow/all, ciflow/cuda, ciflow/libtorch, ciflow/linux, ciflow/scheduled 🚫 skipped
periodic-linux-xenial-cuda11.1-py3.6-gcc7 ciflow/all, ciflow/cuda, ciflow/linux, ciflow/scheduled 🚫 skipped
periodic-win-vs2019-cuda11.1-py3 ciflow/all, ciflow/cuda, ciflow/scheduled, ciflow/win 🚫 skipped
puretorch-linux-xenial-py3.6-gcc5.4 ciflow/all, ciflow/cpu, ciflow/linux 🚫 skipped
win-vs2019-cuda10.2-py3 ciflow/all, ciflow/cuda, ciflow/win 🚫 skipped

You can add a comment to the PR and tag @pytorchbot with the following commands:
# ciflow rerun, "ciflow/default" will always be added automatically
@pytorchbot ciflow rerun

# ciflow rerun with additional labels "-l <ciflow/label_name>", which is equivalent to adding these labels manually and trigger the rerun
@pytorchbot ciflow rerun -l ciflow/scheduled -l ciflow/slow

For more information, please take a look at the CI Flow Wiki.

@facebook-github-bot
Copy link
Contributor

facebook-github-bot commented Sep 30, 2021

🔗 Helpful links

💊 CI failures summary and remediations

As of commit 41ca83c (more details on the Dr. CI page):



🕵️ 2 new failures recognized by patterns

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

See GitHub Actions build linux-xenial-py3.6-gcc5.4 / test (backwards_compat, 1, 1, linux.2xlarge) (1/2)

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

2021-10-06T18:06:41.0615612Z RuntimeError:
2021-10-06T18:06:40.4748476Z Author: PyTorch Team
2021-10-06T18:06:40.4749261Z Author-email: packages@pytorch.org
2021-10-06T18:06:40.4749744Z License: BSD-3
2021-10-06T18:06:40.4750247Z Location: /opt/conda/lib/python3.6/site-packages
2021-10-06T18:06:40.4754220Z Requires: typing-extensions, dataclasses
2021-10-06T18:06:40.4755112Z Required-by: 
2021-10-06T18:06:40.4908733Z + python check_backward_compatibility.py --existing-schemas nightly_schemas.txt
2021-10-06T18:06:41.0613309Z Traceback (most recent call last):
2021-10-06T18:06:41.0614318Z   File "check_backward_compatibility.py", line 155, in <module>
2021-10-06T18:06:41.0615101Z     s = parse_schema(line.strip())
2021-10-06T18:06:41.0615612Z RuntimeError: 
2021-10-06T18:06:41.0616451Z Unknown custom class type cuda.Stream. Please ensure it is registered.:
2021-10-06T18:06:41.0617815Z cuda::default_stream.device(Device? device) -> (__torch__.torch.classes.cuda.Stream)
2021-10-06T18:06:41.0618534Z                                                                              ~~~~~~ <--- HERE
2021-10-06T18:06:41.0618769Z 
2021-10-06T18:06:41.1376140Z + cleanup
2021-10-06T18:06:41.1376692Z + retcode=1
2021-10-06T18:06:41.1377094Z + set +x
2021-10-06T18:06:41.1377449Z =================== sccache compilation log ===================
2021-10-06T18:06:41.1565316Z =========== If your build fails, please take a look at the log above for possible reasons ===========
2021-10-06T18:06:41.1584929Z Compile requests                      0

See GitHub Actions build win-vs2019-cpu-py3 / build (2/2)

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

2021-10-06T18:13:53.9035098Z FAILED: caffe2/CMa.../ATen/native/cpu/AvgPoolKernel.cpp.DEFAULT.cpp.obj
2021-10-06T18:13:53.8921292Z caused by: Failed to read response header
2021-10-06T18:13:53.8921681Z caused by: failed to fill whole buffer
2021-10-06T18:13:53.8939023Z [4274/5686] C:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\build\win_tmp\bin\sccache-cl.exe   /TP -DADD_BREAKPAD_SIGNAL_HANDLER -DCPUINFO_SUPPORTED_PLATFORM=1 -DFMT_HEADER_ONLY=1 -DIDEEP_USE_MKL -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_ML=1 -DONNX_NAMESPACE=onnx_torch -DTH_BLAS_MKL -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DWIN32_LEAN_AND_MEAN -D_CRT_SECURE_NO_DEPRECATE=1 -D_OPENMP_NOFORCE_MANIFEST -Dtorch_cpu_EXPORTS -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\build\aten\src -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\aten\src -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\build -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929 -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\cmake\..\third_party\benchmark\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\build\caffe2\contrib\aten -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\third_party\onnx -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\build\third_party\onnx -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\third_party\foxi -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\build\third_party\foxi -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\torch\csrc\api -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\torch\csrc\api\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\caffe2\aten\src\TH -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\build\caffe2\aten\src\TH -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\build\caffe2\aten\src -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\caffe2\..\third_party -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\caffe2\..\third_party\breakpad\src -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\build\caffe2\..\aten\src -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\build\caffe2\..\aten\src\ATen -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\torch\csrc -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\third_party\miniz-2.0.8 -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\third_party\kineto\libkineto\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\third_party\kineto\libkineto\src -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\torch\csrc\distributed -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\aten\src\TH -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\aten\..\third_party\catch\single_include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\aten\src\ATen\.. -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\build\caffe2\aten\src\ATen -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\caffe2\core\nomnigraph\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\c10\.. -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\build\third_party\ideep\mkl-dnn\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\third_party\ideep\mkl-dnn\src\..\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\third_party\pthreadpool\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\third_party\cpuinfo\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\third_party\fbgemm\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\third_party\fbgemm -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\third_party\fbgemm\third_party\asmjit\src -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\third_party\FP16\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\third_party\fmt\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\build\third_party\gloo -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\cmake\..\third_party\gloo -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\cmake\..\third_party\googletest\googlemock\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\cmake\..\third_party\googletest\googletest\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\third_party\protobuf\src -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\build\win_tmp\mkl\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\third_party\XNNPACK\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\third_party -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\cmake\..\third_party\eigen -IC:\Jenkins\Miniconda3\include -IC:\Jenkins\Miniconda3\lib\site-packages\numpy\core\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\cmake\..\third_party\pybind11\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\third_party\ideep\mkl-dnn\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\third_party\ideep
2021-10-06T18:13:53.8956152Z FAILED: caffe2/CMakeFiles/torch_cpu.dir/core/event.cc.obj 
2021-10-06T18:13:53.8973581Z C:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\build\win_tmp\bin\sccache-cl.exe   /TP -DADD_BREAKPAD_SIGNAL_HANDLER -DCPUINFO_SUPPORTED_PLATFORM=1 -DFMT_HEADER_ONLY=1 -DIDEEP_USE_MKL -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_ML=1 -DONNX_NAMESPACE=onnx_torch -DTH_BLAS_MKL -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DWIN32_LEAN_AND_MEAN -D_CRT_SECURE_NO_DEPRECATE=1 -D_OPENMP_NOFORCE_MANIFEST -Dtorch_cpu_EXPORTS -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\build\aten\src -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\aten\src -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\build -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929 -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\cmake\..\third_party\benchmark\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\build\caffe2\contrib\aten -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\third_party\onnx -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\build\third_party\onnx -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\third_party\foxi -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\build\third_party\foxi -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\torch\csrc\api -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\torch\csrc\api\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\caffe2\aten\src\TH -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\build\caffe2\aten\src\TH -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\build\caffe2\aten\src -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\caffe2\..\third_party -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\caffe2\..\third_party\breakpad\src -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\build\caffe2\..\aten\src -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\build\caffe2\..\aten\src\ATen -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\torch\csrc -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\third_party\miniz-2.0.8 -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\third_party\kineto\libkineto\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\third_party\kineto\libkineto\src -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\torch\csrc\distributed -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\aten\src\TH -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\aten\..\third_party\catch\single_include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\aten\src\ATen\.. -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\build\caffe2\aten\src\ATen -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\caffe2\core\nomnigraph\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\c10\.. -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\build\third_party\ideep\mkl-dnn\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\third_party\ideep\mkl-dnn\src\..\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\third_party\pthreadpool\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\third_party\cpuinfo\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\third_party\fbgemm\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\third_party\fbgemm -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\third_party\fbgemm\third_party\asmjit\src -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\third_party\FP16\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\third_party\fmt\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\build\third_party\gloo -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\cmake\..\third_party\gloo -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\cmake\..\third_party\googletest\googlemock\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\cmake\..\third_party\googletest\googletest\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\third_party\protobuf\src -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\build\win_tmp\mkl\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\third_party\XNNPACK\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\third_party -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\cmake\..\third_party\eigen -IC:\Jenkins\Miniconda3\include -IC:\Jenkins\Miniconda3\lib\site-packages\numpy\core\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\cmake\..\third_party\pybind11\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\third_party\ideep\mkl-dnn\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\third_party\ideep\include -IC
2021-10-06T18:13:53.8990528Z error: failed to execute compile
2021-10-06T18:13:53.8991654Z caused by: error reading compile response from server
2021-10-06T18:13:53.8992112Z caused by: Failed to read response header
2021-10-06T18:13:53.8992501Z caused by: failed to fill whole buffer
2021-10-06T18:13:53.9016188Z [4275/5686] C:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\build\win_tmp\bin\sccache-cl.exe   /TP -DADD_BREAKPAD_SIGNAL_HANDLER -DCPUINFO_SUPPORTED_PLATFORM=1 -DFMT_HEADER_ONLY=1 -DIDEEP_USE_MKL -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_ML=1 -DONNX_NAMESPACE=onnx_torch -DTH_BLAS_MKL -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DWIN32_LEAN_AND_MEAN -D_CRT_SECURE_NO_DEPRECATE=1 -D_OPENMP_NOFORCE_MANIFEST -Dtorch_cpu_EXPORTS -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\build\aten\src -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\aten\src -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\build -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929 -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\cmake\..\third_party\benchmark\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\build\caffe2\contrib\aten -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\third_party\onnx -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\build\third_party\onnx -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\third_party\foxi -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\build\third_party\foxi -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\torch\csrc\api -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\torch\csrc\api\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\caffe2\aten\src\TH -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\build\caffe2\aten\src\TH -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\build\caffe2\aten\src -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\caffe2\..\third_party -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\caffe2\..\third_party\breakpad\src -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\build\caffe2\..\aten\src -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\build\caffe2\..\aten\src\ATen -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\torch\csrc -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\third_party\miniz-2.0.8 -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\third_party\kineto\libkineto\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\third_party\kineto\libkineto\src -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\torch\csrc\distributed -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\aten\src\TH -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\aten\..\third_party\catch\single_include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\aten\src\ATen\.. -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\build\caffe2\aten\src\ATen -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\caffe2\core\nomnigraph\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\c10\.. -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\build\third_party\ideep\mkl-dnn\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\third_party\ideep\mkl-dnn\src\..\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\third_party\pthreadpool\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\third_party\cpuinfo\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\third_party\fbgemm\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\third_party\fbgemm -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\third_party\fbgemm\third_party\asmjit\src -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\third_party\FP16\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\third_party\fmt\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\build\third_party\gloo -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\cmake\..\third_party\gloo -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\cmake\..\third_party\googletest\googlemock\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\cmake\..\third_party\googletest\googletest\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\third_party\protobuf\src -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\build\win_tmp\mkl\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\third_party\XNNPACK\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\third_party -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\cmake\..\third_party\eigen -IC:\Jenkins\Miniconda3\include -IC:\Jenkins\Miniconda3\lib\site-packages\numpy\core\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\cmake\..\third_party\pybind11\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\third_party\ideep\mkl-dnn\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\third_party\ideep
2021-10-06T18:13:53.9035098Z FAILED: caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/AvgPoolKernel.cpp.DEFAULT.cpp.obj 
2021-10-06T18:13:53.9053467Z C:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\build\win_tmp\bin\sccache-cl.exe   /TP -DADD_BREAKPAD_SIGNAL_HANDLER -DCPUINFO_SUPPORTED_PLATFORM=1 -DFMT_HEADER_ONLY=1 -DIDEEP_USE_MKL -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_ML=1 -DONNX_NAMESPACE=onnx_torch -DTH_BLAS_MKL -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DWIN32_LEAN_AND_MEAN -D_CRT_SECURE_NO_DEPRECATE=1 -D_OPENMP_NOFORCE_MANIFEST -Dtorch_cpu_EXPORTS -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\build\aten\src -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\aten\src -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\build -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929 -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\cmake\..\third_party\benchmark\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\build\caffe2\contrib\aten -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\third_party\onnx -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\build\third_party\onnx -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\third_party\foxi -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\build\third_party\foxi -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\torch\csrc\api -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\torch\csrc\api\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\caffe2\aten\src\TH -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\build\caffe2\aten\src\TH -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\build\caffe2\aten\src -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\caffe2\..\third_party -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\caffe2\..\third_party\breakpad\src -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\build\caffe2\..\aten\src -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\build\caffe2\..\aten\src\ATen -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\torch\csrc -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\third_party\miniz-2.0.8 -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\third_party\kineto\libkineto\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\third_party\kineto\libkineto\src -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\torch\csrc\distributed -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\aten\src\TH -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\aten\..\third_party\catch\single_include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\aten\src\ATen\.. -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\build\caffe2\aten\src\ATen -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\caffe2\core\nomnigraph\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\c10\.. -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\build\third_party\ideep\mkl-dnn\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\third_party\ideep\mkl-dnn\src\..\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\third_party\pthreadpool\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\third_party\cpuinfo\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\third_party\fbgemm\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\third_party\fbgemm -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\third_party\fbgemm\third_party\asmjit\src -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\third_party\FP16\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\third_party\fmt\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\build\third_party\gloo -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\cmake\..\third_party\gloo -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\cmake\..\third_party\googletest\googlemock\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\cmake\..\third_party\googletest\googletest\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\third_party\protobuf\src -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\build\win_tmp\mkl\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\third_party\XNNPACK\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\third_party -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\cmake\..\third_party\eigen -IC:\Jenkins\Miniconda3\include -IC:\Jenkins\Miniconda3\lib\site-packages\numpy\core\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\cmake\..\third_party\pybind11\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\third_party\ideep\mkl-dnn\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\third_party\ideep\include -IC
2021-10-06T18:13:53.9071124Z error: failed to execute compile
2021-10-06T18:13:53.9071564Z caused by: error reading compile response from server
2021-10-06T18:13:53.9072021Z caused by: Failed to read response header
2021-10-06T18:13:53.9072421Z caused by: failed to fill whole buffer
2021-10-06T18:13:55.4546581Z [4276/5686] C:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\build\win_tmp\bin\sccache-cl.exe   /TP -DADD_BREAKPAD_SIGNAL_HANDLER -DCPUINFO_SUPPORTED_PLATFORM=1 -DFMT_HEADER_ONLY=1 -DIDEEP_USE_MKL -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_ML=1 -DONNX_NAMESPACE=onnx_torch -DTH_BLAS_MKL -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DWIN32_LEAN_AND_MEAN -D_CRT_SECURE_NO_DEPRECATE=1 -D_OPENMP_NOFORCE_MANIFEST -Dtorch_cpu_EXPORTS -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\build\aten\src -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\aten\src -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\build -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929 -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\cmake\..\third_party\benchmark\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\build\caffe2\contrib\aten -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\third_party\onnx -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\build\third_party\onnx -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\third_party\foxi -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\build\third_party\foxi -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\torch\csrc\api -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\torch\csrc\api\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\caffe2\aten\src\TH -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\build\caffe2\aten\src\TH -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\build\caffe2\aten\src -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\caffe2\..\third_party -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\caffe2\..\third_party\breakpad\src -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\build\caffe2\..\aten\src -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\build\caffe2\..\aten\src\ATen -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\torch\csrc -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\third_party\miniz-2.0.8 -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\third_party\kineto\libkineto\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\third_party\kineto\libkineto\src -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\torch\csrc\distributed -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\aten\src\TH -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\aten\..\third_party\catch\single_include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\aten\src\ATen\.. -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\build\caffe2\aten\src\ATen -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\caffe2\core\nomnigraph\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\c10\.. -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\build\third_party\ideep\mkl-dnn\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\third_party\ideep\mkl-dnn\src\..\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\third_party\pthreadpool\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\third_party\cpuinfo\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\third_party\fbgemm\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\third_party\fbgemm -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\third_party\fbgemm\third_party\asmjit\src -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\third_party\FP16\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\third_party\fmt\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\build\third_party\gloo -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\cmake\..\third_party\gloo -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\cmake\..\third_party\googletest\googlemock\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\cmake\..\third_party\googletest\googletest\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\third_party\protobuf\src -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\build\win_tmp\mkl\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\third_party\XNNPACK\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\third_party -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\cmake\..\third_party\eigen -IC:\Jenkins\Miniconda3\include -IC:\Jenkins\Miniconda3\lib\site-packages\numpy\core\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\cmake\..\third_party\pybind11\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\third_party\ideep\mkl-dnn\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\third_party\ideep
2021-10-06T18:13:55.4563816Z Microsoft (R) C/C++ Optimizing Compiler Version 19.28.29337 for x64
2021-10-06T18:13:55.4564421Z Copyright (C) Microsoft Corporation.  All rights reserved.
2021-10-06T18:13:55.4564747Z 
2021-10-06T18:13:56.5173974Z [4277/5686] C:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\build\win_tmp\bin\sccache-cl.exe   /TP -DADD_BREAKPAD_SIGNAL_HANDLER -DCPUINFO_SUPPORTED_PLATFORM=1 -DFMT_HEADER_ONLY=1 -DIDEEP_USE_MKL -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_ML=1 -DONNX_NAMESPACE=onnx_torch -DTH_BLAS_MKL -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DWIN32_LEAN_AND_MEAN -D_CRT_SECURE_NO_DEPRECATE=1 -D_OPENMP_NOFORCE_MANIFEST -Dtorch_cpu_EXPORTS -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\build\aten\src -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\aten\src -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\build -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929 -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\cmake\..\third_party\benchmark\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\build\caffe2\contrib\aten -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\third_party\onnx -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\build\third_party\onnx -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\third_party\foxi -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\build\third_party\foxi -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\torch\csrc\api -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\torch\csrc\api\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\caffe2\aten\src\TH -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\build\caffe2\aten\src\TH -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\build\caffe2\aten\src -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\caffe2\..\third_party -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\caffe2\..\third_party\breakpad\src -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\build\caffe2\..\aten\src -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\build\caffe2\..\aten\src\ATen -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\torch\csrc -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\third_party\miniz-2.0.8 -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\third_party\kineto\libkineto\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\third_party\kineto\libkineto\src -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\torch\csrc\distributed -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\aten\src\TH -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\aten\..\third_party\catch\single_include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\aten\src\ATen\.. -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\build\caffe2\aten\src\ATen -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\caffe2\core\nomnigraph\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\c10\.. -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\build\third_party\ideep\mkl-dnn\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\third_party\ideep\mkl-dnn\src\..\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\third_party\pthreadpool\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\third_party\cpuinfo\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\third_party\fbgemm\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\third_party\fbgemm -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\third_party\fbgemm\third_party\asmjit\src -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\third_party\FP16\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\third_party\fmt\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\build\third_party\gloo -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\cmake\..\third_party\gloo -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\cmake\..\third_party\googletest\googlemock\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\cmake\..\third_party\googletest\googletest\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\third_party\protobuf\src -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\build\win_tmp\mkl\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\third_party\XNNPACK\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\third_party -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\cmake\..\third_party\eigen -IC:\Jenkins\Miniconda3\include -IC:\Jenkins\Miniconda3\lib\site-packages\numpy\core\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\cmake\..\third_party\pybind11\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\third_party\ideep\mkl-dnn\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1313048929\third_party\ideep

❄️ 1 failure tentatively classified as flaky

but reruns have not yet been triggered to confirm:

See CircleCI build pytorch_linux_xenial_py3_6_gcc5_4_test (1/1)

Step: "Check for no AVX instruction by default" (full log | diagnosis details | 🔁 rerun) ❄️

E: Failed to fetch https://deb.nodesource.com/n...: /etc/ssl/certs/ca-certificates.crt CRLfile: none
Ign:10 https://deb.nodesource.com/node_12.x xenial/main Sources
Ign:15 https://deb.nodesource.com/node_12.x xenial/main amd64 Packages
Ign:14 https://deb.nodesource.com/node_12.x xenial/main all Packages
Err:10 https://deb.nodesource.com/node_12.x xenial/main Sources
  server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none
Ign:15 https://deb.nodesource.com/node_12.x xenial/main amd64 Packages
Ign:14 https://deb.nodesource.com/node_12.x xenial/main all Packages
Fetched 4466 kB in 4s (1089 kB/s)
Reading package lists...
W: The repository 'https://deb.nodesource.com/node_12.x xenial Release' does not have a Release file.
E: Failed to fetch https://deb.nodesource.com/node_12.x/dists/xenial/main/source/Sources  server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none
E: Some index files failed to download. They have been ignored, or old ones used instead.


Exited with code exit status 100


This comment was automatically generated by Dr. CI (expand for details).Follow this link to opt-out of these comments for your Pull Requests.

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

Click here to manually regenerate this comment.

BowenBao and others added 3 commits September 30, 2021 23:37
…n. (pytorch#61712) (pytorch#64371)

Summary:
Pull Request resolved: pytorch#64371

As of now, the "strip_doc_string" parameter was described as below:

strip_doc_string (bool, default True): do not include the field
doc_string``` from the exported model. Otherwise the field will mention the source code locations for model``.

This is usually useless to users who want to transform a PyTorch model to ONNX one. Only when the user wants to debug the export process, these source code locations could provide benefits.

To make the export() function more friendly by providing less parameters, we combined "strip_doc_string" into "verbose" parameter. If a user set verbose to True, it means the users need some log information for debugging the export process and this is similar with the purpose of strip_doc_string parameter.

But the usage of these 2 arguments are opposite: setting verbose to True means we want to print log information to help debug, which means strip_doc_string should be False. And this is how we replace strip_doc_string with verbose argument in this PR.

This PR will still keep it in torch.onnx.export() function for backward support while the usage of it has been combined with verbose argument.

Test Plan: Imported from OSS

Reviewed By: ezyang

Differential Revision: D30905268

Pulled By: malfet

fbshipit-source-id: 2f06eb805c01fe15ff7a1b4f6595c937ba716d60

Co-authored-by: fatcat-z <zhang-ji@outlook.com>
)

Summary:
Pull Request resolved: pytorch#64373

* Fix some bad formatting and clarify things in onnx.rst.
* In `export_to_pretty_string`:
    * Add documentation for previously undocumented args.
    * Document that `f` arg is ignored and mark it deprecated.
    * Update tests to stop setting `f`.
    * Warn if `_retain_param_name` is set.
* Use double quotes for string literals in test_operators.py.

Test Plan: Imported from OSS

Reviewed By: ezyang

Differential Revision: D30905271

Pulled By: malfet

fbshipit-source-id: 3627eeabf40b9516c4a83cfab424ce537b36e4b3
…function. (pytorch#62815) (pytorch#64380)

Summary:
Pull Request resolved: pytorch#64380

* `example_outputs` used to determine the type and shape of the outputs without tracing the execution of the model. And it must be provided when exporting a ScriptModule or ScriptFunction when using export() function.

* Since we can work out `example_outputs` in internal function instead of being provided by user, so we deprecated this argument in the export() function to increase user experience of calling this function.

Test Plan: Imported from OSS

Reviewed By: ezyang

Differential Revision: D30905266

Pulled By: malfet

fbshipit-source-id: d00b00d7d02b365d165028288ad915678caa51f2

Co-authored-by: hwangdeyu <dejack953@outlook.com>
…t() function. (pytorch#62257) (pytorch#64382)

Summary:
Pull Request resolved: pytorch#64382

* This `use_external_data_format` parameter is used for large models cannot be exported because of the 2GB protobuf limit.

* When `use_external_data_format` set to True, the model is exported in ONNX external data format, in which case some of the model parameters are stored in external binary files and not in the ONNX model file itself.

* This PR will set this paramter to DEPRECATED and check the model proto sizes by code instead of by user, if the sizes lager than 2GB, then `use_external_data_format = True` automatically.

Test Plan: Imported from OSS

Reviewed By: ezyang

Differential Revision: D30905265

Pulled By: malfet

fbshipit-source-id: 82b4e17bfa6a8de2bfd700a5282c12f6835603cb

Co-authored-by: hwangdeyu <dejack953@outlook.com>
@garymm garymm changed the title [ONNX] Remove argument _retain_param_name from torch.onnx.export() fu… [ONNX] Deprecate various args Oct 1, 2021
@garymm garymm marked this pull request as draft October 1, 2021 01:13
Summary: Pull Request resolved: pytorch#65977

Reviewed By: ngimel

Differential Revision: D31423174

Pulled By: malfet

fbshipit-source-id: 0ea560b9a6ddd6431f70bd3ac10ace68e26ab352
@garymm garymm marked this pull request as ready for review October 6, 2021 17:54
@garymm
Copy link
Collaborator Author

garymm commented Oct 7, 2021

@malfet ready for import

@malfet malfet merged commit 1774a6a into pytorch:release/1.10 Oct 8, 2021
@garymm garymm deleted the 1.10-cp-0-_retain_param_name branch October 8, 2021 17:05
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.

None yet

5 participants