speculative-simple : fix compile warning

ggml-ci
This commit is contained in:
Georgi Gerganov 2024-11-26 00:06:45 +02:00
parent 33d49f7c5a
commit 6fab3ffe02
No known key found for this signature in database
GPG key ID: 449E073F9DC10735

View file

@ -190,7 +190,7 @@ int main(int argc, char ** argv) {
// in this case, we do it for a group of accepted tokens at once
//
{
llama_token id;
llama_token id = 0;
std::string token_str;
for (size_t i = 0; i < ids.size(); ++i) {