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.
Other
4.38k stars 766 forks source link

opencl的premute崩溃 code: 0x9004 msg: unsupported data format for device acc Segmentation fault #1935

Open TD-wzw opened 1 year ago

TD-wzw commented 1 year ago

1. 环境(environment)

TD-wzw commented 1 year ago

再补充一下:崩溃是因为要用动态尺寸去推理,在CreateInst这个阶段事先申请了比较大的内存,如果内存申请小一点就不会崩溃,但推理结果是错误的。 看这个崩溃的日志是说unsupported data format for device acc,这个信息是否准确可靠?是不是在这之前就已经崩掉了,只是没有退出程序,也没有对异常的状态值做处理,所以直到走到这里才崩掉的。