You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
对应的ModuleBaisc.out分别执行cuda推理和cpu推理的执行结果如下:
1)cuda推理结果,输出为全0
./ModuleBasic.out model.mnn onnx 0 2 1 1 2
Test model.mnn from input info: onnx
onnx_input
output: onnx_output
Use extra forward type: 2
precision=2 in main, 178
cacheFileName=s .tempcache in main, 179
The device support dot:0, support fp16:0, support i8mm: 0
Load Cache file error.
main, 213, cost time: 75.061005 ms
Run for 0 time
before compare onnx_output: (1, 160000, )
TESTERROR onnx_output value error : absMaxV:0.033646 - DiffMax 0.033646
0 run Error for output onnx_output
Write onnx_output output to output/0_0.txt
memoryInMB=f 208.052795 in main, 332
Avg= 11.334001 ms, min= 11.334001 ms, max= 11.334001 ms
(audio_torch) root@cs102:/disk4/MNN/build# vim output/0_0.txt
2)cpu推理,推理结果正常
(audio_torch) root@cs102:/disk4/MNN/build# ./ModuleBasic.out model.mnn onnx 0 0 1 1 2
Test model.mnn from input info: onnx
onnx_input
output: onnx_output
Use extra forward type: 0
precision=2 in main, 178
cacheFileName=s .tempcache in main, 179
The device support dot:0, support fp16:0, support i8mm: 0
Load Cache file error.
main, 213, cost time: 99.201004 ms
Run for 0 time
before compare onnx_output: (1, 160000, )
Write onnx_output output to output/0_0.txt
memoryInMB=f 385.236145 in main, 332
Avg= 3502.545166 ms, min= 3502.545166 ms, max= 3502.545166 ms
The text was updated successfully, but these errors were encountered:
平台(如果交叉编译请再附上交叉编译目标平台):
linux
Github版本: 2.3.1 ,因为2.4.2无法编译cuda版本,所以采用2.3.1能编译出cuda版本。
编译方式:
Compiling Method
cmake .. -DMNN_USE_SYSTEM_LIB=true -DMNN_SEP_BUILD=false -DMNN_BUILD_CONVERTER=true && make -j8
model.zip
粘贴在这里
Paste log here or pastebin
The text was updated successfully, but these errors were encountered: