Skip to content

Commit

Permalink
Merge pull request #259 from janhq/hotfix-shorter-warmup
Browse files Browse the repository at this point in the history
Update llamaCPP.cc
  • Loading branch information
tikikun authored Dec 12, 2023
2 parents 7113586 + 455720d commit 9b778b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion controllers/llamaCPP.cc
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ void llamaCPP::warmupModel() {
json pseudo;

pseudo["prompt"] = "Hello";
pseudo["n_predict"] = 10;
pseudo["n_predict"] = 2;
pseudo["stream"] = false;
const int task_id = llama.request_completion(pseudo, false, false);
std::string completion_text;
Expand Down

0 comments on commit 9b778b3

Please sign in to comment.