fix
This commit is contained in:
parent
b46dc2f2e9
commit
6ec3f77a41
1 changed files with 1 additions and 1 deletions
|
@ -3519,7 +3519,7 @@ int main(int argc, char ** argv) {
|
||||||
std::string prompt = json_value(data, "prompt", std::string());
|
std::string prompt = json_value(data, "prompt", std::string());
|
||||||
std::vector<llama_tokens> tokenized_prompts = tokenize_input_prompts(ctx_server.ctx, prompt, true, true);
|
std::vector<llama_tokens> tokenized_prompts = tokenize_input_prompts(ctx_server.ctx, prompt, true, true);
|
||||||
SRV_DBG("creating infill tasks, n_prompts = %d\n", (int) tokenized_prompts.size());
|
SRV_DBG("creating infill tasks, n_prompts = %d\n", (int) tokenized_prompts.size());
|
||||||
auto tokens = format_infill(
|
data["prompts"] = format_infill(
|
||||||
ctx_server.ctx,
|
ctx_server.ctx,
|
||||||
data.at("input_prefix"),
|
data.at("input_prefix"),
|
||||||
data.at("input_suffix"),
|
data.at("input_suffix"),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue