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
I've recently just tried to build tvm using the docker image provided in the repo. I'm getting the following depreciation errors when trying to build with nnpack enabled:
In file included from /NNPACK/build/include/nnpack.h:7:0,
from /workspace/src/contrib/nnpack/fully_connected.cc:27:
/NNPACK/build/include/pthreadpool.h:185:14: error: 'pthreadpool_function_1d_t' is deprecated [-Werror=deprecated-declarations]
size_t range);
[more depreciation warnings....]
cc1plus: all warnings being treated as errors
CMakeFiles/tvm_runtime.dir/build.make:758: recipe for target 'CMakeFiles/tvm_runtime.dir/src/contrib/nnpack/nnpack_utils.cc.o' failed
make[4]: *** [CMakeFiles/tvm_runtime.dir/src/contrib/nnpack/nnpack_utils.cc.o] Error 1
The text was updated successfully, but these errors were encountered:
Confirmed. The version of nnpack pulled and built by tvm is pinned. However it appears that nnpack itself clones the pthreadpool project and checks out the most recent master of that project. Ideally we should have a way of properly pinning nnpack and it's dependent packages in order to have a stable build environment for tvm.
I've recently just tried to build tvm using the docker image provided in the repo. I'm getting the following depreciation errors when trying to build with nnpack enabled:
The text was updated successfully, but these errors were encountered: