Skip to content

Convert qbatch_norm to new operator registration API.#36534

Closed
ezyang wants to merge 7 commits intogh/ezyang/724/basefrom
gh/ezyang/724/head
Closed

Convert qbatch_norm to new operator registration API.#36534
ezyang wants to merge 7 commits intogh/ezyang/724/basefrom
gh/ezyang/724/head

Conversation

@ezyang
Copy link
Copy Markdown
Contributor

@ezyang ezyang commented Apr 13, 2020

Stack from ghstack:

Say good bye to boilerplate.

Signed-off-by: Edward Z. Yang ezyang@fb.com

Differential Revision: D21017672

Say good bye to boilerplate.

Signed-off-by: Edward Z. Yang <ezyang@fb.com>

[ghstack-poisoned]
Say good bye to boilerplate.

Signed-off-by: Edward Z. Yang <ezyang@fb.com>

[ghstack-poisoned]
ezyang added a commit that referenced this pull request Apr 13, 2020
Say good bye to boilerplate.

Signed-off-by: Edward Z. Yang <ezyang@fb.com>

ghstack-source-id: 133333c
Pull Request resolved: #36534
@dr-ci
Copy link
Copy Markdown

dr-ci Bot commented Apr 13, 2020

💊 Build failures summary and remediations

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



🕵️ 7 new failures recognized by patterns

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

See CircleCI build pytorch_linux_xenial_py3_6_gcc5_4_build (1/7)

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

Automatic merge failed; fix conflicts and then commit the result.
 
  git checkout -b <new-branch-name> 
 
HEAD is now at 0194133694 Update on "Convert qbatch_norm to new operator registration API." 
+ git reset --hard 01941336947e12670f1f1668e160ab8a4ded9419 
HEAD is now at 0194133694 Update on "Convert qbatch_norm to new operator registration API." 
+ git merge --allow-unrelated-histories --no-edit --no-ff f98e0a099a0c035631b15fdde31092f38cbdccf1 
Auto-merging tools/code_analyzer/run_analyzer.sh 
CONFLICT (content): Merge conflict in tools/code_analyzer/run_analyzer.sh 
Removing caffe2/python/operator_test/mkl_speed_test.py 
Automatic merge failed; fix conflicts and then commit the result. 

See CircleCI build pytorch_linux_xenial_py3_clang5_mobile_custom_build_static (2/7)

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

Apr 15 18:17:17 caused by: Connection refused (os error 111)
Apr 15 18:17:17 +++ eval 'extract_trap_cmd ' 
Apr 15 18:17:17 ++++ extract_trap_cmd 
Apr 15 18:17:17 ++++ printf '%s\n' '' 
Apr 15 18:17:17 +++ printf '%s\n' cleanup 
Apr 15 18:17:17 ++ trap -- ' 
Apr 15 18:17:17 cleanup' EXIT 
Apr 15 18:17:17 ++ which sccache 
Apr 15 18:17:17 ++ sccache --stop-server 
Apr 15 18:17:17 Stopping sccache server... 
Apr 15 18:17:17 error: couldn't connect to server 
Apr 15 18:17:17 caused by: Connection refused (os error 111) 
Apr 15 18:17:17 ++ true 
Apr 15 18:17:17 ++ rm /var/lib/jenkins/sccache_error.log 
Apr 15 18:17:17 rm: cannot remove '/var/lib/jenkins/sccache_error.log': No such file or directory 
Apr 15 18:17:17 ++ true 
Apr 15 18:17:17 ++ SCCACHE_ERROR_LOG=/var/lib/jenkins/sccache_error.log 
Apr 15 18:17:17 ++ SCCACHE_IDLE_TIMEOUT=1200 
Apr 15 18:17:17 ++ RUST_LOG=sccache::server=error 
Apr 15 18:17:17 ++ sccache --start-server 
Apr 15 18:17:17 Starting sccache server... 
Apr 15 18:17:17 ++ sccache --zero-stats 

See CircleCI build pytorch_linux_xenial_py3_clang5_mobile_custom_build_dynamic (3/7)

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

Apr 15 18:19:14 caused by: Connection refused (os error 111)
Apr 15 18:19:14 +++ eval 'extract_trap_cmd ' 
Apr 15 18:19:14 ++++ extract_trap_cmd 
Apr 15 18:19:14 ++++ printf '%s\n' '' 
Apr 15 18:19:14 +++ printf '%s\n' cleanup 
Apr 15 18:19:14 ++ trap -- ' 
Apr 15 18:19:14 cleanup' EXIT 
Apr 15 18:19:14 ++ which sccache 
Apr 15 18:19:14 ++ sccache --stop-server 
Apr 15 18:19:14 Stopping sccache server... 
Apr 15 18:19:14 error: couldn't connect to server 
Apr 15 18:19:14 caused by: Connection refused (os error 111) 
Apr 15 18:19:14 ++ true 
Apr 15 18:19:14 ++ rm /var/lib/jenkins/sccache_error.log 
Apr 15 18:19:14 rm: cannot remove '/var/lib/jenkins/sccache_error.log': No such file or directory 
Apr 15 18:19:14 ++ true 
Apr 15 18:19:14 ++ SCCACHE_ERROR_LOG=/var/lib/jenkins/sccache_error.log 
Apr 15 18:19:14 ++ SCCACHE_IDLE_TIMEOUT=1200 
Apr 15 18:19:14 ++ RUST_LOG=sccache::server=error 
Apr 15 18:19:14 ++ sccache --start-server 
Apr 15 18:19:14 Starting sccache server... 
Apr 15 18:19:14 ++ sccache --zero-stats 

See CircleCI build pytorch_xla_linux_xenial_py3_6_clang7_build (4/7)

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

Apr 15 19:20:45 torch_xla/csrc/aten_xla_type_default.cpp:9517:33: error: no member named 'import' in namespace 'torch'
ackages/torch/include/torch/csrc/api/include -I/opt/conda/lib/python3.6/site-packages/torch/include/TH -I/opt/conda/lib/python3.6/site-packages/torch/include/THC -I/opt/conda/include/python3.6m -c torch_xla/csrc/torch_util.cpp -o build/temp.linux-x86_64-3.6/torch_xla/csrc/torch_util.o -std=c++14 -Wno-sign-compare -Wno-deprecated-declarations -Wno-return-type -Wno-macro-redefined -Wno-return-std-move -DNDEBUG -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_XLAC -D_GLIBCXX_USE_CXX11_ABI=1 
6/site-packages/torch/include/torch/csrc/api/include -I/opt/conda/lib/python3.6/site-packages/torch/include/TH -I/opt/conda/lib/python3.6/site-packages/torch/include/THC -I/opt/conda/include/python3.6m -c torch_xla/csrc/random.cpp -o build/temp.linux-x86_64-3.6/torch_xla/csrc/random.o -std=c++14 -Wno-sign-compare -Wno-deprecated-declarations -Wno-return-type -Wno-macro-redefined -Wno-return-std-move -DNDEBUG -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_XLAC -D_GLIBCXX_USE_CXX11_ABI=1 
ges/torch/include/torch/csrc/api/include -I/opt/conda/lib/python3.6/site-packages/torch/include/TH -I/opt/conda/lib/python3.6/site-packages/torch/include/THC -I/opt/conda/include/python3.6m -c torch_xla/csrc/ir_dump_util.cpp -o build/temp.linux-x86_64-3.6/torch_xla/csrc/ir_dump_util.o -std=c++14 -Wno-sign-compare -Wno-deprecated-declarations -Wno-return-type -Wno-macro-redefined -Wno-return-std-move -DNDEBUG -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_XLAC -D_GLIBCXX_USE_CXX11_ABI=1 
site-packages/torch/include/torch/csrc/api/include -I/opt/conda/lib/python3.6/site-packages/torch/include/TH -I/opt/conda/lib/python3.6/site-packages/torch/include/THC -I/opt/conda/include/python3.6m -c torch_xla/csrc/pooling.cpp -o build/temp.linux-x86_64-3.6/torch_xla/csrc/pooling.o -std=c++14 -Wno-sign-compare -Wno-deprecated-declarations -Wno-return-type -Wno-macro-redefined -Wno-return-std-move -DNDEBUG -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_XLAC -D_GLIBCXX_USE_CXX11_ABI=1 
kages/torch/include/torch/csrc/api/include -I/opt/conda/lib/python3.6/site-packages/torch/include/TH -I/opt/conda/lib/python3.6/site-packages/torch/include/THC -I/opt/conda/include/python3.6m -c torch_xla/csrc/tensor_impl.cpp -o build/temp.linux-x86_64-3.6/torch_xla/csrc/tensor_impl.o -std=c++14 -Wno-sign-compare -Wno-deprecated-declarations -Wno-return-type -Wno-macro-redefined -Wno-return-std-move -DNDEBUG -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_XLAC -D_GLIBCXX_USE_CXX11_ABI=1 
kages/torch/include/torch/csrc/api/include -I/opt/conda/lib/python3.6/site-packages/torch/include/TH -I/opt/conda/lib/python3.6/site-packages/torch/include/THC -I/opt/conda/include/python3.6m -c torch_xla/csrc/python_util.cpp -o build/temp.linux-x86_64-3.6/torch_xla/csrc/python_util.o -std=c++14 -Wno-sign-compare -Wno-deprecated-declarations -Wno-return-type -Wno-macro-redefined -Wno-return-std-move -DNDEBUG -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_XLAC -D_GLIBCXX_USE_CXX11_ABI=1 
6/site-packages/torch/include/torch/csrc/api/include -I/opt/conda/lib/python3.6/site-packages/torch/include/TH -I/opt/conda/lib/python3.6/site-packages/torch/include/THC -I/opt/conda/include/python3.6m -c torch_xla/csrc/device.cpp -o build/temp.linux-x86_64-3.6/torch_xla/csrc/device.o -std=c++14 -Wno-sign-compare -Wno-deprecated-declarations -Wno-return-type -Wno-macro-redefined -Wno-return-std-move -DNDEBUG -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_XLAC -D_GLIBCXX_USE_CXX11_ABI=1 
e/torch/csrc/api/include -I/opt/conda/lib/python3.6/site-packages/torch/include/TH -I/opt/conda/lib/python3.6/site-packages/torch/include/THC -I/opt/conda/include/python3.6m -c torch_xla/csrc/init_python_bindings.cpp -o build/temp.linux-x86_64-3.6/torch_xla/csrc/init_python_bindings.o -std=c++14 -Wno-sign-compare -Wno-deprecated-declarations -Wno-return-type -Wno-macro-redefined -Wno-return-std-move -DNDEBUG -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_XLAC -D_GLIBCXX_USE_CXX11_ABI=1 
ackages/torch/include/torch/csrc/api/include -I/opt/conda/lib/python3.6/site-packages/torch/include/TH -I/opt/conda/lib/python3.6/site-packages/torch/include/THC -I/opt/conda/include/python3.6m -c torch_xla/csrc/debug_util.cpp -o build/temp.linux-x86_64-3.6/torch_xla/csrc/debug_util.o -std=c++14 -Wno-sign-compare -Wno-deprecated-declarations -Wno-return-type -Wno-macro-redefined -Wno-return-std-move -DNDEBUG -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_XLAC -D_GLIBCXX_USE_CXX11_ABI=1 
torch/csrc/api/include -I/opt/conda/lib/python3.6/site-packages/torch/include/TH -I/opt/conda/lib/python3.6/site-packages/torch/include/THC -I/opt/conda/include/python3.6m -c torch_xla/csrc/aten_xla_type_default.cpp -o build/temp.linux-x86_64-3.6/torch_xla/csrc/aten_xla_type_default.o -std=c++14 -Wno-sign-compare -Wno-deprecated-declarations -Wno-return-type -Wno-macro-redefined -Wno-return-std-move -DNDEBUG -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_XLAC -D_GLIBCXX_USE_CXX11_ABI=1 
Apr 15 19:20:45 torch_xla/csrc/aten_xla_type_default.cpp:9517:33: error: no member named 'import' in namespace 'torch' 
Apr 15 19:20:45   static auto dispatch = torch::import() 
Apr 15 19:20:45                          ~~~~~~~^ 
ackages/torch/include/torch/csrc/api/include -I/opt/conda/lib/python3.6/site-packages/torch/include/TH -I/opt/conda/lib/python3.6/site-packages/torch/include/THC -I/opt/conda/include/python3.6m -c torch_xla/csrc/batch_norm.cpp -o build/temp.linux-x86_64-3.6/torch_xla/csrc/batch_norm.o -std=c++14 -Wno-sign-compare -Wno-deprecated-declarations -Wno-return-type -Wno-macro-redefined -Wno-return-std-move -DNDEBUG -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_XLAC -D_GLIBCXX_USE_CXX11_ABI=1 
Apr 15 19:20:53 1 error generated. 
torch/include/torch/csrc/api/include -I/opt/conda/lib/python3.6/site-packages/torch/include/TH -I/opt/conda/lib/python3.6/site-packages/torch/include/THC -I/opt/conda/include/python3.6m -c torch_xla/csrc/layout_manager.cpp -o build/temp.linux-x86_64-3.6/torch_xla/csrc/layout_manager.o -std=c++14 -Wno-sign-compare -Wno-deprecated-declarations -Wno-return-type -Wno-macro-redefined -Wno-return-std-move -DNDEBUG -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_XLAC -D_GLIBCXX_USE_CXX11_ABI=1 
on3.6/site-packages/torch/include/torch/csrc/api/include -I/opt/conda/lib/python3.6/site-packages/torch/include/TH -I/opt/conda/lib/python3.6/site-packages/torch/include/THC -I/opt/conda/include/python3.6m -c torch_xla/csrc/view.cpp -o build/temp.linux-x86_64-3.6/torch_xla/csrc/view.o -std=c++14 -Wno-sign-compare -Wno-deprecated-declarations -Wno-return-type -Wno-macro-redefined -Wno-return-std-move -DNDEBUG -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_XLAC -D_GLIBCXX_USE_CXX11_ABI=1 
te-packages/torch/include/torch/csrc/api/include -I/opt/conda/lib/python3.6/site-packages/torch/include/TH -I/opt/conda/lib/python3.6/site-packages/torch/include/THC -I/opt/conda/include/python3.6m -c torch_xla/csrc/nll_loss.cpp -o build/temp.linux-x86_64-3.6/torch_xla/csrc/nll_loss.o -std=c++14 -Wno-sign-compare -Wno-deprecated-declarations -Wno-return-type -Wno-macro-redefined -Wno-return-std-move -DNDEBUG -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_XLAC -D_GLIBCXX_USE_CXX11_ABI=1 
-packages/torch/include/torch/csrc/api/include -I/opt/conda/lib/python3.6/site-packages/torch/include/TH -I/opt/conda/lib/python3.6/site-packages/torch/include/THC -I/opt/conda/include/python3.6m -c torch_xla/csrc/reduction.cpp -o build/temp.linux-x86_64-3.6/torch_xla/csrc/reduction.o -std=c++14 -Wno-sign-compare -Wno-deprecated-declarations -Wno-return-type -Wno-macro-redefined -Wno-return-std-move -DNDEBUG -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_XLAC -D_GLIBCXX_USE_CXX11_ABI=1 
torch/include/torch/csrc/api/include -I/opt/conda/lib/python3.6/site-packages/torch/include/TH -I/opt/conda/lib/python3.6/site-packages/torch/include/THC -I/opt/conda/include/python3.6m -c torch_xla/csrc/tensor_methods.cpp -o build/temp.linux-x86_64-3.6/torch_xla/csrc/tensor_methods.o -std=c++14 -Wno-sign-compare -Wno-deprecated-declarations -Wno-return-type -Wno-macro-redefined -Wno-return-std-move -DNDEBUG -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_XLAC -D_GLIBCXX_USE_CXX11_ABI=1 
torch/include/torch/csrc/api/include -I/opt/conda/lib/python3.6/site-packages/torch/include/TH -I/opt/conda/lib/python3.6/site-packages/torch/include/THC -I/opt/conda/include/python3.6m -c torch_xla/csrc/xla_lower_util.cpp -o build/temp.linux-x86_64-3.6/torch_xla/csrc/xla_lower_util.o -std=c++14 -Wno-sign-compare -Wno-deprecated-declarations -Wno-return-type -Wno-macro-redefined -Wno-return-std-move -DNDEBUG -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_XLAC -D_GLIBCXX_USE_CXX11_ABI=1 

See CircleCI build pytorch_windows_vs2019_py36_cuda10.1_test2 (5/7)

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

ERROR [0.308s]: test_batch_norm2d (__main__.TestQuantizedOps)
  test_qsigmoid (__main__.TestQuantizedOps) ... ok (0.526s) 
  test_qtanh (__main__.TestQuantizedOps) ... ok (0.685s) 
  test_qtopk (__main__.TestQuantizedOps) ... quantization/test_quantized.py:1118: UserWarning: To copy construct from a tensor, it is recommended to use sourceTensor.clone().detach() or sourceTensor.clone().detach().requires_grad_(True), rather than torch.tensor(sourceTensor). 
  indices = torch.tensor(torch.from_numpy(X)).long() 
ok (3.238s) 
  test_qtopk_nhwc (__main__.TestQuantizedOps) ... quantization/test_quantized.py:1144: UserWarning: To copy construct from a tensor, it is recommended to use sourceTensor.clone().detach() or sourceTensor.clone().detach().requires_grad_(True), rather than torch.tensor(sourceTensor). 
  indices = torch.tensor(torch.from_numpy(X)).long() 
ok (4.123s) 
 
====================================================================== 
ERROR [0.308s]: test_batch_norm2d (__main__.TestQuantizedOps) 
---------------------------------------------------------------------- 
Traceback (most recent call last): 
  File "quantization/test_quantized.py", line 1438, in test_batch_norm2d 
    min_side=1, max_side=32), 
  File "C:\Jenkins\Miniconda3\lib\site-packages\hypothesis\core.py", line 1116, in wrapped_test 
    raise the_error_hypothesis_found 
  File "quantization/test_quantized.py", line 1458, in test_batch_norm2d 
    qy = torch.ops.quantized.batch_norm2d(qx, weight, bias, mean, var, eps, Y_scale, Y_zero_point) 
  File "C:\Users\circleci\project\build\win_tmp\build\torch\_ops.py", line 61, in __getattr__ 
    op = torch._C._jit_get_operation(qualified_op_name) 

See CircleCI build pytorch_macos_10_13_py3_test (6/7)

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

Apr 15 13:14:04 ERROR [0.008s]: test_batch_norm2d (__main__.ModuleAPITest)
Apr 15 13:14:01   test_conv2d_api (__main__.ModuleAPITest) ... ok (2.792s) 
Apr 15 13:14:01   test_conv3d_api (__main__.ModuleAPITest) ... ok (0.360s) 
Apr 15 13:14:01   test_linear_api (__main__.ModuleAPITest) 
Apr 15 13:14:04 test API functionality for nn.quantized.linear and nn.intrinsic.quantized.linear_relu ... ok (2.639s) 
Apr 15 13:14:04   test_pool_api (__main__.ModuleAPITest) 
Apr 15 13:14:04 Tests the correctness of the pool module. ... ok (0.018s) 
Apr 15 13:14:04   test_quant_dequant_api (__main__.ModuleAPITest) ... ok (0.003s) 
Apr 15 13:14:04   test_relu (__main__.ModuleAPITest) ... ok (0.003s) 
Apr 15 13:14:04  
Apr 15 13:14:04 ====================================================================== 
Apr 15 13:14:04 ERROR [0.008s]: test_batch_norm2d (__main__.ModuleAPITest) 
Apr 15 13:14:04 Tests the correctness of the batchnorm2d module. 
Apr 15 13:14:04 ---------------------------------------------------------------------- 
Apr 15 13:14:04 Traceback (most recent call last): 
Apr 15 13:14:04   File "quantization/test_quantized_nn_mods.py", line 830, in test_batch_norm2d 
Apr 15 13:14:04     qy = quant_mod(qx) 
Apr 15 13:14:04   File "/Users/distiller/workspace/miniconda3/lib/python3.7/site-packages/torch/nn/modules/module.py", line 558, in __call__ 
Apr 15 13:14:04     result = self.forward(*input, **kwargs) 
Apr 15 13:14:04   File "/Users/distiller/workspace/miniconda3/lib/python3.7/site-packages/torch/nn/quantized/modules/batchnorm.py", line 50, in forward 
Apr 15 13:14:04     return torch.ops.quantized.batch_norm2d(input, self.weight, self.bias, self.running_mean, 
Apr 15 13:14:04   File "/Users/distiller/workspace/miniconda3/lib/python3.7/site-packages/torch/_ops.py", line 61, in __getattr__ 

See CircleCI build pytorch_linux_xenial_py3_clang5_asan_test (7/7)

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

Apr 15 20:02:28 SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /var/lib/jenkins/workspace/aten/src/ATen/Utils.cpp:11:3 in
Apr 15 20:02:28     #7 0x56326e50974b in PyEval_EvalCode /tmp/build/80754af9/python_1585002248360/work/Python/ceval.c:731 
Apr 15 20:02:28     #8 0x56326e589633 in run_mod /tmp/build/80754af9/python_1585002248360/work/Python/pythonrun.c:1025 
Apr 15 20:02:28     #9 0x56326e5896cc in PyRun_StringFlags /tmp/build/80754af9/python_1585002248360/work/Python/pythonrun.c:949 
Apr 15 20:02:28     #10 0x56326e58972e in PyRun_SimpleStringFlags /tmp/build/80754af9/python_1585002248360/work/Python/pythonrun.c:445 
Apr 15 20:02:28     #11 0x56326e58d532 in run_command /tmp/build/80754af9/python_1585002248360/work/Modules/main.c:301 
Apr 15 20:02:28     #12 0x56326e58d532 in Py_Main /tmp/build/80754af9/python_1585002248360/work/Modules/main.c:749 
Apr 15 20:02:28     #13 0x56326e4581fd in main /tmp/build/80754af9/python_1585002248360/work/Programs/python.c:69 
Apr 15 20:02:28     #14 0x7f9ceaf0182f in __libc_start_main /build/glibc-LK5gWL/glibc-2.23/csu/../csu/libc-start.c:291 
Apr 15 20:02:28     #15 0x56326e536c29 in _start /home/rdonnelly/mc/conda-bld/compilers_linux-64_1534865402226/work/.build/src/glibc-2.12.2/csu/../sysdeps/x86_64/elf/start.S:103 
Apr 15 20:02:28  
Apr 15 20:02:28 SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /var/lib/jenkins/workspace/aten/src/ATen/Utils.cpp:11:3 in  
Apr 15 20:02:28 + retcode=1 
Apr 15 20:02:28 + set -e 
Apr 15 20:02:28 + return 1 
Apr 15 20:02:28 + [[ pytorch-linux-xenial-py3-clang5-asan-test == *-NO_AVX-* ]] 
Apr 15 20:02:28 + [[ pytorch-linux-xenial-py3-clang5-asan-test == *-NO_AVX2-* ]] 
Apr 15 20:02:28 + '[' -n https://github.com/pytorch/pytorch/pull/36534 ']' 
Apr 15 20:02:28 ++ mktemp 
Apr 15 20:02:28 + DETERMINE_FROM=/tmp/tmp.7eu8D69Jif 
Apr 15 20:02:28 + file_diff_from_base /tmp/tmp.7eu8D69Jif 
Apr 15 20:02:28 + set +e 

❄️ 1 tentatively flaky failure

1 failure tentatively classified as flaky but reruns have not yet been triggered to confirm:

See CircleCI build pytorch_linux_xenial_cuda10_2_cudnn7_py3_gcc7_test (1/1)

Step: "Test" (full log | pattern match details | 🔁 rerun) ❄️

Apr 15 22:39:01 ConnectionResetError: [Errno 104] Connection reset by peer
Apr 15 22:39:01   File "/opt/conda/lib/python3.6/multiprocessing/connection.py", line 455, in accept 
Apr 15 22:39:01     deliver_challenge(c, self._authkey) 
Apr 15 22:39:01   File "/opt/conda/lib/python3.6/multiprocessing/connection.py", line 722, in deliver_challenge 
Apr 15 22:39:01     response = connection.recv_bytes(256)        # reject large message 
Apr 15 22:39:01   File "/opt/conda/lib/python3.6/multiprocessing/connection.py", line 216, in recv_bytes 
Apr 15 22:39:01     buf = self._recv_bytes(maxlength) 
Apr 15 22:39:01   File "/opt/conda/lib/python3.6/multiprocessing/connection.py", line 407, in _recv_bytes 
Apr 15 22:39:01     buf = self._recv(4) 
Apr 15 22:39:01   File "/opt/conda/lib/python3.6/multiprocessing/connection.py", line 379, in _recv 
Apr 15 22:39:01     chunk = read(handle, remaining) 
Apr 15 22:39:01 ConnectionResetError: [Errno 104] Connection reset by peer 
Apr 15 22:39:01 /opt/conda/lib/python3.6/multiprocessing/semaphore_tracker.py:143: UserWarning: semaphore_tracker: There appear to be 14 leaked semaphores to clean up at shutdown 
Apr 15 22:39:01   len(cache)) 
Apr 15 22:39:03 Process ErrorTrackingProcess-126: 
Apr 15 22:39:03 Traceback (most recent call last): 
Apr 15 22:39:03   File "/opt/conda/lib/python3.6/multiprocessing/process.py", line 258, in _bootstrap 
Apr 15 22:39:03     self.run() 
Apr 15 22:39:03   File "/var/lib/jenkins/workspace/test/test_dataloader.py", line 362, in run 
Apr 15 22:39:03     super(ErrorTrackingProcess, self).run() 
Apr 15 22:39:03   File "/opt/conda/lib/python3.6/multiprocessing/process.py", line 93, in run 
Apr 15 22:39:03     self._target(*self._args, **self._kwargs) 

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 on the GitHub issue tracker.

See how this bot performed.

This comment has been revised 30 times.

@supriyar
Copy link
Copy Markdown
Contributor

I'm updating the op name from batch_norm to batch_norm2d in #36494. Can we land this after that?

@ezyang
Copy link
Copy Markdown
Contributor Author

ezyang commented Apr 14, 2020

Yup

Say good bye to boilerplate.

Signed-off-by: Edward Z. Yang <ezyang@fb.com>

[ghstack-poisoned]
ljk53 pushed a commit to ljk53/pytorch that referenced this pull request Apr 14, 2020
Say good bye to boilerplate.

Signed-off-by: Edward Z. Yang <ezyang@fb.com>

ghstack-source-id: dc136a8
Pull Request resolved: pytorch#36534
Say good bye to boilerplate.

Signed-off-by: Edward Z. Yang <ezyang@fb.com>

Differential Revision: [D21017672](https://our.internmc.facebook.com/intern/diff/D21017672)

[ghstack-poisoned]
ezyang added 3 commits April 15, 2020 10:48
Say good bye to boilerplate.

Signed-off-by: Edward Z. Yang <ezyang@fb.com>

Differential Revision: [D21017672](https://our.internmc.facebook.com/intern/diff/D21017672)

[ghstack-poisoned]
Say good bye to boilerplate.

Signed-off-by: Edward Z. Yang <ezyang@fb.com>

Differential Revision: [D21017672](https://our.internmc.facebook.com/intern/diff/D21017672)

[ghstack-poisoned]
Say good bye to boilerplate.

Signed-off-by: Edward Z. Yang <ezyang@fb.com>

Differential Revision: [D21017672](https://our.internmc.facebook.com/intern/diff/D21017672)

[ghstack-poisoned]
ezyang added a commit that referenced this pull request Apr 16, 2020
This is a roll up of a bunch of small PRs for ease of landing.

- Update reference to RegisterOperators in error message in Convolution. #36389
- Port Resize to use new registration API. #36390
- Port detach/detach to new registration API. #36512
- Add explicit schema for quantized conv/conv_prepack (fixes #36511). #36513
- Add a centralized TORCH_LIBRARY declaration for quantized and xnnpack ops (fixes #36510). #36520
- Functionalize qadd and register with new registration API. #36527
- Update quantized README for registering operators with new API. #36531
- Convert qbatch_norm to new operator registration API. #36534
- Convert qclamp to new operator registration API. #36535
- Functionalize qconcat and register with new registration API. #36536

Differential Revision: [D20964193](https://our.internmc.facebook.com/intern/diff/D20964193)

[ghstack-poisoned]
ezyang added a commit that referenced this pull request Apr 16, 2020
This is a roll up of a bunch of small PRs for ease of landing.

- Update reference to RegisterOperators in error message in Convolution. #36389
- Port Resize to use new registration API. #36390
- Port detach/detach to new registration API. #36512
- Add explicit schema for quantized conv/conv_prepack (fixes #36511). #36513
- Add a centralized TORCH_LIBRARY declaration for quantized and xnnpack ops (fixes #36510). #36520
- Functionalize qadd and register with new registration API. #36527
- Update quantized README for registering operators with new API. #36531
- Convert qbatch_norm to new operator registration API. #36534
- Convert qclamp to new operator registration API. #36535
- Functionalize qconcat and register with new registration API. #36536

Differential Revision: [D20964193](https://our.internmc.facebook.com/intern/diff/D20964193)

[ghstack-poisoned]
ezyang added a commit that referenced this pull request Apr 16, 2020
This is a roll up of a bunch of small PRs for ease of landing.

- Update reference to RegisterOperators in error message in Convolution. #36389
- Port Resize to use new registration API. #36390
- Port detach/detach to new registration API. #36512
- Add explicit schema for quantized conv/conv_prepack (fixes #36511). #36513
- Add a centralized TORCH_LIBRARY declaration for quantized and xnnpack ops (fixes #36510). #36520
- Functionalize qadd and register with new registration API. #36527
- Update quantized README for registering operators with new API. #36531
- Convert qbatch_norm to new operator registration API. #36534
- Convert qclamp to new operator registration API. #36535
- Functionalize qconcat and register with new registration API. #36536

ghstack-source-id: fe27bc1
Pull Request resolved: #36389
@ezyang
Copy link
Copy Markdown
Contributor Author

ezyang commented Apr 16, 2020

This will be rolled up into #36389

@ezyang ezyang closed this Apr 16, 2020
ezyang added a commit that referenced this pull request Apr 16, 2020
This is a roll up of a bunch of small PRs for ease of landing.

- Update reference to RegisterOperators in error message in Convolution. #36389
- Port Resize to use new registration API. #36390
- Port detach/detach to new registration API. #36512
- Add explicit schema for quantized conv/conv_prepack (fixes #36511). #36513
- Add a centralized TORCH_LIBRARY declaration for quantized and xnnpack ops (fixes #36510). #36520
- Functionalize qadd and register with new registration API. #36527
- Update quantized README for registering operators with new API. #36531
- Convert qbatch_norm to new operator registration API. #36534
- Convert qclamp to new operator registration API. #36535
- Functionalize qconcat and register with new registration API. #36536

Differential Revision: [D20964193](https://our.internmc.facebook.com/intern/diff/D20964193)

[ghstack-poisoned]
ezyang added a commit that referenced this pull request Apr 16, 2020
This is a roll up of a bunch of small PRs for ease of landing.

- Update reference to RegisterOperators in error message in Convolution. #36389
- Port Resize to use new registration API. #36390
- Port detach/detach to new registration API. #36512
- Add explicit schema for quantized conv/conv_prepack (fixes #36511). #36513
- Add a centralized TORCH_LIBRARY declaration for quantized and xnnpack ops (fixes #36510). #36520
- Functionalize qadd and register with new registration API. #36527
- Update quantized README for registering operators with new API. #36531
- Convert qbatch_norm to new operator registration API. #36534
- Convert qclamp to new operator registration API. #36535
- Functionalize qconcat and register with new registration API. #36536

Differential Revision: [D20964193](https://our.internmc.facebook.com/intern/diff/D20964193)

[ghstack-poisoned]
@facebook-github-bot facebook-github-bot deleted the gh/ezyang/724/head branch May 17, 2020 14:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants