Tencent / TNN

TNN: developed by Tencent Youtu Lab and Guangying Lab, a uniform deep learning inference framework for mobile、desktop and server. TNN is distinguished by several outstanding features, including its cross-platform capability, high performance, model compression and code pruning. Based on ncnn and Rapidnet, TNN further strengthens the support and performance optimization for mobile devices, and also draws on the advantages of good extensibility and high performance from existed open source efforts. TNN has been deployed in multiple Apps from Tencent, such as Mobile QQ, Weishi, Pitu, etc. Contributions are welcome to work in collaborative with us and make TNN a better framework.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

code: 0xA007 msg: OpenCL malloc memory failed

LitchiCheng opened this issue · comments

1. 环境(environment)

  • Build OS and Version: Ubuntu
  • RunTime OS Version: Linux
  • RunTime DEVICE: OPENCL

2. Github版本

  • branch:master
  • commit(optional): 1c27f20

3. 编译方式(compile method)
scripts/build_aarch64_linux.sh

SHARED_LIB="ON"
ARM="ON"
OPENMP="ON"
OPENCL="ON"
RKNPU="OFF"

4. 编译日志(build log)

[ 99%] Linking CXX shared library libTNN.so
[ 99%] Built target TNN
Scanning dependencies of target TNNTest
[100%] Building CXX object test/CMakeFiles/TNNTest.dir/timer.cc.o
[100%] Building CXX object test/CMakeFiles/TNNTest.dir/flags.cc.o
[100%] Building CXX object test/CMakeFiles/TNNTest.dir/test_utils.cc.o
[100%] Building CXX object test/CMakeFiles/TNNTest.dir/test.cc.o
[100%] Linking CXX executable TNNTest
[100%] Built target TNNTest

5. 详细描述bug 情况 (Describe the bug)
官网的yolov8s-seg.onnx转换tnn模型,然后使用build_aarch64_linux/test的TNNTest
sudo ./TNNTest -mt TNN -dt OPENCL -mp yolov8s-seg.opt.tnnproto -wc 1 -sc s0 -ic 1 -pr HIGH -ip . -op .
报错

6. 运行日志(runtime log)
logfail.txt

7. 截图(Screenshots)
图片

soc imx8qm

Device Name                                     Vivante OpenCL Device GC7000XSVX.6009.0000
  Device Vendor                                   Vivante Corporation
  Device Vendor ID                                0x564956
  Device Version                                  OpenCL 1.2
  Driver Version                                  OpenCL 1.2 V6.4.3.p1.305572
  Device OpenCL C Version                         OpenCL C 1.2

TNN没人维护了吗?

Try checking out the 0.4 branch, I see there are still commits