Skip to content

Commit fb62f92

Browse files
committed
llama : fix --mtest option (close #1414)
1 parent 773ee24 commit fb62f92

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/main/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ int main(int argc, char ** argv) {
121121
// uncomment the "used_mem" line in llama.cpp to see the results
122122
if (params.mem_test) {
123123
{
124-
const std::vector<llama_token> tmp(params.n_batch, 0);
124+
const std::vector<llama_token> tmp(params.n_batch, llama_token_bos());
125125
llama_eval(ctx, tmp.data(), tmp.size(), 0, params.n_threads);
126126
}
127127

0 commit comments

Comments
 (0)