server : add "samplers" param to control the samplers order (#5494)
This commit is contained in:
parent
5f5808ca7b
commit
6dcc02d244
6 changed files with 74 additions and 30 deletions
|
@ -165,7 +165,7 @@ void process_escapes(std::string& input);
|
|||
// String utils
|
||||
//
|
||||
|
||||
std::vector<llama_sampler_type> sampler_types_from_names(const std::vector<std::string> & names);
|
||||
std::vector<llama_sampler_type> sampler_types_from_names(const std::vector<std::string> & names, bool allow_alt_names);
|
||||
std::vector<llama_sampler_type> sampler_types_from_chars(const std::string & names_string);
|
||||
std::vector<std::string> string_split(std::string input, char separator);
|
||||
std::string sampler_type_to_name_string(llama_sampler_type sampler_type);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue