Skip to content

add non-kwarg device#78270

Closed
eellison wants to merge 5 commits intogh/eellison/297/basefrom
gh/eellison/297/head
Closed

add non-kwarg device#78270
eellison wants to merge 5 commits intogh/eellison/297/basefrom
gh/eellison/297/head

Conversation

[ghstack-poisoned]
@facebook-github-bot
Copy link
Contributor

facebook-github-bot commented May 25, 2022

🔗 Helpful links

❌ 12 New Failures

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

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

🕵️ 12 new failures recognized by patterns

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

See GitHub Actions build pull / linux-xenial-py3.7-clang7-asan / build (1/12)

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

2022-05-31T16:26:41.2066438Z ##[error]Process completed with exit code 1.
2022-05-31T16:26:41.2022571Z Average cache write               0.093 s
2022-05-31T16:26:41.2022917Z Average cache read miss           6.636 s
2022-05-31T16:26:41.2023252Z Average cache read hit            0.044 s
2022-05-31T16:26:41.2023770Z Failed distributed compilations       0
2022-05-31T16:26:41.2024002Z 
2022-05-31T16:26:41.2024186Z Non-cacheable reasons:
2022-05-31T16:26:41.2024518Z multiple input files                 13
2022-05-31T16:26:41.2024725Z 
2022-05-31T16:26:41.2025428Z Cache location                  S3, bucket: Bucket(name=ossci-compiler-cache-circleci-v2, base_url=http://ossci-compiler-cache-circleci-v2.s3.amazonaws.com/)
2022-05-31T16:26:41.2026319Z ##[endgroup]
2022-05-31T16:26:41.2066438Z ##[error]Process completed with exit code 1.
2022-05-31T16:26:41.2107192Z Prepare all required actions
2022-05-31T16:26:41.2126863Z ##[group]Run ./.github/actions/teardown-linux
2022-05-31T16:26:41.2127057Z with:
2022-05-31T16:26:41.2127212Z env:
2022-05-31T16:26:41.2127368Z   IN_CI: 1
2022-05-31T16:26:41.2127516Z   IS_GHA: 1
2022-05-31T16:26:41.2127685Z ##[endgroup]
2022-05-31T16:26:41.2142919Z ##[group]Run .github/scripts/wait_for_ssh_to_drain.sh
2022-05-31T16:26:41.2143183Z �[36;1m.github/scripts/wait_for_ssh_to_drain.sh�[0m
2022-05-31T16:26:41.2159648Z shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0}

See GitHub Actions build pull / linux-xenial-cuda11.3-py3.7-gcc7 / build (2/12)

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

2022-05-31T16:30:22.7677350Z compilation terminated.
2022-05-31T16:30:22.1969332Z [ 72%] �[32mBuilding CXX object caffe2/torch/CMakeFiles/torch_python_obj.dir/csrc/jit/codegen/cuda/python_frontend/python_bindings.cpp.o�[0m
2022-05-31T16:30:22.2900552Z [ 72%] �[32mBuilding C object confu-deps/XNNPACK/CMakeFiles/all_microkernels.dir/src/f32-vscaleextexp/gen/avx512f-p5-scalef-x16.c.o�[0m
2022-05-31T16:30:22.4235510Z [ 72%] �[32mBuilding CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/qlinear_dynamic.cpp.o�[0m
2022-05-31T16:30:22.4242910Z [ 72%] �[32mBuilding C object confu-deps/XNNPACK/CMakeFiles/all_microkernels.dir/src/f32-vscaleextexp/gen/avx512f-p5-scalef-x32.c.o�[0m
2022-05-31T16:30:22.5511368Z [ 72%] �[32mBuilding C object confu-deps/XNNPACK/CMakeFiles/all_microkernels.dir/src/f32-vscaleextexp/gen/avx512f-p5-scalef-x48.c.o�[0m
2022-05-31T16:30:22.7068322Z [ 72%] �[32mBuilding C object confu-deps/XNNPACK/CMakeFiles/all_microkernels.dir/src/f32-vscaleextexp/gen/avx512f-p5-scalef-x64.c.o�[0m
2022-05-31T16:30:22.7378580Z [ 72%] �[32mBuilding CXX object caffe2/torch/CMakeFiles/torch_python_obj.dir/csrc/jit/python/init.cpp.o�[0m
2022-05-31T16:30:22.7617174Z �[01m�[K/var/lib/jenkins/workspace/torch/csrc/jit/python/init.cpp:1:10:�[m�[K �[01;31m�[Kfatal error: �[m�[Kbits/stdint-intn.h: No such file or directory
2022-05-31T16:30:22.7617823Z  #include �[01;31m�[K<bits/stdint-intn.h>�[m�[K
2022-05-31T16:30:22.7618526Z           �[01;31m�[K^~~~~~~~~~~~~~~~~~~~�[m�[K
2022-05-31T16:30:22.7677350Z compilation terminated.
2022-05-31T16:30:22.7678358Z caffe2/torch/CMakeFiles/torch_python_obj.dir/build.make:660: recipe for target 'caffe2/torch/CMakeFiles/torch_python_obj.dir/csrc/jit/python/init.cpp.o' failed
2022-05-31T16:30:22.7679141Z make[2]: *** [caffe2/torch/CMakeFiles/torch_python_obj.dir/csrc/jit/python/init.cpp.o] Error 1
2022-05-31T16:30:22.7679707Z make[2]: *** Waiting for unfinished jobs....
2022-05-31T16:30:22.7680324Z [ 72%] �[32mBuilding C object confu-deps/XNNPACK/CMakeFiles/all_microkernels.dir/src/f32-vscaleextexp/gen/avx512f-p5-scalef-x80.c.o�[0m
2022-05-31T16:30:22.7767927Z [ 72%] �[32mBuilding C object confu-deps/XNNPACK/CMakeFiles/all_microkernels.dir/src/f32-vscaleextexp/gen/avx512f-p5-scalef-x96.c.o�[0m
2022-05-31T16:30:22.8198567Z [ 72%] �[32mBuilding C object confu-deps/XNNPACK/CMakeFiles/all_microkernels.dir/src/f32-vscaleextexp/gen/avx512f-p5-scalef-x112.c.o�[0m
2022-05-31T16:30:22.8991716Z [ 72%] �[32mBuilding CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/qlinear_prepack.cpp.o�[0m
2022-05-31T16:30:22.9012530Z [ 72%] �[32mBuilding C object confu-deps/XNNPACK/CMakeFiles/all_microkernels.dir/src/f32-vscaleextexp/gen/avx512f-p5-scalef-x128.c.o�[0m
2022-05-31T16:30:22.9670955Z [ 72%] �[32mBuilding CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/qlinear_unpack_impl.cpp.o�[0m
2022-05-31T16:30:23.0378811Z [ 72%] �[32mBuilding C object confu-deps/XNNPACK/CMakeFiles/all_microkernels.dir/src/f32-vscaleextexp/gen/avx512f-p5-scalef-x144.c.o�[0m

See GitHub Actions build pull / win-vs2019-cuda11.3-py3 / build (3/12)

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

2022-05-31T16:52:45.5469562Z FAILED: caffe2/tor...iles/torch_python.dir/csrc/jit/python/init.cpp.obj
2022-05-31T16:52:43.3377594Z [6197/6298] Building CXX object caffe2\torch\CMakeFiles\torch_python.dir\csrc\autograd\python_anomaly_mode.cpp.obj
2022-05-31T16:52:43.5117019Z [6198/6298] Building CXX object caffe2\torch\CMakeFiles\torch_python.dir\csrc\autograd\profiler_python.cpp.obj
2022-05-31T16:52:43.8420771Z [6199/6298] Building CXX object caffe2\torch\CMakeFiles\torch_python.dir\csrc\autograd\python_cpp_function.cpp.obj
2022-05-31T16:52:44.1809612Z [6200/6298] Building CXX object caffe2\torch\CMakeFiles\torch_python.dir\csrc\autograd\generated\python_functions_3.cpp.obj
2022-05-31T16:52:44.4421198Z [6201/6298] Building CXX object caffe2\torch\CMakeFiles\torch_python.dir\csrc\api\src\python\init.cpp.obj
2022-05-31T16:52:44.9289705Z [6202/6298] Building CXX object caffe2\torch\CMakeFiles\torch_python.dir\csrc\autograd\init.cpp.obj
2022-05-31T16:52:45.0428748Z [6203/6298] Building CXX object caffe2\torch\CMakeFiles\torch_python.dir\csrc\autograd\python_engine.cpp.obj
2022-05-31T16:52:45.2749000Z [6204/6298] Building CXX object caffe2\torch\CMakeFiles\torch_python.dir\csrc\autograd\python_saved_variable_hooks.cpp.obj
2022-05-31T16:52:45.3425299Z [6205/6298] Building CXX object caffe2\torch\CMakeFiles\torch_python.dir\csrc\autograd\python_hook.cpp.obj
2022-05-31T16:52:45.5469126Z [6206/6298] Building CXX object caffe2\torch\CMakeFiles\torch_python.dir\csrc\jit\python\init.cpp.obj
2022-05-31T16:52:45.5469562Z FAILED: caffe2/torch/CMakeFiles/torch_python.dir/csrc/jit/python/init.cpp.obj 
2022-05-31T16:52:45.5479241Z C:\actions-runner\_work\pytorch\pytorch\build\win_tmp\bin\sccache-cl.exe  /nologo /TP -DAT_PER_OPERATOR_HEADERS -DBUILDING_TESTS -DFMT_HEADER_ONLY=1 -DIDEEP_USE_MKL -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_ML=1 -DONNX_NAMESPACE=onnx_torch -DTHP_BUILD_MAIN_LIB -DUSE_C10D -DUSE_C10D_GLOO -DUSE_CUDA -DUSE_CUDNN -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_NUMPY -DWIN32_LEAN_AND_MEAN -D_CRT_SECURE_NO_DEPRECATE=1 -D_OPENMP_NOFORCE_MANIFEST -Dtorch_python_EXPORTS -IC:\actions-runner\_work\pytorch\pytorch\build\aten\src -IC:\actions-runner\_work\pytorch\pytorch\aten\src -IC:\actions-runner\_work\pytorch\pytorch\build -IC:\actions-runner\_work\pytorch\pytorch -IC:\actions-runner\_work\pytorch\pytorch\cmake\..\third_party\benchmark\include -IC:\actions-runner\_work\pytorch\pytorch\cmake\..\third_party\cudnn_frontend\include -IC:\actions-runner\_work\pytorch\pytorch\third_party\onnx -IC:\actions-runner\_work\pytorch\pytorch\build\third_party\onnx -IC:\actions-runner\_work\pytorch\pytorch\third_party\foxi -IC:\actions-runner\_work\pytorch\pytorch\build\third_party\foxi -IC:\actions-runner\_work\pytorch\pytorch\torch\.. -IC:\actions-runner\_work\pytorch\pytorch\torch\..\aten\src -IC:\actions-runner\_work\pytorch\pytorch\torch\..\aten\src\TH -IC:\actions-runner\_work\pytorch\pytorch\build\caffe2\aten\src -IC:\actions-runner\_work\pytorch\pytorch\build\third_party -IC:\actions-runner\_work\pytorch\pytorch\torch\..\third_party\valgrind-headers -IC:\actions-runner\_work\pytorch\pytorch\torch\..\third_party\gloo -IC:\actions-runner\_work\pytorch\pytorch\torch\..\third_party\onnx -IC:\actions-runner\_work\pytorch\pytorch\torch\..\third_party\flatbuffers\include -IC:\actions-runner\_work\pytorch\pytorch\torch\csrc -IC:\actions-runner\_work\pytorch\pytorch\torch\csrc\api\include -IC:\actions-runner\_work\pytorch\pytorch\torch\lib -IC:\actions-runner\_work\pytorch\pytorch\torch\lib\libshm_windows -IC:\actions-runner\_work\pytorch\pytorch\torch\csrc\distributed -IC:\actions-runner\_work\pytorch\pytorch\torch\csrc\api -IC:\actions-runner\_work\pytorch\pytorch\c10\.. -IC:\actions-runner\_work\pytorch\pytorch\c10\cuda\..\.. -IC:\actions-runner\_work\pytorch\pytorch\third_party\fmt\include -IC:\actions-runner\_work\pytorch\pytorch\build\third_party\gloo -IC:\actions-runner\_work\pytorch\pytorch\cmake\..\third_party\gloo -IC:\actions-runner\_work\pytorch\pytorch\cmake\..\third_party\googletest\googlemock\include -IC:\actions-runner\_work\pytorch\pytorch\cmake\..\third_party\googletest\googletest\include -IC:\actions-runner\_work\pytorch\pytorch\third_party\protobuf\src -IC:\actions-runner\_work\pytorch\pytorch\build\win_tmp\mkl\include -IC:\actions-runner\_work\pytorch\pytorch\third_party\XNNPACK\include -IC:\actions-runner\_work\pytorch\pytorch\cmake\..\third_party\eigen -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.3\include" -IC:\actions-runner\_work\pytorch\pytorch\third_party\ideep\mkl-dnn\third_party\oneDNN\include -IC:\actions-runner\_work\pytorch\pytorch\third_party\ideep\include -IC:\Jenkins\Miniconda3\include -IC:\Jenkins\Miniconda3\lib\site-packages\numpy\core\include -I"C:\Program Files\NVIDIA Corporation\NvToolsExt\include" -IC:\actions-runner\_work\pytorch\pytorch\cmake\..\third_party\pybind11\include /DWIN32 /D_WINDOWS /GR /EHsc /w /bigobj -DUSE_PTHREADPOOL -openmp:experimental -IC:/actions-runner/_work/pytorch/pytorch/build/win_tmp/mkl/include -DNDEBUG -DUSE_KINETO -DLIBKINETO_NOCUPTI -DUSE_FBGEMM -DUSE_XNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -DEDGE_PROFILER_USE_KINETO -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION /MD /O2 /Ob2 /DNDEBUG /w /bigobj -DNDEBUG -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD /EHsc /DNOMINMAX /wd4267 /wd4251 /wd4522 /wd4838 /wd4305 /wd4244 /wd4190 /wd4101 /wd4996 /wd4275 /bigobj -std:c++14 /showIncludes /Focaffe2\torch\CMakeFiles\torch_python.dir\csrc\jit\python\init.cpp.obj /Fdcaffe2\torch\CMakeFiles\torch_python.dir\ /FS -c C:\actions-runner\_work\pytorch\pytorch\torch\csrc\jit\python\init.cpp
2022-05-31T16:52:45.5488816Z C:\actions-runner\_work\pytorch\pytorch\torch\csrc\jit\python\init.cpp(1): fatal error C1083: Cannot open include file: 'bits/stdint-intn.h': No such file or directory
2022-05-31T16:52:45.6746333Z [6207/6298] Building CXX object caffe2\torch\CMakeFiles\torch_python.dir\csrc\autograd\python_function.cpp.obj
2022-05-31T16:52:45.7262537Z [6208/6298] Building CXX object caffe2\torch\CMakeFiles\torch_python.dir\csrc\autograd\python_legacy_variable.cpp.obj
2022-05-31T16:52:46.2427491Z [6209/6298] Building CXX object caffe2\torch\CMakeFiles\torch_python.dir\csrc\autograd\python_torch_functions_manual.cpp.obj
2022-05-31T16:52:46.4473395Z [6210/6298] Building CXX object caffe2\torch\CMakeFiles\torch_python.dir\csrc\autograd\python_variable.cpp.obj
2022-05-31T16:52:46.8864291Z [6211/6298] Building CXX object caffe2\torch\CMakeFiles\torch_python.dir\csrc\jit\backends\backend_init.cpp.obj
2022-05-31T16:52:46.9526298Z [6212/6298] Building CXX object caffe2\torch\CMakeFiles\torch_python.dir\csrc\jit\codegen\cuda\python_frontend\python_bindings.cpp.obj
2022-05-31T16:52:47.2621923Z [6213/6298] Building CXX object caffe2\torch\CMakeFiles\torch_python.dir\csrc\autograd\python_variable_indexing.cpp.obj
2022-05-31T16:52:47.2625891Z ninja: build stopped: subcommand failed.

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

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

2022-05-31T16:31:59.5679411Z compilation terminated.
2022-05-31T16:31:50.0919158Z �[32mINFO: �[0mFrom Compiling aten/src/ATen/native/cpu/CatKernel.cpp.AVX2.cpp:
2022-05-31T16:31:50.0920178Z bazel-out/k8-fastbuild/bin/aten/src/ATen/native/cpu/CatKernel.cpp.AVX2.cpp:48:0: warning: ignoring #pragma unroll  [-Wunknown-pragmas]
2022-05-31T16:31:50.0920736Z        # pragma unroll
2022-05-31T16:31:50.0921029Z  
2022-05-31T16:31:59.5676960Z �[31m�[1mERROR: �[0m/var/lib/jenkins/workspace/BUILD.bazel:1694:11: Compiling torch/csrc/jit/python/init.cpp failed: (Exit 1): gcc failed: error executing command /opt/cache/bin/gcc -U_FORTIFY_SOURCE -fstack-protector -Wall -Wunused-but-set-parameter -Wno-free-nonheap-object -fno-omit-frame-pointer '-std=c++11' -MD -MF ... (remaining 257 argument(s) skipped)
2022-05-31T16:31:59.5678132Z 
2022-05-31T16:31:59.5678331Z Use --sandbox_debug to see verbose messages from the sandbox
2022-05-31T16:31:59.5678733Z torch/csrc/jit/python/init.cpp:1:10: fatal error: bits/stdint-intn.h: No such file or directory
2022-05-31T16:31:59.5679047Z  #include <bits/stdint-intn.h>
2022-05-31T16:31:59.5679228Z           ^~~~~~~~~~~~~~~~~~~~
2022-05-31T16:31:59.5679411Z compilation terminated.
2022-05-31T16:32:01.8698590Z �[32mINFO: �[0mElapsed time: 490.480s, Critical Path: 38.64s
2022-05-31T16:32:01.8699175Z �[32mINFO: �[0m2927 processes: 183 internal, 2744 processwrapper-sandbox.
2022-05-31T16:32:01.8701147Z �[31m�[1mFAILED:�[0m Build did NOT complete successfully
2022-05-31T16:32:01.8762713Z �[31m�[1mFAILED:�[0m Build did NOT complete successfully
2022-05-31T16:32:01.8873290Z �[0m+ cleanup
2022-05-31T16:32:01.8873539Z + retcode=1
2022-05-31T16:32:01.8873733Z + set +x
2022-05-31T16:32:01.8923593Z ##[error]Process completed with exit code 1.
2022-05-31T16:32:01.9012959Z Prepare all required actions
2022-05-31T16:32:01.9047458Z ##[group]Run ./.github/actions/chown-workspace

See GitHub Actions build pull / linux-xenial-py3.7-gcc7 / build (5/12)

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

2022-05-31T16:27:05.1048580Z compilation terminated.
2022-05-31T16:27:04.2045973Z [ 98%] �[32mBuilding CXX object caffe2/torch/CMakeFiles/torch_python.dir/csrc/autograd/python_variable.cpp.o�[0m
2022-05-31T16:27:04.7259916Z [ 98%] �[32mBuilding CXX object test_jit/CMakeFiles/test_jit.dir/test_file_format.cpp.o�[0m
2022-05-31T16:27:04.7812167Z [ 98%] �[32mBuilding CXX object test_jit/CMakeFiles/test_jit.dir/test_flatbuffer.cpp.o�[0m
2022-05-31T16:27:04.7901856Z [ 98%] �[32mBuilding CXX object caffe2/torch/CMakeFiles/torch_python.dir/csrc/autograd/python_variable_indexing.cpp.o�[0m
2022-05-31T16:27:04.9524080Z [ 98%] �[32mBuilding CXX object caffe2/torch/CMakeFiles/torch_python.dir/csrc/jit/backends/backend_init.cpp.o�[0m
2022-05-31T16:27:04.9623049Z [ 98%] �[32mBuilding CXX object caffe2/torch/CMakeFiles/torch_python.dir/csrc/jit/codegen/cuda/python_frontend/python_bindings.cpp.o�[0m
2022-05-31T16:27:05.0622709Z [ 98%] �[32mBuilding CXX object caffe2/torch/CMakeFiles/torch_python.dir/csrc/jit/python/init.cpp.o�[0m
2022-05-31T16:27:05.1004576Z �[01m�[K/var/lib/jenkins/workspace/torch/csrc/jit/python/init.cpp:1:10:�[m�[K �[01;31m�[Kfatal error: �[m�[Kbits/stdint-intn.h: No such file or directory
2022-05-31T16:27:05.1005207Z  #include �[01;31m�[K<bits/stdint-intn.h>�[m�[K
2022-05-31T16:27:05.1046261Z           �[01;31m�[K^~~~~~~~~~~~~~~~~~~~�[m�[K
2022-05-31T16:27:05.1048580Z compilation terminated.
2022-05-31T16:27:05.1049594Z caffe2/torch/CMakeFiles/torch_python.dir/build.make:660: recipe for target 'caffe2/torch/CMakeFiles/torch_python.dir/csrc/jit/python/init.cpp.o' failed
2022-05-31T16:27:05.1050323Z make[2]: *** [caffe2/torch/CMakeFiles/torch_python.dir/csrc/jit/python/init.cpp.o] Error 1
2022-05-31T16:27:05.1050849Z make[2]: *** Waiting for unfinished jobs....
2022-05-31T16:27:05.8175347Z [ 98%] �[32m�[1mLinking CXX executable ../bin/test_jit�[0m
2022-05-31T16:27:05.8788054Z CMakeFiles/Makefile2:11879: recipe for target 'caffe2/torch/CMakeFiles/torch_python.dir/all' failed
2022-05-31T16:27:05.8788448Z make[1]: *** [caffe2/torch/CMakeFiles/torch_python.dir/all] Error 2
2022-05-31T16:27:05.8788731Z make[1]: *** Waiting for unfinished jobs....
2022-05-31T16:27:06.6069555Z [ 98%] Built target test_jit
2022-05-31T16:27:06.6073745Z Makefile:140: recipe for target 'all' failed
2022-05-31T16:27:06.6074138Z make: *** [all] Error 2

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

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

2022-05-31T16:38:33.7884896Z FAIL [0.021s]: tes...lex_noncontiguous_bug (__main__.TestMetaConverter)
2022-05-31T16:38:33.7807170Z   test_leaf (__main__.TestMetaConverter) ... ok (0.001s)
2022-05-31T16:38:33.7817022Z   test_non_leaf (__main__.TestMetaConverter) ... ok (0.001s)
2022-05-31T16:38:33.7825585Z   test_requires_grad_false (__main__.TestMetaConverter) ... ok (0.001s)
2022-05-31T16:38:33.7835744Z   test_view_as_complex (__main__.TestMetaConverter) ... ok (0.001s)
2022-05-31T16:38:33.7847016Z   test_view_as_real (__main__.TestMetaConverter) ... ok (0.001s)
2022-05-31T16:38:33.7857807Z   test_view_dtype (__main__.TestMetaConverter) ... ok (0.001s)
2022-05-31T16:38:33.7870668Z   test_view_of_leaf (__main__.TestMetaConverter) ... ok (0.001s)
2022-05-31T16:38:33.7883834Z   test_view_of_non_leaf (__main__.TestMetaConverter) ... ok (0.001s)
2022-05-31T16:38:33.7884126Z 
2022-05-31T16:38:33.7884494Z ======================================================================
2022-05-31T16:38:33.7884896Z FAIL [0.021s]: test_complex_noncontiguous_bug (__main__.TestMetaConverter)
2022-05-31T16:38:33.7885326Z ----------------------------------------------------------------------
2022-05-31T16:38:33.7885671Z Traceback (most recent call last):
2022-05-31T16:38:33.7886004Z   File "test_meta.py", line 137, in test_complex_noncontiguous_bug
2022-05-31T16:38:33.7886307Z     self.assertEqual(m.stride(), x.stride())
2022-05-31T16:38:33.7887138Z   File "/opt/conda/lib/python3.7/site-packages/torch/testing/_internal/common_utils.py", line 2276, in assertEqual
2022-05-31T16:38:33.7887683Z     msg=(lambda generated_msg: f"{generated_msg} : {msg}") if isinstance(msg, str) and self.longMessage else msg,
2022-05-31T16:38:33.7888132Z   File "/opt/conda/lib/python3.7/site-packages/torch/testing/_comparison.py", line 1095, in assert_equal
2022-05-31T16:38:33.7888423Z     raise error_metas[0].to_error(msg)
2022-05-31T16:38:33.7888652Z AssertionError: Scalars are not equal!
2022-05-31T16:38:33.7888790Z 

See GitHub Actions build pull / deploy-linux-xenial-cuda11.3-py3.7-gcc7 / build (7/12)

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

2022-05-31T16:30:14.9066274Z compilation terminated.
2022-05-31T16:30:14.4532601Z [ 73%] �[32mBuilding CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/qbatch_norm.cpp.o�[0m
2022-05-31T16:30:14.5720495Z [ 73%] �[32mBuilding C object confu-deps/XNNPACK/CMakeFiles/all_microkernels.dir/src/f32-vsqrt/gen/avx512f-nr1fma1adj-x80.c.o�[0m
2022-05-31T16:30:14.6969596Z [ 73%] �[32mBuilding C object confu-deps/XNNPACK/CMakeFiles/all_microkernels.dir/src/f32-vsqrt/gen/avx512f-nr1fma1adj-x96.c.o�[0m
2022-05-31T16:30:14.7494803Z [ 73%] �[32mBuilding C object confu-deps/XNNPACK/CMakeFiles/all_microkernels.dir/src/f32-vsqrt/gen/avx512f-nr1fma1adj-x112.c.o�[0m
2022-05-31T16:30:14.8402672Z [ 73%] �[32mBuilding CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/qchannel_shuffle.cpp.o�[0m
2022-05-31T16:30:14.8662899Z [ 73%] �[32mBuilding C object confu-deps/XNNPACK/CMakeFiles/all_microkernels.dir/src/f32-vsqrt/gen/avx512f-nr1fma1adj-x128.c.o�[0m
2022-05-31T16:30:14.8795187Z [ 73%] �[32mBuilding CXX object caffe2/torch/CMakeFiles/torch_python_obj.dir/csrc/jit/python/init.cpp.o�[0m
2022-05-31T16:30:14.9062833Z �[01m�[K/var/lib/jenkins/workspace/torch/csrc/jit/python/init.cpp:1:10:�[m�[K �[01;31m�[Kfatal error: �[m�[Kbits/stdint-intn.h: No such file or directory
2022-05-31T16:30:14.9064866Z  #include �[01;31m�[K<bits/stdint-intn.h>�[m�[K
2022-05-31T16:30:14.9065979Z           �[01;31m�[K^~~~~~~~~~~~~~~~~~~~�[m�[K
2022-05-31T16:30:14.9066274Z compilation terminated.
2022-05-31T16:30:14.9068942Z caffe2/torch/CMakeFiles/torch_python_obj.dir/build.make:660: recipe for target 'caffe2/torch/CMakeFiles/torch_python_obj.dir/csrc/jit/python/init.cpp.o' failed
2022-05-31T16:30:14.9069570Z make[2]: *** [caffe2/torch/CMakeFiles/torch_python_obj.dir/csrc/jit/python/init.cpp.o] Error 1
2022-05-31T16:30:14.9108445Z CMakeFiles/Makefile2:14469: recipe for target 'caffe2/torch/CMakeFiles/torch_python_obj.dir/all' failed
2022-05-31T16:30:14.9109075Z make[1]: *** [caffe2/torch/CMakeFiles/torch_python_obj.dir/all] Error 2
2022-05-31T16:30:14.9109555Z make[1]: *** Waiting for unfinished jobs....
2022-05-31T16:30:14.9204134Z [ 73%] �[32mBuilding C object confu-deps/XNNPACK/CMakeFiles/all_microkernels.dir/src/f32-vunary/gen/vabs-avx512f-x16.c.o�[0m
2022-05-31T16:30:15.0383197Z [ 73%] �[32mBuilding CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/qclamp.cpp.o�[0m
2022-05-31T16:30:15.0648064Z [ 73%] �[32mBuilding C object confu-deps/XNNPACK/CMakeFiles/all_microkernels.dir/src/f32-vunary/gen/vabs-avx512f-x32.c.o�[0m
2022-05-31T16:30:15.1861048Z [ 73%] �[32mBuilding CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/qconcat.cpp.o�[0m
2022-05-31T16:30:15.1896306Z [ 73%] �[32mBuilding C object confu-deps/XNNPACK/CMakeFiles/all_microkernels.dir/src/f32-vunary/gen/vneg-avx512f-x16.c.o�[0m

See GitHub Actions build pull / win-vs2019-cpu-py3 / build (8/12)

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

2022-05-31T16:37:58.4964532Z FAILED: caffe2/tor...iles/torch_python.dir/csrc/jit/python/init.cpp.obj
2022-05-31T16:37:56.2551599Z [5604/5843] Building CXX object test_jit\CMakeFiles\test_jit.dir\test_mobile_type_parser.cpp.obj
2022-05-31T16:37:56.3355275Z [5605/5843] Building CXX object test_jit\CMakeFiles\test_jit.dir\test_lite_trainer.cpp.obj
2022-05-31T16:37:56.3564882Z [5606/5843] Building CXX object caffe2\torch\CMakeFiles\torch_python.dir\csrc\profiler\execution_graph_observer.cpp.obj
2022-05-31T16:37:56.7068380Z [5607/5843] Building CXX object test_jit\CMakeFiles\test_jit.dir\test_misc.cpp.obj
2022-05-31T16:37:56.7810844Z [5608/5843] Building CXX object test_jit\CMakeFiles\test_jit.dir\test_module_api.cpp.obj
2022-05-31T16:37:57.0505046Z [5609/5843] Building CXX object caffe2\torch\CMakeFiles\torch_python.dir\csrc\autograd\python_cpp_function.cpp.obj
2022-05-31T16:37:57.2013455Z [5610/5843] Building CXX object caffe2\torch\CMakeFiles\torch_python.dir\csrc\serialization.cpp.obj
2022-05-31T16:37:57.7204896Z [5611/5843] Building CXX object caffe2\torch\CMakeFiles\torch_python.dir\csrc\autograd\python_engine.cpp.obj
2022-05-31T16:37:58.4055974Z [5612/5843] Building CXX object caffe2\torch\CMakeFiles\torch_python.dir\csrc\autograd\python_function.cpp.obj
2022-05-31T16:37:58.4962600Z [5613/5843] Building CXX object caffe2\torch\CMakeFiles\torch_python.dir\csrc\jit\python\init.cpp.obj
2022-05-31T16:37:58.4964532Z FAILED: caffe2/torch/CMakeFiles/torch_python.dir/csrc/jit/python/init.cpp.obj 
2022-05-31T16:37:58.4970107Z C:\actions-runner\_work\pytorch\pytorch\build\win_tmp\bin\sccache-cl.exe  /nologo /TP -DAT_PER_OPERATOR_HEADERS -DBUILDING_TESTS -DFMT_HEADER_ONLY=1 -DIDEEP_USE_MKL -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_ML=1 -DONNX_NAMESPACE=onnx_torch -DTHP_BUILD_MAIN_LIB -DUSE_C10D -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_NUMPY -DWIN32_LEAN_AND_MEAN -D_CRT_SECURE_NO_DEPRECATE=1 -D_OPENMP_NOFORCE_MANIFEST -Dtorch_python_EXPORTS -IC:\actions-runner\_work\pytorch\pytorch\build\aten\src -IC:\actions-runner\_work\pytorch\pytorch\aten\src -IC:\actions-runner\_work\pytorch\pytorch\build -IC:\actions-runner\_work\pytorch\pytorch -IC:\actions-runner\_work\pytorch\pytorch\cmake\..\third_party\benchmark\include -IC:\actions-runner\_work\pytorch\pytorch\third_party\onnx -IC:\actions-runner\_work\pytorch\pytorch\build\third_party\onnx -IC:\actions-runner\_work\pytorch\pytorch\third_party\foxi -IC:\actions-runner\_work\pytorch\pytorch\build\third_party\foxi -IC:\actions-runner\_work\pytorch\pytorch\torch\.. -IC:\actions-runner\_work\pytorch\pytorch\torch\..\aten\src -IC:\actions-runner\_work\pytorch\pytorch\torch\..\aten\src\TH -IC:\actions-runner\_work\pytorch\pytorch\build\caffe2\aten\src -IC:\actions-runner\_work\pytorch\pytorch\build\third_party -IC:\actions-runner\_work\pytorch\pytorch\torch\..\third_party\valgrind-headers -IC:\actions-runner\_work\pytorch\pytorch\torch\..\third_party\gloo -IC:\actions-runner\_work\pytorch\pytorch\torch\..\third_party\onnx -IC:\actions-runner\_work\pytorch\pytorch\torch\..\third_party\flatbuffers\include -IC:\actions-runner\_work\pytorch\pytorch\torch\csrc -IC:\actions-runner\_work\pytorch\pytorch\torch\csrc\api\include -IC:\actions-runner\_work\pytorch\pytorch\torch\lib -IC:\actions-runner\_work\pytorch\pytorch\torch\lib\libshm_windows -IC:\actions-runner\_work\pytorch\pytorch\torch\csrc\distributed -IC:\actions-runner\_work\pytorch\pytorch\torch\csrc\api -IC:\actions-runner\_work\pytorch\pytorch\c10\.. -IC:\actions-runner\_work\pytorch\pytorch\third_party\fmt\include -IC:\actions-runner\_work\pytorch\pytorch\build\third_party\gloo -IC:\actions-runner\_work\pytorch\pytorch\cmake\..\third_party\gloo -IC:\actions-runner\_work\pytorch\pytorch\cmake\..\third_party\googletest\googlemock\include -IC:\actions-runner\_work\pytorch\pytorch\cmake\..\third_party\googletest\googletest\include -IC:\actions-runner\_work\pytorch\pytorch\third_party\protobuf\src -IC:\actions-runner\_work\pytorch\pytorch\build\win_tmp\mkl\include -IC:\actions-runner\_work\pytorch\pytorch\third_party\XNNPACK\include -IC:\actions-runner\_work\pytorch\pytorch\cmake\..\third_party\eigen -IC:\actions-runner\_work\pytorch\pytorch\third_party\ideep\mkl-dnn\third_party\oneDNN\include -IC:\actions-runner\_work\pytorch\pytorch\third_party\ideep\include -IC:\Jenkins\Miniconda3\include -IC:\Jenkins\Miniconda3\lib\site-packages\numpy\core\include -IC:\actions-runner\_work\pytorch\pytorch\cmake\..\third_party\pybind11\include /DWIN32 /D_WINDOWS /GR /EHsc /w /bigobj -DUSE_PTHREADPOOL -openmp:experimental -IC:/actions-runner/_work/pytorch/pytorch/build/win_tmp/mkl/include -DNDEBUG -DUSE_KINETO -DLIBKINETO_NOCUPTI -DUSE_FBGEMM -DUSE_XNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -DEDGE_PROFILER_USE_KINETO -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION /MD /O2 /Ob2 /DNDEBUG /w /bigobj -DNDEBUG -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD /EHsc /DNOMINMAX /wd4267 /wd4251 /wd4522 /wd4838 /wd4305 /wd4244 /wd4190 /wd4101 /wd4996 /wd4275 /bigobj -std:c++14 /showIncludes /Focaffe2\torch\CMakeFiles\torch_python.dir\csrc\jit\python\init.cpp.obj /Fdcaffe2\torch\CMakeFiles\torch_python.dir\ /FS -c C:\actions-runner\_work\pytorch\pytorch\torch\csrc\jit\python\init.cpp
2022-05-31T16:37:58.4975464Z C:\actions-runner\_work\pytorch\pytorch\torch\csrc\jit\python\init.cpp(1): fatal error C1083: Cannot open include file: 'bits/stdint-intn.h': No such file or directory
2022-05-31T16:37:58.5620039Z [5614/5843] Building CXX object caffe2\torch\CMakeFiles\torch_python.dir\csrc\autograd\python_hook.cpp.obj
2022-05-31T16:37:58.5981380Z [5615/5843] Building CXX object caffe2\torch\CMakeFiles\torch_python.dir\csrc\autograd\python_legacy_variable.cpp.obj
2022-05-31T16:37:58.9345152Z [5616/5843] Building CXX object caffe2\torch\CMakeFiles\torch_python.dir\csrc\autograd\python_torch_functions_manual.cpp.obj
2022-05-31T16:37:59.2145686Z [5617/5843] Building CXX object caffe2\torch\CMakeFiles\torch_python.dir\csrc\autograd\python_variable.cpp.obj
2022-05-31T16:37:59.2798390Z [5618/5843] Building CXX object caffe2\torch\CMakeFiles\torch_python.dir\csrc\autograd\python_variable_indexing.cpp.obj
2022-05-31T16:37:59.6356528Z [5619/5843] Building CXX object caffe2\torch\CMakeFiles\torch_python.dir\csrc\jit\backends\backend_init.cpp.obj
2022-05-31T16:42:40.8864311Z [5620/5843] Linking CXX shared library bin\torch_cpu.dll
2022-05-31T16:42:40.8885989Z ninja: build stopped: subcommand failed.

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

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

2022-05-31T16:38:22.3805863Z FAIL [0.022s]: tes...lex_noncontiguous_bug (__main__.TestMetaConverter)
2022-05-31T16:38:22.3682121Z   test_leaf (__main__.TestMetaConverter) ... ok (0.001s)
2022-05-31T16:38:22.3697487Z   test_non_leaf (__main__.TestMetaConverter) ... ok (0.001s)
2022-05-31T16:38:22.3710294Z   test_requires_grad_false (__main__.TestMetaConverter) ... ok (0.001s)
2022-05-31T16:38:22.3722651Z   test_view_as_complex (__main__.TestMetaConverter) ... ok (0.001s)
2022-05-31T16:38:22.3740524Z   test_view_as_real (__main__.TestMetaConverter) ... ok (0.002s)
2022-05-31T16:38:22.3756004Z   test_view_dtype (__main__.TestMetaConverter) ... ok (0.001s)
2022-05-31T16:38:22.3778897Z   test_view_of_leaf (__main__.TestMetaConverter) ... ok (0.002s)
2022-05-31T16:38:22.3804829Z   test_view_of_non_leaf (__main__.TestMetaConverter) ... ok (0.002s)
2022-05-31T16:38:22.3805132Z 
2022-05-31T16:38:22.3805429Z ======================================================================
2022-05-31T16:38:22.3805863Z FAIL [0.022s]: test_complex_noncontiguous_bug (__main__.TestMetaConverter)
2022-05-31T16:38:22.3806434Z ----------------------------------------------------------------------
2022-05-31T16:38:22.3806703Z Traceback (most recent call last):
2022-05-31T16:38:22.3806953Z   File "test_meta.py", line 137, in test_complex_noncontiguous_bug
2022-05-31T16:38:22.3807221Z     self.assertEqual(m.stride(), x.stride())
2022-05-31T16:38:22.3807646Z   File "/opt/conda/lib/python3.7/site-packages/torch/testing/_internal/common_utils.py", line 2276, in assertEqual
2022-05-31T16:38:22.3808037Z     msg=(lambda generated_msg: f"{generated_msg} : {msg}") if isinstance(msg, str) and self.longMessage else msg,
2022-05-31T16:38:22.3808505Z   File "/opt/conda/lib/python3.7/site-packages/torch/testing/_comparison.py", line 1095, in assert_equal
2022-05-31T16:38:22.3808791Z     raise error_metas[0].to_error(msg)
2022-05-31T16:38:22.3809017Z AssertionError: Scalars are not equal!
2022-05-31T16:38:22.3809143Z 

See GitHub Actions build pull / linux-xenial-py3.7-clang7-onnx / build (10/12)

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

2022-05-31T16:28:07.3134195Z ##[error]Process completed with exit code 1.
2022-05-31T16:28:07.3102482Z Average cache read miss           4.511 s
2022-05-31T16:28:07.3102856Z Average cache read hit            0.046 s
2022-05-31T16:28:07.3103271Z Failed distributed compilations       0
2022-05-31T16:28:07.3103530Z 
2022-05-31T16:28:07.3103738Z Non-cacheable reasons:
2022-05-31T16:28:07.3104082Z multiple input files                 13
2022-05-31T16:28:07.3104479Z unknown source language               1
2022-05-31T16:28:07.3104716Z 
2022-05-31T16:28:07.3105162Z Cache location                  S3, bucket: Bucket(name=ossci-compiler-cache-circleci-v2, base_url=http://ossci-compiler-cache-circleci-v2.s3.amazonaws.com/)
2022-05-31T16:28:07.3105900Z ##[endgroup]
2022-05-31T16:28:07.3134195Z ##[error]Process completed with exit code 1.
2022-05-31T16:28:07.3164678Z Prepare all required actions
2022-05-31T16:28:07.3183490Z ##[group]Run ./.github/actions/teardown-linux
2022-05-31T16:28:07.3183681Z with:
2022-05-31T16:28:07.3183831Z env:
2022-05-31T16:28:07.3183985Z   IN_CI: 1
2022-05-31T16:28:07.3184131Z   IS_GHA: 1
2022-05-31T16:28:07.3184295Z ##[endgroup]
2022-05-31T16:28:07.3199112Z ##[group]Run .github/scripts/wait_for_ssh_to_drain.sh
2022-05-31T16:28:07.3199369Z �[36;1m.github/scripts/wait_for_ssh_to_drain.sh�[0m
2022-05-31T16:28:07.3211063Z shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0}

See GitHub Actions build pull / linux-xenial-py3.7-gcc7-no-ops / build (11/12)

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

2022-05-31T16:26:10.6676740Z compilation terminated.
2022-05-31T16:26:09.7810001Z [ 98%] �[32mBuilding CXX object caffe2/torch/CMakeFiles/torch_python.dir/csrc/autograd/python_variable.cpp.o�[0m
2022-05-31T16:26:09.9500235Z [ 98%] �[32mBuilding CXX object caffe2/torch/CMakeFiles/torch_python.dir/csrc/autograd/python_variable_indexing.cpp.o�[0m
2022-05-31T16:26:10.1626132Z [ 98%] �[32mBuilding CXX object caffe2/torch/CMakeFiles/torch_python.dir/csrc/jit/backends/backend_init.cpp.o�[0m
2022-05-31T16:26:10.2669753Z [ 98%] �[32mBuilding CXX object caffe2/torch/CMakeFiles/torch_python.dir/csrc/jit/codegen/cuda/python_frontend/python_bindings.cpp.o�[0m
2022-05-31T16:26:10.4117524Z [ 98%] �[32mBuilding CXX object test_jit/CMakeFiles/test_jit.dir/test_peephole_optimize.cpp.o�[0m
2022-05-31T16:26:10.5403830Z [ 98%] �[32mBuilding CXX object test_jit/CMakeFiles/test_jit.dir/test_qualified_name.cpp.o�[0m
2022-05-31T16:26:10.6477759Z [ 98%] �[32mBuilding CXX object caffe2/torch/CMakeFiles/torch_python.dir/csrc/jit/python/init.cpp.o�[0m
2022-05-31T16:26:10.6675206Z �[01m�[K/var/lib/jenkins/workspace/torch/csrc/jit/python/init.cpp:1:10:�[m�[K �[01;31m�[Kfatal error: �[m�[Kbits/stdint-intn.h: No such file or directory
2022-05-31T16:26:10.6675935Z  #include �[01;31m�[K<bits/stdint-intn.h>�[m�[K
2022-05-31T16:26:10.6676389Z           �[01;31m�[K^~~~~~~~~~~~~~~~~~~~�[m�[K
2022-05-31T16:26:10.6676740Z compilation terminated.
2022-05-31T16:26:10.6726729Z caffe2/torch/CMakeFiles/torch_python.dir/build.make:660: recipe for target 'caffe2/torch/CMakeFiles/torch_python.dir/csrc/jit/python/init.cpp.o' failed
2022-05-31T16:26:10.6727479Z make[2]: *** [caffe2/torch/CMakeFiles/torch_python.dir/csrc/jit/python/init.cpp.o] Error 1
2022-05-31T16:26:10.6727972Z make[2]: *** Waiting for unfinished jobs....
2022-05-31T16:26:10.6822015Z [ 98%] �[32mBuilding CXX object test_jit/CMakeFiles/test_jit.dir/test_save_load.cpp.o�[0m
2022-05-31T16:26:10.7534464Z [ 98%] �[32mBuilding CXX object test_jit/CMakeFiles/test_jit.dir/test_schema_matching.cpp.o�[0m
2022-05-31T16:26:10.9433939Z [ 98%] Built target test_api
2022-05-31T16:26:10.9458255Z [ 98%] �[32mBuilding CXX object test_jit/CMakeFiles/test_jit.dir/test_stack_opt.cpp.o�[0m
2022-05-31T16:26:10.9679405Z [ 98%] �[32mBuilding CXX object test_jit/CMakeFiles/test_jit.dir/test_subgraph_matcher.cpp.o�[0m
2022-05-31T16:26:10.9783533Z [ 98%] �[32mBuilding CXX object test_jit/CMakeFiles/test_jit.dir/test_subgraph_rewriter.cpp.o�[0m
2022-05-31T16:26:11.0025698Z CMakeFiles/Makefile2:11879: recipe for target 'caffe2/torch/CMakeFiles/torch_python.dir/all' failed

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

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

2022-05-31T16:36:39.4896847Z FAIL [0.019s]: tes...lex_noncontiguous_bug (__main__.TestMetaConverter)
2022-05-31T16:36:39.4816561Z   test_leaf (__main__.TestMetaConverter) ... ok (0.001s)
2022-05-31T16:36:39.4826693Z   test_non_leaf (__main__.TestMetaConverter) ... ok (0.001s)
2022-05-31T16:36:39.4835336Z   test_requires_grad_false (__main__.TestMetaConverter) ... ok (0.001s)
2022-05-31T16:36:39.4845637Z   test_view_as_complex (__main__.TestMetaConverter) ... ok (0.001s)
2022-05-31T16:36:39.4857238Z   test_view_as_real (__main__.TestMetaConverter) ... ok (0.001s)
2022-05-31T16:36:39.4868142Z   test_view_dtype (__main__.TestMetaConverter) ... ok (0.001s)
2022-05-31T16:36:39.4881139Z   test_view_of_leaf (__main__.TestMetaConverter) ... ok (0.001s)
2022-05-31T16:36:39.4894518Z   test_view_of_non_leaf (__main__.TestMetaConverter) ... ok (0.001s)
2022-05-31T16:36:39.4895690Z 
2022-05-31T16:36:39.4896147Z ======================================================================
2022-05-31T16:36:39.4896847Z FAIL [0.019s]: test_complex_noncontiguous_bug (__main__.TestMetaConverter)
2022-05-31T16:36:39.4897414Z ----------------------------------------------------------------------
2022-05-31T16:36:39.4897689Z Traceback (most recent call last):
2022-05-31T16:36:39.4897961Z   File "test_meta.py", line 137, in test_complex_noncontiguous_bug
2022-05-31T16:36:39.4898237Z     self.assertEqual(m.stride(), x.stride())
2022-05-31T16:36:39.4898674Z   File "/opt/conda/lib/python3.7/site-packages/torch/testing/_internal/common_utils.py", line 2276, in assertEqual
2022-05-31T16:36:39.4899084Z     msg=(lambda generated_msg: f"{generated_msg} : {msg}") if isinstance(msg, str) and self.longMessage else msg,
2022-05-31T16:36:39.4899556Z   File "/opt/conda/lib/python3.7/site-packages/torch/testing/_comparison.py", line 1095, in assert_equal
2022-05-31T16:36:39.4899867Z     raise error_metas[0].to_error(msg)
2022-05-31T16:36:39.4900098Z AssertionError: Scalars are not equal!
2022-05-31T16:36:39.4900238Z 

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.

eellison pushed a commit that referenced this pull request May 25, 2022
ghstack-source-id: 3cf74e9
Pull Request resolved: #78270
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
@eellison eellison mentioned this pull request May 31, 2022
[ghstack-poisoned]
@eellison eellison requested review from ezyang and samdow May 31, 2022 23:51
Comment on lines +146 to +152
if func in (aten.to.prim_Device, aten.to.device):
_, new_kwargs = normalize_function(func, args, kwargs, normalize_to_only_use_kwargs=True)
input_device = new_kwargs["device"]
out_device = input_device if input_device else new_kwargs["input"].device
new_kwargs["device"] = torch.device("meta")
r = run_function(func, types, (), new_kwargs)
return converter(r, out_device)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For my understanding, how are we finding these special cases? Like have we split native functions in some way or is it from errors that dynamo has found by testing this?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm starting with just the special cases patterns (constructors/device arg/taking sizes). I have a test here that found these operators: https://github.com/pytorch/pytorch/blob/master/test/test_fake_tensor.py#L106.

From there I'm going to
a) extend with dynamo testing
b) add cross-ref testing

I want to land these basic stuff first to unblock dynamo testing / dynamo and then continue to more comprehensive testing.

@eellison eellison closed this Jun 1, 2022
@facebook-github-bot facebook-github-bot deleted the gh/eellison/297/head branch July 2, 2022 14:17
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.

3 participants