ggml-org/llama.cpp
View on GitHub ↗ ★ 133,134 C++
LLM inference in C/C++
738 mentions on Hacker News by 471 people: 96 stories, 642 comments · first 2023-03-10 · latest 2026-10-28
20082026
-
I think llama.cpp might be easier to set up and get running. https://github.com/ggerganov/llama.cpp
comment by jbandela1 · 2023-05-03 · in OpenLLaMA: An Open Reproduction of LLaMA -
There's some info here: https://github.com/ggerganov/llama.cpp/issues/1240
comment by ac29 · 2023-04-30 · in Whisper.cpp v1.4.0 -
▲ 97
llama.cpp: Roadmap May 2023story by tosh · 2023-04-30 · 6 comments
-
…build-essential first. Congratulations, now you too, a non-developer, are running it locally. https://github.com/ggerganov/llama.cpp
comment by PostOnce · 2023-04-30 · in A brief history of LLaMA models -
…of the models out in the open really have GPT-3-ish capabilities, not even llama-65b. That aside, https://github.com/ggerganov/llama.cpp is the best option given the constraints that you describe. However, you will still need considerable…
comment by int_19h · 2023-04-28 · in What's up in the Python community? – April 2023 -
…because these models are constrained by memory bandwidth and not compute (low arithmetic density) https://github.com/ggerganov/llama.cpp
comment by remorses · 2023-04-25 · in Deep Neural Networks from Scratch in Zig -
It would be cool too see a port of llama.cpp and ggml to Zig https://github.com/ggerganov/llama.cpp https://github.com/ggerganov/ggml
comment by remorses · 2023-04-25 · in Deep Neural Networks from Scratch in Zig -
…other changes and I bet you'd get something approaching JSON out. [1]: here's the line to change: https://github.com/ggerganov/llama.cpp/blob/c4fe84fb0d28851a... see the bit on line 317-319 about how it ignores the end-of-sequence token by…
comment by gcr · 2023-04-24 · in Ask HN: People who were laid off or quit recently, how are you doing? -
…preliminary support in llama.cpp, which runs llama-7B in 5GB of RAM off of CPU faster than ChatGPT. https://github.com/ggerganov/llama.cpp/issues/1063#issuecomm...
comment by MacsHeadroom · 2023-04-20 · in StableLM: A new open-source language model -
…it's the same architecture as GPT-NeoX. llama.cpp just added preliminary support three hours ago. https://github.com/ggerganov/llama.cpp/issues/1063#issuecomm...
comment by MacsHeadroom · 2023-04-20 · in StableLM: A new open-source language model -
llama.cpp has preliminary support already. https://github.com/ggerganov/llama.cpp/issues/1063#issuecomm...
comment by MacsHeadroom · 2023-04-20 · in StableLM: A new open-source language model -
Issue to add support for these models to llama.cpp: https://github.com/ggerganov/llama.cpp/issues/1063
comment by dmm · 2023-04-19 · in StableLM: A new open-source language model -
▲ 3
Llama.cpp: Add GPU support to ggmlstory by mromanuk · 2023-04-12 · 0 comments
-
It’s in the near past. https://github.com/ggerganov/llama.cpp
comment by travisjungroth · 2023-04-11 · in The Coming of Local LLMs -
▲ 37
Show HN: TurboPilot: Copilot clone runs code completion LLM on your CPUstory by DrRavenstein · 2023-04-10 · 4 comments
-
…[1] https://github.com/facebookresearch/llama/blob/main/MODEL_CA... [2] https://github.com/ggerganov/llama.cpp/discussions/406 [3] https://paperswithcode.com/sota/language-modelling-on-wikite... [4] https://news.ycombinator.com/it
comment by lhl · 2023-04-10 · in The LLama Effect: Leak Sparked a Series of Open Source Alternatives to ChatGPT -
…a standard interface for different models that can easily be integrated and tried out. [1] https://github.com/ggerganov/llama.cpp
comment by hrpnk · 2023-04-09 · in The LLama Effect: Leak Sparked a Series of Open Source Alternatives to ChatGPT -
…beautiful but rapidly rotting fruit. llama.cpp will remain a single two line project (git clone https://github.com/ggerganov/llama.cpp , make -j) that will compile easily and run on anything. No external deps to pin to a particular commit…
comment by superkuh · 2023-04-06 · in State-of-the-Art Chatbot, Vicuna-7B, now runs on MacBook with GPU acceleration -
How so? how is this: npx dalai llama 7B npx dalai serve harder than: # build this repo git clone https://github.com/ggerganov/llama.cpp cd llama.cpp make #For Windows and CMake, use the following command instead: cd <path_to_llama_folder>…
comment by mastazi · 2023-04-05 · in Run LLaMA and Alpaca on your computer -
…when that was already working in the draft PR. https://archive.ph/Uva8c This is the original PR: https://github.com/ggerganov/llama.cpp/pull/586 . Jart's archived comments: "my changes" "Here's how folks in the community have been reacting…
comment by IAmNotACellist · 2023-04-05 · in Using mmap to make LLaMA load faster -
…(author of this post) and @anzz1 are apparently no longer welcome as collaborators on llama.cpp: https://github.com/ggerganov/llama.cpp/pull/711#issuecomment...
comment by antimatter15 · 2023-04-05 · in Using mmap to make LLaMA load faster -
I don't get the "plagiarism/miscrediting" accusations. This was in the original PR ( https://github.com/ggerganov/llama.cpp/pull/613 ): > This PR was written in collaboration with @slaren. This PR is also rebased on PR #586 so please do…
comment by 514723553 · 2023-04-05 · in Using mmap to make LLaMA load faster -
…around this change, both technical, and some accusations of plagiarism/miscrediting here. https://github.com/ggerganov/llama.cpp/pull/711
comment by NickGerleman · 2023-04-05 · in Using mmap to make LLaMA load faster -
…vicuna 13B but I haven't tried that yet (converted as in this link but for 13B instead of 7B https://github.com/ggerganov/llama.cpp#usage ) GPT4All Lora's also works, perhaps the most compelling results I've got yet in my local computer -…
comment by muyuu · 2023-04-04 · in State-of-the-art open-source chatbot, Vicuna-13B, just released model weights -
…same performance as GPT-4. Look up llama.cpp[1] and all the various community generated models. [1] https://github.com/ggerganov/llama.cpp
comment by newswasboring · 2023-04-04 · in An LLM playground you can run on your laptop -
…amount of time on this problem and had posted an interesting-but-not-production hack to it ( https://github.com/ggerganov/llama.cpp/commit/5b8023d9354010... ) on March 17th, which they had also excitedly posted about on Twitter. This was 2…
comment by lhnz · 2023-04-03 · in Revert for jart’s llama.cpp MMAP miracles -
…wanted to give @slaren the recognition that they deserved in a positive way, you'd have linked to https://github.com/ggerganov/llama.cpp/issues/91#issuecommen... and signal-boosted that as the key insight that enabled the PR to land,…
comment by lhnz · 2023-04-03 · in Revert for jart’s llama.cpp MMAP miracles -
…then proceed to take all the credit." 2. "To understand why I did that, you have to go back here: https://github.com/ggerganov/llama.cpp/issues/91#issuecommen... jart initially created an implementation of mmap a couple of week back that…
comment by lhnz · 2023-04-03 · in Revert for jart’s llama.cpp MMAP miracles -
…around it. Most of the drama is contained in this thread, if you like reading this sort of stuff: https://github.com/ggerganov/llama.cpp/pull/711#issuecomment...
comment by enlyth · 2023-04-03 · in Problems that attract smart people -
…is using. You just git clone it to your android phone in termux and then run make and you're done. https://github.com/ggerganov/llama.cpp Assuming you have the model file downloaded (you can use wget to download it) these are the…
comment by MacsHeadroom · 2023-04-03 · in Llama.cpp 30B runs with only 6GB of RAM now -
> basically re-wrote it so that she could take credit for it. compare the actual PR: https://github.com/ggerganov/llama.cpp/pull/613 You'll note that it includes the original commits from Slaren , explicitly mentions the collaboration with…
comment by detaro · 2023-04-02 · in Revert for jart’s llama.cpp MMAP miracles -
…if it's 4chan but it appears to be some chan. When I was working on solving the mmap() problem in https://github.com/ggerganov/llama.cpp/issues/91 (that issue tracks the full history) I originally wrote a malloc() hack to prove zero…
comment by jart · 2023-04-02 · in Revert for jart’s llama.cpp MMAP miracles -
…and that a model that takes up 20GB on disk still effectively needs 20GB of RAM in the end. [1] https://github.com/ggerganov/llama.cpp/discussions/638#discu...
comment by fastball · 2023-04-02 · in Revert for jart’s llama.cpp MMAP miracles -
…day: https://news.ycombinator.com/item?id=35393284 The PR it linked to said nothing of the sort: https://github.com/ggerganov/llama.cpp/pull/613
comment by simonw · 2023-04-02 · in Revert for jart’s llama.cpp MMAP miracles -
▲ 86
Revert for jart’s llama.cpp MMAP miraclesstory by mmoustafa · 2023-04-02 · 86 comments
-
▲ 31
30B model now needs only 5.8GB of RAM? How?story by olalonde · 2023-04-01 · 11 comments
-
…when you type "python3". I did the following: 1. Create a new working directory. 2. git clone https://github.com/ggerganov/llama.cpp 3. Download the latest release from https://github.com/ggerganov/llama.cpp/releases (note the CPU…
comment by breput · 2023-04-01 · in Llama.cpp 30B runs with only 6GB of RAM now -
…to be used at evaluation time [...] Found the answer from the author of this amazing pull request: https://github.com/ggerganov/llama.cpp/discussions/638#discu...
comment by heap_perms · 2023-03-31 · in Llama.cpp 30B runs with only 6GB of RAM now -
…OK with the extra memory. [1] https://github.com/qwopqwop200/GPTQ-for-LLaMa/blob/934034c8e... [2] https://github.com/ggerganov/llama.cpp/tree/3525899277d2e2bd...
comment by bakkoting · 2023-03-31 · in Llama.cpp 30B runs with only 6GB of RAM now -
Some results here: https://github.com/ggerganov/llama.cpp/discussions/406 tl;dr quantizing the 13B model gives up about 30% of the improvement you get from moving from 7B to 13B - so quantized 13B is still much better than unquantized 7B.…
comment by bakkoting · 2023-03-31 · in Llama.cpp 30B runs with only 6GB of RAM now -
Author here. For additional context, please read https://github.com/ggerganov/llama.cpp/discussions/638#discu... The loading time performance has been a huge win for usability, and folks have been having the most wonderful reactions after…
comment by jart · 2023-03-31 · in Llama.cpp 30B runs with only 6GB of RAM now -
▲ 1,311
Llama.cpp 30B runs with only 6GB of RAM nowstory by msoad · 2023-03-31 · 414 comments
-
…tps://github.com/NouamaneTazi/bloomz.cpp ) compares to the 7B parameter Alpaca model with llama.cpp ( https://github.com/ggerganov/llama.cpp )? I have the latter working on a M1 Macbook Air with very good results for what it is. Curious if…
comment by JasonZ2 · 2023-03-31 · in Could you train a ChatGPT-beating model for $85k and run it in a browser? -
Hi. I wrote the weights file format that llama.cpp uses, as of yesterday https://github.com/ggerganov/llama.cpp/pull/613 What can I do to assist you getting these deltas ready?
comment by jart · 2023-03-31 · in Vicuna: An open-source chatbot impressing GPT-4 with 90% ChatGPT quality -
llama.cpp is also MIT https://github.com/ggerganov/llama.cpp previously discussed here https://news.ycombinator.com/item?id=35100086 and one of the rust wrapper: https://news.ycombinator.com/item?id=35171527 (also MIT)
comment by homarp · 2023-03-28 · in Show HN: A fully open-source (Apache 2.0)implementation of llama -
…an M1 Macbook Air with 8gig RAM. Gerganov shows the Whisper model running on an Android phone. [0] https://github.com/ggerganov/llama.cpp
comment by wsgeorge · 2023-03-28 · in ChatGPT works seamlessly with photos and files, enabling numerous new use cases -
…trend since the closest nodes of a global delivery network could be several countries away. [0] https://github.com/ggerganov/llama.cpp/discussions/205 [1] https://medium.com/sort-of-like-a-tech-diary/consumer-ai-is-...
comment by wsgeorge · 2023-03-28 · in Cerebras-GPT: A Family of Open, Compute-Efficient, Large Language Models