Skip to content

Commit

Permalink
local-apps: update llama.cpp snippet to use cmake (#1060)
Browse files Browse the repository at this point in the history
Ref: ggerganov/llama.cpp#10514

The recommended way to build llama.cpp is by using `cmake` command.
  • Loading branch information
ngxson authored Dec 4, 2024
1 parent c81d460 commit 32365c0
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions packages/tasks/src/local-apps.ts
Original file line number Diff line number Diff line change
Expand Up @@ -129,9 +129,10 @@ const snippetLlamacpp = (model: ModelData, filepath?: string): LocalAppSnippet[]
setup: [
"git clone https://github.com/ggerganov/llama.cpp.git",
"cd llama.cpp",
"LLAMA_CURL=1 make llama-cli",
"cmake -B build -DLLAMA_CURL=ON",
"cmake --build build -j --target llama-cli",
].join("\n"),
content: command("./llama-cli"),
content: command("./build/bin/llama-cli"),
},
];
};
Expand Down

0 comments on commit 32365c0

Please sign in to comment.