-
Notifications
You must be signed in to change notification settings - Fork 3
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
[feat] Port to windows #22
Comments
Originally posted by @Davidqian123 in #14 thought we can move our discussion here, i've created new issues and branch |
Status update:
|
What command did you use to compile? Did you set |
Yeah, you can try it with latest vs2022, make sure to install clang toolchain, and add following variable at the {
"name": "arm64-windows-llvm", "hidden": true,
"architecture": { "value": "arm64", "strategy": "external" },
"toolset": { "value": "host=x64", "strategy": "external" },
"cacheVariables": {
"CMAKE_TOOLCHAIN_FILE": "${sourceDir}/cmake/arm64-windows-llvm.cmake",
+ "GGML_QNN": "ON",
+ "GGML_QNN_SDK_PATH": "<path to your Qualcomm AI Engine Direct SDK>",
+ "BUILD_SHARED_LIBS": "OFF"
}
}, |
How to build on Windows
QnnSystem.dll
QnnCpu.dll
QnnGpu.dll
QnnHtp.dll
QnnHtp*.dll |
Hi 大佬,我在我的X Elite笔记本上试着跑了下,看起来Windows下libcdsprpc.so好像叫libcdsprpc.dll
文档提到的驱动路径里面确实有这个
好像是extend_lib_search_path 默认值"/"在Windows下无法正常工作,自己编译运行的话需要在CMakePresets.json多加一行QNN_DEFAULT_LIB_SEARCH_PATH的位置
|
Thank you @liurunliang for testing, many help!
For the name of
Yeah, thank you again for shout out this, forgot to say, we should copy related qnn shared library into the binary folder, gonna update the instructions to list all the dlls we need
Thats what i gonna looks into next, originally for win, the |
Hi @liurunliang, I've push some fix to the |
Hi @chraac It works great! thank you~ |
nice nice! thanks! will merge this into |
Tasks
For detailed build instructions, please refer to #22 (comment)
The text was updated successfully, but these errors were encountered: