You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
git clone [email protected]:alibaba/BladeDISC.git
cd BladeDISC && git submodule update --init --recursive
# For x86 CPU backend
docker run --rm -it -v $PWD:/disc bladedisc/bladedisc:latest-devel-cuda11.0 bash
# For x86 or AArch64 CPU backend
bash ./scripts/ci/build_and_test.sh --cpu-only
The error message as below
ERROR: /root/.cache/bazel/_bazel_root/c849e62f6d435dc88c9d8e21051e8b3b/external/org_tensorflow/tensorflow/compiler/xla/service/cpu/BUILD:1108:11: Compiling tensorflow/compiler/xla/service/cpu/runtime_key_value_sort.cc failed: (Exit 1): gcc failed: error executing command
(cd /root/.cache/bazel/_bazel_root/c849e62f6d435dc88c9d8e21051e8b3b/execroot/org_disc_compiler && \
exec env - \
DISC_FOREIGN_MAKE_JOBS=32 \
LD_LIBRARY_PATH=/usr/lib64:/usr/local/TensorRT/lib/:/usr/local/nvidia/lib:/usr/local/nvidia/lib64 \
PATH=/usr/bin:/opt/cmake/bin:/usr/local/nvidia/bin:/usr/local/cuda/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin \
PWD=/proc/self/cwd \
PYTHON_BIN_PATH=/usr/bin/python3 \
PYTHON_LIB_PATH=/usr/lib/python3/dist-packages \
TF2_BEHAVIOR=1 \
/usr/bin/gcc -U_FORTIFY_SOURCE -fstack-protector -Wall -Wunused-but-set-parameter -Wno-free-nonheap-object -fno-omit-frame-pointer -g0 -O2 '-D_FORTIFY_SOURCE=1' -DNDEBUG -ffunction-sections -fdata-sections '-std=c++0x' -MD -MF bazel-out/k8-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/cpu/_objs/runtime_key_value_sort/runtime_key_value_sort.d '-frandom-seed=bazel-out/k8-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/cpu/_objs/runtime_key_value_sort/runtime_key_value_sort.o' -DEIGEN_MPL2_ONLY '-DEIGEN_MAX_ALIGN_BYTES=64' -iquote external/org_tensorflow -iquote bazel-out/k8-opt/bin/external/org_tensorflow -iquote external/eigen_archive -iquote bazel-out/k8-opt/bin/external/eigen_archive -iquote external/com_google_absl -iquote bazel-out/k8-opt/bin/external/com_google_absl -isystem external/org_tensorflow/third_party/eigen3/mkl_include -isystem bazel-out/k8-opt/bin/external/org_tensorflow/third_party/eigen3/mkl_include -isystem external/eigen_archive -isystem bazel-out/k8-opt/bin/external/eigen_archive -Wno-all -Wno-extra -Wno-deprecated -Wno-deprecated-declarations -Wno-ignored-attributes -Wno-stringop-overflow -Wno-array-bounds -Wunused-result -Wswitch '-Werror=switch' '-Wno-error=unused-but-set-variable' -DAUTOLOAD_DYNAMIC_KERNELS -mavx -mavx '-std=c++17' -DTAO_CPU_ONLY -DTAO_CPU_ONLY -DTAO_X86 -DTAO_CPU_ONLY -DTAO_CPU_ONLY -DTAO_X86 -DTAO_ENABLE_MKLDNN -DTAO_ENABLE_MKLDNN -DEIGEN_AVOID_STL_ARRAY -fno-canonical-system-headers -Wno-builtin-macro-redefined '-D__DATE__="redacted"' '-D__TIMESTAMP__="redacted"' '-D__TIME__="redacted"' -c external/org_tensorflow/tensorflow/compiler/xla/service/cpu/runtime_key_value_sort.cc -o bazel-out/k8-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/cpu/_objs/runtime_key_value_sort/runtime_key_value_sort.o)
# Configuration: 06838eeca439b108274351fd23604275bafb0ea397cd0836af699e0dd7c920f4
# Execution platform: @local_execution_config_platform//:platform
In file included from external/eigen_archive/unsupported/Eigen/CXX11/../../../Eigen/Core:212:0,
from external/eigen_archive/unsupported/Eigen/CXX11/Tensor:14,
from external/org_tensorflow/third_party/eigen3/unsupported/Eigen/CXX11/Tensor:1,
from external/org_tensorflow/tensorflow/compiler/xla/service/cpu/runtime_key_value_sort.h:21,
from external/org_tensorflow/tensorflow/compiler/xla/service/cpu/runtime_key_value_sort.cc:15:
external/eigen_archive/unsupported/Eigen/CXX11/../../../Eigen/src/Core/arch/AVX/TypeCasting.h: In function 'TgtPacket Eigen::internal::pcast(const SrcPacket&, const SrcPacket&) [with SrcPacket = __vector(4) double; TgtPacket = __vector(8) float]':
external/eigen_archive/unsupported/Eigen/CXX11/../../../Eigen/src/Core/arch/AVX/TypeCasting.h:76:10: error: '_mm256_set_m128' was not declared in this scope
return _mm256_set_m128(_mm256_cvtpd_ps(b), _mm256_cvtpd_ps(a));
^~~~~~~~~~~~~~~
external/eigen_archive/unsupported/Eigen/CXX11/../../../Eigen/src/Core/arch/AVX/TypeCasting.h:76:10: note: suggested alternative: '_mm256_set_epi8'
return _mm256_set_m128(_mm256_cvtpd_ps(b), _mm256_cvtpd_ps(a));
^~~~~~~~~~~~~~~
_mm256_set_epi8
external/eigen_archive/unsupported/Eigen/CXX11/../../../Eigen/src/Core/arch/AVX/TypeCasting.h: In function 'TgtPacket Eigen::internal::pcast(const SrcPacket&, const SrcPacket&) [with SrcPacket = __vector(4) double; TgtPacket = Eigen::internal::eigen_packet_wrapper<__vector(4) long long int, 0>]':
external/eigen_archive/unsupported/Eigen/CXX11/../../../Eigen/src/Core/arch/AVX/TypeCasting.h:80:10: error: '_mm256_set_m128i' was not declared in this scope
return _mm256_set_m128i(_mm256_cvttpd_epi32(b), _mm256_cvttpd_epi32(a));
^~~~~~~~~~~~~~~~
external/eigen_archive/unsupported/Eigen/CXX11/../../../Eigen/src/Core/arch/AVX/TypeCasting.h:80:10: note: suggested alternative: '_mm256_set_epi8'
return _mm256_set_m128i(_mm256_cvttpd_epi32(b), _mm256_cvttpd_epi32(a));
^~~~~~~~~~~~~~~~
_mm256_set_epi8
Target //decoupling:tao_compiler_main failed to build
INFO: Elapsed time: 77.009s, Critical Path: 42.24s
INFO: 4533 processes: 1093 internal, 3440 local.
FAILED: Build did NOT complete successfully
FAILED: Build did NOT complete successfully
The text was updated successfully, but these errors were encountered:
Follow the instructions from https://github.com/alibaba/BladeDISC/blob/main/docs/build_from_source.md
The error message as below
The text was updated successfully, but these errors were encountered: