common : revert reasoning budget +inf logit bias (#22740)

This commit is contained in:
Aldehir Rojas authored and GitHub committed 2026-05-08 17:46:43 +02:00
1 parent 5d6f18a638
commit f9cd456ea5
2 files changed
+7 -9

No files matched your search

-2
View File
@@ -158,8 +158,6 @@ static void common_reasoning_budget_apply(struct llama_sampler * smpl, llama_tok
for (size_t i = 0; i < cur_p->size; i++) {
if (cur_p->data[i].id != forced) {
cur_p->data[i].logit = -INFINITY;
} else {
cur_p->data[i].logit = +INFINITY; // force the token
}
}
}