Skip to content

Commit

Permalink
fix graph llm
Browse files Browse the repository at this point in the history
  • Loading branch information
黄宇扬 committed Jul 19, 2024
1 parent 41ec201 commit ec2921c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/models/graphllm.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ namespace fastllm {
SplitBatch(logits, 1, batch, pointersK);
} else */{
for (int b = 0; b < batch; b++) {
Split(logits, 1, total + seqLens[b] - 1, total + seqLens[b], curLogits[b]);
Split(logits, 1, b, b + 1, curLogits[b]);
}
}

Expand Down

0 comments on commit ec2921c

Please sign in to comment.