Open weiyshay opened 1 year ago
Hi,
Looks like you're not using the latest docker image. The latest is registry-intl.us-west-1.aliyuncs.com/computation/halo:0.8.1-devel-x86_64-ubuntu18.04 (for ubuntu) or registry-intl.us-west-1.aliyuncs.com/computation/halo:0.8.1-devel-cuda11.4.2-cudnn8-centos7 (for centos)
Describe the bug Can not compile HALO on Graphcore SDK
To Reproduce
[112/2894] Building CXX object ODLA/platforms/ascend/CMakeFiles/odla_ascend.dir/src/odla_ops.cc.o FAILED: ODLA/platforms/ascend/CMakeFiles/odla_ascend.dir/src/odla_ops.cc.o CCACHE_CPP2=yes CCACHE_HASHDIR=yes /usr/bin/ccache /opt/rh/devtoolset-7/root/usr/bin/c++ -Dodla_ascend_EXPORTS -Iinclude -I../include -I/root/Ascend/ascend-toolkit/latest/opp/op_proto/built-in/inc -I/root/Ascend/ascend-toolkit/latest/fwkacllib/include/graph -I/root/Ascend/ascend-toolkit/latest/fwkacllib/include/ge -I/root/Ascend/ascend-toolkit/latest/fwkacllib/include -I/root/Ascend/ascend-toolkit/latest/fwkacllib/include/parser -I../ODLA/platforms/ascend/inc -I../ODLA/include -D_GLIBCXX_USE_CXX11_ABI=0 -g -fPIC -std=c++1z -MD -MT ODLA/platforms/ascend/CMakeFiles/odla_ascend.dir/src/odla_ops.cc.o -MF ODLA/platforms/ascend/CMakeFiles/odla_ascend.dir/src/odla_ops.cc.o.d -o ODLA/platforms/ascend/CMakeFiles/odla_ascend.dir/src/odla_ops.cc.o -c ../ODLA/platforms/ascend/src/odla_ops.cc In file included from ../ODLA/platforms/ascend/src/odla_ops.cc:1:0: ../ODLA/platforms/ascend/inc/odla_ascend_acl.h:14:10: fatal error: acl/acl.h: No such file or directory
include "acl/acl.h"
Command lines to reproduce the bug. cmake -G Ninja .. -DHALO_USE_TIDY_CHECK=OFF -DHALO_GEN_DOCS=OFF -DPOPLAR_ROOT=$POPLAR_ROOT -DPOPLAR_VERSION=$POPLAR_VERSION -DPOPART_ROOT=$POPART_ROOT -DODLA_BUILD_POPART_USE_CXX11ABI=ON -DODLA_BUILD_POPART_CUSTOM_OPS=ON -DHALO_BUILD_RTLIB=OFF -DODLA_BUILD_TRT=OFF -DODLA_BUILD_XNNPACK=OFF -DODLA_BUILD_EIGEN=OFF -DODLA_BUILD_DNNL=OFF -DCMAKE_BUILD_TYPE=Debug -DODLA_BUILD_VODLA=off && time ninja
Expected behavior Compile finished without any error.