From 161eae0adf663ce973ac49a328ecfb19be7985db Mon Sep 17 00:00:00 2001 From: Georgi Gerganov Date: Fri, 8 May 2026 11:54:32 +0300 Subject: [PATCH] spec : fix n_past type --- common/speculative.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/speculative.cpp b/common/speculative.cpp index 588e274928..f72c51f09e 100644 --- a/common/speculative.cpp +++ b/common/speculative.cpp @@ -229,7 +229,7 @@ struct common_speculative_state_draft : public common_speculative_state { void draft( const common_params_speculative & params, const llama_tokens & prompt_tgt, - llama_token n_past, + llama_pos n_past, llama_token id_last, llama_tokens & result) override { const auto & sparams = params.draft;