free original_logits
This commit is contained in:
parent
29d877e9ed
commit
fddd201942
1 changed files with 3 additions and 0 deletions
|
@ -241,6 +241,9 @@ static llama_token llama_sampling_sample_impl(
|
|||
return llama_sampling_sample_impl(ctx_sampling, ctx_main, ctx_cfg, idx, true); // Pass true for is_resampling
|
||||
}
|
||||
}
|
||||
if (original_logits != nullptr) {
|
||||
delete original_logits;
|
||||
}
|
||||
|
||||
return id;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue