mirror of
https://github.com/ggerganov/llama.cpp.git
synced 2024-12-25 02:44:36 +00:00
common : fix compile warning
This commit is contained in:
parent
da5eaef1f3
commit
caa9249217
@ -113,13 +113,15 @@ std::string llama_sampling_order_print(const llama_sampling_params & params) {
|
|||||||
default : break;
|
default : break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else result += "-> mirostat ";
|
} else {
|
||||||
|
result += "-> mirostat ";
|
||||||
|
}
|
||||||
|
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
// no reasons to expose this function in header
|
// no reasons to expose this function in header
|
||||||
void sampler_queue(
|
static void sampler_queue(
|
||||||
struct llama_context * ctx_main,
|
struct llama_context * ctx_main,
|
||||||
const llama_sampling_params & params,
|
const llama_sampling_params & params,
|
||||||
llama_token_data_array & cur_p,
|
llama_token_data_array & cur_p,
|
||||||
|
Loading…
Reference in New Issue
Block a user