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
# 请在这里粘贴cmake参数或使用的cmake脚本路径以及完整输出
(base) root@be662baf462f:/workspace/MNN/build# cmake .. -DMNN_BUILD_CONVERTER=ON -DMNN_BUILD_BENCHMARK=ON
-- The C compiler identification is GNU 11.4.0
-- The CXX compiler identification is GNU 11.4.0
-- The ASM compiler identification is GNU
-- Found assembler: /usr/bin/cc
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
--
-- 3.19.0.0
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- Performing Test protobuf_HAVE_BUILTIN_ATOMICS
-- Performing Test protobuf_HAVE_BUILTIN_ATOMICS - Success
-- Use Threadpool, forbid openmp
-- >>>>>>>>>>>>>
-- MNN BUILD INFO:
-- System: Linux
-- Processor: x86_64
-- Version: 2.9.6
-- Metal: OFF
-- OpenCL: OFF
-- OpenGL: OFF
-- Vulkan: OFF
-- ARM82: ON
-- oneDNN: OFF
-- TensorRT: OFF
-- CoreML: OFF
-- NNAPI: OFF
-- CUDA: OFF
-- OpenMP: OFF
-- BF16: OFF
-- ThreadPool: ON
-- Hidden: TRUE
-- Build Path: /workspace/MNN/build
-- CUDA PROFILE: OFF
-- WIN_USE_ASM:
-- x86_64: Open SSE
-- MNN_AVX512:OFF
-- Onnx:
-- Configuring done
-- Generating done
-- Build files have been written to: /workspace/MNN/build
编译日志:
Build Log:
...
[ 98%] Built target testModel.out
[ 98%] Linking CXX executable testTrain.out
[ 98%] Built target testTrain.out
[ 98%] Linking CXX executable GetMNNInfo
[ 98%] Built target GetMNNInfo
[ 98%] Linking CXX executable modelCompare.out
[ 98%] Linking CXX executable testModelWithDescribe.out
[ 98%] Built target modelCompare.out
[ 98%] Linking CXX executable backendTest.out
[ 98%] Built target testModelWithDescribe.out
[ 98%] Built target backendTest.out
[ 98%] Linking CXX executable MNNV2Basic.out
[ 98%] Built target MNNV2Basic.out
[ 98%] Linking CXX executable SequenceModuleTest.out
[ 98%] Built target SequenceModuleTest.out
[ 98%] Linking CXX executable benchmarkExprModels.out
[ 98%] Built target benchmarkExprModels.out
[ 98%] Linking CXX executable ModuleBasic.out
[ 98%] Built target ModuleBasic.out
[ 98%] Linking CXX executable fuseTest
[ 99%] Linking CXX executable mobilenetTest.out
[ 99%] Built target fuseTest
[ 99%] Built target mobilenetTest.out
[ 99%] Linking CXX executable LoRA
[ 99%] Built target LoRA
[ 99%] Linking CXX executable mergeInplaceForCPU
[ 99%] Built target mergeInplaceForCPU
[ 99%] Linking CXX executable benchmark.out
[ 99%] Built target benchmark.out
[ 99%] Linking CXX executable timeProfile.out
[ 99%] Built target timeProfile.out
[ 99%] Linking CXX shared library libMNNConvertDeps.so
[ 99%] Built target MNNConvertDeps
[ 99%] Building CXX object tools/converter/CMakeFiles/MNNDump2Json.dir/source/MNNDump2Json.cpp.o
[ 99%] Building CXX object tools/converter/CMakeFiles/TestPassManager.dir/source/TestPassManager.cpp.o
[ 99%] Building CXX object tools/converter/CMakeFiles/MNNConvert.dir/source/MNNConverter.cpp.o
[ 99%] Building CXX object tools/converter/CMakeFiles/TestConvertResult.dir/source/TestConvertResult.cpp.o
[ 99%] Building CXX object tools/converter/CMakeFiles/MNNRevert2Buffer.dir/source/MNNRevert2Buffer.cpp.o
[ 99%] Linking CXX executable ../../MNNDump2Json
[ 99%] Linking CXX executable ../../MNNRevert2Buffer
[ 99%] Linking CXX executable ../../MNNConvert
[ 99%] Linking CXX executable ../../TestConvertResult
[ 99%] Built target MNNDump2Json
[ 99%] Built target MNNRevert2Buffer
[ 99%] Built target MNNConvert
[ 99%] Built target TestConvertResult
[100%] Linking CXX executable ../../TestPassManager
[100%] Built target TestPassManager
平台(如果交叉编译请再附上交叉编译目标平台):
Platform(Include target platform as well if cross-compiling):
Github版本:
Github Version:
2.9.6版本, commit: a74551b
编译方式:
Compiling Method
编译日志:
Build Log:
问题描述
Pytorch模型代码
这是我的pytorch定义的模型结构,我后续的模型都是基于这个导出的。
MNNConvert
运行benchmark.out
附件
包含了
basic1.onnx
,basic2.onnx
和basic1.mnn
,basic2.mnn
onnxs_and_mnns.zip
The text was updated successfully, but these errors were encountered: