Skip to content

Failed to build with tags/r5.2_rc3 #8

@mkankana

Description

@mkankana

Docker:

FROM ubuntu:22.04

RUN apt-get update &&
apt-get upgrade -y &&
apt-get autoclean &&
apt-get autoremove -y &&
apt-get install -y software-properties-common &&
apt-get install -y --no-install-recommends
gcc g++ python3.10 python3.10-venv python3.10-dev python3-pip python-is-python3
git bc vim
cmake make
RUN rm -rf /workspace/*
COPY ./ /workspace/
ENV ZENDNNL_MANYLINUX_BUILD=1
WORKDIR /workspace/third_party
RUN git clone https://github.com/amd/ZenDNN-pytorch-plugin.git &&
cd ZenDNN-pytorch-plugin &&
git checkout tags/r5.2_rc3 &&
pip uninstall zentorch &&
pip install torch==2.10.0 --index-url https://download.pytorch.org/whl/cpu &&
pip install -r requirements.txt &&
python setup.py bdist_wheel &&
pip install dist/zentorch-*.whl
WORKDIR /workspace

ERROR LOG

make[2]: *** No rule to make target 'lib/deps/aoclutils/lib64/libaoclutils.a', needed by 'lib/libzentorch.so'. Stop. make[2]: *** Waiting for unfinished jobs.... [ 77%] Building CXX object CMakeFiles/zentorch.dir/src/cpu/cpp/Rope.cpp.o [ 81%] Building CXX object CMakeFiles/zentorch.dir/src/cpu/cpp/WOQ_Linear.cpp.o [ 85%] Building CXX object CMakeFiles/zentorch.dir/src/cpu/cpp/Threading.cpp.o [ 92%] Building CXX object CMakeFiles/zentorch.dir/src/cpu/cpp/Sdpa_ref.cpp.o [ 92%] Building CXX object CMakeFiles/zentorch.dir/src/cpu/cpp/Singletons.cpp.o [ 96%] Building CXX object CMakeFiles/zentorch.dir/src/cpu/cpp/WeightReorder.cpp.o /workspace/third_party/ZenDNN-pytorch-plugin/src/cpu/cpp/QuantEmbedBag.cpp: In function ‘void zentorch::zendnnl_horizontal_quant_embedding_bag_group_out(at::TensorList, at::TensorList, at::TensorList, at::TensorList, int64_t, c10::ScalarType, at::IntArrayRef, at::IntArrayRef, at::IntArrayRef, c10::List<std::optional<at::Tensor> >, at::IntArrayRef, at::IntArrayRef, std::string)’: /workspace/third_party/ZenDNN-pytorch-plugin/src/cpu/cpp/QuantEmbedBag.cpp:292:45: error: ‘group_embedding_bag_direct’ is not a member of ‘zendnnl::lowoha::embag’; did you mean ‘embedding_bag_direct’? 292 | status_t status = zendnnl::lowoha::embag::group_embedding_bag_direct( | ^~~~~~~~~~~~~~~~~~~~~~~~~~ | embedding_bag_direct /workspace/third_party/ZenDNN-pytorch-plugin/src/cpu/cpp/EmbeddingBag.cpp: In function ‘std::vector<at::Tensor> zentorch::zentorch_horizontal_embedding_bag_group(at::TensorList, at::TensorList, at::TensorList, at::IntArrayRef, at::IntArrayRef, at::IntArrayRef, c10::List<std::optional<at::Tensor> >, at::IntArrayRef, at::IntArrayRef, std::string)’: /workspace/third_party/ZenDNN-pytorch-plugin/src/cpu/cpp/EmbeddingBag.cpp:192:45: error: ‘group_embedding_bag_direct’ is not a member of ‘zendnnl::lowoha::embag’; did you mean ‘embedding_bag_direct’? 192 | status_t status = zendnnl::lowoha::embag::group_embedding_bag_direct( | ^~~~~~~~~~~~~~~~~~~~~~~~~~ | embedding_bag_direct make[2]: *** [CMakeFiles/zentorch.dir/build.make:191: CMakeFiles/zentorch.dir/src/cpu/cpp/QuantEmbedBag.cpp.o] Error 1 make[2]: *** [CMakeFiles/zentorch.dir/build.make:121: CMakeFiles/zentorch.dir/src/cpu/cpp/EmbeddingBag.cpp.o] Error 1 make[2]: Leaving directory '/workspace/third_party/ZenDNN-pytorch-plugin/build/temp.linux-x86_64-3.10' make[1]: *** [CMakeFiles/Makefile2:158: CMakeFiles/zentorch.dir/all] Error 2 make[1]: Leaving directory '/workspace/third_party/ZenDNN-pytorch-plugin/build/temp.linux-x86_64-3.10' make: *** [Makefile:91: all] Error 2 make: Leaving directory '/workspace/third_party/ZenDNN-pytorch-plugin/build/temp.linux-x86_64-3.10' error: command '/usr/bin/make' failed with exit code 2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions