mirror of
https://github.com/ggerganov/llama.cpp.git
synced 2024-12-26 03:14:35 +00:00
Generate full token count during warm up
Signed-off-by: Joe Todd <joe.todd@codeplay.com>
This commit is contained in:
parent
38373cfbab
commit
712e4d9450
@ -1390,7 +1390,7 @@ int main(int argc, char ** argv) {
|
|||||||
test_prompt(ctx, t.n_prompt, 0, t.n_batch, t.n_threads);
|
test_prompt(ctx, t.n_prompt, 0, t.n_batch, t.n_threads);
|
||||||
}
|
}
|
||||||
if (t.n_gen > 0) {
|
if (t.n_gen > 0) {
|
||||||
test_gen(ctx, 1, 0, t.n_threads);
|
test_gen(ctx, t.n_gen, 0, t.n_threads);
|
||||||
}
|
}
|
||||||
|
|
||||||
for (int i = 0; i < params.reps; i++) {
|
for (int i = 0; i < params.reps; i++) {
|
||||||
|
Loading…
Reference in New Issue
Block a user