Skip to content

Commit b764743

Browse files
authored
llama : fix t_start_sample_us initialization warning (#2238)
1 parent 672dda1 commit b764743

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llama.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2205,7 +2205,7 @@ void llama_sample_classifier_free_guidance(
22052205
struct llama_context * guidance_ctx,
22062206
float scale,
22072207
float smooth_factor) {
2208-
int64_t t_start_sample_us = t_start_sample_us = ggml_time_us();
2208+
int64_t t_start_sample_us = ggml_time_us();
22092209

22102210
assert(ctx);
22112211
auto n_vocab = llama_n_vocab(ctx);

0 commit comments

Comments
 (0)