I tried to build docker with dockerfile, and get following errors.
Can you help me please?
...
#12 3708. copying intel_pytorch_extension_py/ops/embeddingbag.py -> build/lib.linux-x86_64-3.8/intel_pytorch_extension/ops
#12 3708. running build_ext
#12 3708. run
#12 3709. Extracted 58 functions (0 errors) from /opt/conda/lib/python3.8/site-packages/torch/include/torch/csrc/autograd/generated/RegistrationDeclarations.h
#12 3709. Tensor clone(const Tensor & self, optional<MemoryFormat> memory_format) Tensor clone(const Tensor & self, optional<MemoryFormat> memory_format)
#12 3709. writing /tmp/pip-req-build-f_rgarrq/torch_ipex/csrc/cpu/SparseOPs.h
#12 3709. writing /tmp/pip-req-build-f_rgarrq/torch_ipex/csrc/cpu/SparseOPs_0.cpp
#12 3710. Extracted 1291 functions (0 errors) from /opt/conda/lib/python3.8/site-packages/torch/include/torch/csrc/autograd/generated/RegistrationDeclarations.h
#12 3710. writing /tmp/pip-req-build-f_rgarrq/torch_ipex/csrc/cpu/DenseOPs.h
#12 3710. writing /tmp/pip-req-build-f_rgarrq/torch_ipex/csrc/cpu/DenseOPs_0.cpp
#12 3710. writing /tmp/pip-req-build-f_rgarrq/torch_ipex/csrc/cpu/DenseOPs_1.cpp
#12 3710. writing /tmp/pip-req-build-f_rgarrq/torch_ipex/csrc/cpu/DenseOPs_2.cpp
#12 3710. writing /tmp/pip-req-build-f_rgarrq/torch_ipex/csrc/cpu/DenseOPs_3.cpp
#12 3710. writing /tmp/pip-req-build-f_rgarrq/torch_ipex/csrc/cpu/DenseOPs_4.cpp
#12 3710. writing /tmp/pip-req-build-f_rgarrq/torch_ipex/csrc/cpu/DenseOPs_5.cpp
#12 3710. writing /tmp/pip-req-build-f_rgarrq/torch_ipex/csrc/cpu/DenseOPs_6.cpp
#12 3710. writing /tmp/pip-req-build-f_rgarrq/torch_ipex/csrc/cpu/DenseOPs_7.cpp
#12 3710. CMake Warning (dev) in CMakeLists.txt:
#12 3710. No project() command is present. The top-level CMakeLists.txt file must
#12 3710. contain a literal, direct call to the project() command. Add a line of
#12 3710. code such as
#12 3710.
#12 3710. project(ProjectName)
#12 3710.
#12 3710. near the top of the file, but after cmake_minimum_required().
#12 3710.
#12 3710. CMake is pretending there is a "project(Project)" command on the first
#12 3710. line.
#12 3710. This warning is for project developers. Use -Wno-dev to suppress it.
#12 3710.
#12 3711. -- The C compiler identification is GNU 9.3.0
#12 3711. -- The CXX compiler identification is GNU 9.3.0
#12 3711. -- Check for working C compiler: /usr/bin/cc
#12 3711. -- Check for working C compiler: /usr/bin/cc -- works
#12 3711. -- Detecting C compiler ABI info
#12 3711. -- Detecting C compiler ABI info - done
#12 3711. -- Detecting C compile features
#12 3711. -- Detecting C compile features - done
#12 3711. -- Check for working CXX compiler: /usr/bin/c++
#12 3711. -- Check for working CXX compiler: /usr/bin/c++ -- works
#12 3711. -- Detecting CXX compiler ABI info
#12 3711. -- Detecting CXX compiler ABI info - done
#12 3711. -- Detecting CXX compile features
#12 3711. -- Detecting CXX compile features - done
#12 3711. -- Found PythonInterp: /opt/conda/bin/python (found version "3.8.3")
#12 3711. -- Found PythonLibs: /opt/conda/lib/libpython3.8.so
#12 3711. -- Performing Test HAS_CPP14_FLAG
#12 3711. -- Performing Test HAS_CPP14_FLAG - Success
#12 3711. -- pybind11 v2.4.dev4
#12 3711. -- Looking for pthread.h
#12 3711. -- Looking for pthread.h - found
#12 3711. -- Performing Test CMAKE_HAVE_LIBC_PTHREAD
#12 3711. -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
#12 3711. -- Looking for pthread_create in pthreads
#12 3711. -- Looking for pthread_create in pthreads - not found
#12 3711. -- Looking for pthread_create in pthread
#12 3711. -- Looking for pthread_create in pthread - found
#12 3711. -- Found Threads: TRUE
#12 3711. -- Found OpenMP_C: -fopenmp (found version "4.5")
#12 3711. -- Found OpenMP_CXX: -fopenmp (found version "4.5")
#12 3711. -- Found OpenMP: TRUE (found version "4.5")
#12 3711. -- GPU support is disabled
#12 3712. -- Found Git: /usr/bin/git (found version "2.25.1")
#12 3712. -- Primitive cache is enabled
#12 3712. -- Performing Test C_HAS_AVX512_1
#12 3712. -- Performing Test C_HAS_AVX512_1 - Failed
#12 3712. -- Performing Test C_HAS_AVX512_2
#12 3712. -- Performing Test C_HAS_AVX512_2 - Failed
#12 3712. -- Performing Test CXX_HAS_AVX512_1
#12 3712. -- Performing Test CXX_HAS_AVX512_1 - Failed
#12 3712. -- Performing Test CXX_HAS_AVX512_2
#12 3712. -- Performing Test CXX_HAS_AVX512_2 - Failed
#12 3712. -- Performing Test C_HAS_AVX512_BF16_1
#12 3713. -- Performing Test C_HAS_AVX512_BF16_1 - Failed
#12 3713. -- Performing Test C_HAS_AVX512_BF16_2
#12 3713. -- Performing Test C_HAS_AVX512_BF16_2 - Failed
#12 3713. -- Performing Test CXX_HAS_AVX512_BF16_1
#12 3713. -- Performing Test CXX_HAS_AVX512_BF16_1 - Failed
#12 3713. -- Performing Test CXX_HAS_AVX512_BF16_2
#12 3713. -- Performing Test CXX_HAS_AVX512_BF16_2 - Failed
#12 3713. CMake Error at cmake/CPU.cmake:21 (message):
#12 3713. Please build IPEX on Machines that support AVX512.
#12 3713. Call Stack (most recent call first):
#12 3713. CMakeLists.txt:19 (include)
#12 3713.
#12 3713.
#12 3713. -- Configuring incomplete, errors occurred!
#12 3713. See also "/tmp/pip-req-build-f_rgarrq/build/CMakeFiles/CMakeOutput.log".
#12 3713. See also "/tmp/pip-req-build-f_rgarrq/build/CMakeFiles/CMakeError.log".
#12 3713. Traceback (most recent call last):
#12 3713. File "<string>", line 1, in <module>
#12 3713. File "/tmp/pip-req-build-f_rgarrq/setup.py", line 244, in <module>
#12 3713. setup(
#12 3713. File "/opt/conda/lib/python3.8/site-packages/setuptools/__init__.py", line 144, in setup
#12 3713. return distutils.core.setup(**attrs)
#12 3713. File "/opt/conda/lib/python3.8/distutils/core.py", line 148, in setup
#12 3713. dist.run_commands()
#12 3713. File "/opt/conda/lib/python3.8/distutils/dist.py", line 966, in run_commands
#12 3713. self.run_command(cmd)
#12 3713. File "/opt/conda/lib/python3.8/distutils/dist.py", line 985, in run_command
#12 3713. cmd_obj.run()
#12 3713. File "/opt/conda/lib/python3.8/site-packages/wheel/bdist_wheel.py", line 223, in run
#12 3713. self.run_command('build')
#12 3713. File "/opt/conda/lib/python3.8/distutils/cmd.py", line 313, in run_command
#12 3713. self.distribution.run_command(command)
#12 3713. File "/opt/conda/lib/python3.8/distutils/dist.py", line 985, in run_command
#12 3713. cmd_obj.run()
#12 3713. File "/opt/conda/lib/python3.8/distutils/command/build.py", line 135, in run
#12 3713. self.run_command(cmd_name)
#12 3713. File "/opt/conda/lib/python3.8/distutils/cmd.py", line 313, in run_command
#12 3713. self.distribution.run_command(command)
#12 3713. File "/opt/conda/lib/python3.8/distutils/dist.py", line 985, in run_command
#12 3713. cmd_obj.run()
#12 3713. File "/tmp/pip-req-build-f_rgarrq/setup.py", line 169, in run
#12 3713. self.build_extension(ext)
#12 3713. File "/tmp/pip-req-build-f_rgarrq/setup.py", line 212, in build_extension
#12 3713. check_call([self.cmake, ext.project_dir] + cmake_args, cwd=ext.build_dir, env=env)
#12 3713. File "/opt/conda/lib/python3.8/subprocess.py", line 364, in check_call
#12 3713. raise CalledProcessError(retcode, cmd)
#12 3713. subprocess.CalledProcessError: Command '['/usr/bin/cmake', '/tmp/pip-req-build-f_rgarrq', '-DCMAKE_BUILD_TYPE=Release', '-DPYTORCH_INSTALL_DIR=/opt/conda/lib/python3.8/site-packages/torch', '-DPYTHON_EXECUTABLE=/opt/conda/bin/python', '-DCMAKE_INSTALL_PREFIX=/tmp/pip-req-build-f_rgarrq/build/lib.linux-x86_64-3.8', '-DCMAKE_LIBRARY_OUTPUT_DIRECTORY=/tmp/pip-req-build-f_rgarrq/build/lib.linux-x86_64-3.8', '-DPYTHON_INCLUDE_DIR=/opt/conda/include/python3.8']' returned non-zero exit status 1.
#12 3713. Building wheel for torch-ipex (setup.py): finished with status 'error'
#12 3713. ERROR: Failed building wheel for torch-ipex
#12 3713. Running setup.py clean for torch-ipex
#12 3713. Running command /opt/conda/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-req-build-f_rgarrq/setup.py'"'"'; __file__='"'"'/tmp/pip-req-build-f_rgarrq/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' clean --all
#12 3713. /tmp/pip-req-build-f_rgarrq/setup.py:183: SyntaxWarning: "is" with a literal. Did you mean "=="?
#12 3713. if ext.name is 'torch_ipex' and _check_env_flag("USE_SYCL"):
#12 3714. Building torch_ipex version: 1.0.0
#12 3714. running clean
#12 3714. 'build/lib.linux-x86_64-3.8' does not exist -- can't clean it
#12 3714. 'build/bdist.linux-x86_64' does not exist -- can't clean it
#12 3714. 'build/scripts-3.8' does not exist -- can't clean it
#12 3714. Failed to build torch-ipex
#12 3714. Installing collected packages: torch-ipex
#12 3714. Created temporary directory: /tmp/pip-record-70mkv95j
#12 3714. Running setup.py install for torch-ipex: started
#12 3714. Running command /opt/conda/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-req-build-f_rgarrq/setup.py'"'"'; __file__='"'"'/tmp/pip-req-build-f_rgarrq/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-70mkv95j/install-record.txt --single-version-externally-managed --compile --install-headers /opt/conda/include/python3.8/torch-ipex
#12 3714. /tmp/pip-req-build-f_rgarrq/setup.py:183: SyntaxWarning: "is" with a literal. Did you mean "=="?
#12 3714. if ext.name is 'torch_ipex' and _check_env_flag("USE_SYCL"):
#12 3715. Building torch_ipex version: 1.0.0
#12 3715. running install
#12 3715. running build
#12 3715. running build_py
#12 3715. package init file 'torch_ipex/__init__.py' not found (or not a regular file)
#12 3715. creating build
#12 3715. creating build/lib.linux-x86_64-3.8
#12 3715. creating build/lib.linux-x86_64-3.8/intel_pytorch_extension
#12 3715. copying intel_pytorch_extension_py/__init__.py -> build/lib.linux-x86_64-3.8/intel_pytorch_extension
#12 3715. copying intel_pytorch_extension_py/tensor.py -> build/lib.linux-x86_64-3.8/intel_pytorch_extension
#12 3715. copying intel_pytorch_extension_py/version.py -> build/lib.linux-x86_64-3.8/intel_pytorch_extension
#12 3715. creating build/lib.linux-x86_64-3.8/intel_pytorch_extension/optim
#12 3715. copying intel_pytorch_extension_py/optim/split_sgd.py -> build/lib.linux-x86_64-3.8/intel_pytorch_extension/optim
#12 3715. copying intel_pytorch_extension_py/optim/__init__.py -> build/lib.linux-x86_64-3.8/intel_pytorch_extension/optim
#12 3715. creating build/lib.linux-x86_64-3.8/intel_pytorch_extension/ops
#12 3715. copying intel_pytorch_extension_py/ops/jit.py -> build/lib.linux-x86_64-3.8/intel_pytorch_extension/ops
#12 3715. copying intel_pytorch_extension_py/ops/mlp.py -> build/lib.linux-x86_64-3.8/intel_pytorch_extension/ops
#12 3715. copying intel_pytorch_extension_py/ops/__init__.py -> build/lib.linux-x86_64-3.8/intel_pytorch_extension/ops
#12 3715. copying intel_pytorch_extension_py/ops/reshape.py -> build/lib.linux-x86_64-3.8/intel_pytorch_extension/ops
#12 3715. copying intel_pytorch_extension_py/ops/interaction.py -> build/lib.linux-x86_64-3.8/intel_pytorch_extension/ops
#12 3715. copying intel_pytorch_extension_py/ops/pooling.py -> build/lib.linux-x86_64-3.8/intel_pytorch_extension/ops
#12 3715. copying intel_pytorch_extension_py/ops/linear.py -> build/lib.linux-x86_64-3.8/intel_pytorch_extension/ops
#12 3715. copying intel_pytorch_extension_py/ops/embeddingbag.py -> build/lib.linux-x86_64-3.8/intel_pytorch_extension/ops
#12 3715. running build_ext
#12 3715. run
#12 3715. Extracted 58 functions (0 errors) from /opt/conda/lib/python3.8/site-packages/torch/include/torch/csrc/autograd/generated/RegistrationDeclarations.h
#12 3715. Tensor clone(const Tensor & self, optional<MemoryFormat> memory_format) Tensor clone(const Tensor & self, optional<MemoryFormat> memory_format)
#12 3715. writing /tmp/pip-req-build-f_rgarrq/torch_ipex/csrc/cpu/SparseOPs.h
#12 3715. writing /tmp/pip-req-build-f_rgarrq/torch_ipex/csrc/cpu/SparseOPs_0.cpp
#12 3717. Extracted 1291 functions (0 errors) from /opt/conda/lib/python3.8/site-packages/torch/include/torch/csrc/autograd/generated/RegistrationDeclarations.h
#12 3717. writing /tmp/pip-req-build-f_rgarrq/torch_ipex/csrc/cpu/DenseOPs.h
#12 3717. writing /tmp/pip-req-build-f_rgarrq/torch_ipex/csrc/cpu/DenseOPs_0.cpp
#12 3717. writing /tmp/pip-req-build-f_rgarrq/torch_ipex/csrc/cpu/DenseOPs_1.cpp
#12 3717. writing /tmp/pip-req-build-f_rgarrq/torch_ipex/csrc/cpu/DenseOPs_2.cpp
#12 3717. writing /tmp/pip-req-build-f_rgarrq/torch_ipex/csrc/cpu/DenseOPs_3.cpp
#12 3717. writing /tmp/pip-req-build-f_rgarrq/torch_ipex/csrc/cpu/DenseOPs_4.cpp
#12 3717. writing /tmp/pip-req-build-f_rgarrq/torch_ipex/csrc/cpu/DenseOPs_5.cpp
#12 3717. writing /tmp/pip-req-build-f_rgarrq/torch_ipex/csrc/cpu/DenseOPs_6.cpp
#12 3717. writing /tmp/pip-req-build-f_rgarrq/torch_ipex/csrc/cpu/DenseOPs_7.cpp
#12 3717. CMake Warning (dev) in CMakeLists.txt:
#12 3717. No project() command is present. The top-level CMakeLists.txt file must
#12 3717. contain a literal, direct call to the project() command. Add a line of
#12 3717. code such as
#12 3717.
#12 3717. project(ProjectName)
#12 3717.
#12 3717. near the top of the file, but after cmake_minimum_required().
#12 3717.
#12 3717. CMake is pretending there is a "project(Project)" command on the first
#12 3717. line.
#12 3717. This warning is for project developers. Use -Wno-dev to suppress it.
#12 3717.
#12 3717. -- The C compiler identification is GNU 9.3.0
#12 3717. -- The CXX compiler identification is GNU 9.3.0
#12 3717. -- Check for working C compiler: /usr/bin/cc
#12 3717. -- Check for working C compiler: /usr/bin/cc -- works
#12 3717. -- Detecting C compiler ABI info
#12 3718. -- Detecting C compiler ABI info - done
#12 3718. -- Detecting C compile features
#12 3718. -- Detecting C compile features - done
#12 3718. -- Check for working CXX compiler: /usr/bin/c++
#12 3718. -- Check for working CXX compiler: /usr/bin/c++ -- works
#12 3718. -- Detecting CXX compiler ABI info
#12 3718. -- Detecting CXX compiler ABI info - done
#12 3718. -- Detecting CXX compile features
#12 3718. -- Detecting CXX compile features - done
#12 3718. -- Found PythonInterp: /opt/conda/bin/python (found version "3.8.3")
#12 3718. -- Found PythonLibs: /opt/conda/lib/libpython3.8.so
#12 3718. -- Performing Test HAS_CPP14_FLAG
#12 3718. -- Performing Test HAS_CPP14_FLAG - Success
#12 3718. -- pybind11 v2.4.dev4
#12 3718. -- Looking for pthread.h
#12 3718. -- Looking for pthread.h - found
#12 3718. -- Performing Test CMAKE_HAVE_LIBC_PTHREAD
#12 3718. -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
#12 3718. -- Looking for pthread_create in pthreads
#12 3718. -- Looking for pthread_create in pthreads - not found
#12 3718. -- Looking for pthread_create in pthread
#12 3718. -- Looking for pthread_create in pthread - found
#12 3718. -- Found Threads: TRUE
#12 3718. -- Found OpenMP_C: -fopenmp (found version "4.5")
#12 3718. -- Found OpenMP_CXX: -fopenmp (found version "4.5")
#12 3718. -- Found OpenMP: TRUE (found version "4.5")
#12 3718. -- GPU support is disabled
#12 3718. -- Found Git: /usr/bin/git (found version "2.25.1")
#12 3718. -- Primitive cache is enabled
#12 3718. -- Performing Test C_HAS_AVX512_1
#12 3718. -- Performing Test C_HAS_AVX512_1 - Failed
#12 3718. -- Performing Test C_HAS_AVX512_2
#12 3719. -- Performing Test C_HAS_AVX512_2 - Failed
#12 3719. -- Performing Test CXX_HAS_AVX512_1
#12 3719. -- Performing Test CXX_HAS_AVX512_1 - Failed
#12 3719. -- Performing Test CXX_HAS_AVX512_2
#12 3719. -- Performing Test CXX_HAS_AVX512_2 - Failed
#12 3719. -- Performing Test C_HAS_AVX512_BF16_1
#12 3719. -- Performing Test C_HAS_AVX512_BF16_1 - Failed
#12 3719. -- Performing Test C_HAS_AVX512_BF16_2
#12 3719. -- Performing Test C_HAS_AVX512_BF16_2 - Failed
#12 3719. -- Performing Test CXX_HAS_AVX512_BF16_1
#12 3720. -- Performing Test CXX_HAS_AVX512_BF16_1 - Failed
#12 3720. -- Performing Test CXX_HAS_AVX512_BF16_2
#12 3720. -- Performing Test CXX_HAS_AVX512_BF16_2 - Failed
#12 3720. CMake Error at cmake/CPU.cmake:21 (message):
#12 3720. Please build IPEX on Machines that support AVX512.
#12 3720. Call Stack (most recent call first):
#12 3720. CMakeLists.txt:19 (include)
#12 3720.
#12 3720.
#12 3720. -- Configuring incomplete, errors occurred!
#12 3720. See also "/tmp/pip-req-build-f_rgarrq/build/CMakeFiles/CMakeOutput.log".
#12 3720. See also "/tmp/pip-req-build-f_rgarrq/build/CMakeFiles/CMakeError.log".
#12 3720. Traceback (most recent call last):
#12 3720. File "<string>", line 1, in <module>
#12 3720. File "/tmp/pip-req-build-f_rgarrq/setup.py", line 244, in <module>
#12 3720. setup(
#12 3720. File "/opt/conda/lib/python3.8/site-packages/setuptools/__init__.py", line 144, in setup
#12 3720. return distutils.core.setup(**attrs)
#12 3720. File "/opt/conda/lib/python3.8/distutils/core.py", line 148, in setup
#12 3720. dist.run_commands()
#12 3720. File "/opt/conda/lib/python3.8/distutils/dist.py", line 966, in run_commands
#12 3720. self.run_command(cmd)
#12 3720. File "/opt/conda/lib/python3.8/distutils/dist.py", line 985, in run_command
#12 3720. cmd_obj.run()
#12 3720. File "/opt/conda/lib/python3.8/site-packages/setuptools/command/install.py", line 61, in run
#12 3720. return orig.install.run(self)
#12 3720. File "/opt/conda/lib/python3.8/distutils/command/install.py", line 545, in run
#12 3720. self.run_command('build')
#12 3720. File "/opt/conda/lib/python3.8/distutils/cmd.py", line 313, in run_command
#12 3720. self.distribution.run_command(command)
#12 3720. File "/opt/conda/lib/python3.8/distutils/dist.py", line 985, in run_command
#12 3720. cmd_obj.run()
#12 3720. File "/opt/conda/lib/python3.8/distutils/command/build.py", line 135, in run
#12 3720. self.run_command(cmd_name)
#12 3720. File "/opt/conda/lib/python3.8/distutils/cmd.py", line 313, in run_command
#12 3720. self.distribution.run_command(command)
#12 3720. File "/opt/conda/lib/python3.8/distutils/dist.py", line 985, in run_command
#12 3720. cmd_obj.run()
#12 3720. File "/tmp/pip-req-build-f_rgarrq/setup.py", line 169, in run
#12 3720. self.build_extension(ext)
#12 3720. File "/tmp/pip-req-build-f_rgarrq/setup.py", line 212, in build_extension
#12 3720. check_call([self.cmake, ext.project_dir] + cmake_args, cwd=ext.build_dir, env=env)
#12 3720. File "/opt/conda/lib/python3.8/subprocess.py", line 364, in check_call
#12 3720. raise CalledProcessError(retcode, cmd)
#12 3720. subprocess.CalledProcessError: Command '['/usr/bin/cmake', '/tmp/pip-req-build-f_rgarrq', '-DCMAKE_BUILD_TYPE=Release', '-DPYTORCH_INSTALL_DIR=/opt/conda/lib/python3.8/site-packages/torch', '-DPYTHON_EXECUTABLE=/opt/conda/bin/python', '-DCMAKE_INSTALL_PREFIX=/tmp/pip-req-build-f_rgarrq/build/lib.linux-x86_64-3.8', '-DCMAKE_LIBRARY_OUTPUT_DIRECTORY=/tmp/pip-req-build-f_rgarrq/build/lib.linux-x86_64-3.8', '-DPYTHON_INCLUDE_DIR=/opt/conda/include/python3.8']' returned non-zero exit status 1.
#12 3720. Running setup.py install for torch-ipex: finished with status 'error'
#12 3720. Cleaning up...
#12 3720. Removing source in /tmp/pip-req-build-f_rgarrq
#12 3721. Removed build tracker: '/tmp/pip-req-tracker-e0dhh_29'
#12 3721. ERROR: Command errored out with exit status 1: /opt/conda/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-req-build-f_rgarrq/setup.py'"'"'; __file__='"'"'/tmp/pip-req-build-f_rgarrq/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-70mkv95j/install-record.txt --single-version-externally-managed --compile --install-headers /opt/conda/include/python3.8/torch-ipex Check the logs for full command output.
#12 3721. Exception information:
#12 3721. Traceback (most recent call last):
#12 3721. File "/opt/conda/lib/python3.8/site-packages/pip/_internal/cli/base_command.py", line 186, in _main
#12 3721. status = self.run(options, args)
#12 3721. File "/opt/conda/lib/python3.8/site-packages/pip/_internal/commands/install.py", line 395, in run
#12 3721. installed = install_given_reqs(
#12 3721. File "/opt/conda/lib/python3.8/site-packages/pip/_internal/req/__init__.py", line 67, in install_given_reqs
#12 3721. requirement.install(
#12 3721. File "/opt/conda/lib/python3.8/site-packages/pip/_internal/req/req_install.py", line 820, in install
#12 3721. install_legacy(
#12 3721. File "/opt/conda/lib/python3.8/site-packages/pip/_internal/operations/install/legacy.py", line 70, in install
#12 3721. runner(
#12 3721. File "/opt/conda/lib/python3.8/site-packages/pip/_internal/utils/subprocess.py", line 271, in runner
#12 3721. call_subprocess(
#12 3721. File "/opt/conda/lib/python3.8/site-packages/pip/_internal/utils/subprocess.py", line 242, in call_subprocess
#12 3721. raise InstallationError(exc_msg)
#12 3721. pip._internal.exceptions.InstallationError: Command errored out with exit status 1: /opt/conda/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-req-build-f_rgarrq/setup.py'"'"'; __file__='"'"'/tmp/pip-req-build-f_rgarrq/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-70mkv95j/install-record.txt --single-version-externally-managed --compile --install-headers /opt/conda/include/python3.8/torch-ipex Check the logs for full command output.
------
failed to solve with frontend dockerfile.v0: failed to solve with frontend gateway.v0: rpc error: code = Unknown desc = failed to build LLB: executor failed running [/bin/sh -c pip install torchvision==${TORCHVISION_VERSION}+cpu --no-deps -f https://download.pytorch.org/whl/torch_stable.html && pip install lark-parser hypothesis && git clone https://github.com/intel/intel-extension-for-pytorch && cd intel-extension-for-pytorch && git submodule sync && git submodule update --init --recursive && git clone https://github.com/pytorch/pytorch && cd pytorch && git checkout v1.5.1 && git submodule sync && git submodule update --init --recursive && git apply ../torch_patches/dpcpp-v1.5.1.patch && USE_MKLDNN=1 USE_CUDA=0 USE_NNPACK=0 USE_CUDNN=0 CMAKE_PREFIX_PATH="$(dirname $(which conda))/../" pip install -v . && cd .. && pip install -v . && rm -rf *]: runc did not terminate sucessfully
dh@dh-d