Skip to content
This repository was archived by the owner on Jul 4, 2025. It is now read-only.

Commit 9b778b3

Browse files
authored
Merge pull request #259 from janhq/hotfix-shorter-warmup
Update llamaCPP.cc
2 parents 7113586 + 455720d commit 9b778b3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

controllers/llamaCPP.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ void llamaCPP::warmupModel() {
133133
json pseudo;
134134

135135
pseudo["prompt"] = "Hello";
136-
pseudo["n_predict"] = 10;
136+
pseudo["n_predict"] = 2;
137137
pseudo["stream"] = false;
138138
const int task_id = llama.request_completion(pseudo, false, false);
139139
std::string completion_text;

0 commit comments

Comments
 (0)