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.37k stars 765 forks source link

x86_hard_swish_layer_acc.cc AVX2指令崩溃 #1967

Open AndroidPhoenix opened 9 months ago

AndroidPhoenix commented 9 months ago

hello TNN team, 我们在使用tnn进行本地OCR推理。在上线了之后发生异常崩溃。 经过dump分析该崩溃发生在AVX2指令中,具体在 x86_hard_swish_layer_acc.cc 的 _mm256_set1_ps 调用上。 目前该崩溃仅存在线上 环境,本地模拟无法重现。 在搜索了TNN所有Issue后没有发现类似问题,查看x 86_hard_swish_layer_acc的历史记录也没有和问题相关的修复修改。 以下是详细崩溃信息以及相关的崩溃dump文件。 tnn_dump.zip

1. 环境(environment)