-
-
Notifications
You must be signed in to change notification settings - Fork 12.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
llama.cpp 2950 (New formula) #172186
Closed
Closed
llama.cpp 2950 (New formula) #172186
Changes from all commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
d08feb7
llama.cpp 2950 (New formula)
Vaibhavs10 dd9ad47
llama.cpp 2960 (New Formula) Fix failing test.
Vaibhavs10 6bddbf1
llama.cpp 2960 (New Formula) Fix error.
Vaibhavs10 86c25fa
llama.cpp 2960 (New Formula) Fix error.
Vaibhavs10 8e4099e
Update Formula/l/llama.cpp.rb
Vaibhavs10 764c468
llama.cpp 2960 (New Formula) Suggestions.
Vaibhavs10 4240e05
Update llama.cpp.rb
Vaibhavs10 a385214
Update llama.cpp.rb
Vaibhavs10 6661795
llama.cpp 2960 (New Formula) Formatting.
Vaibhavs10 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1344,6 +1344,7 @@ literate-git | |
little-cms2 | ||
livekit | ||
livekit-cli | ||
llama-cpp | ||
llm | ||
llvm | ||
lmdb | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change | ||
---|---|---|---|---|
@@ -0,0 +1,31 @@ | ||||
class LlamaCpp < Formula | ||||
desc "LLM inference in C/C++" | ||||
homepage "https://github.com/ggerganov/llama.cpp" | ||||
# pull from git tag to get submodules | ||||
url "https://github.com/ggerganov/llama.cpp.git", | ||||
tag: "b2963", | ||||
revision: "95fb0aefab568348da159efdd370e064d1b35f97" | ||||
license "MIT" | ||||
|
||||
depends_on xcode: ["15.0", :build] | ||||
depends_on arch: :arm64 | ||||
depends_on macos: :ventura | ||||
depends_on :macos | ||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
This doesn't seem correct. |
||||
|
||||
uses_from_macos "curl" | ||||
|
||||
def install | ||||
system "make", "LLAMA_FATAL_WARNINGS=ON", "LLAMA_METAL_EMBED_LIBRARY=ON", "LLAMA_CURL=ON" | ||||
|
||||
bin.install "main" => "llama-cli" | ||||
bin.install "server" => "llama-server" | ||||
end | ||||
|
||||
test do | ||||
llama_cli_command = %w[ llama-cli | ||||
--hf-repo ggml-org/tiny-llamas | ||||
-m stories15M-q4_0.gguf | ||||
-n 400 -p I -ngl 0 ] | ||||
assert_match "<s>", shell_output(llama_cli_command.join(" ")) | ||||
end | ||||
end |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Where are these requirements documented?