Skip to content

Commit

Permalink
Merge branch 'dynamic-temp' of https://github.com/l3utterfly/llama.cpp
Browse files Browse the repository at this point in the history
…into dynamic-temp
  • Loading branch information
l3utterfly committed Jan 22, 2024
2 parents 4e97bdb + a98a498 commit f7fbeb5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion llama.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7794,7 +7794,7 @@ void llama_sample_entropy(struct llama_context * ctx, llama_token_data_array * c
return;
}

llama_sample_softmax(ctx, candidates_p);
llama_sample_softmax(nullptr, candidates_p);

// Calculate entropy of the softmax probabilities
float entropy = 0.0f;
Expand Down

0 comments on commit f7fbeb5

Please sign in to comment.