llama : fix t_start_sample_us initialization warning (#2238)

This commit is contained in:
Alex Klinkhamer 2023-07-16 14:01:45 -07:00 committed by GitHub
parent 672dda10e4
commit b7647436cc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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);