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
"build tnn static"
A subdirectory or file build_tnn_win32 already exists.
-- Selecting Windows SDK version 10.0.18362.0 to target Windows .
F:/Project/KAIProject/CV-AI/TNN
F:/Project/KAIProject/CV-AI/TNN
-- >>>>>>>>>>>>>
-- TNN BUILD INFO:
-- System: Windows
-- Processor:
-- Cpu: ON
-- X86: ON
-- Arm: OFF
-- Arm82: OFF
-- Metal: OFF
-- OpenCL: OFF
-- CUDA: OFF
-- DSP: OFF
-- Atlas: OFF
-- TensorRT: OFF
-- AppleNPU: OFF
-- HuaweiNPU: OFF
-- RKNPU: OFF
-- Jetson Nano: OFF
-- OpenVINO: OFF
-- OpenMP: OFF
-- TEST: OFF
-- --Unit Test: OFF
-- Quantization: OFF
-- ModelCheck: OFF
-- DEBUG:
-- PROFILE: OFF
-- BENCHMARK: OFF
-- BENCHMARK Layer: OFF
-- Model Converter: OFF
-- ONNX2TNN Converter: OFF
-- TNN2MEM: OFF
-- BENCHMARK Test Lib: OFF
-- Dynamic Range Quantization: OFF
-- SHARING_MEM_WITH_OPENGL:
-- Configuring done
-- Generating done
-- Build files have been written to: F:/Project/KAIProject/CV-AI/build/build_tnn_win32
用于 .NET Framework 的 Microsoft (R) 生成引擎版本 16.4.0+e901037fe
版权所有(C) Microsoft Corporation。保留所有权利。
TNNCpu.vcxproj -> F:\Project\KAIProject\CV-AI\build\build_tnn_win32\source\tnn\device\cpu\TNNCpu.dir\Debug\TNNCpu.lib
TNNX86.vcxproj -> F:\Project\KAIProject\CV-AI\build\build_tnn_win32\source\tnn\device\x86\TNNX86.dir\Debug\TNNX86.lib
TNNX86ACC.vcxproj -> F:\Project\KAIProject\CV-AI\build\build_tnn_win32\source\tnn\device\x86\TNNX86ACC.dir\Debug\TNNX
86ACC.lib
TNN.vcxproj -> F:\Project\KAIProject\CV-AI\build\build_tnn_win32\Debug\TNN.lib
"build_win"
A subdirectory or file build_win32 already exists.
-- Selecting Windows SDK version 10.0.18362.0 to target Windows .
-- F:\Project\KAIProject\CV-AI\script\..\build\build_tnn_win32\
-- >>> 1
-- OpenCV ARCH: x86
-- OpenCV RUNTIME: vc16
-- OpenCV STATIC: OFF
-- Found OpenCV 4.1.0 in F:/Project/KAIProject/CV-AI/demo/third_party/opencv/libs/win/win32/x86/vc16/lib
-- You might need to add F:\Project\KAIProject\CV-AI\demo\third_party\opencv\libs\win\win32\x86\vc16\bin to your PATH to be able to run your applications.
-- Configuring done
-- Generating done
-- Build files have been written to: F:/Project/KAIProject/CV-AI/build/build_win32
用于 .NET Framework 的 Microsoft (R) 生成引擎版本 16.4.0+e901037fe
版权所有(C) Microsoft Corporation。保留所有权利。
ktnn_engine.vcxproj -> F:\Project\KAIProject\CV-AI\build\build_win32\Debug\ktnn_engine.dll
5. 详细描述bug 情况 (Describe the bug)
基于TNN封装了自研的OCR模型,在线上发生偶现崩溃。崩溃位置在 x86_hard_swish_layer_acc的代码
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)
2. Github版本
3. 编译方式(compile method)
CMake完整编译参数(full cmake arguments)
cmake %TNN_SRC_DIR% ^
-DCMAKE_GENERATOR_PLATFORM=Win32 ^
-DCMAKE_BUILD_TYPE=Release^
-DCMAKE_SYSTEM_NAME=Windows ^
-DTNN_CPU_ENABLE=ON ^
-DTNN_X86_ENABLE=ON ^
-DTNN_TEST_ENABLE=OFF ^
-DTNN_LIB_PATH=%TNN_LIB_PATH% ^
-DINTTYPES_FORMAT=C99
4. 编译日志(build log)
5. 详细描述bug 情况 (Describe the bug)
基于TNN封装了自研的OCR模型,在线上发生偶现崩溃。崩溃位置在 x86_hard_swish_layer_acc的代码
崩溃信息
该异常在本地不能重现,尝试intel的SDE进行CPU模拟,也不能重现问题。怀疑是AMD CPU环境导致崩溃。
6. 运行日志(runtime log)
崩溃堆栈信息
![image](https://github.com/Tencent/TNN/assets/37130296/bc0d7c21-491b-46ab-9608-59476c8afc23)
7. 截图(Screenshots)
崩溃汇编位置
![image](https://github.com/Tencent/TNN/assets/37130296/937ecc01-ac72-4b11-856a-b17707736b3c)
The text was updated successfully, but these errors were encountered: