spec : init ckpt (begin() wasn't called)

This commit is contained in:
Sascha Rogmann 2026-03-14 00:16:23 +01:00
parent 7b7ce932fa
commit 21921a1ed0
1 changed files with 4 additions and 4 deletions

View File

@ -145,10 +145,10 @@ struct common_speculative_state {
};
struct common_speculative_checkpoint {
llama_pos pos_min;
llama_pos pos_max;
llama_pos pos_min = 0;
llama_pos pos_max = 0;
int64_t n_tokens;
int64_t n_tokens = 0;
std::vector<uint8_t> data;
@ -156,7 +156,7 @@ struct common_speculative_checkpoint {
return data.size();
}
size_t ckpt_size;
size_t ckpt_size = 0;
};
struct common_speculative_state_draft : public common_speculative_state {