MNN icon indicating copy to clipboard operation
MNN copied to clipboard

当前使用MNN2QNNModel转一个static静态模型,报错如下

Open 13737546369 opened this issue 2 weeks ago • 3 comments

求救!! 报错信息 first backend forward type is: 13, second is: 0input 0 shape:1 3 224 224 tar: Cowardly refusing to create an empty archive Try 'tar --help' or 'tar --usage' for more information. Failed to execute command: tar -cf ./mobilenet_qnn//mobilenet_fp32_static_0/mobilenet_fp32_static_0.bin -C ./mobilenet_qnn//mobilenet_fp32_static_0 $(find ./mobilenet_qnn//mobilenet_fp32_static_0 -maxdepth 1 -name '.raw' -printf '%f ') && rm ./mobilenet_qnn//mobilenet_fp32_static_0/.raw

堆栈如下 Traceback (most recent call last): File "/qairt/2.40.0.251030//bin/x86_64-linux-clang/qnn-model-lib-generator", line 566, in main() File "/qairt/2.40.0.251030//bin/x86_64-linux-clang/qnn-model-lib-generator", line 560, in main result = generator.build_targets(config) File "/qairt/2.40.0.251030//bin/x86_64-linux-clang/qnn-model-lib-generator", line 447, in build_targets self._normalize_config(config) File "/qairt/2.40.0.251030//bin/x86_64-linux-clang/qnn-model-lib-generator", line 415, in _normalize_config raise FileNotFoundError(f'Unable to find the model source file, invalid path: {config.model_cpp.absolute()}') FileNotFoundError: Unable to find the model source file, invalid path: /MNN-master/build/mobilenet_qnn/mobilenet_fp32_static_0/mobilenet_fp32_static_0.cpp [Error]: qnn-model-lib-generator error!

13737546369 avatar Dec 08 '25 07:12 13737546369

方便提供模型给我们这里测试下吗

Qxinyu avatar Dec 09 '25 07:12 Qxinyu

mobilenetv1的开源模型

---原始邮件--- 发件人: @.> 发送时间: 2025年12月9日(周二) 下午3:18 收件人: @.>; 抄送: @.@.>; 主题: Re: [alibaba/MNN] 当前使用MNN2QNNModel转一个static静态模型,报错如下 (Issue #4049)

Qxinyu left a comment (alibaba/MNN#4049)

方便提供模型给我们这里测试下吗

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

13737546369 avatar Dec 10 '25 07:12 13737546369

直接在线跑会有问题吗。

Qxinyu avatar Dec 10 '25 11:12 Qxinyu

直接在线跑没问题。我只是想尝试一下静态模型和能否调用qnn的离线量化

---原始邮件--- 发件人: @.> 发送时间: 2025年12月10日(周三) 晚上8:00 收件人: @.>; 抄送: @.@.>; 主题: Re: [alibaba/MNN] 当前使用MNN2QNNModel转一个static静态模型,报错如下 (Issue #4049)

Qxinyu left a comment (alibaba/MNN#4049)

直接在线跑会有问题吗。

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

13737546369 avatar Dec 15 '25 00:12 13737546369

直接在线跑没问题。我只是想尝试一下静态模型和能否调用qnn的离线量化

---原始邮件--- 发件人: @.> 发送时间: 2025年12月10日(周三) 晚上8:00 收件人: @.>; 抄送: @.@.>; 主题: Re: [alibaba/MNN] 当前使用MNN2QNNModel转一个static静态模型,报错如下 (Issue #4049)

Qxinyu left a comment (alibaba/MNN#4049)

直接在线跑会有问题吗。

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

好的,离线主要是给llm大模型用的,传统的cv模型我们还没有专门测试过,这个后续我们定位修复一下。

Qxinyu avatar Dec 15 '25 01:12 Qxinyu

好的。感谢支持

---原始邮件--- 发件人: @.> 发送时间: 2025年12月15日(周一) 上午10:00 收件人: @.>; 抄送: @.@.>; 主题: Re: [alibaba/MNN] 当前使用MNN2QNNModel转一个static静态模型,报错如下 (Issue #4049)

Qxinyu left a comment (alibaba/MNN#4049)

直接在线跑没问题。我只是想尝试一下静态模型和能否调用qnn的离线量化 …

---原始邮件--- 发件人: @.> 发送时间: 2025年12月10日(周三) 晚上8:00 收件人: @.>; 抄送: @.@.>; 主题: Re: [alibaba/MNN] 当前使用MNN2QNNModel转一个static静态模型,报错如下 (Issue #4049)

Qxinyu left a comment (alibaba/MNN#4049)

直接在线跑会有问题吗。

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

好的,离线主要是给llm大模型用的,传统的cv模型我们还没有专门测试过,这个后续我们定位修复一下。

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

13737546369 avatar Dec 15 '25 06:12 13737546369