Skip to content

Proper deregistration of static types and objects#61290

Closed
ghost wants to merge 1 commit intomasterfrom
unknown repository
Closed

Proper deregistration of static types and objects#61290
ghost wants to merge 1 commit intomasterfrom
unknown repository

Conversation

@ghost
Copy link

@ghost ghost commented Jul 6, 2021

It turns out on Windows static destructror should run on behalf the same library which run static constructor. For example, the objects registered by torch_cuda_cpp.dll should be properly deregistered by torch_cuda_cpp.dll, otherwise torch_cpu.dll will crash on unload.

Hopefully fixes #61111

@facebook-github-bot
Copy link
Contributor

Hi @dorozhkin-stc!

Thank you for your pull request and welcome to our community.

Action Required

In order to merge any pull request (code, docs, etc.), we require contributors to sign our Contributor License Agreement, and we don't seem to have one on file for you.

Process

In order for us to review and merge your suggested changes, please sign at https://code.facebook.com/cla. If you are contributing on behalf of someone else (eg your employer), the individual CLA may not be sufficient and your employer may need to sign the corporate CLA.

Once the CLA is signed, our tooling will perform checks and validations. Afterwards, the pull request will be tagged with CLA signed. The tagging process may take up to 1 hour after signing. Please give it that time before contacting us about it.

If you have received this in error or have any questions, please contact us at cla@fb.com. Thanks!

@facebook-github-bot facebook-github-bot added the oncall: jit Add this issue/PR to JIT oncall triage queue label Jul 6, 2021
@facebook-github-bot
Copy link
Contributor

facebook-github-bot commented Jul 6, 2021

🔗 Helpful links

💊 CI failures summary and remediations

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



🕵️ 76 new failures recognized by patterns

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

See CircleCI build binary_linux_libtorch_3_7m_cu102_devtoolset7_nightly_shared-with-deps_test (1/76)

Step: "Set Up CI Environment After attach_workspace" (full log | diagnosis details | 🔁 rerun)

ERROR: Installation has failed. Please see the... the Linux driver download page at www.nvidia.com.
[   75.350654] audit: type=1400 audit(1649847541.862:104): apparmor="STATUS" operation="profile_replace" info="same as current profile, skipping" profile="unconfined" name="snap-update-ns.google-cloud-sdk" pid=5801 comm="apparmor_parser"
[  546.494339] IPMI message handler: version 39.2
[  546.497985] ipmi device interface
[  546.519692] nvidia: loading out-of-tree module taints kernel.
[  546.519702] nvidia: module license 'NVIDIA' taints kernel.
[  546.519703] Disabling lock debugging due to kernel taint
[  546.544524] nvidia: module verification failed: signature and/or required key missing - tainting kernel
[  546.555608] nvidia-nvlink: Nvlink Core is being initialized, major device number 239
[  546.558696] NVRM: No NVIDIA GPU found.
[  546.559092] nvidia-nvlink: Unregistered the Nvlink Core, major device number 239
ERROR: Installation has failed.  Please see the file '/var/log/nvidia-installer.log' for details.  You may find suggestions on fixing installation problems in the README available on the Linux driver download page at www.nvidia.com.
+ false


Exited with code exit status 1

See CircleCI build binary_linux_conda_3_8_cpu_devtoolset7_nightly_build (2/76)

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

AttributeError: module 'distutils' has no attribute 'version'
Traceback (most recent call last):
  File "setup.py", line 309, in <module>
Building wheel torch-1.10.0.dev20220413
    cmake = CMake()
  File "/opt/conda/conda-bld/pytorch_1649843046084/work/tools/setup_helpers/cmake.py", line 102, in __init__
    self._cmake_command = CMake._get_cmake_command()
  File "/opt/conda/conda-bld/pytorch_1649843046084/work/tools/setup_helpers/cmake.py", line 123, in _get_cmake_command
    if cmake3 is not None and CMake._get_version(cmake3) >= distutils.version.LooseVersion("3.5.0"):
  File "/opt/conda/conda-bld/pytorch_1649843046084/work/tools/setup_helpers/cmake.py", line 137, in _get_version
    return distutils.version.LooseVersion(line.strip().split(' ')[2])
AttributeError: module 'distutils' has no attribute 'version'
Traceback (most recent call last):
  File "/opt/conda/bin/conda-build", line 11, in <module>
    sys.exit(main())
  File "/opt/conda/lib/python3.9/site-packages/conda_build/cli/main_build.py", line 488, in main
    execute(sys.argv[1:])
  File "/opt/conda/lib/python3.9/site-packages/conda_build/cli/main_build.py", line 477, in execute
    outputs = api.build(args.recipe, post=args.post, test_run_post=args.test_run_post,
  File "/opt/conda/lib/python3.9/site-packages/conda_build/api.py", line 186, in build
    return build_tree(
  File "/opt/conda/lib/python3.9/site-packages/conda_build/build.py", line 3088, in build_tree

See CircleCI build binary_linux_libtorch_3_7m_cu111_gcc5_4_cxx11-abi_nightly_static-with-deps_build (3/76)

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

unknown cuda version 11.1
+ CUDA_VERSION=11.1
+ echo 'Using CUDA 11.1 as determined by DESIRED_CUDA'
Using CUDA 11.1 as determined by DESIRED_CUDA
+ [[ '' == *\U\b\u\n\t\u* ]]
++ echo 11.1
++ tr -d .
+ cuda_version_nodot=111
+ TORCH_CUDA_ARCH_LIST='3.7;5.0;6.0;7.0'
+ case ${CUDA_VERSION} in
+ echo 'unknown cuda version 11.1'
unknown cuda version 11.1
+ exit 1


Exited with code exit status 1

See CircleCI build binary_linux_libtorch_3_7m_cpu_devtoolset7_nightly_static-without-deps_build (4/76)

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

FAILED: lib/libtorch_cpu.so
[5656/6036] Building CXX object test_jit/CMakeFiles/test_jit.dir/test_ir.cpp.o
[5657/6036] Building CXX object test_jit/CMakeFiles/test_jit.dir/test_custom_class_registrations.cpp.o
[5658/6036] Building CXX object test_jit/CMakeFiles/test_jit.dir/test_irparser.cpp.o
[5659/6036] Building CXX object test_jit/CMakeFiles/test_jit.dir/test_qualified_name.cpp.o
[5660/6036] Building CXX object test_jit/CMakeFiles/test_jit.dir/test_jit_type.cpp.o
[5661/6036] Building CXX object test_jit/CMakeFiles/test_jit.dir/test_graph_executor.cpp.o
[5662/6036] Building CXX object test_jit/CMakeFiles/test_jit.dir/test_memory_dag.cpp.o
[5663/6036] Building CXX object test_jit/CMakeFiles/test_jit.dir/test_graph_iterator.cpp.o
[5664/6036] Building CXX object test_jit/CMakeFiles/test_jit.dir/test_peephole_optimize.cpp.o
[5665/6036] Linking CXX shared library lib/libtorch_cpu.so
FAILED: lib/libtorch_cpu.so 
: && /opt/rh/devtoolset-7/root/usr/bin/c++ -fPIC -Wno-deprecated-declarations -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -fopenmp -DNDEBUG -DUSE_KINETO -DLIBKINETO_NOCUPTI -DUSE_FBGEMM -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DUSE_XNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wno-narrowing -Wall -Wextra -Werror=return-type -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wno-sign-compare -Wno-unused-parameter -Wno-unused-variable -Wno-unused-function -Wno-unused-result -Wno-unused-local-typedefs -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Wno-stringop-overflow -DHAVE_AVX2_CPU_DEFINITION -O2 -DNDEBUG -DNDEBUG  -Wl,--no-as-needed -rdynamic -fuse-ld=gold  -Wl,--version-script=/pytorch/caffe2/version_script.lds -shared -Wl,-soname,libtorch_cpu.so -o lib/libtorch_cpu.so caffe2/quantization/server/CMakeFiles/caffe2_dnnlowp_avx2_ops.dir/elementwise_sum_dnnlowp_op_avx2.cc.o caffe2/quantization/server/CMakeFiles/caffe2_dnnlowp_avx2_ops.dir/fully_connected_fake_lowp_op_avx2.cc.o caffe2/quantization/server/CMakeFiles/caffe2_dnnlowp_avx2_ops.dir/group_norm_dnnlowp_op_avx2.cc.o caffe2/quantization/server/CMakeFiles/caffe2_dnnlowp_avx2_ops.dir/pool_dnnlowp_op_avx2.cc.o caffe2/quantization/server/CMakeFiles/caffe2_dnnlowp_avx2_ops.dir/relu_dnnlowp_op_avx2.cc.o caffe2/quantization/server/CMakeFiles/caffe2_dnnlowp_avx2_ops.dir/spatial_batch_norm_dnnlowp_op_avx2.cc.o caffe2/quantization/server/CMakeFiles/caffe2_dnnlowp_avx2_ops.dir/transpose.cc.o caffe2/quantization/server/CMakeFiles/caffe2_dnnlowp_avx2_ops.dir/norm_minimization_avx2.cc.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/AccumulateType.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/BatchedFallback.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/BatchedTensorImpl.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/BatchingRegistrations.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/CPUGeneratorImpl.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/ConjugateFallback.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/Context.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/DLConvertor.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/DynamicLibrary.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/ExpandUtils.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/MapAllocator.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/MemoryOverlap.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/NamedTensorUtils.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/ParallelCommon.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/ParallelNative.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/ParallelNativeTBB.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/ParallelOpenMP.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/ParallelThreadPoolNative.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/ScalarOps.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/SequenceNumber.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/SparseCsrTensorImpl.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/SparseTensorImpl.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/SparseTensorUtils.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/TensorGeometry.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/TensorIndexing.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/TensorIterator.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/TensorMeta.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/TensorNames.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/TensorUtils.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/ThreadLocalState.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/Utils.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/Version.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/VmapMode.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/VmapModeRegistrations.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/VmapTransforms.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/autocast_mode.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/cpu/FlushDenormal.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/detail/CPUGuardImpl.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/detail/CUDAHooksInterface.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/detail/HIPHooksInterface.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/detail/MetaGuardImpl.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/record_function.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/ATenGeneral.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/Backend
/opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/ld.gold: internal error in override_version, at resolve.cc:61
collect2: error: ld returned 1 exit status
[5666/6036] Building CXX object test_jit/CMakeFiles/test_jit.dir/test_interface.cpp.o
[5667/6036] Building CXX object test_jit/CMakeFiles/test_jit.dir/test_cs_debug_info_serialization.cpp.o
[5668/6036] Building CXX object test_jit/CMakeFiles/test_jit.dir/test_interpreter.cpp.o
[5669/6036] Building CXX object test_jit/CMakeFiles/test_jit.dir/test_subgraph_utils.cpp.o
[5670/6036] Building CXX object test_jit/CMakeFiles/test_jit.dir/test_subgraph_matcher.cpp.o
[5671/6036] Building CXX object test_tensorexpr/CMakeFiles/tutorial_tensorexpr.dir/tutorial.cpp.o
[5672/6036] Building CXX object test_jit/CMakeFiles/test_jit.dir/test_jit_logging_levels.cpp.o

See CircleCI build binary_macos_conda_3_8_cpu_nightly_build (5/76)

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

Apr 13 10:04:15 AttributeError: module 'distutils' has no attribute 'version'
Apr 13 10:04:14 + python setup.py install
Apr 13 10:04:15 Traceback (most recent call last):
Apr 13 10:04:15   File "setup.py", line 309, in <module>
Apr 13 10:04:15     cmake = CMake()
Apr 13 10:04:15   File "/Users/distiller/project/conda/conda-bld/pytorch_1649844149995/work/tools/setup_helpers/cmake.py", line 102, in __init__
Apr 13 10:04:15     self._cmake_command = CMake._get_cmake_command()
Apr 13 10:04:15   File "/Users/distiller/project/conda/conda-bld/pytorch_1649844149995/work/tools/setup_helpers/cmake.py", line 126, in _get_cmake_command
Apr 13 10:04:15     elif cmake is not None and CMake._get_version(cmake) >= distutils.version.LooseVersion("3.5.0"):
Apr 13 10:04:15   File "/Users/distiller/project/conda/conda-bld/pytorch_1649844149995/work/tools/setup_helpers/cmake.py", line 137, in _get_version
Apr 13 10:04:15     return distutils.version.LooseVersion(line.strip().split(' ')[2])
Apr 13 10:04:15 AttributeError: module 'distutils' has no attribute 'version'
Apr 13 10:04:15 Building wheel torch-1.10.0.dev20220413
Apr 13 10:04:15 Traceback (most recent call last):
Apr 13 10:04:15   File "/Users/distiller/project/conda/bin/conda-build", line 11, in <module>
Apr 13 10:04:15     sys.exit(main())
Apr 13 10:04:15   File "/Users/distiller/project/conda/lib/python3.9/site-packages/conda_build/cli/main_build.py", line 488, in main
Apr 13 10:04:15     execute(sys.argv[1:])
Apr 13 10:04:15   File "/Users/distiller/project/conda/lib/python3.9/site-packages/conda_build/cli/main_build.py", line 477, in execute
Apr 13 10:04:15     outputs = api.build(args.recipe, post=args.post, test_run_post=args.test_run_post,
Apr 13 10:04:15   File "/Users/distiller/project/conda/lib/python3.9/site-packages/conda_build/api.py", line 186, in build
Apr 13 10:04:15     return build_tree(

See CircleCI build binary_linux_conda_3_9_cpu_devtoolset7_nightly_build (6/76)

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

AttributeError: module 'distutils' has no attribute 'version'
Traceback (most recent call last):
  File "/opt/conda/conda-bld/pytorch_1649843087319/work/setup.py", line 309, in <module>
Building wheel torch-1.10.0.dev20220413
    cmake = CMake()
  File "/opt/conda/conda-bld/pytorch_1649843087319/work/tools/setup_helpers/cmake.py", line 102, in __init__
    self._cmake_command = CMake._get_cmake_command()
  File "/opt/conda/conda-bld/pytorch_1649843087319/work/tools/setup_helpers/cmake.py", line 123, in _get_cmake_command
    if cmake3 is not None and CMake._get_version(cmake3) >= distutils.version.LooseVersion("3.5.0"):
  File "/opt/conda/conda-bld/pytorch_1649843087319/work/tools/setup_helpers/cmake.py", line 137, in _get_version
    return distutils.version.LooseVersion(line.strip().split(' ')[2])
AttributeError: module 'distutils' has no attribute 'version'
Traceback (most recent call last):
  File "/opt/conda/bin/conda-build", line 11, in <module>
    sys.exit(main())
  File "/opt/conda/lib/python3.9/site-packages/conda_build/cli/main_build.py", line 488, in main
    execute(sys.argv[1:])
  File "/opt/conda/lib/python3.9/site-packages/conda_build/cli/main_build.py", line 477, in execute
    outputs = api.build(args.recipe, post=args.post, test_run_post=args.test_run_post,
  File "/opt/conda/lib/python3.9/site-packages/conda_build/api.py", line 186, in build
    return build_tree(
  File "/opt/conda/lib/python3.9/site-packages/conda_build/build.py", line 3088, in build_tree

See CircleCI build binary_linux_manywheel_3_9m_cu113_devtoolset7_nightly_test (7/76)

Step: "Set Up CI Environment After attach_workspace" (full log | diagnosis details | 🔁 rerun)

ERROR: Installation has failed. Please see the... the Linux driver download page at www.nvidia.com.
[   74.044955] audit: type=1400 audit(1649849963.996:104): apparmor="STATUS" operation="profile_replace" info="same as current profile, skipping" profile="unconfined" name="snap-update-ns.google-cloud-sdk" pid=9027 comm="apparmor_parser"
[  363.606338] IPMI message handler: version 39.2
[  363.609707] ipmi device interface
[  363.623989] nvidia: loading out-of-tree module taints kernel.
[  363.623998] nvidia: module license 'NVIDIA' taints kernel.
[  363.623999] Disabling lock debugging due to kernel taint
[  363.638066] nvidia: module verification failed: signature and/or required key missing - tainting kernel
[  363.647615] nvidia-nvlink: Nvlink Core is being initialized, major device number 239
[  363.649211] NVRM: No NVIDIA GPU found.
[  363.649527] nvidia-nvlink: Unregistered the Nvlink Core, major device number 239
ERROR: Installation has failed.  Please see the file '/var/log/nvidia-installer.log' for details.  You may find suggestions on fixing installation problems in the README available on the Linux driver download page at www.nvidia.com.
+ false


Exited with code exit status 1

See CircleCI build binary_linux_manywheel_3_8m_cu111_devtoolset7_nightly_build (8/76)

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

unknown cuda version 11.1
+ CUDA_VERSION=11.1
+ echo 'Using CUDA 11.1 as determined by DESIRED_CUDA'
Using CUDA 11.1 as determined by DESIRED_CUDA
+ [[ '' == *\U\b\u\n\t\u* ]]
++ echo 11.1
++ tr -d .
+ cuda_version_nodot=111
+ TORCH_CUDA_ARCH_LIST='3.7;5.0;6.0;7.0'
+ case ${CUDA_VERSION} in
+ echo 'unknown cuda version 11.1'
unknown cuda version 11.1
+ exit 1


Exited with code exit status 1

See CircleCI build binary_linux_conda_3_9_cu113_devtoolset7_nightly_build (9/76)

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

AttributeError: module 'distutils' has no attribute 'version'
Traceback (most recent call last):
  File "/opt/conda/conda-bld/pytorch_1649843148904/work/setup.py", line 309, in <module>
Building wheel torch-1.10.0.dev20220413
    cmake = CMake()
  File "/opt/conda/conda-bld/pytorch_1649843148904/work/tools/setup_helpers/cmake.py", line 102, in __init__
    self._cmake_command = CMake._get_cmake_command()
  File "/opt/conda/conda-bld/pytorch_1649843148904/work/tools/setup_helpers/cmake.py", line 123, in _get_cmake_command
    if cmake3 is not None and CMake._get_version(cmake3) >= distutils.version.LooseVersion("3.5.0"):
  File "/opt/conda/conda-bld/pytorch_1649843148904/work/tools/setup_helpers/cmake.py", line 137, in _get_version
    return distutils.version.LooseVersion(line.strip().split(' ')[2])
AttributeError: module 'distutils' has no attribute 'version'
Traceback (most recent call last):
  File "/opt/conda/bin/conda-build", line 11, in <module>
    sys.exit(main())
  File "/opt/conda/lib/python3.9/site-packages/conda_build/cli/main_build.py", line 488, in main
    execute(sys.argv[1:])
  File "/opt/conda/lib/python3.9/site-packages/conda_build/cli/main_build.py", line 477, in execute
    outputs = api.build(args.recipe, post=args.post, test_run_post=args.test_run_post,
  File "/opt/conda/lib/python3.9/site-packages/conda_build/api.py", line 186, in build
    return build_tree(
  File "/opt/conda/lib/python3.9/site-packages/conda_build/build.py", line 3088, in build_tree

See CircleCI build binary_linux_libtorch_3_7m_cu113_devtoolset7_nightly_shared-without-deps_test (10/76)

Step: "Set Up CI Environment After attach_workspace" (full log | diagnosis details | 🔁 rerun)

ERROR: Installation has failed. Please see the... the Linux driver download page at www.nvidia.com.
[   68.153474] audit: type=1400 audit(1649850533.981:104): apparmor="STATUS" operation="profile_replace" info="same as current profile, skipping" profile="unconfined" name="snap-update-ns.google-cloud-sdk" pid=6376 comm="apparmor_parser"
[  379.596955] IPMI message handler: version 39.2
[  379.599266] ipmi device interface
[  379.612019] nvidia: loading out-of-tree module taints kernel.
[  379.612029] nvidia: module license 'NVIDIA' taints kernel.
[  379.612030] Disabling lock debugging due to kernel taint
[  379.625767] nvidia: module verification failed: signature and/or required key missing - tainting kernel
[  379.635232] nvidia-nvlink: Nvlink Core is being initialized, major device number 239
[  379.636255] NVRM: No NVIDIA GPU found.
[  379.636409] nvidia-nvlink: Unregistered the Nvlink Core, major device number 239
ERROR: Installation has failed.  Please see the file '/var/log/nvidia-installer.log' for details.  You may find suggestions on fixing installation problems in the README available on the Linux driver download page at www.nvidia.com.
+ false


Exited with code exit status 1

See CircleCI build binary_linux_manywheel_3_6m_rocm4_1_devtoolset7_nightly_test (11/76)

Step: "Set Up CI Environment After attach_workspace" (full log | diagnosis details | 🔁 rerun)

ERROR: Installation has failed. Please see the... the Linux driver download page at www.nvidia.com.
[   70.305216] audit: type=1400 audit(1649846381.046:104): apparmor="STATUS" operation="profile_replace" info="same as current profile, skipping" profile="unconfined" name="snap-update-ns.google-cloud-sdk" pid=5788 comm="apparmor_parser"
[  548.589424] IPMI message handler: version 39.2
[  548.593025] ipmi device interface
[  548.612431] nvidia: loading out-of-tree module taints kernel.
[  548.612440] nvidia: module license 'NVIDIA' taints kernel.
[  548.612441] Disabling lock debugging due to kernel taint
[  548.631649] nvidia: module verification failed: signature and/or required key missing - tainting kernel
[  548.640909] nvidia-nvlink: Nvlink Core is being initialized, major device number 239
[  548.641667] NVRM: No NVIDIA GPU found.
[  548.641860] nvidia-nvlink: Unregistered the Nvlink Core, major device number 239
ERROR: Installation has failed.  Please see the file '/var/log/nvidia-installer.log' for details.  You may find suggestions on fixing installation problems in the README available on the Linux driver download page at www.nvidia.com.
+ false


Exited with code exit status 1

See CircleCI build binary_linux_manywheel_3_7m_rocm4_2_devtoolset7_nightly_test (12/76)

Step: "Set Up CI Environment After attach_workspace" (full log | diagnosis details | 🔁 rerun)

ERROR: Installation has failed. Please see the... the Linux driver download page at www.nvidia.com.
[  127.202698] audit: type=1400 audit(1649846922.529:104): apparmor="STATUS" operation="profile_replace" info="same as current profile, skipping" profile="unconfined" name="snap-update-ns.google-cloud-sdk" pid=5864 comm="apparmor_parser"
[  477.212568] IPMI message handler: version 39.2
[  477.215880] ipmi device interface
[  477.234868] nvidia: loading out-of-tree module taints kernel.
[  477.234877] nvidia: module license 'NVIDIA' taints kernel.
[  477.234878] Disabling lock debugging due to kernel taint
[  477.254317] nvidia: module verification failed: signature and/or required key missing - tainting kernel
[  477.263559] nvidia-nvlink: Nvlink Core is being initialized, major device number 239
[  477.264288] NVRM: No NVIDIA GPU found.
[  477.264445] nvidia-nvlink: Unregistered the Nvlink Core, major device number 239
ERROR: Installation has failed.  Please see the file '/var/log/nvidia-installer.log' for details.  You may find suggestions on fixing installation problems in the README available on the Linux driver download page at www.nvidia.com.
+ false


Exited with code exit status 1

See CircleCI build binary_macos_arm64_conda_3_9_cpu_nightly_build (13/76)

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

Apr 13 09:50:07 AttributeError: module 'distutils' has no attribute 'version'
Apr 13 09:50:07 Traceback (most recent call last):
Apr 13 09:50:07   File "/Users/distiller/project/conda/conda-bld/pytorch_1649843305725/work/setup.py", line 309, in <module>
Apr 13 09:50:07 Building wheel torch-1.10.0.dev20220413
Apr 13 09:50:07     cmake = CMake()
Apr 13 09:50:07   File "/Users/distiller/project/conda/conda-bld/pytorch_1649843305725/work/tools/setup_helpers/cmake.py", line 102, in __init__
Apr 13 09:50:07     self._cmake_command = CMake._get_cmake_command()
Apr 13 09:50:07   File "/Users/distiller/project/conda/conda-bld/pytorch_1649843305725/work/tools/setup_helpers/cmake.py", line 126, in _get_cmake_command
Apr 13 09:50:07     elif cmake is not None and CMake._get_version(cmake) >= distutils.version.LooseVersion("3.5.0"):
Apr 13 09:50:07   File "/Users/distiller/project/conda/conda-bld/pytorch_1649843305725/work/tools/setup_helpers/cmake.py", line 137, in _get_version
Apr 13 09:50:07     return distutils.version.LooseVersion(line.strip().split(' ')[2])
Apr 13 09:50:07 AttributeError: module 'distutils' has no attribute 'version'
Apr 13 09:50:08 Traceback (most recent call last):
Apr 13 09:50:08   File "/Users/distiller/project/conda/bin/conda-build", line 11, in <module>
Apr 13 09:50:08     sys.exit(main())
Apr 13 09:50:08   File "/Users/distiller/project/conda/lib/python3.9/site-packages/conda_build/cli/main_build.py", line 488, in main
Apr 13 09:50:08     execute(sys.argv[1:])
Apr 13 09:50:08   File "/Users/distiller/project/conda/lib/python3.9/site-packages/conda_build/cli/main_build.py", line 477, in execute
Apr 13 09:50:08     outputs = api.build(args.recipe, post=args.post, test_run_post=args.test_run_post,
Apr 13 09:50:08   File "/Users/distiller/project/conda/lib/python3.9/site-packages/conda_build/api.py", line 186, in build
Apr 13 09:50:08     return build_tree(
Apr 13 09:50:08   File "/Users/distiller/project/conda/lib/python3.9/site-packages/conda_build/build.py", line 3088, in build_tree

See CircleCI build binary_linux_conda_3_6_cu102_devtoolset7_nightly_build (14/76)

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

CMake Error at cmake/Codegen.cmake:228 (message):
-- Performing Test COMPILER_SUPPORTS_NO_AVX256_SPLIT
-- Performing Test COMPILER_SUPPORTS_NO_AVX256_SPLIT - Success
Traceback (most recent call last):
  File "/opt/conda/conda-bld/pytorch_1649843110376/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_place/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/opt/conda/conda-bld/pytorch_1649843110376/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_place/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/opt/conda/conda-bld/pytorch_1649843110376/work/tools/codegen/gen.py", line 10, in <module>
    from dataclasses import dataclass
ModuleNotFoundError: No module named 'dataclasses'
CMake Error at cmake/Codegen.cmake:228 (message):
  Failed to get generated_cpp list
Call Stack (most recent call first):
  caffe2/CMakeLists.txt:2 (include)


-- 
-- Configuring incomplete, errors occurred!
See also "$SRC_DIR/build/CMakeFiles/CMakeOutput.log".
See also "$SRC_DIR/build/CMakeFiles/CMakeError.log".
Building wheel torch-1.10.0.dev20220413

See CircleCI build binary_linux_libtorch_3_7m_cu102_gcc5_4_cxx11-abi_nightly_shared-with-deps_test (15/76)

Step: "Set Up CI Environment After attach_workspace" (full log | diagnosis details | 🔁 rerun)

ERROR: Installation has failed. Please see the... the Linux driver download page at www.nvidia.com.
[  120.735078] audit: type=1400 audit(1649847369.404:104): apparmor="STATUS" operation="profile_replace" info="same as current profile, skipping" profile="unconfined" name="snap-update-ns.google-cloud-sdk" pid=5931 comm="apparmor_parser"
[  505.839825] IPMI message handler: version 39.2
[  505.842625] ipmi device interface
[  505.863484] nvidia: loading out-of-tree module taints kernel.
[  505.863493] nvidia: module license 'NVIDIA' taints kernel.
[  505.863494] Disabling lock debugging due to kernel taint
[  505.880337] nvidia: module verification failed: signature and/or required key missing - tainting kernel
[  505.890815] nvidia-nvlink: Nvlink Core is being initialized, major device number 239
[  505.891753] NVRM: No NVIDIA GPU found.
[  505.892095] nvidia-nvlink: Unregistered the Nvlink Core, major device number 239
ERROR: Installation has failed.  Please see the file '/var/log/nvidia-installer.log' for details.  You may find suggestions on fixing installation problems in the README available on the Linux driver download page at www.nvidia.com.
+ false


Exited with code exit status 1

See CircleCI build binary_macos_conda_3_7_cpu_nightly_build (16/76)

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

Apr 13 10:02:26 AttributeError: module 'distutils' has no attribute 'version'
Apr 13 10:02:26 Traceback (most recent call last):
Apr 13 10:02:26   File "setup.py", line 309, in <module>
Apr 13 10:02:26     cmake = CMake()
Apr 13 10:02:26   File "/Users/distiller/project/conda/conda-bld/pytorch_1649844041888/work/tools/setup_helpers/cmake.py", line 102, in __init__
Apr 13 10:02:26 Building wheel torch-1.10.0.dev20220413
Apr 13 10:02:26     self._cmake_command = CMake._get_cmake_command()
Apr 13 10:02:26   File "/Users/distiller/project/conda/conda-bld/pytorch_1649844041888/work/tools/setup_helpers/cmake.py", line 126, in _get_cmake_command
Apr 13 10:02:26     elif cmake is not None and CMake._get_version(cmake) >= distutils.version.LooseVersion("3.5.0"):
Apr 13 10:02:26   File "/Users/distiller/project/conda/conda-bld/pytorch_1649844041888/work/tools/setup_helpers/cmake.py", line 137, in _get_version
Apr 13 10:02:26     return distutils.version.LooseVersion(line.strip().split(' ')[2])
Apr 13 10:02:26 AttributeError: module 'distutils' has no attribute 'version'
Apr 13 10:02:27 Traceback (most recent call last):
Apr 13 10:02:27   File "/Users/distiller/project/conda/bin/conda-build", line 11, in <module>
Apr 13 10:02:27     sys.exit(main())
Apr 13 10:02:27   File "/Users/distiller/project/conda/lib/python3.9/site-packages/conda_build/cli/main_build.py", line 488, in main
Apr 13 10:02:27     execute(sys.argv[1:])
Apr 13 10:02:27   File "/Users/distiller/project/conda/lib/python3.9/site-packages/conda_build/cli/main_build.py", line 477, in execute
Apr 13 10:02:27     outputs = api.build(args.recipe, post=args.post, test_run_post=args.test_run_post,
Apr 13 10:02:27   File "/Users/distiller/project/conda/lib/python3.9/site-packages/conda_build/api.py", line 186, in build
Apr 13 10:02:27     return build_tree(
Apr 13 10:02:27   File "/Users/distiller/project/conda/lib/python3.9/site-packages/conda_build/build.py", line 3088, in build_tree

See CircleCI build binary_linux_libtorch_3_7m_cu102_devtoolset7_nightly_static-with-deps_test (17/76)

Step: "Set Up CI Environment After attach_workspace" (full log | diagnosis details | 🔁 rerun)

ERROR: Installation has failed. Please see the... the Linux driver download page at www.nvidia.com.
[   74.052021] audit: type=1400 audit(1649847461.540:104): apparmor="STATUS" operation="profile_replace" info="same as current profile, skipping" profile="unconfined" name="snap-update-ns.google-cloud-sdk" pid=5884 comm="apparmor_parser"
[  476.172192] IPMI message handler: version 39.2
[  476.175307] ipmi device interface
[  476.188898] nvidia: loading out-of-tree module taints kernel.
[  476.188906] nvidia: module license 'NVIDIA' taints kernel.
[  476.188908] Disabling lock debugging due to kernel taint
[  476.202990] nvidia: module verification failed: signature and/or required key missing - tainting kernel
[  476.212526] nvidia-nvlink: Nvlink Core is being initialized, major device number 239
[  476.213412] NVRM: No NVIDIA GPU found.
[  476.213585] nvidia-nvlink: Unregistered the Nvlink Core, major device number 239
ERROR: Installation has failed.  Please see the file '/var/log/nvidia-installer.log' for details.  You may find suggestions on fixing installation problems in the README available on the Linux driver download page at www.nvidia.com.
+ false


Exited with code exit status 1

See CircleCI build binary_linux_manywheel_3_9m_cpu_devtoolset7_nightly_build (18/76)

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

FAILED: lib/libtorch_cpu.so
[5603/6018] Building CXX object caffe2/CMakeFiles/caffe2_pybind11_state.dir/python/pybind_state_nomni.cc.o
[5604/6018] Building CXX object caffe2/CMakeFiles/distributed_test.dir/opt/distributed_test.cc.o
[5605/6018] Building CXX object caffe2/CMakeFiles/proto_utils_test.dir/utils/proto_utils_test.cc.o
[5606/6018] Building CXX object caffe2/CMakeFiles/observer_test.dir/core/observer_test.cc.o
[5607/6018] Building CXX object caffe2/CMakeFiles/cpu_rng_test.dir/__/aten/src/ATen/test/cpu_rng_test.cpp.o
[5608/6018] Building CXX object caffe2/CMakeFiles/memory_overlapping_test.dir/__/aten/src/ATen/test/memory_overlapping_test.cpp.o
[5609/6018] Building CXX object test_jit/CMakeFiles/test_jit.dir/__/common/main.cpp.o
[5610/6018] Building CXX object caffe2/CMakeFiles/parallel_net_test.dir/core/parallel_net_test.cc.o
[5611/6018] Building CXX object caffe2/CMakeFiles/net_test.dir/core/net_test.cc.o
[5612/6018] Linking CXX shared library lib/libtorch_cpu.so
FAILED: lib/libtorch_cpu.so 
: && /opt/rh/devtoolset-7/root/usr/bin/c++ -fPIC -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -fopenmp -DNDEBUG -DUSE_KINETO -DLIBKINETO_NOCUPTI -DUSE_FBGEMM -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DUSE_XNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wno-narrowing -Wall -Wextra -Werror=return-type -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wno-sign-compare -Wno-unused-parameter -Wno-unused-variable -Wno-unused-function -Wno-unused-result -Wno-unused-local-typedefs -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Wno-stringop-overflow -DHAVE_AVX2_CPU_DEFINITION -O2 -DNDEBUG -DNDEBUG  -Wl,--no-as-needed -rdynamic -fuse-ld=gold  -Wl,--version-script=/pytorch/caffe2/version_script.lds -shared -Wl,-soname,libtorch_cpu.so -o lib/libtorch_cpu.so caffe2/quantization/server/CMakeFiles/caffe2_dnnlowp_avx2_ops.dir/elementwise_sum_dnnlowp_op_avx2.cc.o caffe2/quantization/server/CMakeFiles/caffe2_dnnlowp_avx2_ops.dir/fully_connected_fake_lowp_op_avx2.cc.o caffe2/quantization/server/CMakeFiles/caffe2_dnnlowp_avx2_ops.dir/group_norm_dnnlowp_op_avx2.cc.o caffe2/quantization/server/CMakeFiles/caffe2_dnnlowp_avx2_ops.dir/pool_dnnlowp_op_avx2.cc.o caffe2/quantization/server/CMakeFiles/caffe2_dnnlowp_avx2_ops.dir/relu_dnnlowp_op_avx2.cc.o caffe2/quantization/server/CMakeFiles/caffe2_dnnlowp_avx2_ops.dir/spatial_batch_norm_dnnlowp_op_avx2.cc.o caffe2/quantization/server/CMakeFiles/caffe2_dnnlowp_avx2_ops.dir/transpose.cc.o caffe2/quantization/server/CMakeFiles/caffe2_dnnlowp_avx2_ops.dir/norm_minimization_avx2.cc.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/AccumulateType.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/BatchedFallback.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/BatchedTensorImpl.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/BatchingRegistrations.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/CPUGeneratorImpl.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/ConjugateFallback.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/Context.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/DLConvertor.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/DynamicLibrary.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/ExpandUtils.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/MapAllocator.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/MemoryOverlap.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/NamedTensorUtils.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/ParallelCommon.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/ParallelNative.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/ParallelNativeTBB.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/ParallelOpenMP.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/ParallelThreadPoolNative.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/ScalarOps.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/SequenceNumber.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/SparseCsrTensorImpl.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/SparseTensorImpl.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/SparseTensorUtils.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/TensorGeometry.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/TensorIndexing.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/TensorIterator.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/TensorMeta.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/TensorNames.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/TensorUtils.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/ThreadLocalState.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/Utils.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/Version.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/VmapMode.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/VmapModeRegistrations.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/VmapTransforms.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/autocast_mode.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/cpu/FlushDenormal.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/detail/CPUGuardImpl.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/detail/CUDAHooksInterface.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/detail/HIPHooksInterface.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/detail/MetaGuardImpl.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/record_function.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/ATenGeneral.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/BackendSelectFallbackKernel.cpp.o ca
/opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/ld.gold: internal error in override_version, at resolve.cc:61
collect2: error: ld returned 1 exit status
[5613/6018] Building CXX object caffe2/CMakeFiles/generate_proposals_op_util_boxes_test.dir/operators/generate_proposals_op_util_boxes_test.cc.o
[5614/6018] Building CXX object caffe2/CMakeFiles/plan_executor_test.dir/core/plan_executor_test.cc.o
[5615/6018] Building CXX object caffe2/CMakeFiles/operator_test.dir/core/operator_test.cc.o
[5616/6018] Building CXX object caffe2/CMakeFiles/workspace_test.dir/core/workspace_test.cc.o
[5617/6018] Building CXX object test_jit/CMakeFiles/backend_with_compiler.dir/test_backend_compiler_lib.cpp.o
[5618/6018] Building CXX object caffe2/CMakeFiles/make_boxed_from_unboxed_functor_test.dir/__/aten/src/ATen/core/boxing/impl/make_boxed_from_unboxed_functor_test.cpp.o
[5619/6018] Building CXX object test_jit/CMakeFiles/jitbackend_test.dir/test_backend_lib.cpp.o

See CircleCI build binary_macos_wheel_3_9_cpu_nightly_build (19/76)

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

Apr 13 10:02:53 AttributeError: module 'distutils' has no attribute 'version'
Apr 13 10:02:53 Building wheel torch-1.10.0.dev20220413
Apr 13 10:02:53 Traceback (most recent call last):
Apr 13 10:02:53   File "/Users/distiller/project/pytorch/setup.py", line 309, in <module>
Apr 13 10:02:53     cmake = CMake()
Apr 13 10:02:53   File "/Users/distiller/project/pytorch/tools/setup_helpers/cmake.py", line 102, in __init__
Apr 13 10:02:53     self._cmake_command = CMake._get_cmake_command()
Apr 13 10:02:53   File "/Users/distiller/project/pytorch/tools/setup_helpers/cmake.py", line 126, in _get_cmake_command
Apr 13 10:02:53     elif cmake is not None and CMake._get_version(cmake) >= distutils.version.LooseVersion("3.5.0"):
Apr 13 10:02:53   File "/Users/distiller/project/pytorch/tools/setup_helpers/cmake.py", line 137, in _get_version
Apr 13 10:02:53     return distutils.version.LooseVersion(line.strip().split(' ')[2])
Apr 13 10:02:53 AttributeError: module 'distutils' has no attribute 'version'


Exited with code exit status 1

See CircleCI build binary_linux_libtorch_3_7m_cu102_gcc5_4_cxx11-abi_nightly_static-without-deps_test (20/76)

Step: "Set Up CI Environment After attach_workspace" (full log | diagnosis details | 🔁 rerun)

ERROR: Installation has failed. Please see the... the Linux driver download page at www.nvidia.com.
[   69.007318] audit: type=1400 audit(1649847440.361:104): apparmor="STATUS" operation="profile_replace" info="same as current profile, skipping" profile="unconfined" name="snap-update-ns.google-cloud-sdk" pid=5888 comm="apparmor_parser"
[  380.341369] IPMI message handler: version 39.2
[  380.344549] ipmi device interface
[  380.358593] nvidia: loading out-of-tree module taints kernel.
[  380.358602] nvidia: module license 'NVIDIA' taints kernel.
[  380.358621] Disabling lock debugging due to kernel taint
[  380.372939] nvidia: module verification failed: signature and/or required key missing - tainting kernel
[  380.382194] nvidia-nvlink: Nvlink Core is being initialized, major device number 239
[  380.383360] NVRM: No NVIDIA GPU found.
[  380.383584] nvidia-nvlink: Unregistered the Nvlink Core, major device number 239
ERROR: Installation has failed.  Please see the file '/var/log/nvidia-installer.log' for details.  You may find suggestions on fixing installation problems in the README available on the Linux driver download page at www.nvidia.com.
+ false


Exited with code exit status 1

See CircleCI build binary_linux_manywheel_3_7m_rocm4_0_1_devtoolset7_nightly_test (21/76)

Step: "Set Up CI Environment After attach_workspace" (full log | diagnosis details | 🔁 rerun)

ERROR: Installation has failed. Please see the... the Linux driver download page at www.nvidia.com.
[   68.045926] audit: type=1400 audit(1649847239.879:104): apparmor="STATUS" operation="profile_replace" info="same as current profile, skipping" profile="unconfined" name="snap-update-ns.google-cloud-sdk" pid=5625 comm="apparmor_parser"
[  485.045969] IPMI message handler: version 39.2
[  485.048748] ipmi device interface
[  485.068306] nvidia: loading out-of-tree module taints kernel.
[  485.068315] nvidia: module license 'NVIDIA' taints kernel.
[  485.068316] Disabling lock debugging due to kernel taint
[  485.087661] nvidia: module verification failed: signature and/or required key missing - tainting kernel
[  485.097302] nvidia-nvlink: Nvlink Core is being initialized, major device number 239
[  485.098604] NVRM: No NVIDIA GPU found.
[  485.098802] nvidia-nvlink: Unregistered the Nvlink Core, major device number 239
ERROR: Installation has failed.  Please see the file '/var/log/nvidia-installer.log' for details.  You may find suggestions on fixing installation problems in the README available on the Linux driver download page at www.nvidia.com.
+ false


Exited with code exit status 1

See CircleCI build binary_linux_libtorch_3_7m_cu113_devtoolset7_nightly_shared-with-deps_test (22/76)

Step: "Set Up CI Environment After attach_workspace" (full log | diagnosis details | 🔁 rerun)

ERROR: Installation has failed. Please see the... the Linux driver download page at www.nvidia.com.
[   67.094322] audit: type=1400 audit(1649851183.440:104): apparmor="STATUS" operation="profile_replace" info="same as current profile, skipping" profile="unconfined" name="snap-update-ns.google-cloud-sdk" pid=5643 comm="apparmor_parser"
[  575.266464] IPMI message handler: version 39.2
[  575.269309] ipmi device interface
[  575.283182] nvidia: loading out-of-tree module taints kernel.
[  575.283190] nvidia: module license 'NVIDIA' taints kernel.
[  575.283191] Disabling lock debugging due to kernel taint
[  575.298623] nvidia: module verification failed: signature and/or required key missing - tainting kernel
[  575.308259] nvidia-nvlink: Nvlink Core is being initialized, major device number 239
[  575.309167] NVRM: No NVIDIA GPU found.
[  575.309333] nvidia-nvlink: Unregistered the Nvlink Core, major device number 239
ERROR: Installation has failed.  Please see the file '/var/log/nvidia-installer.log' for details.  You may find suggestions on fixing installation problems in the README available on the Linux driver download page at www.nvidia.com.
+ false


Exited with code exit status 1

See CircleCI build binary_linux_libtorch_3_7m_cu113_gcc5_4_cxx11-abi_nightly_static-with-deps_test (23/76)

Step: "Set Up CI Environment After attach_workspace" (full log | diagnosis details | 🔁 rerun)

ERROR: Installation has failed. Please see the... the Linux driver download page at www.nvidia.com.
[   71.555778] audit: type=1400 audit(1649851284.073:104): apparmor="STATUS" operation="profile_replace" info="same as current profile, skipping" profile="unconfined" name="snap-update-ns.google-cloud-sdk" pid=5766 comm="apparmor_parser"
[  565.361364] IPMI message handler: version 39.2
[  565.364154] ipmi device interface
[  565.378043] nvidia: loading out-of-tree module taints kernel.
[  565.378053] nvidia: module license 'NVIDIA' taints kernel.
[  565.378054] Disabling lock debugging due to kernel taint
[  565.393251] nvidia: module verification failed: signature and/or required key missing - tainting kernel
[  565.402893] nvidia-nvlink: Nvlink Core is being initialized, major device number 239
[  565.404364] NVRM: No NVIDIA GPU found.
[  565.404527] nvidia-nvlink: Unregistered the Nvlink Core, major device number 239
ERROR: Installation has failed.  Please see the file '/var/log/nvidia-installer.log' for details.  You may find suggestions on fixing installation problems in the README available on the Linux driver download page at www.nvidia.com.
+ false


Exited with code exit status 1

See CircleCI build binary_linux_manywheel_3_8m_cpu_devtoolset7_nightly_build (24/76)

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

FAILED: lib/libtorch_cpu.so
[5605/6018] Building CXX object caffe2/CMakeFiles/parallel_net_test.dir/core/parallel_net_test.cc.o
[5606/6018] Building CXX object caffe2/CMakeFiles/distributed_test.dir/opt/distributed_test.cc.o
[5607/6018] Building CXX object caffe2/CMakeFiles/cpu_rng_test.dir/__/aten/src/ATen/test/cpu_rng_test.cpp.o
[5608/6018] Building CXX object caffe2/CMakeFiles/proto_utils_test.dir/utils/proto_utils_test.cc.o
[5609/6018] Building CXX object caffe2/CMakeFiles/generate_proposals_op_util_boxes_test.dir/operators/generate_proposals_op_util_boxes_test.cc.o
[5610/6018] Building CXX object test_jit/CMakeFiles/test_jit.dir/__/common/main.cpp.o
[5611/6018] Building CXX object caffe2/CMakeFiles/net_test.dir/core/net_test.cc.o
[5612/6018] Building CXX object caffe2/CMakeFiles/memory_overlapping_test.dir/__/aten/src/ATen/test/memory_overlapping_test.cpp.o
[5613/6018] Building CXX object caffe2/CMakeFiles/operator_test.dir/core/operator_test.cc.o
[5614/6018] Linking CXX shared library lib/libtorch_cpu.so
FAILED: lib/libtorch_cpu.so 
: && /opt/rh/devtoolset-7/root/usr/bin/c++ -fPIC -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -fopenmp -DNDEBUG -DUSE_KINETO -DLIBKINETO_NOCUPTI -DUSE_FBGEMM -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DUSE_XNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wno-narrowing -Wall -Wextra -Werror=return-type -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wno-sign-compare -Wno-unused-parameter -Wno-unused-variable -Wno-unused-function -Wno-unused-result -Wno-unused-local-typedefs -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Wno-stringop-overflow -DHAVE_AVX2_CPU_DEFINITION -O2 -DNDEBUG -DNDEBUG  -Wl,--no-as-needed -rdynamic -fuse-ld=gold  -Wl,--version-script=/pytorch/caffe2/version_script.lds -shared -Wl,-soname,libtorch_cpu.so -o lib/libtorch_cpu.so caffe2/quantization/server/CMakeFiles/caffe2_dnnlowp_avx2_ops.dir/elementwise_sum_dnnlowp_op_avx2.cc.o caffe2/quantization/server/CMakeFiles/caffe2_dnnlowp_avx2_ops.dir/fully_connected_fake_lowp_op_avx2.cc.o caffe2/quantization/server/CMakeFiles/caffe2_dnnlowp_avx2_ops.dir/group_norm_dnnlowp_op_avx2.cc.o caffe2/quantization/server/CMakeFiles/caffe2_dnnlowp_avx2_ops.dir/pool_dnnlowp_op_avx2.cc.o caffe2/quantization/server/CMakeFiles/caffe2_dnnlowp_avx2_ops.dir/relu_dnnlowp_op_avx2.cc.o caffe2/quantization/server/CMakeFiles/caffe2_dnnlowp_avx2_ops.dir/spatial_batch_norm_dnnlowp_op_avx2.cc.o caffe2/quantization/server/CMakeFiles/caffe2_dnnlowp_avx2_ops.dir/transpose.cc.o caffe2/quantization/server/CMakeFiles/caffe2_dnnlowp_avx2_ops.dir/norm_minimization_avx2.cc.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/AccumulateType.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/BatchedFallback.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/BatchedTensorImpl.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/BatchingRegistrations.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/CPUGeneratorImpl.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/ConjugateFallback.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/Context.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/DLConvertor.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/DynamicLibrary.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/ExpandUtils.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/MapAllocator.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/MemoryOverlap.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/NamedTensorUtils.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/ParallelCommon.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/ParallelNative.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/ParallelNativeTBB.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/ParallelOpenMP.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/ParallelThreadPoolNative.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/ScalarOps.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/SequenceNumber.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/SparseCsrTensorImpl.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/SparseTensorImpl.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/SparseTensorUtils.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/TensorGeometry.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/TensorIndexing.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/TensorIterator.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/TensorMeta.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/TensorNames.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/TensorUtils.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/ThreadLocalState.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/Utils.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/Version.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/VmapMode.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/VmapModeRegistrations.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/VmapTransforms.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/autocast_mode.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/cpu/FlushDenormal.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/detail/CPUGuardImpl.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/detail/CUDAHooksInterface.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/detail/HIPHooksInterface.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/detail/MetaGuardImpl.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/record_function.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/ATenGeneral.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/BackendSelectFallbackKernel.cpp.o ca
/opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/ld.gold: internal error in override_version, at resolve.cc:61
collect2: error: ld returned 1 exit status
[5615/6018] Building CXX object caffe2/CMakeFiles/plan_executor_test.dir/core/plan_executor_test.cc.o
[5616/6018] Building CXX object caffe2/CMakeFiles/workspace_test.dir/core/workspace_test.cc.o
[5617/6018] Building CXX object test_jit/CMakeFiles/backend_with_compiler.dir/test_backend_compiler_lib.cpp.o
[5618/6018] Building CXX object caffe2/CMakeFiles/make_boxed_from_unboxed_functor_test.dir/__/aten/src/ATen/core/boxing/impl/make_boxed_from_unboxed_functor_test.cpp.o
[5619/6018] Building CXX object test_jit/CMakeFiles/backend_with_compiler.dir/test_backend_compiler_preprocess.cpp.o
[5620/6018] Building CXX object test_jit/CMakeFiles/jitbackend_test.dir/test_backend_lib.cpp.o
[5621/6018] Building CXX object test_jit/CMakeFiles/test_jit.dir/test_code_template.cpp.o

See CircleCI build binary_linux_libtorch_3_7m_cu111_devtoolset7_nightly_shared-without-deps_build (25/76)

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

unknown cuda version 11.1
+ CUDA_VERSION=11.1
+ echo 'Using CUDA 11.1 as determined by DESIRED_CUDA'
Using CUDA 11.1 as determined by DESIRED_CUDA
+ [[ '' == *\U\b\u\n\t\u* ]]
++ echo 11.1
++ tr -d .
+ cuda_version_nodot=111
+ TORCH_CUDA_ARCH_LIST='3.7;5.0;6.0;7.0'
+ case ${CUDA_VERSION} in
+ echo 'unknown cuda version 11.1'
unknown cuda version 11.1
+ exit 1


Exited with code exit status 1

See CircleCI build binary_macos_conda_3_9_cpu_nightly_build (26/76)

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

Apr 13 10:03:01 AttributeError: module 'distutils' has no attribute 'version'
Apr 13 10:03:01 Traceback (most recent call last):
Apr 13 10:03:01   File "/Users/distiller/project/conda/conda-bld/pytorch_1649844074056/work/setup.py", line 309, in <module>
Apr 13 10:03:01 Building wheel torch-1.10.0.dev20220413
Apr 13 10:03:01     cmake = CMake()
Apr 13 10:03:01   File "/Users/distiller/project/conda/conda-bld/pytorch_1649844074056/work/tools/setup_helpers/cmake.py", line 102, in __init__
Apr 13 10:03:01     self._cmake_command = CMake._get_cmake_command()
Apr 13 10:03:01   File "/Users/distiller/project/conda/conda-bld/pytorch_1649844074056/work/tools/setup_helpers/cmake.py", line 126, in _get_cmake_command
Apr 13 10:03:01     elif cmake is not None and CMake._get_version(cmake) >= distutils.version.LooseVersion("3.5.0"):
Apr 13 10:03:01   File "/Users/distiller/project/conda/conda-bld/pytorch_1649844074056/work/tools/setup_helpers/cmake.py", line 137, in _get_version
Apr 13 10:03:01     return distutils.version.LooseVersion(line.strip().split(' ')[2])
Apr 13 10:03:01 AttributeError: module 'distutils' has no attribute 'version'
Apr 13 10:03:02 Traceback (most recent call last):
Apr 13 10:03:02   File "/Users/distiller/project/conda/bin/conda-build", line 11, in <module>
Apr 13 10:03:02     sys.exit(main())
Apr 13 10:03:02   File "/Users/distiller/project/conda/lib/python3.9/site-packages/conda_build/cli/main_build.py", line 488, in main
Apr 13 10:03:02     execute(sys.argv[1:])
Apr 13 10:03:02   File "/Users/distiller/project/conda/lib/python3.9/site-packages/conda_build/cli/main_build.py", line 477, in execute
Apr 13 10:03:02     outputs = api.build(args.recipe, post=args.post, test_run_post=args.test_run_post,
Apr 13 10:03:02   File "/Users/distiller/project/conda/lib/python3.9/site-packages/conda_build/api.py", line 186, in build
Apr 13 10:03:02     return build_tree(
Apr 13 10:03:02   File "/Users/distiller/project/conda/lib/python3.9/site-packages/conda_build/build.py", line 3088, in build_tree

See CircleCI build binary_linux_conda_3_6_cu113_devtoolset7_nightly_build (27/76)

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

CMake Error at cmake/Codegen.cmake:228 (message):
-- Performing Test COMPILER_SUPPORTS_NO_AVX256_SPLIT
-- Performing Test COMPILER_SUPPORTS_NO_AVX256_SPLIT - Success
Traceback (most recent call last):
  File "/opt/conda/conda-bld/pytorch_1649843160083/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_place/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/opt/conda/conda-bld/pytorch_1649843160083/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_place/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/opt/conda/conda-bld/pytorch_1649843160083/work/tools/codegen/gen.py", line 10, in <module>
    from dataclasses import dataclass
ModuleNotFoundError: No module named 'dataclasses'
CMake Error at cmake/Codegen.cmake:228 (message):
  Failed to get generated_cpp list
Call Stack (most recent call first):
  caffe2/CMakeLists.txt:2 (include)


-- 
-- Configuring incomplete, errors occurred!
See also "$SRC_DIR/build/CMakeFiles/CMakeOutput.log".
See also "$SRC_DIR/build/CMakeFiles/CMakeError.log".
Building wheel torch-1.10.0.dev20220413

See CircleCI build binary_linux_libtorch_3_7m_cu102_devtoolset7_nightly_static-without-deps_test (28/76)

Step: "Set Up CI Environment After attach_workspace" (full log | diagnosis details | 🔁 rerun)

ERROR: Installation has failed. Please see the... the Linux driver download page at www.nvidia.com.
[   73.809444] audit: type=1400 audit(1649847150.130:104): apparmor="STATUS" operation="profile_replace" info="same as current profile, skipping" profile="unconfined" name="snap-update-ns.google-cloud-sdk" pid=5679 comm="apparmor_parser"
[  533.842376] IPMI message handler: version 39.2
[  533.845471] ipmi device interface
[  533.867743] nvidia: loading out-of-tree module taints kernel.
[  533.867752] nvidia: module license 'NVIDIA' taints kernel.
[  533.867753] Disabling lock debugging due to kernel taint
[  533.886660] nvidia: module verification failed: signature and/or required key missing - tainting kernel
[  533.896616] nvidia-nvlink: Nvlink Core is being initialized, major device number 239
[  533.897260] NVRM: No NVIDIA GPU found.
[  533.897560] nvidia-nvlink: Unregistered the Nvlink Core, major device number 239
ERROR: Installation has failed.  Please see the file '/var/log/nvidia-installer.log' for details.  You may find suggestions on fixing installation problems in the README available on the Linux driver download page at www.nvidia.com.
+ false


Exited with code exit status 1

See CircleCI build binary_linux_manywheel_3_8m_rocm4_1_devtoolset7_nightly_test (29/76)

Step: "Set Up CI Environment After attach_workspace" (full log | diagnosis details | 🔁 rerun)

ERROR: Installation has failed. Please see the... the Linux driver download page at www.nvidia.com.
[   64.175813] audit: type=1400 audit(1649846490.990:104): apparmor="STATUS" operation="profile_replace" info="same as current profile, skipping" profile="unconfined" name="snap-update-ns.google-cloud-sdk" pid=5743 comm="apparmor_parser"
[  475.725595] IPMI message handler: version 39.2
[  475.728605] ipmi device interface
[  475.745974] nvidia: loading out-of-tree module taints kernel.
[  475.745983] nvidia: module license 'NVIDIA' taints kernel.
[  475.745984] Disabling lock debugging due to kernel taint
[  475.763571] nvidia: module verification failed: signature and/or required key missing - tainting kernel
[  475.772792] nvidia-nvlink: Nvlink Core is being initialized, major device number 239
[  475.774089] NVRM: No NVIDIA GPU found.
[  475.774386] nvidia-nvlink: Unregistered the Nvlink Core, major device number 239
ERROR: Installation has failed.  Please see the file '/var/log/nvidia-installer.log' for details.  You may find suggestions on fixing installation problems in the README available on the Linux driver download page at www.nvidia.com.
+ false


Exited with code exit status 1

See CircleCI build binary_linux_libtorch_3_7m_cu111_gcc5_4_cxx11-abi_nightly_shared-without-deps_build (30/76)

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

unknown cuda version 11.1
+ CUDA_VERSION=11.1
+ echo 'Using CUDA 11.1 as determined by DESIRED_CUDA'
Using CUDA 11.1 as determined by DESIRED_CUDA
+ [[ '' == *\U\b\u\n\t\u* ]]
++ echo 11.1
++ tr -d .
+ cuda_version_nodot=111
+ TORCH_CUDA_ARCH_LIST='3.7;5.0;6.0;7.0'
+ case ${CUDA_VERSION} in
+ echo 'unknown cuda version 11.1'
unknown cuda version 11.1
+ exit 1


Exited with code exit status 1

See CircleCI build binary_linux_manywheel_3_8m_cu113_devtoolset7_nightly_test (31/76)

Step: "Set Up CI Environment After attach_workspace" (full log | diagnosis details | 🔁 rerun)

ERROR: Installation has failed. Please see the... the Linux driver download page at www.nvidia.com.
[   80.426592] audit: type=1400 audit(1649850127.428:104): apparmor="STATUS" operation="profile_replace" info="same as current profile, skipping" profile="unconfined" name="snap-update-ns.google-cloud-sdk" pid=8989 comm="apparmor_parser"
[  384.662674] IPMI message handler: version 39.2
[  384.669843] ipmi device interface
[  384.684716] nvidia: loading out-of-tree module taints kernel.
[  384.684724] nvidia: module license 'NVIDIA' taints kernel.
[  384.684726] Disabling lock debugging due to kernel taint
[  384.700214] nvidia: module verification failed: signature and/or required key missing - tainting kernel
[  384.709866] nvidia-nvlink: Nvlink Core is being initialized, major device number 239
[  384.711213] NVRM: No NVIDIA GPU found.
[  384.712023] nvidia-nvlink: Unregistered the Nvlink Core, major device number 239
ERROR: Installation has failed.  Please see the file '/var/log/nvidia-installer.log' for details.  You may find suggestions on fixing installation problems in the README available on the Linux driver download page at www.nvidia.com.
+ false


Exited with code exit status 1

See CircleCI build binary_linux_manywheel_3_7m_cu102_devtoolset7_nightly_test (32/76)

Step: "Set Up CI Environment After attach_workspace" (full log | diagnosis details | 🔁 rerun)

ERROR: Installation has failed. Please see the... the Linux driver download page at www.nvidia.com.
[   65.399441] audit: type=1400 audit(1649847141.750:104): apparmor="STATUS" operation="profile_replace" info="same as current profile, skipping" profile="unconfined" name="snap-update-ns.google-cloud-sdk" pid=5681 comm="apparmor_parser"
[  494.989994] IPMI message handler: version 39.2
[  494.994228] ipmi device interface
[  495.013938] nvidia: loading out-of-tree module taints kernel.
[  495.013947] nvidia: module license 'NVIDIA' taints kernel.
[  495.013948] Disabling lock debugging due to kernel taint
[  495.033634] nvidia: module verification failed: signature and/or required key missing - tainting kernel
[  495.043538] nvidia-nvlink: Nvlink Core is being initialized, major device number 239
[  495.044391] NVRM: No NVIDIA GPU found.
[  495.044574] nvidia-nvlink: Unregistered the Nvlink Core, major device number 239
ERROR: Installation has failed.  Please see the file '/var/log/nvidia-installer.log' for details.  You may find suggestions on fixing installation problems in the README available on the Linux driver download page at www.nvidia.com.
+ false


Exited with code exit status 1

See CircleCI build binary_macos_arm64_wheel_3_9_cpu_nightly_build (33/76)

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

Apr 13 10:02:55 AttributeError: module 'distutils' has no attribute 'version'
Apr 13 10:02:55 Building wheel torch-1.10.0.dev20220413
Apr 13 10:02:55 Traceback (most recent call last):
Apr 13 10:02:55   File "/Users/distiller/project/pytorch/setup.py", line 309, in <module>
Apr 13 10:02:55     cmake = CMake()
Apr 13 10:02:55   File "/Users/distiller/project/pytorch/tools/setup_helpers/cmake.py", line 102, in __init__
Apr 13 10:02:55     self._cmake_command = CMake._get_cmake_command()
Apr 13 10:02:55   File "/Users/distiller/project/pytorch/tools/setup_helpers/cmake.py", line 126, in _get_cmake_command
Apr 13 10:02:55     elif cmake is not None and CMake._get_version(cmake) >= distutils.version.LooseVersion("3.5.0"):
Apr 13 10:02:55   File "/Users/distiller/project/pytorch/tools/setup_helpers/cmake.py", line 137, in _get_version
Apr 13 10:02:55     return distutils.version.LooseVersion(line.strip().split(' ')[2])
Apr 13 10:02:55 AttributeError: module 'distutils' has no attribute 'version'


Exited with code exit status 1

See CircleCI build binary_linux_libtorch_3_7m_cu111_devtoolset7_nightly_static-with-deps_build (34/76)

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

unknown cuda version 11.1
+ CUDA_VERSION=11.1
+ echo 'Using CUDA 11.1 as determined by DESIRED_CUDA'
Using CUDA 11.1 as determined by DESIRED_CUDA
+ [[ '' == *\U\b\u\n\t\u* ]]
++ echo 11.1
++ tr -d .
+ cuda_version_nodot=111
+ TORCH_CUDA_ARCH_LIST='3.7;5.0;6.0;7.0'
+ case ${CUDA_VERSION} in
+ echo 'unknown cuda version 11.1'
unknown cuda version 11.1
+ exit 1


Exited with code exit status 1

See CircleCI build binary_linux_conda_3_7_cu113_devtoolset7_nightly_build (35/76)

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

AttributeError: module 'distutils' has no attribute 'version'
Traceback (most recent call last):
  File "setup.py", line 309, in <module>
Building wheel torch-1.10.0.dev20220413
    cmake = CMake()
  File "/opt/conda/conda-bld/pytorch_1649843148336/work/tools/setup_helpers/cmake.py", line 102, in __init__
    self._cmake_command = CMake._get_cmake_command()
  File "/opt/conda/conda-bld/pytorch_1649843148336/work/tools/setup_helpers/cmake.py", line 123, in _get_cmake_command
    if cmake3 is not None and CMake._get_version(cmake3) >= distutils.version.LooseVersion("3.5.0"):
  File "/opt/conda/conda-bld/pytorch_1649843148336/work/tools/setup_helpers/cmake.py", line 137, in _get_version
    return distutils.version.LooseVersion(line.strip().split(' ')[2])
AttributeError: module 'distutils' has no attribute 'version'
Traceback (most recent call last):
  File "/opt/conda/bin/conda-build", line 11, in <module>
    sys.exit(main())
  File "/opt/conda/lib/python3.9/site-packages/conda_build/cli/main_build.py", line 488, in main
    execute(sys.argv[1:])
  File "/opt/conda/lib/python3.9/site-packages/conda_build/cli/main_build.py", line 477, in execute
    outputs = api.build(args.recipe, post=args.post, test_run_post=args.test_run_post,
  File "/opt/conda/lib/python3.9/site-packages/conda_build/api.py", line 186, in build
    return build_tree(
  File "/opt/conda/lib/python3.9/site-packages/conda_build/build.py", line 3088, in build_tree

See CircleCI build binary_linux_libtorch_3_7m_cu102_gcc5_4_cxx11-abi_nightly_shared-without-deps_test (36/76)

Step: "Set Up CI Environment After attach_workspace" (full log | diagnosis details | 🔁 rerun)

ERROR: Installation has failed. Please see the... the Linux driver download page at www.nvidia.com.
[   75.324494] audit: type=1400 audit(1649847441.179:104): apparmor="STATUS" operation="profile_replace" info="same as current profile, skipping" profile="unconfined" name="snap-update-ns.google-cloud-sdk" pid=9014 comm="apparmor_parser"
[  440.294297] IPMI message handler: version 39.2
[  440.296640] ipmi device interface
[  440.311532] nvidia: loading out-of-tree module taints kernel.
[  440.311540] nvidia: module license 'NVIDIA' taints kernel.
[  440.311541] Disabling lock debugging due to kernel taint
[  440.327964] nvidia: module verification failed: signature and/or required key missing - tainting kernel
[  440.338836] nvidia-nvlink: Nvlink Core is being initialized, major device number 239
[  440.340351] NVRM: No NVIDIA GPU found.
[  440.340656] nvidia-nvlink: Unregistered the Nvlink Core, major device number 239
ERROR: Installation has failed.  Please see the file '/var/log/nvidia-installer.log' for details.  You may find suggestions on fixing installation problems in the README available on the Linux driver download page at www.nvidia.com.
+ false


Exited with code exit status 1

See CircleCI build binary_linux_libtorch_3_7m_cu102_devtoolset7_nightly_shared-without-deps_test (37/76)

Step: "Set Up CI Environment After attach_workspace" (full log | diagnosis details | 🔁 rerun)

ERROR: Installation has failed. Please see the... the Linux driver download page at www.nvidia.com.
[   67.569314] audit: type=1400 audit(1649847424.176:104): apparmor="STATUS" operation="profile_replace" info="same as current profile, skipping" profile="unconfined" name="snap-update-ns.google-cloud-sdk" pid=8101 comm="apparmor_parser"
[  364.741174] IPMI message handler: version 39.2
[  364.743383] ipmi device interface
[  364.757689] nvidia: loading out-of-tree module taints kernel.
[  364.757697] nvidia: module license 'NVIDIA' taints kernel.
[  364.757697] Disabling lock debugging due to kernel taint
[  364.771584] nvidia: module verification failed: signature and/or required key missing - tainting kernel
[  364.780640] nvidia-nvlink: Nvlink Core is being initialized, major device number 239
[  364.781220] NVRM: No NVIDIA GPU found.
[  364.781375] nvidia-nvlink: Unregistered the Nvlink Core, major device number 239
ERROR: Installation has failed.  Please see the file '/var/log/nvidia-installer.log' for details.  You may find suggestions on fixing installation problems in the README available on the Linux driver download page at www.nvidia.com.
+ false


Exited with code exit status 1

See CircleCI build binary_linux_manywheel_3_9m_rocm4_2_devtoolset7_nightly_test (38/76)

Step: "Set Up CI Environment After attach_workspace" (full log | diagnosis details | 🔁 rerun)

ERROR: Installation has failed. Please see the... the Linux driver download page at www.nvidia.com.
[   77.884673] audit: type=1400 audit(1649846698.923:104): apparmor="STATUS" operation="profile_replace" info="same as current profile, skipping" profile="unconfined" name="snap-update-ns.google-cloud-sdk" pid=8795 comm="apparmor_parser"
[  476.608990] IPMI message handler: version 39.2
[  476.612368] ipmi device interface
[  476.632356] nvidia: loading out-of-tree module taints kernel.
[  476.632365] nvidia: module license 'NVIDIA' taints kernel.
[  476.632366] Disabling lock debugging due to kernel taint
[  476.651200] nvidia: module verification failed: signature and/or required key missing - tainting kernel
[  476.660615] nvidia-nvlink: Nvlink Core is being initialized, major device number 239
[  476.662348] NVRM: No NVIDIA GPU found.
[  476.662573] nvidia-nvlink: Unregistered the Nvlink Core, major device number 239
ERROR: Installation has failed.  Please see the file '/var/log/nvidia-installer.log' for details.  You may find suggestions on fixing installation problems in the README available on the Linux driver download page at www.nvidia.com.
+ false


Exited with code exit status 1

See CircleCI build binary_linux_manywheel_3_6m_cu111_devtoolset7_nightly_build (39/76)

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

unknown cuda version 11.1
+ CUDA_VERSION=11.1
+ echo 'Using CUDA 11.1 as determined by DESIRED_CUDA'
Using CUDA 11.1 as determined by DESIRED_CUDA
+ [[ '' == *\U\b\u\n\t\u* ]]
++ echo 11.1
++ tr -d .
+ cuda_version_nodot=111
+ TORCH_CUDA_ARCH_LIST='3.7;5.0;6.0;7.0'
+ case ${CUDA_VERSION} in
+ echo 'unknown cuda version 11.1'
unknown cuda version 11.1
+ exit 1


Exited with code exit status 1

See CircleCI build binary_linux_libtorch_3_7m_cu113_gcc5_4_cxx11-abi_nightly_shared-without-deps_test (40/76)

Step: "Set Up CI Environment After attach_workspace" (full log | diagnosis details | 🔁 rerun)

ERROR: Installation has failed. Please see the... the Linux driver download page at www.nvidia.com.
[   68.725669] audit: type=1400 audit(1649850656.202:104): apparmor="STATUS" operation="profile_replace" info="same as current profile, skipping" profile="unconfined" name="snap-update-ns.google-cloud-sdk" pid=8971 comm="apparmor_parser"
[  367.079566] IPMI message handler: version 39.2
[  367.081863] ipmi device interface
[  367.095668] nvidia: loading out-of-tree module taints kernel.
[  367.095677] nvidia: module license 'NVIDIA' taints kernel.
[  367.095678] Disabling lock debugging due to kernel taint
[  367.109666] nvidia: module verification failed: signature and/or required key missing - tainting kernel
[  367.119108] nvidia-nvlink: Nvlink Core is being initialized, major device number 239
[  367.120339] NVRM: No NVIDIA GPU found.
[  367.120654] nvidia-nvlink: Unregistered the Nvlink Core, major device number 239
ERROR: Installation has failed.  Please see the file '/var/log/nvidia-installer.log' for details.  You may find suggestions on fixing installation problems in the README available on the Linux driver download page at www.nvidia.com.
+ false


Exited with code exit status 1

See CircleCI build binary_linux_manywheel_3_6m_rocm4_2_devtoolset7_nightly_test (41/76)

Step: "Set Up CI Environment After attach_workspace" (full log | diagnosis details | 🔁 rerun)

ERROR: Installation has failed. Please see the... the Linux driver download page at www.nvidia.com.
[  112.770647] audit: type=1400 audit(1649846802.928:104): apparmor="STATUS" operation="profile_replace" info="same as current profile, skipping" profile="unconfined" name="snap-update-ns.google-cloud-sdk" pid=5773 comm="apparmor_parser"
[  426.059620] IPMI message handler: version 39.2
[  426.063174] ipmi device interface
[  426.082465] nvidia: loading out-of-tree module taints kernel.
[  426.082474] nvidia: module license 'NVIDIA' taints kernel.
[  426.082476] Disabling lock debugging due to kernel taint
[  426.102069] nvidia: module verification failed: signature and/or required key missing - tainting kernel
[  426.111794] nvidia-nvlink: Nvlink Core is being initialized, major device number 239
[  426.113242] NVRM: No NVIDIA GPU found.
[  426.113461] nvidia-nvlink: Unregistered the Nvlink Core, major device number 239
ERROR: Installation has failed.  Please see the file '/var/log/nvidia-installer.log' for details.  You may find suggestions on fixing installation problems in the README available on the Linux driver download page at www.nvidia.com.
+ false


Exited with code exit status 1

See CircleCI build binary_linux_libtorch_3_7m_cu111_devtoolset7_nightly_shared-with-deps_build (42/76)

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

unknown cuda version 11.1
+ CUDA_VERSION=11.1
+ echo 'Using CUDA 11.1 as determined by DESIRED_CUDA'
Using CUDA 11.1 as determined by DESIRED_CUDA
+ [[ '' == *\U\b\u\n\t\u* ]]
++ echo 11.1
++ tr -d .
+ cuda_version_nodot=111
+ TORCH_CUDA_ARCH_LIST='3.7;5.0;6.0;7.0'
+ case ${CUDA_VERSION} in
+ echo 'unknown cuda version 11.1'
unknown cuda version 11.1
+ exit 1


Exited with code exit status 1

See CircleCI build binary_windows_conda_3_6_cu102_nightly_build (43/76)

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

CMake Error at cmake/Codegen.cmake:228 (message):
INFO CUPTI unavailable or disabled - not building GPU profilers
INFO CUPTI_INCLUDE_DIR = /extras/CUPTI/include
Traceback (most recent call last):
  File "C:\cb\pytorch_1000000000000\_h_env\lib\runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "C:\cb\pytorch_1000000000000\_h_env\lib\runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "C:\cb\pytorch_1000000000000\work\tools\codegen\gen.py", line 10, in <module>
    from dataclasses import dataclass
ModuleNotFoundError: No module named 'dataclasses'
CMake Error at cmake/Codegen.cmake:228 (message):
  Failed to get generated_cpp list
Call Stack (most recent call first):
  caffe2/CMakeLists.txt:2 (include)


Forced recaches                       0
Cache write errors                    0
Compilation failures                  0
Cache errors                          0
Non-cacheable compilations            0

See CircleCI build binary_linux_libtorch_3_7m_cu111_gcc5_4_cxx11-abi_nightly_shared-with-deps_build (44/76)

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

unknown cuda version 11.1
+ CUDA_VERSION=11.1
+ echo 'Using CUDA 11.1 as determined by DESIRED_CUDA'
Using CUDA 11.1 as determined by DESIRED_CUDA
+ [[ '' == *\U\b\u\n\t\u* ]]
++ echo 11.1
++ tr -d .
+ cuda_version_nodot=111
+ TORCH_CUDA_ARCH_LIST='3.7;5.0;6.0;7.0'
+ case ${CUDA_VERSION} in
+ echo 'unknown cuda version 11.1'
unknown cuda version 11.1
+ exit 1


Exited with code exit status 1

See CircleCI build binary_linux_libtorch_3_7m_cu102_gcc5_4_cxx11-abi_nightly_static-with-deps_test (45/76)

Step: "Set Up CI Environment After attach_workspace" (full log | diagnosis details | 🔁 rerun)

ERROR: Installation has failed. Please see the... the Linux driver download page at www.nvidia.com.
[   76.583696] audit: type=1400 audit(1649847481.267:104): apparmor="STATUS" operation="profile_replace" info="same as current profile, skipping" profile="unconfined" name="snap-update-ns.google-cloud-sdk" pid=8694 comm="apparmor_parser"
[  367.460108] IPMI message handler: version 39.2
[  367.462672] ipmi device interface
[  367.476900] nvidia: loading out-of-tree module taints kernel.
[  367.476908] nvidia: module license 'NVIDIA' taints kernel.
[  367.476909] Disabling lock debugging due to kernel taint
[  367.491886] nvidia: module verification failed: signature and/or required key missing - tainting kernel
[  367.501573] nvidia-nvlink: Nvlink Core is being initialized, major device number 239
[  367.502280] NVRM: No NVIDIA GPU found.
[  367.502475] nvidia-nvlink: Unregistered the Nvlink Core, major device number 239
ERROR: Installation has failed.  Please see the file '/var/log/nvidia-installer.log' for details.  You may find suggestions on fixing installation problems in the README available on the Linux driver download page at www.nvidia.com.
+ false


Exited with code exit status 1

See CircleCI build binary_linux_conda_3_8_cu102_devtoolset7_nightly_build (46/76)

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

AttributeError: module 'distutils' has no attribute 'version'
Traceback (most recent call last):
  File "setup.py", line 309, in <module>
Building wheel torch-1.10.0.dev20220413
    cmake = CMake()
  File "/opt/conda/conda-bld/pytorch_1649843124515/work/tools/setup_helpers/cmake.py", line 102, in __init__
    self._cmake_command = CMake._get_cmake_command()
  File "/opt/conda/conda-bld/pytorch_1649843124515/work/tools/setup_helpers/cmake.py", line 123, in _get_cmake_command
    if cmake3 is not None and CMake._get_version(cmake3) >= distutils.version.LooseVersion("3.5.0"):
  File "/opt/conda/conda-bld/pytorch_1649843124515/work/tools/setup_helpers/cmake.py", line 137, in _get_version
    return distutils.version.LooseVersion(line.strip().split(' ')[2])
AttributeError: module 'distutils' has no attribute 'version'
Traceback (most recent call last):
  File "/opt/conda/bin/conda-build", line 11, in <module>
    sys.exit(main())
  File "/opt/conda/lib/python3.9/site-packages/conda_build/cli/main_build.py", line 488, in main
    execute(sys.argv[1:])
  File "/opt/conda/lib/python3.9/site-packages/conda_build/cli/main_build.py", line 477, in execute
    outputs = api.build(args.recipe, post=args.post, test_run_post=args.test_run_post,
  File "/opt/conda/lib/python3.9/site-packages/conda_build/api.py", line 186, in build
    return build_tree(
  File "/opt/conda/lib/python3.9/site-packages/conda_build/build.py", line 3088, in build_tree

See CircleCI build binary_windows_wheel_3_6_cu102_nightly_build (47/76)

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

echo CUDA 10.2 installed failed.
 echo Installing cuDNN...  
 7z x C:\w\b\windows\internal\\..\temp_build\cudnn-10.2-windows10-x64-v7.6.5.32.zip -o"C:\w\b\windows\internal\\..\temp_build\cudnn"  
 xcopy /Y "C:\w\b\windows\internal\\..\temp_build\cudnn\"cuda"\bin\*.*" "C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.2\bin"  
 xcopy /Y "C:\w\b\windows\internal\\..\temp_build\cudnn\"cuda"\"lib\x64"\*.*" "C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.2\lib\x64"  
 xcopy /Y "C:\w\b\windows\internal\\..\temp_build\cudnn\"cuda"\include\*.*" "C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.2\include"  
 echo Installing GPU driver DLLs  
 7z x C:\w\b\windows\internal\\..\temp_build\gpu_driver_dlls.zip -o"C:\Windows\System32"  
 echo Cleaning temp files  
 rd /s /q "C:\w\b\windows\internal\\..\temp_build"   || ver  1>nul  
 if not exist "C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.2\bin\nvcc.exe" (
echo CUDA 10.2 installed failed.  
 echo --------- setup.exe.log -------  
 type "C:\w\b\windows\internal\\..\temp_build\cuda\cuda_install_logs\LOG.setup.exe.log"  
 echo --------- RunDll32.exe.log  
 type "C:\w\b\windows\internal\\..\temp_build\cuda\cuda_install_logs\LOG.RunDll32.exe.log"  
 exit /b 1 
) 
) 
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100  108k  100  108k    0     0   680k      0 --:--:-- --:--:-- --:--:--  684k

See CircleCI build binary_linux_manywheel_3_7m_cpu_devtoolset7_nightly_build (48/76)

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

FAILED: lib/libtorch_cpu.so
[5592/6018] Building CXX object caffe2/CMakeFiles/kernel_function_test.dir/__/aten/src/ATen/core/boxing/impl/kernel_function_test.cpp.o
[5593/6018] Building CXX object caffe2/CMakeFiles/kernel_function_legacy_test.dir/__/aten/src/ATen/core/boxing/impl/kernel_function_legacy_test.cpp.o
[5594/6018] Building CXX object caffe2/CMakeFiles/caffe2_pybind11_state.dir/python/pybind_state_nomni.cc.o
[5595/6018] Building CXX object caffe2/CMakeFiles/type_test.dir/__/aten/src/ATen/test/type_test.cpp.o
[5596/6018] Building CXX object caffe2/CMakeFiles/net_simple_refcount_test.dir/core/net_simple_refcount_test.cc.o
[5597/6018] Building CXX object caffe2/CMakeFiles/timer_test.dir/core/timer_test.cc.o
[5598/6018] Building CXX object caffe2/CMakeFiles/fixed_divisor_test.dir/utils/fixed_divisor_test.cc.o
[5599/6018] Building CXX object caffe2/CMakeFiles/cpu_rng_test.dir/__/aten/src/ATen/test/cpu_rng_test.cpp.o
[5600/6018] Linking CXX executable bin/vec_test_all_types_AVX2
[5601/6018] Linking CXX shared library lib/libtorch_cpu.so
FAILED: lib/libtorch_cpu.so 
: && /opt/rh/devtoolset-7/root/usr/bin/c++ -fPIC -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -fopenmp -DNDEBUG -DUSE_KINETO -DLIBKINETO_NOCUPTI -DUSE_FBGEMM -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DUSE_XNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wno-narrowing -Wall -Wextra -Werror=return-type -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wno-sign-compare -Wno-unused-parameter -Wno-unused-variable -Wno-unused-function -Wno-unused-result -Wno-unused-local-typedefs -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Wno-stringop-overflow -DHAVE_AVX2_CPU_DEFINITION -O2 -DNDEBUG -DNDEBUG  -Wl,--no-as-needed -rdynamic -fuse-ld=gold  -Wl,--version-script=/pytorch/caffe2/version_script.lds -shared -Wl,-soname,libtorch_cpu.so -o lib/libtorch_cpu.so caffe2/quantization/server/CMakeFiles/caffe2_dnnlowp_avx2_ops.dir/elementwise_sum_dnnlowp_op_avx2.cc.o caffe2/quantization/server/CMakeFiles/caffe2_dnnlowp_avx2_ops.dir/fully_connected_fake_lowp_op_avx2.cc.o caffe2/quantization/server/CMakeFiles/caffe2_dnnlowp_avx2_ops.dir/group_norm_dnnlowp_op_avx2.cc.o caffe2/quantization/server/CMakeFiles/caffe2_dnnlowp_avx2_ops.dir/pool_dnnlowp_op_avx2.cc.o caffe2/quantization/server/CMakeFiles/caffe2_dnnlowp_avx2_ops.dir/relu_dnnlowp_op_avx2.cc.o caffe2/quantization/server/CMakeFiles/caffe2_dnnlowp_avx2_ops.dir/spatial_batch_norm_dnnlowp_op_avx2.cc.o caffe2/quantization/server/CMakeFiles/caffe2_dnnlowp_avx2_ops.dir/transpose.cc.o caffe2/quantization/server/CMakeFiles/caffe2_dnnlowp_avx2_ops.dir/norm_minimization_avx2.cc.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/AccumulateType.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/BatchedFallback.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/BatchedTensorImpl.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/BatchingRegistrations.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/CPUGeneratorImpl.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/ConjugateFallback.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/Context.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/DLConvertor.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/DynamicLibrary.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/ExpandUtils.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/MapAllocator.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/MemoryOverlap.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/NamedTensorUtils.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/ParallelCommon.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/ParallelNative.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/ParallelNativeTBB.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/ParallelOpenMP.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/ParallelThreadPoolNative.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/ScalarOps.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/SequenceNumber.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/SparseCsrTensorImpl.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/SparseTensorImpl.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/SparseTensorUtils.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/TensorGeometry.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/TensorIndexing.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/TensorIterator.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/TensorMeta.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/TensorNames.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/TensorUtils.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/ThreadLocalState.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/Utils.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/Version.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/VmapMode.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/VmapModeRegistrations.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/VmapTransforms.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/autocast_mode.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/cpu/FlushDenormal.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/detail/CPUGuardImpl.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/detail/CUDAHooksInterface.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/detail/HIPHooksInterface.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/detail/MetaGuardImpl.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/record_function.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/ATenGeneral.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/BackendSelectFallbackKernel.cpp.o ca
/opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/ld.gold: internal error in override_version, at resolve.cc:61
collect2: error: ld returned 1 exit status
[5602/6018] Building CXX object caffe2/CMakeFiles/stats_test.dir/core/stats_test.cc.o
[5603/6018] Building CXX object caffe2/CMakeFiles/ivalue_test.dir/__/aten/src/ATen/test/ivalue_test.cpp.o
[5604/6018] Building CXX object caffe2/CMakeFiles/cpuid_test.dir/utils/cpuid_test.cc.o
[5605/6018] Building CXX object caffe2/CMakeFiles/simple_queue_test.dir/utils/simple_queue_test.cc.o
[5606/6018] Building CXX object caffe2/CMakeFiles/net_test.dir/core/net_test.cc.o
[5607/6018] Building CXX object caffe2/CMakeFiles/distributed_test.dir/opt/distributed_test.cc.o
[5608/6018] Building CXX object caffe2/CMakeFiles/observer_test.dir/core/observer_test.cc.o

See CircleCI build binary_linux_libtorch_3_7m_cpu_devtoolset7_nightly_static-with-deps_build (49/76)

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

FAILED: lib/libtorch_cpu.so
[5669/6036] Building CXX object test_jit/CMakeFiles/test_jit.dir/test_cs_debug_info_serialization.cpp.o
[5670/6036] Building CXX object test_jit/CMakeFiles/test_jit.dir/test_jit_logging_levels.cpp.o
[5671/6036] Building CXX object test_jit/CMakeFiles/test_jit.dir/test_subgraph_rewriter.cpp.o
[5672/6036] Building CXX object test_jit/CMakeFiles/test_jit.dir/test_schema_matching.cpp.o
[5673/6036] Building CXX object test_jit/CMakeFiles/test_jit.dir/test_script_profile.cpp.o
[5674/6036] Building CXX object test_jit/CMakeFiles/test_jit.dir/test_utils.cpp.o
[5675/6036] Building CXX object test_tensorexpr/CMakeFiles/tutorial_tensorexpr.dir/tutorial.cpp.o
[5676/6036] Building CXX object test_tensorexpr/CMakeFiles/test_tensorexpr.dir/padded_buffer.cpp.o
[5677/6036] Building CXX object test_tensorexpr/CMakeFiles/test_tensorexpr.dir/test_cpp_codegen.cpp.o
[5678/6036] Linking CXX shared library lib/libtorch_cpu.so
FAILED: lib/libtorch_cpu.so 
: && /opt/rh/devtoolset-7/root/usr/bin/c++ -fPIC -Wno-deprecated-declarations -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -fopenmp -DNDEBUG -DUSE_KINETO -DLIBKINETO_NOCUPTI -DUSE_FBGEMM -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DUSE_XNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wno-narrowing -Wall -Wextra -Werror=return-type -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wno-sign-compare -Wno-unused-parameter -Wno-unused-variable -Wno-unused-function -Wno-unused-result -Wno-unused-local-typedefs -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Wno-stringop-overflow -DHAVE_AVX2_CPU_DEFINITION -O2 -DNDEBUG -DNDEBUG  -Wl,--no-as-needed -rdynamic -fuse-ld=gold  -Wl,--version-script=/pytorch/caffe2/version_script.lds -shared -Wl,-soname,libtorch_cpu.so -o lib/libtorch_cpu.so caffe2/quantization/server/CMakeFiles/caffe2_dnnlowp_avx2_ops.dir/elementwise_sum_dnnlowp_op_avx2.cc.o caffe2/quantization/server/CMakeFiles/caffe2_dnnlowp_avx2_ops.dir/fully_connected_fake_lowp_op_avx2.cc.o caffe2/quantization/server/CMakeFiles/caffe2_dnnlowp_avx2_ops.dir/group_norm_dnnlowp_op_avx2.cc.o caffe2/quantization/server/CMakeFiles/caffe2_dnnlowp_avx2_ops.dir/pool_dnnlowp_op_avx2.cc.o caffe2/quantization/server/CMakeFiles/caffe2_dnnlowp_avx2_ops.dir/relu_dnnlowp_op_avx2.cc.o caffe2/quantization/server/CMakeFiles/caffe2_dnnlowp_avx2_ops.dir/spatial_batch_norm_dnnlowp_op_avx2.cc.o caffe2/quantization/server/CMakeFiles/caffe2_dnnlowp_avx2_ops.dir/transpose.cc.o caffe2/quantization/server/CMakeFiles/caffe2_dnnlowp_avx2_ops.dir/norm_minimization_avx2.cc.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/AccumulateType.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/BatchedFallback.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/BatchedTensorImpl.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/BatchingRegistrations.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/CPUGeneratorImpl.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/ConjugateFallback.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/Context.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/DLConvertor.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/DynamicLibrary.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/ExpandUtils.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/MapAllocator.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/MemoryOverlap.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/NamedTensorUtils.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/ParallelCommon.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/ParallelNative.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/ParallelNativeTBB.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/ParallelOpenMP.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/ParallelThreadPoolNative.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/ScalarOps.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/SequenceNumber.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/SparseCsrTensorImpl.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/SparseTensorImpl.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/SparseTensorUtils.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/TensorGeometry.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/TensorIndexing.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/TensorIterator.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/TensorMeta.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/TensorNames.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/TensorUtils.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/ThreadLocalState.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/Utils.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/Version.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/VmapMode.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/VmapModeRegistrations.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/VmapTransforms.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/autocast_mode.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/cpu/FlushDenormal.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/detail/CPUGuardImpl.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/detail/CUDAHooksInterface.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/detail/HIPHooksInterface.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/detail/MetaGuardImpl.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/record_function.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/ATenGeneral.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/Backend
/opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/ld.gold: internal error in override_version, at resolve.cc:61
collect2: error: ld returned 1 exit status
[5679/6036] Building CXX object test_jit/CMakeFiles/test_jit.dir/test_lite_trainer.cpp.o
[5680/6036] Building CXX object test_tensorexpr/CMakeFiles/test_tensorexpr.dir/test_ir_verifier.cpp.o
[5681/6036] Building CXX object test_tensorexpr/CMakeFiles/test_tensorexpr.dir/test_aten.cpp.o
[5682/6036] Building CXX object test_tensorexpr/CMakeFiles/test_tensorexpr.dir/test_ir_printer.cpp.o
[5683/6036] Building CXX object test_jit/CMakeFiles/test_jit.dir/test_module_api.cpp.o
[5684/6036] Building CXX object test_jit/CMakeFiles/test_jit.dir/test_lite_interpreter.cpp.o
[5685/6036] Building CXX object test_jit/CMakeFiles/test_jit.dir/test_save_load.cpp.o

See CircleCI build binary_linux_conda_3_6_cpu_devtoolset7_nightly_build (50/76)

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

CMake Error at cmake/Codegen.cmake:228 (message):
-- Performing Test COMPILER_SUPPORTS_NO_AVX256_SPLIT
-- Performing Test COMPILER_SUPPORTS_NO_AVX256_SPLIT - Success
Traceback (most recent call last):
  File "/opt/conda/conda-bld/pytorch_1649843089400/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_place/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/opt/conda/conda-bld/pytorch_1649843089400/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_place/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/opt/conda/conda-bld/pytorch_1649843089400/work/tools/codegen/gen.py", line 10, in <module>
    from dataclasses import dataclass
ModuleNotFoundError: No module named 'dataclasses'
CMake Error at cmake/Codegen.cmake:228 (message):
  Failed to get generated_cpp list
Call Stack (most recent call first):
  caffe2/CMakeLists.txt:2 (include)


-- 
-- Configuring incomplete, errors occurred!
See also "$SRC_DIR/build/CMakeFiles/CMakeOutput.log".
See also "$SRC_DIR/build/CMakeFiles/CMakeError.log".
Building wheel torch-1.10.0.dev20220413

See CircleCI build binary_macos_conda_3_6_cpu_nightly_build (51/76)

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

Apr 13 10:04:44 CMake Error at cmake/Codegen.cmake:228 (message):
Apr 13 10:04:43 -- Performing Test COMPILER_SUPPORTS_NO_AVX256_SPLIT
Apr 13 10:04:44 -- Performing Test COMPILER_SUPPORTS_NO_AVX256_SPLIT - Failed
Apr 13 10:04:44 Traceback (most recent call last):
Apr 13 10:04:44   File "/Users/distiller/project/conda/conda-bld/pytorch_1649844131705/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_place/lib/python3.6/runpy.py", line 193, in _run_module_as_main
Apr 13 10:04:44     "__main__", mod_spec)
Apr 13 10:04:44   File "/Users/distiller/project/conda/conda-bld/pytorch_1649844131705/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_place/lib/python3.6/runpy.py", line 85, in _run_code
Apr 13 10:04:44     exec(code, run_globals)
Apr 13 10:04:44   File "/Users/distiller/project/conda/conda-bld/pytorch_1649844131705/work/tools/codegen/gen.py", line 10, in <module>
Apr 13 10:04:44     from dataclasses import dataclass
Apr 13 10:04:44 ModuleNotFoundError: No module named 'dataclasses'
Apr 13 10:04:44 CMake Error at cmake/Codegen.cmake:228 (message):
Apr 13 10:04:44   Failed to get generated_cpp list
Apr 13 10:04:44 Call Stack (most recent call first):
Apr 13 10:04:44   caffe2/CMakeLists.txt:2 (include)
Apr 13 10:04:44 
Apr 13 10:04:44 
Apr 13 10:04:44 -- 
Apr 13 10:04:44 -- Configuring incomplete, errors occurred!
Apr 13 10:04:44 See also "$SRC_DIR/build/CMakeFiles/CMakeOutput.log".
Apr 13 10:04:44 See also "$SRC_DIR/build/CMakeFiles/CMakeError.log".
Apr 13 10:04:44 -- Building version 1.10.0.dev20220413

See CircleCI build binary_linux_manywheel_3_8m_rocm4_2_devtoolset7_nightly_test (52/76)

Step: "Set Up CI Environment After attach_workspace" (full log | diagnosis details | 🔁 rerun)

ERROR: Installation has failed. Please see the... the Linux driver download page at www.nvidia.com.
[   75.382909] audit: type=1400 audit(1649846381.118:104): apparmor="STATUS" operation="profile_replace" info="same as current profile, skipping" profile="unconfined" name="snap-update-ns.google-cloud-sdk" pid=5797 comm="apparmor_parser"
[  585.868255] IPMI message handler: version 39.2
[  585.871494] ipmi device interface
[  585.890500] nvidia: loading out-of-tree module taints kernel.
[  585.890512] nvidia: module license 'NVIDIA' taints kernel.
[  585.890514] Disabling lock debugging due to kernel taint
[  585.908526] nvidia: module verification failed: signature and/or required key missing - tainting kernel
[  585.917733] nvidia-nvlink: Nvlink Core is being initialized, major device number 239
[  585.919248] NVRM: No NVIDIA GPU found.
[  585.919423] nvidia-nvlink: Unregistered the Nvlink Core, major device number 239
ERROR: Installation has failed.  Please see the file '/var/log/nvidia-installer.log' for details.  You may find suggestions on fixing installation problems in the README available on the Linux driver download page at www.nvidia.com.
+ false


Exited with code exit status 1

See CircleCI build binary_linux_libtorch_3_7m_cu113_devtoolset7_nightly_static-without-deps_test (53/76)

Step: "Set Up CI Environment After attach_workspace" (full log | diagnosis details | 🔁 rerun)

ERROR: Installation has failed. Please see the... the Linux driver download page at www.nvidia.com.
[   70.210008] audit: type=1400 audit(1649850531.194:104): apparmor="STATUS" operation="profile_replace" info="same as current profile, skipping" profile="unconfined" name="snap-update-ns.google-cloud-sdk" pid=8653 comm="apparmor_parser"
[  474.454581] IPMI message handler: version 39.2
[  474.459019] ipmi device interface
[  474.528625] nvidia: loading out-of-tree module taints kernel.
[  474.528635] nvidia: module license 'NVIDIA' taints kernel.
[  474.528635] Disabling lock debugging due to kernel taint
[  474.578046] nvidia: module verification failed: signature and/or required key missing - tainting kernel
[  474.590677] nvidia-nvlink: Nvlink Core is being initialized, major device number 239
[  474.592573] NVRM: No NVIDIA GPU found.
[  474.592801] nvidia-nvlink: Unregistered the Nvlink Core, major device number 239
ERROR: Installation has failed.  Please see the file '/var/log/nvidia-installer.log' for details.  You may find suggestions on fixing installation problems in the README available on the Linux driver download page at www.nvidia.com.
+ false


Exited with code exit status 1

See CircleCI build binary_linux_libtorch_3_7m_cu111_gcc5_4_cxx11-abi_nightly_static-without-deps_build (54/76)

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

unknown cuda version 11.1
+ CUDA_VERSION=11.1
+ echo 'Using CUDA 11.1 as determined by DESIRED_CUDA'
Using CUDA 11.1 as determined by DESIRED_CUDA
+ [[ '' == *\U\b\u\n\t\u* ]]
++ echo 11.1
++ tr -d .
+ cuda_version_nodot=111
+ TORCH_CUDA_ARCH_LIST='3.7;5.0;6.0;7.0'
+ case ${CUDA_VERSION} in
+ echo 'unknown cuda version 11.1'
unknown cuda version 11.1
+ exit 1


Exited with code exit status 1

See CircleCI build binary_linux_libtorch_3_7m_cu113_devtoolset7_nightly_static-with-deps_test (55/76)

Step: "Set Up CI Environment After attach_workspace" (full log | diagnosis details | 🔁 rerun)

ERROR: Installation has failed. Please see the... the Linux driver download page at www.nvidia.com.
[  116.812889] audit: type=1400 audit(1649850724.165:104): apparmor="STATUS" operation="profile_replace" info="same as current profile, skipping" profile="unconfined" name="snap-update-ns.google-cloud-sdk" pid=5862 comm="apparmor_parser"
[  676.597589] IPMI message handler: version 39.2
[  676.600081] ipmi device interface
[  676.616546] nvidia: loading out-of-tree module taints kernel.
[  676.616554] nvidia: module license 'NVIDIA' taints kernel.
[  676.616554] Disabling lock debugging due to kernel taint
[  676.639408] nvidia: module verification failed: signature and/or required key missing - tainting kernel
[  676.649402] nvidia-nvlink: Nvlink Core is being initialized, major device number 239
[  676.650147] NVRM: No NVIDIA GPU found.
[  676.650320] nvidia-nvlink: Unregistered the Nvlink Core, major device number 239
ERROR: Installation has failed.  Please see the file '/var/log/nvidia-installer.log' for details.  You may find suggestions on fixing installation problems in the README available on the Linux driver download page at www.nvidia.com.
+ false


Exited with code exit status 1

See CircleCI build binary_linux_manywheel_3_9m_rocm4_0_1_devtoolset7_nightly_test (56/76)

Step: "Set Up CI Environment After attach_workspace" (full log | diagnosis details | 🔁 rerun)

ERROR: Installation has failed. Please see the... the Linux driver download page at www.nvidia.com.
[  112.005003] audit: type=1400 audit(1649847239.585:104): apparmor="STATUS" operation="profile_replace" info="same as current profile, skipping" profile="unconfined" name="snap-update-ns.google-cloud-sdk" pid=5682 comm="apparmor_parser"
[  487.990677] IPMI message handler: version 39.2
[  488.001460] ipmi device interface
[  488.030696] nvidia: loading out-of-tree module taints kernel.
[  488.030705] nvidia: module license 'NVIDIA' taints kernel.
[  488.030706] Disabling lock debugging due to kernel taint
[  488.061396] nvidia: module verification failed: signature and/or required key missing - tainting kernel
[  488.071288] nvidia-nvlink: Nvlink Core is being initialized, major device number 239
[  488.072059] NVRM: No NVIDIA GPU found.
[  488.072263] nvidia-nvlink: Unregistered the Nvlink Core, major device number 239
ERROR: Installation has failed.  Please see the file '/var/log/nvidia-installer.log' for details.  You may find suggestions on fixing installation problems in the README available on the Linux driver download page at www.nvidia.com.
+ false


Exited with code exit status 1

See CircleCI build binary_linux_libtorch_3_7m_cu111_devtoolset7_nightly_static-without-deps_build (57/76)

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

unknown cuda version 11.1
+ CUDA_VERSION=11.1
+ echo 'Using CUDA 11.1 as determined by DESIRED_CUDA'
Using CUDA 11.1 as determined by DESIRED_CUDA
+ [[ '' == *\U\b\u\n\t\u* ]]
++ echo 11.1
++ tr -d .
+ cuda_version_nodot=111
+ TORCH_CUDA_ARCH_LIST='3.7;5.0;6.0;7.0'
+ case ${CUDA_VERSION} in
+ echo 'unknown cuda version 11.1'
unknown cuda version 11.1
+ exit 1


Exited with code exit status 1

See CircleCI build binary_linux_conda_3_8_cu113_devtoolset7_nightly_build (58/76)

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

AttributeError: module 'distutils' has no attribute 'version'
Traceback (most recent call last):
  File "setup.py", line 309, in <module>
Building wheel torch-1.10.0.dev20220413
    cmake = CMake()
  File "/opt/conda/conda-bld/pytorch_1649843151737/work/tools/setup_helpers/cmake.py", line 102, in __init__
    self._cmake_command = CMake._get_cmake_command()
  File "/opt/conda/conda-bld/pytorch_1649843151737/work/tools/setup_helpers/cmake.py", line 123, in _get_cmake_command
    if cmake3 is not None and CMake._get_version(cmake3) >= distutils.version.LooseVersion("3.5.0"):
  File "/opt/conda/conda-bld/pytorch_1649843151737/work/tools/setup_helpers/cmake.py", line 137, in _get_version
    return distutils.version.LooseVersion(line.strip().split(' ')[2])
AttributeError: module 'distutils' has no attribute 'version'
Traceback (most recent call last):
  File "/opt/conda/bin/conda-build", line 11, in <module>
    sys.exit(main())
  File "/opt/conda/lib/python3.9/site-packages/conda_build/cli/main_build.py", line 488, in main
    execute(sys.argv[1:])
  File "/opt/conda/lib/python3.9/site-packages/conda_build/cli/main_build.py", line 477, in execute
    outputs = api.build(args.recipe, post=args.post, test_run_post=args.test_run_post,
  File "/opt/conda/lib/python3.9/site-packages/conda_build/api.py", line 186, in build
    return build_tree(
  File "/opt/conda/lib/python3.9/site-packages/conda_build/build.py", line 3088, in build_tree

See CircleCI build binary_linux_manywheel_3_7m_cu113_devtoolset7_nightly_test (59/76)

Step: "Set Up CI Environment After attach_workspace" (full log | diagnosis details | 🔁 rerun)

ERROR: Installation has failed. Please see the... the Linux driver download page at www.nvidia.com.
[  115.644819] audit: type=1400 audit(1649850052.361:104): apparmor="STATUS" operation="profile_replace" info="same as current profile, skipping" profile="unconfined" name="snap-update-ns.google-cloud-sdk" pid=5873 comm="apparmor_parser"
[  518.337336] IPMI message handler: version 39.2
[  518.340114] ipmi device interface
[  518.353709] nvidia: loading out-of-tree module taints kernel.
[  518.353718] nvidia: module license 'NVIDIA' taints kernel.
[  518.353719] Disabling lock debugging due to kernel taint
[  518.368408] nvidia: module verification failed: signature and/or required key missing - tainting kernel
[  518.378074] nvidia-nvlink: Nvlink Core is being initialized, major device number 239
[  518.379226] NVRM: No NVIDIA GPU found.
[  518.379481] nvidia-nvlink: Unregistered the Nvlink Core, major device number 239
ERROR: Installation has failed.  Please see the file '/var/log/nvidia-installer.log' for details.  You may find suggestions on fixing installation problems in the README available on the Linux driver download page at www.nvidia.com.
+ false


Exited with code exit status 1

See CircleCI build binary_linux_manywheel_3_7m_rocm4_1_devtoolset7_nightly_test (60/76)

Step: "Set Up CI Environment After attach_workspace" (full log | diagnosis details | 🔁 rerun)

ERROR: Installation has failed. Please see the... the Linux driver download page at www.nvidia.com.
[  105.667236] audit: type=1400 audit(1649846710.977:104): apparmor="STATUS" operation="profile_replace" info="same as current profile, skipping" profile="unconfined" name="snap-update-ns.google-cloud-sdk" pid=8972 comm="apparmor_parser"
[  428.552362] IPMI message handler: version 39.2
[  428.555126] ipmi device interface
[  428.572168] nvidia: loading out-of-tree module taints kernel.
[  428.572177] nvidia: module license 'NVIDIA' taints kernel.
[  428.572178] Disabling lock debugging due to kernel taint
[  428.590556] nvidia: module verification failed: signature and/or required key missing - tainting kernel
[  428.599651] nvidia-nvlink: Nvlink Core is being initialized, major device number 239
[  428.600825] NVRM: No NVIDIA GPU found.
[  428.601020] nvidia-nvlink: Unregistered the Nvlink Core, major device number 239
ERROR: Installation has failed.  Please see the file '/var/log/nvidia-installer.log' for details.  You may find suggestions on fixing installation problems in the README available on the Linux driver download page at www.nvidia.com.
+ false


Exited with code exit status 1

See CircleCI build binary_linux_conda_3_7_cu102_devtoolset7_nightly_build (61/76)

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

AttributeError: module 'distutils' has no attribute 'version'
Traceback (most recent call last):
  File "setup.py", line 309, in <module>
Building wheel torch-1.10.0.dev20220413
    cmake = CMake()
  File "/opt/conda/conda-bld/pytorch_1649843136127/work/tools/setup_helpers/cmake.py", line 102, in __init__
    self._cmake_command = CMake._get_cmake_command()
  File "/opt/conda/conda-bld/pytorch_1649843136127/work/tools/setup_helpers/cmake.py", line 123, in _get_cmake_command
    if cmake3 is not None and CMake._get_version(cmake3) >= distutils.version.LooseVersion("3.5.0"):
  File "/opt/conda/conda-bld/pytorch_1649843136127/work/tools/setup_helpers/cmake.py", line 137, in _get_version
    return distutils.version.LooseVersion(line.strip().split(' ')[2])
AttributeError: module 'distutils' has no attribute 'version'
Traceback (most recent call last):
  File "/opt/conda/bin/conda-build", line 11, in <module>
    sys.exit(main())
  File "/opt/conda/lib/python3.9/site-packages/conda_build/cli/main_build.py", line 488, in main
    execute(sys.argv[1:])
  File "/opt/conda/lib/python3.9/site-packages/conda_build/cli/main_build.py", line 477, in execute
    outputs = api.build(args.recipe, post=args.post, test_run_post=args.test_run_post,
  File "/opt/conda/lib/python3.9/site-packages/conda_build/api.py", line 186, in build
    return build_tree(
  File "/opt/conda/lib/python3.9/site-packages/conda_build/build.py", line 3088, in build_tree

See CircleCI build binary_linux_manywheel_3_9m_cu111_devtoolset7_nightly_build (62/76)

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

unknown cuda version 11.1
+ CUDA_VERSION=11.1
+ echo 'Using CUDA 11.1 as determined by DESIRED_CUDA'
Using CUDA 11.1 as determined by DESIRED_CUDA
+ [[ '' == *\U\b\u\n\t\u* ]]
++ echo 11.1
++ tr -d .
+ cuda_version_nodot=111
+ TORCH_CUDA_ARCH_LIST='3.7;5.0;6.0;7.0'
+ case ${CUDA_VERSION} in
+ echo 'unknown cuda version 11.1'
unknown cuda version 11.1
+ exit 1


Exited with code exit status 1

See CircleCI build binary_linux_manywheel_3_9m_cu102_devtoolset7_nightly_test (63/76)

Step: "Set Up CI Environment After attach_workspace" (full log | diagnosis details | 🔁 rerun)

ERROR: Installation has failed. Please see the... the Linux driver download page at www.nvidia.com.
[  112.078671] audit: type=1400 audit(1649847443.303:104): apparmor="STATUS" operation="profile_replace" info="same as current profile, skipping" profile="unconfined" name="snap-update-ns.google-cloud-sdk" pid=6025 comm="apparmor_parser"
[  448.405073] IPMI message handler: version 39.2
[  448.408415] ipmi device interface
[  448.428242] nvidia: loading out-of-tree module taints kernel.
[  448.428255] nvidia: module license 'NVIDIA' taints kernel.
[  448.428256] Disabling lock debugging due to kernel taint
[  448.446693] nvidia: module verification failed: signature and/or required key missing - tainting kernel
[  448.456159] nvidia-nvlink: Nvlink Core is being initialized, major device number 239
[  448.457727] NVRM: No NVIDIA GPU found.
[  448.458041] nvidia-nvlink: Unregistered the Nvlink Core, major device number 239
ERROR: Installation has failed.  Please see the file '/var/log/nvidia-installer.log' for details.  You may find suggestions on fixing installation problems in the README available on the Linux driver download page at www.nvidia.com.
+ false


Exited with code exit status 1

See CircleCI build binary_linux_libtorch_3_7m_cpu_devtoolset7_nightly_shared-without-deps_build (64/76)

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

FAILED: lib/libtorch_cpu.so
[5659/6036] Building CXX object test_jit/CMakeFiles/test_jit.dir/test_qualified_name.cpp.o
[5660/6036] Building CXX object test_jit/CMakeFiles/test_jit.dir/test_jit_type.cpp.o
[5661/6036] Building CXX object test_jit/CMakeFiles/test_jit.dir/test_graph_executor.cpp.o
[5662/6036] Building CXX object test_jit/CMakeFiles/test_jit.dir/test_memory_dag.cpp.o
[5663/6036] Building CXX object test_jit/CMakeFiles/test_jit.dir/test_graph_iterator.cpp.o
[5664/6036] Building CXX object test_jit/CMakeFiles/test_jit.dir/test_peephole_optimize.cpp.o
[5665/6036] Building CXX object test_jit/CMakeFiles/test_jit.dir/test_cs_debug_info_serialization.cpp.o
[5666/6036] Building CXX object test_jit/CMakeFiles/test_jit.dir/test_interface.cpp.o
[5667/6036] Building CXX object test_jit/CMakeFiles/test_jit.dir/test_interpreter.cpp.o
[5668/6036] Linking CXX shared library lib/libtorch_cpu.so
FAILED: lib/libtorch_cpu.so 
: && /opt/rh/devtoolset-7/root/usr/bin/c++ -fPIC -Wno-deprecated-declarations -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -fopenmp -DNDEBUG -DUSE_KINETO -DLIBKINETO_NOCUPTI -DUSE_FBGEMM -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DUSE_XNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wno-narrowing -Wall -Wextra -Werror=return-type -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wno-sign-compare -Wno-unused-parameter -Wno-unused-variable -Wno-unused-function -Wno-unused-result -Wno-unused-local-typedefs -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Wno-stringop-overflow -DHAVE_AVX2_CPU_DEFINITION -O2 -DNDEBUG -DNDEBUG  -Wl,--no-as-needed -rdynamic -fuse-ld=gold  -Wl,--version-script=/pytorch/caffe2/version_script.lds -shared -Wl,-soname,libtorch_cpu.so -o lib/libtorch_cpu.so caffe2/quantization/server/CMakeFiles/caffe2_dnnlowp_avx2_ops.dir/elementwise_sum_dnnlowp_op_avx2.cc.o caffe2/quantization/server/CMakeFiles/caffe2_dnnlowp_avx2_ops.dir/fully_connected_fake_lowp_op_avx2.cc.o caffe2/quantization/server/CMakeFiles/caffe2_dnnlowp_avx2_ops.dir/group_norm_dnnlowp_op_avx2.cc.o caffe2/quantization/server/CMakeFiles/caffe2_dnnlowp_avx2_ops.dir/pool_dnnlowp_op_avx2.cc.o caffe2/quantization/server/CMakeFiles/caffe2_dnnlowp_avx2_ops.dir/relu_dnnlowp_op_avx2.cc.o caffe2/quantization/server/CMakeFiles/caffe2_dnnlowp_avx2_ops.dir/spatial_batch_norm_dnnlowp_op_avx2.cc.o caffe2/quantization/server/CMakeFiles/caffe2_dnnlowp_avx2_ops.dir/transpose.cc.o caffe2/quantization/server/CMakeFiles/caffe2_dnnlowp_avx2_ops.dir/norm_minimization_avx2.cc.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/AccumulateType.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/BatchedFallback.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/BatchedTensorImpl.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/BatchingRegistrations.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/CPUGeneratorImpl.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/ConjugateFallback.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/Context.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/DLConvertor.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/DynamicLibrary.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/ExpandUtils.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/MapAllocator.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/MemoryOverlap.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/NamedTensorUtils.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/ParallelCommon.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/ParallelNative.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/ParallelNativeTBB.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/ParallelOpenMP.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/ParallelThreadPoolNative.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/ScalarOps.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/SequenceNumber.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/SparseCsrTensorImpl.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/SparseTensorImpl.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/SparseTensorUtils.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/TensorGeometry.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/TensorIndexing.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/TensorIterator.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/TensorMeta.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/TensorNames.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/TensorUtils.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/ThreadLocalState.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/Utils.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/Version.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/VmapMode.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/VmapModeRegistrations.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/VmapTransforms.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/autocast_mode.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/cpu/FlushDenormal.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/detail/CPUGuardImpl.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/detail/CUDAHooksInterface.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/detail/HIPHooksInterface.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/detail/MetaGuardImpl.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/record_function.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/ATenGeneral.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/Backend
/opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/ld.gold: internal error in override_version, at resolve.cc:61
collect2: error: ld returned 1 exit status
[5669/6036] Building CXX object test_jit/CMakeFiles/test_jit.dir/test_subgraph_utils.cpp.o
[5670/6036] Building CXX object test_tensorexpr/CMakeFiles/tutorial_tensorexpr.dir/tutorial.cpp.o
[5671/6036] Building CXX object test_jit/CMakeFiles/test_jit.dir/test_schema_matching.cpp.o
[5672/6036] Building CXX object test_jit/CMakeFiles/test_jit.dir/test_jit_logging_levels.cpp.o
[5673/6036] Building CXX object test_tensorexpr/CMakeFiles/test_tensorexpr.dir/padded_buffer.cpp.o
[5674/6036] Building CXX object test_jit/CMakeFiles/test_jit.dir/test_subgraph_rewriter.cpp.o
[5675/6036] Building CXX object test_jit/CMakeFiles/test_jit.dir/test_subgraph_matcher.cpp.o

See CircleCI build binary_macos_wheel_3_6_cpu_nightly_build (65/76)

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

Apr 13 12:10:00 �[31mERROR: Package 'delocate' ...ires a different Python: 3.6.13 not in '>=3.7'�[0m
Apr 13 12:09:47 + sleep 8
Apr 13 12:09:55 + pip install https://github.com/matthew-brett/delocate/archive/master.zip
Apr 13 12:09:56 Collecting https://github.com/matthew-brett/delocate/archive/master.zip
Apr 13 12:09:56   Using cached https://github.com/matthew-brett/delocate/archive/master.zip
Apr 13 12:09:59   Installing build dependencies ... �[?25l-� �\� �|� �/� �done
Apr 13 12:09:59 �[?25h  Getting requirements to build wheel ... �[?25l-� �done
Apr 13 12:09:59 �[?25h    Preparing wheel metadata ... �[?25l-� �done
Apr 13 12:10:00 �[?25hCollecting packaging>=20.9
Apr 13 12:10:00   Using cached packaging-21.3-py3-none-any.whl (40 kB)
Apr 13 12:10:00 Requirement already satisfied: typing-extensions in /Users/distiller/project/miniconda/envs/wheel_py36/lib/python3.6/site-packages (from delocate==0+unknown) (4.1.1)
Apr 13 12:10:00 �[31mERROR: Package 'delocate' requires a different Python: 3.6.13 not in '>=3.7'�[0m


Exited with code exit status 1

See CircleCI build binary_linux_libtorch_3_7m_cpu_devtoolset7_nightly_shared-with-deps_build (66/76)

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

FAILED: lib/libtorch_cpu.so
[5670/6036] Building CXX object test_jit/CMakeFiles/test_jit.dir/test_subgraph_utils.cpp.o
[5671/6036] Building CXX object test_jit/CMakeFiles/test_jit.dir/test_schema_matching.cpp.o
[5672/6036] Building CXX object test_tensorexpr/CMakeFiles/test_tensorexpr.dir/padded_buffer.cpp.o
[5673/6036] Building CXX object test_tensorexpr/CMakeFiles/tutorial_tensorexpr.dir/tutorial.cpp.o
[5674/6036] Building CXX object test_jit/CMakeFiles/test_jit.dir/test_subgraph_rewriter.cpp.o
[5675/6036] Building CXX object test_jit/CMakeFiles/test_jit.dir/test_utils.cpp.o
[5676/6036] Building CXX object test_jit/CMakeFiles/test_jit.dir/test_script_profile.cpp.o
[5677/6036] Building CXX object test_tensorexpr/CMakeFiles/test_tensorexpr.dir/test_cpp_codegen.cpp.o
[5678/6036] Building CXX object test_tensorexpr/CMakeFiles/test_tensorexpr.dir/test_ir_printer.cpp.o
[5679/6036] Linking CXX shared library lib/libtorch_cpu.so
FAILED: lib/libtorch_cpu.so 
: && /opt/rh/devtoolset-7/root/usr/bin/c++ -fPIC -Wno-deprecated-declarations -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -fopenmp -DNDEBUG -DUSE_KINETO -DLIBKINETO_NOCUPTI -DUSE_FBGEMM -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DUSE_XNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wno-narrowing -Wall -Wextra -Werror=return-type -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wno-sign-compare -Wno-unused-parameter -Wno-unused-variable -Wno-unused-function -Wno-unused-result -Wno-unused-local-typedefs -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Wno-stringop-overflow -DHAVE_AVX2_CPU_DEFINITION -O2 -DNDEBUG -DNDEBUG  -Wl,--no-as-needed -rdynamic -fuse-ld=gold  -Wl,--version-script=/pytorch/caffe2/version_script.lds -shared -Wl,-soname,libtorch_cpu.so -o lib/libtorch_cpu.so caffe2/quantization/server/CMakeFiles/caffe2_dnnlowp_avx2_ops.dir/elementwise_sum_dnnlowp_op_avx2.cc.o caffe2/quantization/server/CMakeFiles/caffe2_dnnlowp_avx2_ops.dir/fully_connected_fake_lowp_op_avx2.cc.o caffe2/quantization/server/CMakeFiles/caffe2_dnnlowp_avx2_ops.dir/group_norm_dnnlowp_op_avx2.cc.o caffe2/quantization/server/CMakeFiles/caffe2_dnnlowp_avx2_ops.dir/pool_dnnlowp_op_avx2.cc.o caffe2/quantization/server/CMakeFiles/caffe2_dnnlowp_avx2_ops.dir/relu_dnnlowp_op_avx2.cc.o caffe2/quantization/server/CMakeFiles/caffe2_dnnlowp_avx2_ops.dir/spatial_batch_norm_dnnlowp_op_avx2.cc.o caffe2/quantization/server/CMakeFiles/caffe2_dnnlowp_avx2_ops.dir/transpose.cc.o caffe2/quantization/server/CMakeFiles/caffe2_dnnlowp_avx2_ops.dir/norm_minimization_avx2.cc.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/AccumulateType.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/BatchedFallback.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/BatchedTensorImpl.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/BatchingRegistrations.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/CPUGeneratorImpl.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/ConjugateFallback.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/Context.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/DLConvertor.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/DynamicLibrary.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/ExpandUtils.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/MapAllocator.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/MemoryOverlap.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/NamedTensorUtils.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/ParallelCommon.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/ParallelNative.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/ParallelNativeTBB.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/ParallelOpenMP.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/ParallelThreadPoolNative.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/ScalarOps.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/SequenceNumber.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/SparseCsrTensorImpl.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/SparseTensorImpl.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/SparseTensorUtils.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/TensorGeometry.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/TensorIndexing.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/TensorIterator.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/TensorMeta.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/TensorNames.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/TensorUtils.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/ThreadLocalState.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/Utils.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/Version.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/VmapMode.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/VmapModeRegistrations.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/VmapTransforms.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/autocast_mode.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/cpu/FlushDenormal.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/detail/CPUGuardImpl.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/detail/CUDAHooksInterface.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/detail/HIPHooksInterface.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/detail/MetaGuardImpl.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/record_function.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/ATenGeneral.cpp.o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/Backend
/opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/ld.gold: internal error in override_version, at resolve.cc:61
collect2: error: ld returned 1 exit status
[5680/6036] Building CXX object test_tensorexpr/CMakeFiles/test_tensorexpr.dir/test_ir_verifier.cpp.o
[5681/6036] Building CXX object test_jit/CMakeFiles/test_jit.dir/test_lite_trainer.cpp.o
[5682/6036] Building CXX object test_jit/CMakeFiles/test_jit.dir/test_module_api.cpp.o
[5683/6036] Building CXX object test_jit/CMakeFiles/test_jit.dir/test_misc.cpp.o
[5684/6036] Building CXX object test_tensorexpr/CMakeFiles/test_tensorexpr.dir/test_aten.cpp.o
[5685/6036] Building CXX object test_jit/CMakeFiles/test_jit.dir/test_save_load.cpp.o
[5686/6036] Building CXX object test_jit/CMakeFiles/test_jit.dir/test_lite_interpreter.cpp.o

See CircleCI build binary_windows_conda_3_6_cpu_nightly_build (67/76)

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

CMake Error at cmake/Codegen.cmake:228 (message):
INFO CUPTI unavailable or disabled - not building GPU profilers
INFO CUPTI_INCLUDE_DIR = /extras/CUPTI/include
Traceback (most recent call last):
  File "C:\cb\pytorch_1000000000000\_h_env\lib\runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "C:\cb\pytorch_1000000000000\_h_env\lib\runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "C:\cb\pytorch_1000000000000\work\tools\codegen\gen.py", line 10, in <module>
    from dataclasses import dataclass
ModuleNotFoundError: No module named 'dataclasses'
CMake Error at cmake/Codegen.cmake:228 (message):
  Failed to get generated_cpp list
Call Stack (most recent call first):
  caffe2/CMakeLists.txt:2 (include)


-- Detecting CXX compile features - done
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/cb/pytorch_1000000000000/work/tmp_bin/sccache-cl.exe - skipped
-- Detecting C compile features

See CircleCI build binary_linux_libtorch_3_7m_cu113_gcc5_4_cxx11-abi_nightly_static-without-deps_test (68/76)

Step: "Set Up CI Environment After attach_workspace" (full log | diagnosis details | 🔁 rerun)

ERROR: Installation has failed. Please see the... the Linux driver download page at www.nvidia.com.
[  117.890241] audit: type=1400 audit(1649850418.230:104): apparmor="STATUS" operation="profile_replace" info="same as current profile, skipping" profile="unconfined" name="snap-update-ns.google-cloud-sdk" pid=5807 comm="apparmor_parser"
[  596.265538] IPMI message handler: version 39.2
[  596.268606] ipmi device interface
[  596.283085] nvidia: loading out-of-tree module taints kernel.
[  596.283095] nvidia: module license 'NVIDIA' taints kernel.
[  596.283096] Disabling lock debugging due to kernel taint
[  596.297908] nvidia: module verification failed: signature and/or required key missing - tainting kernel
[  596.307284] nvidia-nvlink: Nvlink Core is being initialized, major device number 239
[  596.308345] NVRM: No NVIDIA GPU found.
[  596.308489] nvidia-nvlink: Unregistered the Nvlink Core, major device number 239
ERROR: Installation has failed.  Please see the file '/var/log/nvidia-installer.log' for details.  You may find suggestions on fixing installation problems in the README available on the Linux driver download page at www.nvidia.com.
+ false


Exited with code exit status 1

See CircleCI build binary_linux_conda_3_9_cu102_devtoolset7_nightly_build (69/76)

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

AttributeError: module 'distutils' has no attribute 'version'
Traceback (most recent call last):
  File "/opt/conda/conda-bld/pytorch_1649843131015/work/setup.py", line 309, in <module>
Building wheel torch-1.10.0.dev20220413
    cmake = CMake()
  File "/opt/conda/conda-bld/pytorch_1649843131015/work/tools/setup_helpers/cmake.py", line 102, in __init__
    self._cmake_command = CMake._get_cmake_command()
  File "/opt/conda/conda-bld/pytorch_1649843131015/work/tools/setup_helpers/cmake.py", line 123, in _get_cmake_command
    if cmake3 is not None and CMake._get_version(cmake3) >= distutils.version.LooseVersion("3.5.0"):
  File "/opt/conda/conda-bld/pytorch_1649843131015/work/tools/setup_helpers/cmake.py", line 137, in _get_version
    return distutils.version.LooseVersion(line.strip().split(' ')[2])
AttributeError: module 'distutils' has no attribute 'version'
Traceback (most recent call last):
  File "/opt/conda/bin/conda-build", line 11, in <module>
    sys.exit(main())
  File "/opt/conda/lib/python3.9/site-packages/conda_build/cli/main_build.py", line 488, in main
    execute(sys.argv[1:])
  File "/opt/conda/lib/python3.9/site-packages/conda_build/cli/main_build.py", line 477, in execute
    outputs = api.build(args.recipe, post=args.post, test_run_post=args.test_run_post,
  File "/opt/conda/lib/python3.9/site-packages/conda_build/api.py", line 186, in build
    return build_tree(
  File "/opt/conda/lib/python3.9/site-packages/conda_build/build.py", line 3088, in build_tree

See CircleCI build binary_linux_manywheel_3_6m_rocm4_0_1_devtoolset7_nightly_test (70/76)

Step: "Set Up CI Environment After attach_workspace" (full log | diagnosis details | 🔁 rerun)

ERROR: Installation has failed. Please see the... the Linux driver download page at www.nvidia.com.
[   70.658799] audit: type=1400 audit(1649847605.851:104): apparmor="STATUS" operation="profile_replace" info="same as current profile, skipping" profile="unconfined" name="snap-update-ns.google-cloud-sdk" pid=5735 comm="apparmor_parser"
[  401.518063] IPMI message handler: version 39.2
[  401.520921] ipmi device interface
[  401.541023] nvidia: loading out-of-tree module taints kernel.
[  401.541032] nvidia: module license 'NVIDIA' taints kernel.
[  401.541033] Disabling lock debugging due to kernel taint
[  401.561403] nvidia: module verification failed: signature and/or required key missing - tainting kernel
[  401.571373] nvidia-nvlink: Nvlink Core is being initialized, major device number 239
[  401.572847] NVRM: No NVIDIA GPU found.
[  401.573050] nvidia-nvlink: Unregistered the Nvlink Core, major device number 239
ERROR: Installation has failed.  Please see the file '/var/log/nvidia-installer.log' for details.  You may find suggestions on fixing installation problems in the README available on the Linux driver download page at www.nvidia.com.
+ false


Exited with code exit status 1

See CircleCI build binary_linux_conda_3_7_cpu_devtoolset7_nightly_build (71/76)

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

AttributeError: module 'distutils' has no attribute 'version'
Traceback (most recent call last):
  File "setup.py", line 309, in <module>
Building wheel torch-1.10.0.dev20220413
    cmake = CMake()
  File "/opt/conda/conda-bld/pytorch_1649843085906/work/tools/setup_helpers/cmake.py", line 102, in __init__
    self._cmake_command = CMake._get_cmake_command()
  File "/opt/conda/conda-bld/pytorch_1649843085906/work/tools/setup_helpers/cmake.py", line 123, in _get_cmake_command
    if cmake3 is not None and CMake._get_version(cmake3) >= distutils.version.LooseVersion("3.5.0"):
  File "/opt/conda/conda-bld/pytorch_1649843085906/work/tools/setup_helpers/cmake.py", line 137, in _get_version
    return distutils.version.LooseVersion(line.strip().split(' ')[2])
AttributeError: module 'distutils' has no attribute 'version'
Traceback (most recent call last):
  File "/opt/conda/bin/conda-build", line 11, in <module>
    sys.exit(main())
  File "/opt/conda/lib/python3.9/site-packages/conda_build/cli/main_build.py", line 488, in main
    execute(sys.argv[1:])
  File "/opt/conda/lib/python3.9/site-packages/conda_build/cli/main_build.py", line 477, in execute
    outputs = api.build(args.recipe, post=args.post, test_run_post=args.test_run_post,
  File "/opt/conda/lib/python3.9/site-packages/conda_build/api.py", line 186, in build
    return build_tree(
  File "/opt/conda/lib/python3.9/site-packages/conda_build/build.py", line 3088, in build_tree

See CircleCI build binary_linux_libtorch_3_7m_cu113_gcc5_4_cxx11-abi_nightly_shared-with-deps_test (72/76)

Step: "Set Up CI Environment After attach_workspace" (full log | diagnosis details | 🔁 rerun)

ERROR: Installation has failed. Please see the... the Linux driver download page at www.nvidia.com.
[   69.867462] audit: type=1400 audit(1649850967.700:104): apparmor="STATUS" operation="profile_replace" info="same as current profile, skipping" profile="unconfined" name="snap-update-ns.google-cloud-sdk" pid=5639 comm="apparmor_parser"
[  532.919440] IPMI message handler: version 39.2
[  532.922296] ipmi device interface
[  532.936992] nvidia: loading out-of-tree module taints kernel.
[  532.937001] nvidia: module license 'NVIDIA' taints kernel.
[  532.937002] Disabling lock debugging due to kernel taint
[  532.954694] nvidia: module verification failed: signature and/or required key missing - tainting kernel
[  532.964228] nvidia-nvlink: Nvlink Core is being initialized, major device number 239
[  532.965798] NVRM: No NVIDIA GPU found.
[  532.966011] nvidia-nvlink: Unregistered the Nvlink Core, major device number 239
ERROR: Installation has failed.  Please see the file '/var/log/nvidia-installer.log' for details.  You may find suggestions on fixing installation problems in the README available on the Linux driver download page at www.nvidia.com.
+ false


Exited with code exit status 1

See CircleCI build binary_macos_arm64_conda_3_8_cpu_nightly_build (73/76)

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

Apr 13 09:52:31 AttributeError: module 'distutils' has no attribute 'version'
Apr 13 09:52:31 Traceback (most recent call last):
Apr 13 09:52:31   File "setup.py", line 309, in <module>
Apr 13 09:52:31 Building wheel torch-1.10.0.dev20220413
Apr 13 09:52:31     cmake = CMake()
Apr 13 09:52:31   File "/Users/distiller/project/conda/conda-bld/pytorch_1649843451998/work/tools/setup_helpers/cmake.py", line 102, in __init__
Apr 13 09:52:31     self._cmake_command = CMake._get_cmake_command()
Apr 13 09:52:31   File "/Users/distiller/project/conda/conda-bld/pytorch_1649843451998/work/tools/setup_helpers/cmake.py", line 126, in _get_cmake_command
Apr 13 09:52:31     elif cmake is not None and CMake._get_version(cmake) >= distutils.version.LooseVersion("3.5.0"):
Apr 13 09:52:31   File "/Users/distiller/project/conda/conda-bld/pytorch_1649843451998/work/tools/setup_helpers/cmake.py", line 137, in _get_version
Apr 13 09:52:31     return distutils.version.LooseVersion(line.strip().split(' ')[2])
Apr 13 09:52:31 AttributeError: module 'distutils' has no attribute 'version'
Apr 13 09:52:32 Traceback (most recent call last):
Apr 13 09:52:32   File "/Users/distiller/project/conda/bin/conda-build", line 11, in <module>
Apr 13 09:52:32     sys.exit(main())
Apr 13 09:52:32   File "/Users/distiller/project/conda/lib/python3.9/site-packages/conda_build/cli/main_build.py", line 488, in main
Apr 13 09:52:32     execute(sys.argv[1:])
Apr 13 09:52:32   File "/Users/distiller/project/conda/lib/python3.9/site-packages/conda_build/cli/main_build.py", line 477, in execute
Apr 13 09:52:32     outputs = api.build(args.recipe, post=args.post, test_run_post=args.test_run_post,
Apr 13 09:52:32   File "/Users/distiller/project/conda/lib/python3.9/site-packages/conda_build/api.py", line 186, in build
Apr 13 09:52:32     return build_tree(
Apr 13 09:52:32   File "/Users/distiller/project/conda/lib/python3.9/site-packages/conda_build/build.py", line 3088, in build_tree

See CircleCI build binary_linux_manywheel_3_8m_cu102_devtoolset7_nightly_test (74/76)

Step: "Set Up CI Environment After attach_workspace" (full log | diagnosis details | 🔁 rerun)

ERROR: Installation has failed. Please see the... the Linux driver download page at www.nvidia.com.
[   55.757107] audit: type=1400 audit(1649847147.967:104): apparmor="STATUS" operation="profile_replace" info="same as current profile, skipping" profile="unconfined" name="snap-update-ns.google-cloud-sdk" pid=5660 comm="apparmor_parser"
[  557.337568] IPMI message handler: version 39.2
[  557.339881] ipmi device interface
[  557.360973] nvidia: loading out-of-tree module taints kernel.
[  557.360982] nvidia: module license 'NVIDIA' taints kernel.
[  557.360982] Disabling lock debugging due to kernel taint
[  557.382213] nvidia: module verification failed: signature and/or required key missing - tainting kernel
[  557.391261] nvidia-nvlink: Nvlink Core is being initialized, major device number 239
[  557.392609] NVRM: No NVIDIA GPU found.
[  557.392851] nvidia-nvlink: Unregistered the Nvlink Core, major device number 239
ERROR: Installation has failed.  Please see the file '/var/log/nvidia-installer.log' for details.  You may find suggestions on fixing installation problems in the README available on the Linux driver download page at www.nvidia.com.
+ false


Exited with code exit status 1

See CircleCI build binary_linux_manywheel_3_7m_cu111_devtoolset7_nightly_build (75/76)

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

unknown cuda version 11.1
+ CUDA_VERSION=11.1
+ echo 'Using CUDA 11.1 as determined by DESIRED_CUDA'
Using CUDA 11.1 as determined by DESIRED_CUDA
+ [[ '' == *\U\b\u\n\t\u* ]]
++ echo 11.1
++ tr -d .
+ cuda_version_nodot=111
+ TORCH_CUDA_ARCH_LIST='3.7;5.0;6.0;7.0'
+ case ${CUDA_VERSION} in
+ echo 'unknown cuda version 11.1'
unknown cuda version 11.1
+ exit 1


Exited with code exit status 1

See CircleCI build binary_linux_manywheel_3_9m_rocm4_1_devtoolset7_nightly_test (76/76)

Step: "Set Up CI Environment After attach_workspace" (full log | diagnosis details | 🔁 rerun)

ERROR: Installation has failed. Please see the... the Linux driver download page at www.nvidia.com.
[   59.606831] audit: type=1400 audit(1649846414.726:104): apparmor="STATUS" operation="profile_replace" info="same as current profile, skipping" profile="unconfined" name="snap-update-ns.google-cloud-sdk" pid=5606 comm="apparmor_parser"
[  412.034576] IPMI message handler: version 39.2
[  412.036983] ipmi device interface
[  412.056848] nvidia: loading out-of-tree module taints kernel.
[  412.056857] nvidia: module license 'NVIDIA' taints kernel.
[  412.056858] Disabling lock debugging due to kernel taint
[  412.075293] nvidia: module verification failed: signature and/or required key missing - tainting kernel
[  412.085064] nvidia-nvlink: Nvlink Core is being initialized, major device number 239
[  412.086069] NVRM: No NVIDIA GPU found.
[  412.086249] nvidia-nvlink: Unregistered the Nvlink Core, major device number 239
ERROR: Installation has failed.  Please see the file '/var/log/nvidia-installer.log' for details.  You may find suggestions on fixing installation problems in the README available on the Linux driver download page at www.nvidia.com.
+ false


Exited with code exit status 1


🕵️‍♀️ 29 failures not recognized by patterns:

The following CI failures may be due to changes from the PR
Job Step Action
CircleCI binary_windows_libtorch_3_7_cu113_debug_nightly_build Build 🔁 rerun
CircleCI binary_windows_wheel_3_6_cu111_nightly_build Build 🔁 rerun
CircleCI binary_windows_wheel_3_9_cu111_nightly_build Build 🔁 rerun
CircleCI binary_windows_conda_3_6_cu111_nightly_build Build 🔁 rerun
CircleCI binary_windows_wheel_3_7_cu113_nightly_build Build 🔁 rerun
CircleCI binary_linux_manywheel_3_6m_cpu_devtoolset7_nightly_build Build 🔁 rerun
CircleCI binary_windows_wheel_3_9_cpu_nightly_test Test 🔁 rerun
CircleCI binary_windows_wheel_3_6_cpu_nightly_build Build 🔁 rerun
CircleCI binary_linux_conda_3_7_cu111_devtoolset7_nightly_build Build 🔁 rerun
CircleCI binary_linux_manywheel_3_6m_cu102_devtoolset7_nightly_build Build 🔁 rerun
CircleCI binary_windows_wheel_3_9_cu113_nightly_build Build 🔁 rerun
CircleCI binary_windows_conda_3_8_cu111_nightly_build Build 🔁 rerun
CircleCI binary_linux_conda_3_9_cu111_devtoolset7_nightly_build Build 🔁 rerun
CircleCI binary_windows_libtorch_3_7_cu113_release_nightly_build Build 🔁 rerun
CircleCI binary_windows_conda_3_7_cu113_nightly_build Build 🔁 rerun
CircleCI binary_windows_conda_3_6_cu113_nightly_build Build 🔁 rerun
CircleCI binary_windows_wheel_3_7_cu111_nightly_build Build 🔁 rerun
CircleCI binary_windows_wheel_3_6_cu113_nightly_build Build 🔁 rerun
CircleCI binary_windows_conda_3_7_cu111_nightly_build Build 🔁 rerun
CircleCI binary_windows_wheel_3_8_cu113_nightly_build Build 🔁 rerun
CircleCI binary_windows_conda_3_9_cu113_nightly_build Build 🔁 rerun
CircleCI binary_windows_conda_3_9_cu111_nightly_build Build 🔁 rerun
CircleCI binary_windows_wheel_3_8_cu111_nightly_build Build 🔁 rerun
CircleCI binary_windows_conda_3_8_cu113_nightly_build Build 🔁 rerun
CircleCI binary_linux_manywheel_3_6m_cu113_devtoolset7_nightly_build Build 🔁 rerun
CircleCI binary_windows_libtorch_3_7_cu111_debug_nightly_build Build 🔁 rerun
CircleCI binary_linux_conda_3_6_cu111_devtoolset7_nightly_build Build 🔁 rerun
CircleCI binary_linux_conda_3_8_cu111_devtoolset7_nightly_build Build 🔁 rerun
CircleCI binary_windows_libtorch_3_7_cu111_release_nightly_build Build 🔁 rerun

❄️ 1 failure tentatively classified as flaky

but reruns have not yet been triggered to confirm:

See CircleCI build binary_linux_manywheel_3_8m_rocm4_0_1_devtoolset7_nightly_test (1/1)

Step: "Set Up CI Environment After attach_workspace" (full log | diagnosis details | 🔁 rerun) ❄️

E: Failed to fetch http://mirrors.lug.mtu.edu/u...50ab2bf45 404 Not Found [IP: 104.225.141.141 80]
+ sudo rm -f /etc/apt/heroku.list
+ sudo rm -f /etc/apt/openjdk-r-ubuntu-ppa-xenial.list
+ sudo rm -f /etc/apt/partner.list
+ sudo sed -i -e 's/http:\/\/.*archive/mirror:\/\/mirrors/' -e 's/\/ubuntu\//\/mirrors.txt/' /etc/apt/sources.list
+ sudo tee /etc/apt/apt.conf.d/80-retries
+ echo 'APT::Acquire::Retries "3";'
APT::Acquire::Retries "3";
+ retry sudo apt-get update -qq
+ sudo apt-get update -qq
W: --force-yes is deprecated, use one of the options starting with --allow instead.
E: Failed to fetch http://mirrors.lug.mtu.edu/ubuntu/dists/focal-updates/main/cnf/by-hash/SHA256/7a7c6356fd1a2cc7d470601f0f28bb4d8ffa42835dc39d19bcda52a50ab2bf45  404  Not Found [IP: 104.225.141.141 80]
E: Some index files failed to download. They have been ignored, or old ones used instead.
+ sudo apt-get update -qq
W: --force-yes is deprecated, use one of the options starting with --allow instead.
+ retry sudo apt-get -y install moreutils expect-dev
+ sudo apt-get -y install moreutils expect-dev

Reading package lists... 0%

Reading package lists... 100%

Reading package lists... Done


Building dependency tree... 0%

Building dependency tree... 0%

Building dependency tree... 50%

Building dependency tree... 50%

Building dependency tree       


Reading state information... 0%

Reading state information... 0%

Reading state information... Done

Note, selecting 'expect' instead of 'expect-dev'
The following additional packages will be installed:

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.

@facebook-github-bot
Copy link
Contributor

Thank you for signing our Contributor License Agreement. We can now accept your code for this (and any) Facebook open source project. Thanks!

Copy link
Collaborator

@peterjc123 peterjc123 left a comment

Choose a reason for hiding this comment

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

Thanks, the changes look good from my perspective. But some CI tests on Linux didn't pass, maybe rebasing could help? BTW, maybe @ezyang @albanD can help to review this stuff.

@ezyang
Copy link
Contributor

ezyang commented Jul 22, 2021

@jamesr66a do you know who the right person to review this is?

@ghost
Copy link
Author

ghost commented Jul 23, 2021

Rebased on recent master and cleaned up. Is there a windows build corresponding to my branch available online so I can double-check if the issue is fixed?

@ezyang
Copy link
Contributor

ezyang commented Jul 23, 2021

@dorozhkin-stc I went ahead and triggered binary builds for this PR, although I don't know if the binaries are saved in a spot you can get at (@zhouzhuojie do you know?)

@jamesr66a
Copy link
Collaborator

Does this have implications on custom class usage that should be mentioned in the documentation?

@jamesr66a jamesr66a self-requested a review July 23, 2021 18:01
@ghost
Copy link
Author

ghost commented Jul 24, 2021

Does this have implications on custom class usage that should be mentioned in the documentation?

None known. The intended static deregistration on library unload (which is the reverse of the static registration on library load) is designed to run completely automatically and transparent to the user.

@ezyang
Copy link
Contributor

ezyang commented Jul 25, 2021

Copy link
Collaborator

@jamesr66a jamesr66a left a comment

Choose a reason for hiding this comment

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

This seems fine to me. Adding @tugsbayasgalan @SplitInfinity @gmagogsfm as most proximate torchbind owners for additional review

@ezyang
Copy link
Contributor

ezyang commented Jul 27, 2021

@jamesr66a will you land?

@jamesr66a
Copy link
Collaborator

@ezyang sure

@jamesr66a
Copy link
Collaborator

@dorozhkin-stc can you rebase? Some of the test jobs seem to be failing due to infrastructure errors

@ghost
Copy link
Author

ghost commented Jul 29, 2021

After rebase there are still some job failures. Seems unrelated though (hard drive is out of free space on Windows machine and deadline timeout on the others).

@gmagogsfm
Copy link
Contributor

Looks good, the CI test failures seem unrelated to your change. Could you rebase to trigger a re-run so that real issues (if any) don't get masked by those unrelated failures? Thanks!

Hopefully this fixes possible crash when unload torch_cpu on Windows.
See #61111 for the details.
@DBraun
Copy link

DBraun commented Nov 1, 2021

Is there an update on this? I would really like to use a newer version of libtorch, and I think this issue is preventing me.

DBraun pushed a commit to DBraun/pytorch that referenced this pull request Nov 1, 2021
@jamesr66a
Copy link
Collaborator

@dorozhkin-stc it looks like there's still infra failures on CI here, can you rebase again?

@facebook-github-bot
Copy link
Contributor

@jamesr66a has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

@ezyang
Copy link
Contributor

ezyang commented Jan 6, 2022

bumping

@github-actions
Copy link
Contributor

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

@github-actions github-actions bot added the Stale label Apr 13, 2022
@github-actions github-actions bot closed this May 13, 2022
pytorchmergebot pushed a commit that referenced this pull request Jul 31, 2022
Trying to rebase #61290 into latest pytorch:master
Pull Request resolved: #67632
Approved by: https://github.com/ezyang
jjsjann123 pushed a commit to jjsjann123/nvfuser that referenced this pull request Oct 29, 2022
Trying to rebase pytorch/pytorch#61290 into latest pytorch:master
Pull Request resolved: pytorch/pytorch#67632
Approved by: https://github.com/ezyang
jjsjann123 pushed a commit to jjsjann123/nvfuser that referenced this pull request Nov 10, 2022
Trying to rebase pytorch/pytorch#61290 into latest pytorch:master
Pull Request resolved: pytorch/pytorch#67632
Approved by: https://github.com/ezyang
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla signed oncall: jit Add this issue/PR to JIT oncall triage queue open source Stale

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Windows] Crash when unloading torch_cpu.dll using LOCAL SYSTEM account

7 participants