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

This commit is contained in:
Aldehir Rojas
2026-05-08 10:46:43 -05:00
committed by GitHub
parent 5d6f18a638
commit f9cd456ea5
2 changed files with 7 additions and 9 deletions
-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
}
}
}