We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0bb78e5 commit e0a61a5Copy full SHA for e0a61a5
1 file changed
common/speculative.cpp
@@ -145,18 +145,18 @@ struct common_speculative_state {
145
};
146
147
struct common_speculative_checkpoint {
148
- llama_pos pos_min;
149
- llama_pos pos_max;
+ llama_pos pos_min = 0;
+ llama_pos pos_max = 0;
150
151
- int64_t n_tokens;
+ int64_t n_tokens = 0;
152
153
std::vector<uint8_t> data;
154
155
size_t size() const {
156
return data.size();
157
}
158
159
- size_t ckpt_size;
+ size_t ckpt_size = 0;
160
161
162
struct common_speculative_state_draft : public common_speculative_state {
0 commit comments