common : simplify sampler chain initialization

This commit is contained in:
Georgi Gerganov
2025-12-01 17:11:11 +02:00
parent 217469f07f
commit 4032ce2378
7 changed files with 171 additions and 178 deletions
+1 -1
View File
@@ -2102,7 +2102,7 @@ void llm_graph_context::build_sampling() const {
ggml_build_forward_expand(gf, data.sampled);
}
if (data.probs != nullptr) {
if (data.probs != nullptr) {
res->t_sampled_probs[seq_id] = data.probs;
ggml_build_forward_expand(gf, data.probs);
}