Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

编译MNN 打开-DMNN_KLEIDIAI=ON 后,LLM推理选择opencl后端推理结果异常 #3077

Open
ZhiquanWoW opened this issue Nov 13, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@ZhiquanWoW
Copy link

推理结果异常图片:

ddc921571d121084892ded80d3c6b573

cmake -DCMAKE_SYSTEM_NAME=Linux
-DMNN_BUILD_DIFFUSION=ON -DMNN_BUILD_OPENCV=ON -DMNN_CPU_WEIGHT_DEQUANT_GEMM=ON -DMNN_IMGCODECS=ON -DMNN_SEP_BUILD=OFF -DMNN_SUPPORT_TRANSFORMER_FUSE=ON -DMNN_OPENCL=ON
-DLLM_SUPPORT_VISION=ON
-DCMAKE_C_COMPILER=${CROSS_COMPILE}gcc
-DCMAKE_CXX_COMPILER=${CROSS_COMPILE}g++
-DCMAKE_SYSTEM_PROCESSOR=aarch64
-DMNN_KLEIDIAI=ON
-DMNN_BUILD_LLM=ON
-DMNN_USE_LIB_WRAPPER=ON
-DMNN_LOW_MEMORY=ON
-DCMAKE_BUILD_TYPE=Release ..

config.json
cmake -DCMAKE_SYSTEM_NAME=Linux
-DMNN_BUILD_DIFFUSION=ON -DMNN_BUILD_OPENCV=ON -DMNN_CPU_WEIGHT_DEQUANT_GEMM=ON -DMNN_IMGCODECS=ON -DMNN_SEP_BUILD=OFF -DMNN_SUPPORT_TRANSFORMER_FUSE=ON -DMNN_OPENCL=ON
-DLLM_SUPPORT_VISION=ON
-DCMAKE_C_COMPILER=${CROSS_COMPILE}gcc
-DCMAKE_CXX_COMPILER=${CROSS_COMPILE}g++
-DCMAKE_SYSTEM_PROCESSOR=aarch64
-DMNN_KLEIDIAI=ON
-DMNN_BUILD_LLM=ON
-DMNN_USE_LIB_WRAPPER=ON
-DMNN_LOW_MEMORY=ON
-DCMAKE_BUILD_TYPE=Release ..

@jxt1234 jxt1234 added the bug Something isn't working label Nov 13, 2024
@jxt1234
Copy link
Collaborator

jxt1234 commented Nov 13, 2024

已知问题,等 kleidiai 更完善后一并修正

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants