Skip to content

Commit 2d452bb

Browse files
VJHackggerganov
andauthored
Update src/llama-sampling.cpp
Co-authored-by: Georgi Gerganov <[email protected]>
1 parent f1320cd commit 2d452bb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/llama-sampling.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1665,7 +1665,7 @@ static void llama_sampler_top_n_sigma_apply(struct llama_sampler * smpl, llama_t
16651665
float max = cur_p->data[0].logit;
16661666
float logits_sum = 0;
16671667
for (size_t i = 0; i < cur_p->size; ++i) {
1668-
if(cur_p->data[i].logit > max){
1668+
if (cur_p->data[i].logit > max) {
16691669
max = cur_p->data[i].logit;
16701670
}
16711671
logits_sum += cur_p->data[i].logit;

0 commit comments

Comments
 (0)