gaintpd opened a new issue #7261:
URL: https://github.com/apache/tvm/issues/7261


   I can compile the tvm successfully on my ubuntu 20.04 LTS edition, and the 
hardware is thinkpad P52, When I set the ethos-n option in config.cmake in the 
build directory, I get the following error:
   ```
   -- Build with RPC support...
   -- Build with Graph runtime support...
   -- Build with Graph runtime debug support...
   -- VTA build with VTA_HW_PATH=/home/dyn/tvm/3rdparty/vta-hw
   -- Build VTA runtime with target: sim
   -- Found CUDA_TOOLKIT_ROOT_DIR=/usr/local/cuda
   -- Found 
CUDA_CUDA_LIBRARY=/usr/local/cuda/targets/x86_64-linux/lib/stubs/libcuda.so
   -- Found CUDA_CUDART_LIBRARY=/usr/local/cuda/lib64/libcudart.so
   -- Found CUDA_NVRTC_LIBRARY=/usr/local/cuda/lib64/libnvrtc.so
   -- Found CUDA_CUDNN_LIBRARY=CUDA_CUDNN_LIBRARY-NOTFOUND
   -- Found CUDA_CUBLAS_LIBRARY=/usr/local/cuda/lib64/libcublas.so
   -- Found CUDA_CUBLASLT_LIBRARY=/usr/local/cuda/lib64/libcublasLt.so
   -- Build with CUDA support
   -- Not found - LLVM_LIBS
   -- Fall back to using llvm-config
   -- Use llvm-config=/usr/lib/llvm-10/bin/llvm-config
   -- Found LLVM_INCLUDE_DIRS=/usr/lib/llvm-10/include
   -- Found LLVM_DEFINITIONS=-D_GNU_SOURCE -D__STDC_CONSTANT_MACROS 
-D__STDC_FORMAT_MACROS 
-D__STDC_LIMIT_MACROS;-D_GNU_SOURCE;-D__STDC_CONSTANT_MACROS;-D__STDC_FORMAT_MACROS;-D__STDC_LIMIT_MACROS
   -- Found LLVM_LIBS=/usr/lib/llvm-10/lib/libLLVM-10.so
   -- Found TVM_LLVM_VERSION=100
   -- Build with LLVM 10.0.0
   -- Set TVM_LLVM_VERSION=100
   -- Arm Ethos-N driver stack 
PATH=/media/dyn/Data/deepLearningLibrary-linux/ethos-n-driver-stack
   CMake Error at cmake/modules/contrib/EthosN.cmake:24 (message):
     Cannot find Ethos-N,
     USE_ETHOSN=/media/dyn/Data/deepLearningLibrary-linux/ethos-n-driver-stack
   Call Stack (most recent call first):
     CMakeLists.txt:339 (include)
   
   
   -- Configuring incomplete, errors occurred!
   See also "/home/dyn/tvm/build/CMakeFiles/CMakeOutput.log".
   See also "/home/dyn/tvm/build/CMakeFiles/CMakeError.log".
   ```
   How to fix this problem?
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to