-
Notifications
You must be signed in to change notification settings - Fork 437
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Hackathon 181] Add TVM support for FastDeploy #1811
Conversation
@@ -167,6 +168,10 @@ if(ENABLE_RKNPU2_BACKEND) | |||
list(APPEND FASTDEPLOY_LIBS ${RKNPU2_LIB}) | |||
endif() | |||
|
|||
if(ENABLE_TVM_BACKEND) | |||
set(TVM_RUNTIME_LIB ${CMAKE_CURRENT_LIST_DIR}/third_libs/install/tvm/lib/libtvm_runtime.dylib) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
dylib是Mac的动态库,这里是只支持Mac?Linux和Win怎么支持呢?这里需要按照OS来做下处理。
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这个需要编译下,我想想咋解决
@@ -0,0 +1,17 @@ | |||
# set path | |||
set(TVM_BASE_PATH "/Users/zhengbicheng/Code/Hackathon/AddTVMForFastDeploy/FastDeploy/tvm") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这里不能hardcode,参考paddlelite.cmake来写吧,从某个固定的地址下载。
PR types(PR类型)
Backend
Description