-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Description
Unable to install NNPACK during execution of the script ubuntu_install_nnpack.sh due to CMake build error.
The cause of this issue is due to a recent change in the external dependency pytorch/cpuinfo, which renamed the default branch to main. The NNPACK dependency has not been updated to point to the new branch in DownloadCpuinfo.cmake.
Issue has been raised for NNPACK here.
Expected behavior
Cmake should successfully build NNPACK and install it on the Docker image.
Actual behavior
build fails with the following error:
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
NNPACK_CLOG_CONTRIB_LIB
linked by target "tvm_runtime" in directory /workspace
linked by target "tvm" in directory /workspace
NNPACK_CONTRIB_LIB
linked by target "tvm_runtime" in directory /workspace
linked by target "tvm" in directory /workspace
NNPACK_CPUINFO_CONTRIB_LIB
linked by target "tvm_runtime" in directory /workspace
linked by target "tvm" in directory /workspace
NNPACK_PTHREAD_CONTRIB_LIB
linked by target "tvm_runtime" in directory /workspace
linked by target "tvm" in directory /workspace
Steps to reproduce
This issue can be replicated in a local environment when using ubuntu_install_nnpack.sh to check out and build the latest version of NNPACK in a Docker container.
Triage
Please refer to the list of label tags here to find the relevant tags and add them below in a bullet format (example below).
- needs-triage
- dev:ci