sampling : remove unconditional softmax+sort in top-n-sigma sampler (#22645)

This commit is contained in:
Tim Neumann
2026-06-22 14:08:32 +03:00
committed by GitHub
parent d0f9d2e5ac
commit 37957e8531
2 changed files with 2 additions and 4 deletions
-2
View File
@@ -2813,8 +2813,6 @@ static void llama_sampler_top_n_sigma_apply(struct llama_sampler * smpl, llama_t
cur_p->data[i].logit = -INFINITY;
}
}
llama_sampler_softmax_impl(cur_p, true);
}
static struct llama_sampler * llama_sampler_top_n_sigma_clone(const struct llama_sampler * smpl) {