We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ab87807 commit 3a63a12Copy full SHA for 3a63a12
gemma/gemma.cc
@@ -511,7 +511,7 @@ static void GenerateT(const ModelConfig& config,
511
// We use a single divisor, so all sequence lengths must be the same.
512
HWY_ASSERT(qbatch.KV(qi).SeqLen() == seq_len);
513
}
514
- if (max_prompt_size >= seq_len) {
+ if (max_prompt_size > seq_len) {
515
HWY_ABORT("max_prompt_size = %zu, increase --seq_len to at least that.",
516
max_prompt_size);
517
0 commit comments