summaryrefslogtreecommitdiff
path: root/common/sampling.h
diff options
context:
space:
mode:
Diffstat (limited to 'common/sampling.h')
-rw-r--r--common/sampling.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/common/sampling.h b/common/sampling.h
index cf7081e3..5b73ecdc 100644
--- a/common/sampling.h
+++ b/common/sampling.h
@@ -81,6 +81,7 @@ struct llama_sampling_context {
// TODO: replace with ring-buffer
std::vector<llama_token> prev;
std::vector<llama_token_data> cur;
+ size_t n_considered;
std::mt19937 rng;
};