6,982
社区成员
发帖
与我相关
我的任务
分享我按照大语言模型系列 (4): BGE-Base-Zh-V1.5 端侧使用教程实现了同样的模型推理逻辑,qai_libs用了2.41,2.42,拷贝了v73和aarch64-windows-msvc目录下的静态库和dll文件,都出现了以下报错:
❌ QNN 模型初始化失败: __init__(): incompatible constructor arguments. The following argument types are supported:
1. qai_appbuilder.QNNContext(arg0: str, arg1: str, arg2: str, arg3: str, arg4: bool, arg5: str, arg6: str)
2. qai_appbuilder.QNNContext(arg0: str, arg1: str, arg2: str, arg3: str, arg4: list[LoraAdapter], arg5: bool, arg6: str, arg7: str)
3. qai_appbuilder.QNNContext(arg0: str, arg1: str, arg2: str, arg3: str, arg4: str, arg5: bool, arg6: str, arg7: str)
Invoked with: 'bge_context', WindowsPath('C:/Users/AI-PC-38/strawberry-scan/src/models/bge-base-zh-v1.5/model.bin'), 'C:\\Users\\AI-PC-38\\strawberry-scan\\qai_libs\\QnnHtp.dll', 'C:\\Users\\AI-PC-38\\strawberry-scan\\qai_libs\\QnnSystem.dll', False, 'float', 'float'