"...git@developer.sourcefind.cn:OpenDAS/lmdeploy.git" did not exist on "70e6ab26ba3791c351f948a20b86967eb46f693b"
Unverified Commit 816022e4 authored by Li Zhang's avatar Li Zhang Committed by GitHub
Browse files

Fix early exit condition in attention kernel (#788)

parent d3e2cee4
......@@ -736,7 +736,7 @@ struct DecoderMultiHeadAttentionKernel {
}
// early exit if split if out of bound
if (kSplitK && step_begin_ >= step_end_) {
if (kSplitK && step_begin_ && step_begin_ >= step_end_) {
return;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment