Skip to content

Commit

Permalink
llama : fix t_start_sample_us initialization warning (ggerganov#2238)
Browse files Browse the repository at this point in the history
  • Loading branch information
grencez committed Jul 16, 2023
1 parent 672dda1 commit b764743
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion llama.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2205,7 +2205,7 @@ void llama_sample_classifier_free_guidance(
struct llama_context * guidance_ctx,
float scale,
float smooth_factor) {
int64_t t_start_sample_us = t_start_sample_us = ggml_time_us();
int64_t t_start_sample_us = ggml_time_us();

assert(ctx);
auto n_vocab = llama_n_vocab(ctx);
Expand Down

0 comments on commit b764743

Please sign in to comment.