Fix whitespace / formatting

This commit is contained in:
kalomaze 2023-12-03 05:43:25 -06:00
parent 281e2bad8c
commit de454b9ef5

View file

@ -100,11 +100,11 @@ std::string llama_sampling_print(const llama_sampling_params & params) {
}
llama_token llama_sampling_sample(
struct llama_sampling_context * ctx_sampling,
struct llama_context * ctx_main,
struct llama_context * ctx_cfg,
const int idx,
bool is_resampling) { // Add a parameter to indicate if we are resampling
struct llama_sampling_context * ctx_sampling,
struct llama_context * ctx_main,
struct llama_context * ctx_cfg,
const int idx,
bool is_resampling) { // Add a parameter to indicate if we are resampling
const llama_sampling_params & params = ctx_sampling->params;
const int n_vocab = llama_n_vocab(llama_get_model(ctx_main));