Skip to content

Commit

Permalink
Update src/llama.cpp
Browse files Browse the repository at this point in the history
Co-authored-by: Xuan Son Nguyen <[email protected]>
  • Loading branch information
ggerganov and ngxson authored Sep 10, 2024
1 parent 6cce78c commit fd46535
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/llama.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20700,7 +20700,7 @@ llama_perf_data llama_perf_get(const void * ctx, enum llama_perf_type type) {
const auto * p = (const struct llama_context *) ctx;

data.t_start_ms = 1e-3 * p->t_start_us;
data.t_load_ms = 1e-3 * p->t_load_us;;
data.t_load_ms = 1e-3 * p->t_load_us;
data.t_p_eval_ms = 1e-3 * p->t_p_eval_us;
data.t_eval_ms = 1e-3 * p->t_eval_us;
data.n_p_eval = std::max(1, p->n_p_eval);
Expand Down

0 comments on commit fd46535

Please sign in to comment.