-
Notifications
You must be signed in to change notification settings - Fork 106
Closed
Description
I tried running docker build -t Dockerfile
by chaning the architecture to arm64v8.
I got the following output:
Sending build context to Docker daemon 1.95MB
Step 1/30 : ARG OSNICK=buster
Step 2/30 : ARG OS=debian:buster-slim
Step 3/30 : ARG ARCH=arm64v8
Step 4/30 : FROM redisfab/redis-${ARCH}-${OSNICK}:5.0.5 AS redis
---> ed5525d2f3cd
Step 5/30 : FROM ${OS} AS builder
buster-slim: Pulling from library/debian
0c79eb62c57d: Already exists
Digest: sha256:80cc84d66e12d590d2f82ed7e57f906a89f8d10c5b9d7be23ed04e5c6dbb865b
Status: Downloaded newer image for debian:buster-slim
---> 30b846e3b92c
Step 6/30 : WORKDIR /build
---> Running in 90daeb7ddfb5
Removing intermediate container 90daeb7ddfb5
---> 7c2bec08e1af
Step 7/30 : COPY --from=redis /usr/local/ /usr/local/
---> 8f08858cba16
Step 8/30 : COPY ./opt/ opt/
---> 52dd79c739de
Step 9/30 : COPY ./test/test_requirements.txt test/
---> 83f3f172cff3
Step 10/30 : RUN ./opt/readies/bin/getpy
---> Running in 3a640d55d87b
Removing intermediate container 3a640d55d87b
---> 13486fdbe084
Step 11/30 : RUN ./opt/system-setup.py
---> Running in 3b125ff80fcf
apt-get -qq update -y
apt-get -qq install -y ca-certificates
apt-get -qq install -y curl wget
apt-get -qq install -y python3-distutils
apt-get -qq install -y ca-certificates
apt-get -qq install -y curl wget
set -e; wget -q https://bootstrap.pypa.io/get-pip.py -O /tmp/get-pip.py; python3 /tmp/get-pip.py
pip3 install --disable-pip-version-check wheel
pip3 install --disable-pip-version-check setuptools --upgrade
apt-get -qq install -y ca-certificates
apt-get -qq install -y git cmake unzip wget patchelf awscli
apt-get -qq install -y coreutils
apt-get -qq install -y build-essential
apt-get -qq install -y python3-venv python3-psutil python3-networkx python3-numpy python3-skimage
curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | bash
Detected operating system as debian/10.
Checking for curl...
Detected curl...
Checking for gpg...
Detected gpg...
Running apt-get update... done.
Installing debian-archive-keyring which is needed for installing
apt-transport-https on many Debian systems.
Installing apt-transport-https... done.
Installing /etc/apt/sources.list.d/github_git-lfs.list...done.
Importing packagecloud gpg key... done.
Running apt-get update... done.
The repository is setup! You can now install packages.
apt-get -qq install -y git-lfs
pip3 install --disable-pip-version-check git+https://github.com/RedisLabsModules/RLTest.git@master
pip3 install --disable-pip-version-check git+https://github.com/RedisLabs/RAMP@master
pip3 install --disable-pip-version-check -r ./opt/../test/test_requirements.txt
Removing intermediate container 3b125ff80fcf
---> 909f5b03ad5c
Step 12/30 : ARG DEPS_ARGS=""
---> Running in f03d715e5f02
Removing intermediate container f03d715e5f02
---> e769a8d3dfae
Step 13/30 : COPY ./get_deps.sh .
---> ff551288c8ef
Step 14/30 : RUN if [ "$DEPS_ARGS" = "" ]; then ./get_deps.sh cpu; else env $DEPS_ARGS ./get_deps.sh cpu; fi
---> Running in e1e9f85c8005
Cloning dlpack ...
Cloning into 'dlpack'...
Done.
Installing TensorFlow ...
Done.
Installing libtorch ...
Done.
Installing ONNXRuntime ...
Done.
Removing intermediate container e1e9f85c8005
---> 92ebea971d7a
Step 15/30 : ARG BUILD_ARGS=""
---> Running in f4cb2db26102
Removing intermediate container f4cb2db26102
---> 2b69e15bc688
Step 16/30 : ADD ./ /build
---> 3c850fe11576
Step 17/30 : RUN make -C opt build $BUILD_ARGS SHOW=1
---> Running in 1326fea9108a
make: Entering directory '/build/opt'
mkdir -p ../bin/linux-arm64v8-release/src
if [ ! -d ../bin/linux-arm64v8-release/src ]; then echo "CMake: ../bin/linux-arm64v8-release/src does not exist."; exit 1; fi
cd ../bin/linux-arm64v8-release/src; cmake -DDEPS_PATH=/build/deps/linux-arm64v8-cpu -DINSTALL_PATH=/build/bin/linux-arm64v8-cpu/install -DDEVICE=cpu /build
-- The C compiler identification is GNU 8.3.0
-- The CXX compiler identification is GNU 8.3.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Setting build type to 'Release' as none was specified.
-- Found ONNXRuntime Libraries: "/build/deps/linux-arm64v8-cpu/onnxruntime/lib/libonnxruntime.so")
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Found torch: /build/deps/linux-arm64v8-cpu/libtorch/lib/libtorch.so
-- Configuring done
-- Generating done
-- Build files have been written to: /build/bin/linux-arm64v8-release/src
if [ ! -d ../deps/linux-arm64v8-cpu ]; then echo $'Dependencies are not in place.\nPlease run \'make fetch\'.'; exit 1; fi
mkdir -p ../bin/linux-arm64v8-cpu/install
make -C ../bin/linux-arm64v8-release/src
Scanning dependencies of target redisai_obj
[ 3%] Building C object src/CMakeFiles/redisai_obj.dir/util/dict.c.o
[ 6%] Building C object src/CMakeFiles/redisai_obj.dir/redisai.c.o
[ 9%] Building C object src/CMakeFiles/redisai_obj.dir/backends.c.o
[ 12%] Building C object src/CMakeFiles/redisai_obj.dir/model.c.o
[ 16%] Building C object src/CMakeFiles/redisai_obj.dir/err.c.o
[ 19%] Building C object src/CMakeFiles/redisai_obj.dir/script.c.o
[ 22%] Building C object src/CMakeFiles/redisai_obj.dir/tensor.c.o
[ 25%] Building C object src/CMakeFiles/redisai_obj.dir/rmutil/alloc.c.o
[ 29%] Building C object src/CMakeFiles/redisai_obj.dir/rmutil/sds.c.o
[ 32%] Building C object src/CMakeFiles/redisai_obj.dir/rmutil/args.c.o
[ 35%] Building C object src/CMakeFiles/redisai_obj.dir/rmutil/heap.c.o
[ 38%] Building C object src/CMakeFiles/redisai_obj.dir/rmutil/priority_queue.c.o
[ 41%] Building C object src/CMakeFiles/redisai_obj.dir/rmutil/vector.c.o
[ 41%] Built target redisai_obj
Scanning dependencies of target redisai
[ 45%] Linking C shared library redisai.so
[ 45%] Built target redisai
Scanning dependencies of target redisai_onnxruntime_obj
[ 48%] Building C object src/CMakeFiles/redisai_onnxruntime_obj.dir/backends/onnxruntime.c.o
[ 51%] Building C object src/CMakeFiles/redisai_onnxruntime_obj.dir/backends/util.c.o
[ 54%] Building C object src/CMakeFiles/redisai_onnxruntime_obj.dir/err.c.o
[ 58%] Building C object src/CMakeFiles/redisai_onnxruntime_obj.dir/tensor.c.o
[ 58%] Built target redisai_onnxruntime_obj
Scanning dependencies of target redisai_onnxruntime
[ 61%] Linking C shared library redisai_onnxruntime.so
[ 61%] Built target redisai_onnxruntime
Scanning dependencies of target redisai_tensorflow_obj
[ 64%] Building C object src/CMakeFiles/redisai_tensorflow_obj.dir/backends/tensorflow.c.o
[ 67%] Building C object src/CMakeFiles/redisai_tensorflow_obj.dir/backends/util.c.o
[ 70%] Building C object src/CMakeFiles/redisai_tensorflow_obj.dir/err.c.o
[ 74%] Building C object src/CMakeFiles/redisai_tensorflow_obj.dir/tensor.c.o
[ 74%] Built target redisai_tensorflow_obj
Scanning dependencies of target redisai_tensorflow
[ 77%] Linking C shared library redisai_tensorflow.so
[ 77%] Built target redisai_tensorflow
Scanning dependencies of target redisai_torch_obj
[ 80%] Building C object src/CMakeFiles/redisai_torch_obj.dir/backends/torch.c.o
[ 83%] Building C object src/CMakeFiles/redisai_torch_obj.dir/backends/util.c.o
[ 87%] Building C object src/CMakeFiles/redisai_torch_obj.dir/err.c.o
[ 90%] Building C object src/CMakeFiles/redisai_torch_obj.dir/tensor.c.o
[ 90%] Built target redisai_torch_obj
Scanning dependencies of target torch_c
[ 93%] Building CXX object src/libtorch_c/CMakeFiles/torch_c.dir/torch_c.cpp.o
/build/src/libtorch_c/torch_c.cpp: In function 'DLDataType {anonymous}::getDLDataType(const at::Tensor&)':
/build/src/libtorch_c/torch_c.cpp:43:26: error: 'BFloat16' is not a member of 'c10::ScalarType'
case at::ScalarType::BFloat16:
^~~~~~~~
/build/src/libtorch_c/torch_c.cpp:47:26: error: 'QUInt8' is not a member of 'c10::ScalarType'
case at::ScalarType::QUInt8:
^~~~~~
/build/src/libtorch_c/torch_c.cpp:49:26: error: 'QInt32' is not a member of 'c10::ScalarType'
case at::ScalarType::QInt32:
^~~~~~
/build/src/libtorch_c/torch_c.cpp: In function 'void {anonymous}::torchRunModule({anonymous}::ModuleContext*, const char*, long int, DLManagedTensor**, long int, DLManagedTensor**)':
/build/src/libtorch_c/torch_c.cpp:225:17: error: 'Function' is not a member of 'torch::jit'
torch::jit::Function& fn = ctx->cu->get_function(fnName);
^~~~~~~~
/build/src/libtorch_c/torch_c.cpp:225:17: note: suggested alternatives:
In file included from /build/deps/linux-arm64v8-cpu/libtorch/include/torch/csrc/jit/script/module.h:14,
from /build/deps/linux-arm64v8-cpu/libtorch/include/torch/csrc/jit/script/compiler.h:8,
from /build/deps/linux-arm64v8-cpu/libtorch/include/torch/csrc/api/include/torch/jit.h:3,
from /build/deps/linux-arm64v8-cpu/libtorch/include/torch/csrc/api/include/torch/all.h:5,
from /build/deps/linux-arm64v8-cpu/libtorch/include/torch/csrc/api/include/torch/torch.h:3,
from /build/src/libtorch_c/torch_c.cpp:2:
/build/deps/linux-arm64v8-cpu/libtorch/include/torch/csrc/jit/script/compilation_unit.h:40:18: note: 'torch::jit::script::Function'
struct TORCH_API Function {
^~~~~~~~
In file included from /build/deps/linux-arm64v8-cpu/libtorch/include/torch/csrc/autograd/variable.h:6,
from /build/deps/linux-arm64v8-cpu/libtorch/include/torch/csrc/autograd/generated/variable_factories.h:8,
from /build/deps/linux-arm64v8-cpu/libtorch/include/torch/csrc/api/include/torch/types.h:7,
from /build/deps/linux-arm64v8-cpu/libtorch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
from /build/deps/linux-arm64v8-cpu/libtorch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
from /build/deps/linux-arm64v8-cpu/libtorch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
from /build/deps/linux-arm64v8-cpu/libtorch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
from /build/deps/linux-arm64v8-cpu/libtorch/include/torch/csrc/api/include/torch/data.h:3,
from /build/deps/linux-arm64v8-cpu/libtorch/include/torch/csrc/api/include/torch/all.h:4,
from /build/deps/linux-arm64v8-cpu/libtorch/include/torch/csrc/api/include/torch/torch.h:3,
from /build/src/libtorch_c/torch_c.cpp:2:
/build/deps/linux-arm64v8-cpu/libtorch/include/torch/csrc/autograd/edge.h:11:8: note: 'torch::autograd::Function'
struct Function;
^~~~~~~~
In file included from /build/deps/linux-arm64v8-cpu/libtorch/include/ATen/core/ivalue.h:7,
from /build/deps/linux-arm64v8-cpu/libtorch/include/ATen/core/stack.h:3,
from /build/deps/linux-arm64v8-cpu/libtorch/include/torch/csrc/jit/tracer.h:5,
from /build/deps/linux-arm64v8-cpu/libtorch/include/torch/csrc/autograd/generated/variable_factories.h:9,
from /build/deps/linux-arm64v8-cpu/libtorch/include/torch/csrc/api/include/torch/types.h:7,
from /build/deps/linux-arm64v8-cpu/libtorch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
from /build/deps/linux-arm64v8-cpu/libtorch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
from /build/deps/linux-arm64v8-cpu/libtorch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
from /build/deps/linux-arm64v8-cpu/libtorch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
from /build/deps/linux-arm64v8-cpu/libtorch/include/torch/csrc/api/include/torch/data.h:3,
from /build/deps/linux-arm64v8-cpu/libtorch/include/torch/csrc/api/include/torch/all.h:4,
from /build/deps/linux-arm64v8-cpu/libtorch/include/torch/csrc/api/include/torch/torch.h:3,
from /build/src/libtorch_c/torch_c.cpp:2:
/build/deps/linux-arm64v8-cpu/libtorch/include/ATen/core/interned_strings.h:323:1: note: 'c10::prim::Function'
FORALL_NS_SYMBOLS(DEFINE_SYMBOL)
^~~~~~~~~~~~~~~~~
In file included from /build/deps/linux-arm64v8-cpu/libtorch/include/torch/csrc/jit/script/module.h:14,
from /build/deps/linux-arm64v8-cpu/libtorch/include/torch/csrc/jit/script/compiler.h:8,
from /build/deps/linux-arm64v8-cpu/libtorch/include/torch/csrc/api/include/torch/jit.h:3,
from /build/deps/linux-arm64v8-cpu/libtorch/include/torch/csrc/api/include/torch/all.h:5,
from /build/deps/linux-arm64v8-cpu/libtorch/include/torch/csrc/api/include/torch/torch.h:3,
from /build/src/libtorch_c/torch_c.cpp:2:
/build/deps/linux-arm64v8-cpu/libtorch/include/torch/csrc/jit/script/compilation_unit.h:40:18: note: 'torch::jit::script::Function'
struct TORCH_API Function {
^~~~~~~~
/build/src/libtorch_c/torch_c.cpp:225:27: error: 'fn' was not declared in this scope
torch::jit::Function& fn = ctx->cu->get_function(fnName);
^~
/build/src/libtorch_c/torch_c.cpp:225:27: note: suggested alternative: 'yn'
torch::jit::Function& fn = ctx->cu->get_function(fnName);
^~
yn
/build/src/libtorch_c/torch_c.cpp:243:31: error: 'class c10::intrusive_ptr<c10::ivalue::List<at::Tensor> >' has no member named 'size'
for (size_t j=0; j<list.size(); j++) {
^~~~
/build/src/libtorch_c/torch_c.cpp:244:54: error: no matching function for call to 'c10::intrusive_ptr<c10::ivalue::List<at::Tensor> >::get(size_t&)'
outputs[count++] = toManagedDLPack(list.get(j).to(output_device));
^
In file included from /build/deps/linux-arm64v8-cpu/libtorch/include/c10/core/StorageImpl.h:6,
from /build/deps/linux-arm64v8-cpu/libtorch/include/c10/core/Storage.h:3,
from /build/deps/linux-arm64v8-cpu/libtorch/include/ATen/core/Tensor.h:8,
from /build/deps/linux-arm64v8-cpu/libtorch/include/ATen/core/Type.h:569,
from /build/deps/linux-arm64v8-cpu/libtorch/include/ATen/Type.h:2,
from /build/deps/linux-arm64v8-cpu/libtorch/include/ATen/Context.h:4,
from /build/deps/linux-arm64v8-cpu/libtorch/include/ATen/ATen.h:5,
from /build/deps/linux-arm64v8-cpu/libtorch/include/torch/csrc/api/include/torch/types.h:3,
from /build/deps/linux-arm64v8-cpu/libtorch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
from /build/deps/linux-arm64v8-cpu/libtorch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
from /build/deps/linux-arm64v8-cpu/libtorch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
from /build/deps/linux-arm64v8-cpu/libtorch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
from /build/deps/linux-arm64v8-cpu/libtorch/include/torch/csrc/api/include/torch/data.h:3,
from /build/deps/linux-arm64v8-cpu/libtorch/include/torch/csrc/api/include/torch/all.h:4,
from /build/deps/linux-arm64v8-cpu/libtorch/include/torch/csrc/api/include/torch/torch.h:3,
from /build/src/libtorch_c/torch_c.cpp:2:
/build/deps/linux-arm64v8-cpu/libtorch/include/c10/util/intrusive_ptr.h:270:12: note: candidate: 'TTarget* c10::intrusive_ptr<T, NullType>::get() const [with TTarget = c10::ivalue::List<at::Tensor>; NullType = c10::detail::intrusive_target_default_null_type<c10::ivalue::List<at::Tensor> >]'
TTarget* get() const noexcept {
^~~
/build/deps/linux-arm64v8-cpu/libtorch/include/c10/util/intrusive_ptr.h:270:12: note: candidate expects 0 arguments, 1 provided
In file included from /usr/include/aarch64-linux-gnu/c++/8/bits/c++allocator.h:33,
from /usr/include/c++/8/bits/allocator.h:46,
from /usr/include/c++/8/memory:63,
from /build/deps/linux-arm64v8-cpu/libtorch/include/c10/core/Allocator.h:4,
from /build/deps/linux-arm64v8-cpu/libtorch/include/ATen/ATen.h:3,
from /build/deps/linux-arm64v8-cpu/libtorch/include/torch/csrc/api/include/torch/types.h:3,
from /build/deps/linux-arm64v8-cpu/libtorch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
from /build/deps/linux-arm64v8-cpu/libtorch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
from /build/deps/linux-arm64v8-cpu/libtorch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
from /build/deps/linux-arm64v8-cpu/libtorch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
from /build/deps/linux-arm64v8-cpu/libtorch/include/torch/csrc/api/include/torch/data.h:3,
from /build/deps/linux-arm64v8-cpu/libtorch/include/torch/csrc/api/include/torch/all.h:4,
from /build/deps/linux-arm64v8-cpu/libtorch/include/torch/csrc/api/include/torch/torch.h:3,
from /build/src/libtorch_c/torch_c.cpp:2:
/usr/include/c++/8/ext/new_allocator.h: In instantiation of 'void __gnu_cxx::new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = torch::jit::script::Module; _Args = {std::shared_ptr<torch::jit::script::Module>}; _Tp = torch::jit::script::Module]':
/usr/include/c++/8/bits/alloc_traits.h:475:4: required from 'static void std::allocator_traits<std::allocator<_Tp1> >::construct(std::allocator_traits<std::allocator<_Tp1> >::allocator_type&, _Up*, _Args&& ...) [with _Up = torch::jit::script::Module; _Args = {std::shared_ptr<torch::jit::script::Module>}; _Tp = torch::jit::script::Module; std::allocator_traits<std::allocator<_Tp1> >::allocator_type = std::allocator<torch::jit::script::Module>]'
/usr/include/c++/8/bits/shared_ptr_base.h:545:39: required from 'std::_Sp_counted_ptr_inplace<_Tp, _Alloc, _Lp>::_Sp_counted_ptr_inplace(_Alloc, _Args&& ...) [with _Args = {std::shared_ptr<torch::jit::script::Module>}; _Tp = torch::jit::script::Module; _Alloc = std::allocator<torch::jit::script::Module>; __gnu_cxx::_Lock_policy _Lp = (__gnu_cxx::_Lock_policy)2]'
/usr/include/c++/8/bits/shared_ptr_base.h:677:16: required from 'std::__shared_count<_Lp>::__shared_count(_Tp*&, std::_Sp_alloc_shared_tag<_Alloc>, _Args&& ...) [with _Tp = torch::jit::script::Module; _Alloc = std::allocator<torch::jit::script::Module>; _Args = {std::shared_ptr<torch::jit::script::Module>}; __gnu_cxx::_Lock_policy _Lp = (__gnu_cxx::_Lock_policy)2]'
/usr/include/c++/8/bits/shared_ptr_base.h:1342:71: required from 'std::__shared_ptr<_Tp, _Lp>::__shared_ptr(std::_Sp_alloc_shared_tag<_Tp>, _Args&& ...) [with _Alloc = std::allocator<torch::jit::script::Module>; _Args = {std::shared_ptr<torch::jit::script::Module>}; _Tp = torch::jit::script::Module; __gnu_cxx::_Lock_policy _Lp = (__gnu_cxx::_Lock_policy)2]'
/usr/include/c++/8/bits/shared_ptr.h:359:59: required from 'std::shared_ptr<_Tp>::shared_ptr(std::_Sp_alloc_shared_tag<_Tp>, _Args&& ...) [with _Alloc = std::allocator<torch::jit::script::Module>; _Args = {std::shared_ptr<torch::jit::script::Module>}; _Tp = torch::jit::script::Module]'
/usr/include/c++/8/bits/shared_ptr.h:705:14: required from 'std::shared_ptr<_Tp> std::allocate_shared(const _Alloc&, _Args&& ...) [with _Tp = torch::jit::script::Module; _Alloc = std::allocator<torch::jit::script::Module>; _Args = {std::shared_ptr<torch::jit::script::Module>}]'
/usr/include/c++/8/bits/shared_ptr.h:721:39: required from 'std::shared_ptr<_Tp> std::make_shared(_Args&& ...) [with _Tp = torch::jit::script::Module; _Args = {std::shared_ptr<torch::jit::script::Module>}]'
/build/src/libtorch_c/torch_c.cpp:326:94: required from here
/usr/include/c++/8/ext/new_allocator.h:136:4: error: no matching function for call to 'torch::jit::script::Module::Module(std::shared_ptr<torch::jit::script::Module>)'
{ ::new((void *)__p) _Up(std::forward<_Args>(__args)...); }
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /build/deps/linux-arm64v8-cpu/libtorch/include/torch/csrc/jit/script/compiler.h:8,
from /build/deps/linux-arm64v8-cpu/libtorch/include/torch/csrc/api/include/torch/jit.h:3,
from /build/deps/linux-arm64v8-cpu/libtorch/include/torch/csrc/api/include/torch/all.h:5,
from /build/deps/linux-arm64v8-cpu/libtorch/include/torch/csrc/api/include/torch/torch.h:3,
from /build/src/libtorch_c/torch_c.cpp:2:
/build/deps/linux-arm64v8-cpu/libtorch/include/torch/csrc/jit/script/module.h:135:3: note: candidate: 'torch::jit::script::Module::Module()'
Module()
^~~~~~
/build/deps/linux-arm64v8-cpu/libtorch/include/torch/csrc/jit/script/module.h:135:3: note: candidate expects 0 arguments, 1 provided
make[3]: *** [src/libtorch_c/CMakeFiles/torch_c.dir/build.make:63: src/libtorch_c/CMakeFiles/torch_c.dir/torch_c.cpp.o] Error 1
make[2]: *** [CMakeFiles/Makefile2:240: src/libtorch_c/CMakeFiles/torch_c.dir/all] Error 2
make[1]: *** [Makefile:130: all] Error 2
make: *** [Makefile:89: ../bin/linux-arm64v8-release/src/redisai.so] Error 2
make: Leaving directory '/build/opt'
Could someone help ?