-
Notifications
You must be signed in to change notification settings - Fork 70
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
Segmentation fault #216
Comments
I have the same question. Likely it's the question of KVCache, and I try to modify main_qwen_npu.cpp like this to make isDecoding is enabled for op CPUKVCacheNPU::setUp when executing on decode phase prefill_cpu_backend->setSequenceLength(real_seq_length); |
@shinel013 感谢您给的建议,但是我还是没有解决问题,仍然出现Segmentation fault这样的问题
|
This method only solves the problem that the output of the decode phase is all unk. Based on your log the reason phase has actually been completed, but there is an error in the backend of the qnn, and this error has not been encountered for my environment (it may be related to the SDK used, we use the htp_v79, similar to the error is invalid memory pointer, and there is no solution yet). |
请帮助我解决问题:
问题已经困扰我很长一段时间,@liang1232018 @lx200916 请帮助我解决问题,万分感谢!
下面为Decoding出来的字符(由于通过文本无法显示< unk >故用截图显示)
The text was updated successfully, but these errors were encountered: