mirror of
https://git.adityakumar.xyz/llama.cpp.git
synced 2024-11-14 00:59:43 +00:00
llama : fix t_start_sample_us initialization warning (#2238)
This commit is contained in:
parent
672dda10e4
commit
b7647436cc
1 changed files with 1 additions and 1 deletions
|
@ -2205,7 +2205,7 @@ void llama_sample_classifier_free_guidance(
|
||||||
struct llama_context * guidance_ctx,
|
struct llama_context * guidance_ctx,
|
||||||
float scale,
|
float scale,
|
||||||
float smooth_factor) {
|
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);
|
assert(ctx);
|
||||||
auto n_vocab = llama_n_vocab(ctx);
|
auto n_vocab = llama_n_vocab(ctx);
|
||||||
|
|
Loading…
Reference in a new issue