From 1c58e9a96a3060e907a60cfae41c837b6f46e2ea Mon Sep 17 00:00:00 2001 From: ddh0 Date: Sun, 14 Dec 2025 22:32:27 -0600 Subject: [PATCH] add power law to the new `samplers` vector --- common/sampling.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/common/sampling.cpp b/common/sampling.cpp index 1e26f44a6c..05e44170e4 100644 --- a/common/sampling.cpp +++ b/common/sampling.cpp @@ -285,6 +285,7 @@ struct common_sampler * common_sampler_init(const struct llama_model * model, co break; case COMMON_SAMPLER_TYPE_POWER_LAW: has_distribution_sampler = true; + samplers.push_back(llama_sampler_init_power_law (params.power_law_target, params.power_law_decay, params.seed)); break; default: GGML_ASSERT(false && "unknown sampler type");