mlc-ai / mlc-llm

Universal LLM Deployment Engine with ML Compilation

Home Page:https://llm.mlc.ai/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Bug] crash when getting an answer from Qwen

Kaneki-x opened this issue · comments

🐛 Bug

image

I already try #2788 way to fix the problem,but it still doesn't work

Attached is the crash log I grabbed, my device is Google Pixel 7, Android 15

Google-Pixel-7-Android-15_2024-08-24_014644.log

Found a temporary solution to this crash, but it shouldn't be the final solution

add case kTVMArgBool: into jni_helper_func.h file's tvmRetValueToJava method to temporary handle this case

Same issue here, thank you @Kaneki-x , your solution works!

update the 3rdparty/tvm submodule to Fix boolean value conversion for Java commit will solve this problem