Skip to content

Commit f5fc531

Browse files
committed
up.
1 parent f823526 commit f5fc531

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

packages/tasks/src/local-apps.ts

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -108,11 +108,6 @@ function getQuantTag(filepath?: string): string {
108108
const snippetLlamacpp = (model: ModelData, filepath?: string): LocalAppSnippet[] => {
109109
const command = (binary: string) => {
110110
const snippet = ["# Load and run the model:", `${binary} -hf ${model.id}${getQuantTag(filepath)}`];
111-
if (!model.tags.includes("conversational")) {
112-
// for non-conversational models, add a prompt
113-
snippet[snippet.length - 1] += " \\";
114-
snippet.push(' -p "Once upon a time,"');
115-
}
116111
return snippet.join("\n");
117112
};
118113
return [
@@ -140,7 +135,7 @@ const snippetLlamacpp = (model: ModelData, filepath?: string): LocalAppSnippet[]
140135
setup: [
141136
"git clone https://github.com/ggerganov/llama.cpp.git",
142137
"cd llama.cpp",
143-
"cmake -B build -DLLAMA_CURL=ON",
138+
"cmake -B build",
144139
"cmake --build build -j --target llama-server",
145140
].join("\n"),
146141
content: command("./build/bin/llama-server"),

0 commit comments

Comments
 (0)