LLVM
LLVM
问题一
问题
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16Traceback (most recent call last):
File "/home/orangepi/.local/bin/tvmc", line 5, in <module>
from tvm.driver.tvmc.main import main
File "/home/orangepi/.local/lib/python3.10/site-packages/tvm/driver/tvmc/__init__.py", line 31, in <module>
from . import micro
File "/home/orangepi/.local/lib/python3.10/site-packages/tvm/driver/tvmc/micro.py", line 37, in <module>
import tvm.micro.project as project
File "/home/orangepi/.local/lib/python3.10/site-packages/tvm/micro/__init__.py", line 24, in <module>
from .model_library_format import (
File "/home/orangepi/.local/lib/python3.10/site-packages/tvm/micro/model_library_format.py", line 35, in <module>
from ..relay import param_dict
File "/home/orangepi/.local/lib/python3.10/site-packages/tvm/relay/__init__.py", line 23, in <module>
from . import ty
File "/home/orangepi/.local/lib/python3.10/site-packages/tvm/relay/ty.py", line 26, in <module>
Any = _ffi_api.Any
AttributeError: module 'tvm.relay._ffi_api' has no attribute 'Any'原因
解决方案
1
sudo apt install libtinfo-dev
问题二
问题
1
2
3
4
5
6
7
8-- Could NOT find LIBBACKTRACE (missing: LIBBACKTRACE_STATIC_LIBRARY LIBBACKTRACE_INCLUDE_DIR)
-- Building libbacktrace from 3rdparty/libbacktrace
-- Building with TVM Map...
-- Build with thread support...
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed原因
解决方案
1
2
![]() |
![]() |
签名:Smile every day
名字:宏沉一笑
邮箱:whghcyx@outlook.com
个人网站:https://whg555.github.io
转载请注明来源,欢迎对文章中的引用来源进行考证,欢迎指出任何有错误或不够清晰的表达。可以在下面评论区评论,也可以邮件至 whghcyx@outlook.com
文章标题:LLVM
文章字数:353
本文作者:宏沉一笑
发布时间:2024-03-25, 08:55:32
最后更新:2024-03-25, 10:00:24
原始链接:https://whghcyx.gitee.io/2024/03/25/%E9%97%AE%E9%A2%98-2024-03-25-LLVM%E9%97%AE%E9%A2%98/版权声明: "署名-非商用-相同方式共享 4.0" 转载请保留原文链接及作者。