Skip to content

Commit

Permalink
llama : fix --mtest option (close #1414)
Browse files Browse the repository at this point in the history
  • Loading branch information
ggerganov committed May 12, 2023
1 parent 773ee24 commit fb62f92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/main/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ int main(int argc, char ** argv) {
// uncomment the "used_mem" line in llama.cpp to see the results
if (params.mem_test) {
{
const std::vector<llama_token> tmp(params.n_batch, 0);
const std::vector<llama_token> tmp(params.n_batch, llama_token_bos());
llama_eval(ctx, tmp.data(), tmp.size(), 0, params.n_threads);
}

Expand Down

0 comments on commit fb62f92

Please sign in to comment.