Hacker GitHub

← All repos

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

Mentions per year 738 mentions · busiest year 2023 (316)
20082026
  1. I googled it- supposed fixed template https://github.com/ggml-org/llama.cpp/issues/21347#issuecomm...
  2. That also comes upstream from llama.cpp https://github.com/ggml-org/llama.cpp/discussions/4345
  3. …instead of JSON's double quotes, and disables json-to-schema conversion for these types." [1]: https://github.com/ggml-org/llama.cpp/pull/21326/commits/a50... edit: formatting
    comment by airspresso · 2026-04-03 · in Google releases Gemma 4 open models
  4. …an nVidia 16GB GPU, but Ollama's a bit easier to ease into since they have a preset model library. https://github.com/ggml-org/llama.cpp
    comment by vunderba · 2026-04-02 · in Google releases Gemma 4 open models
  5. …but even then barely enough for 64K for 24GB VRAM. Maybe 8 bit KV quantization is fine now after https://github.com/ggml-org/llama.cpp/pull/21038 got merged, so 100K+ is possible. > I should pick a full precision smaller model or 4 bit…
    comment by petu · 2026-04-02 · in Google releases Gemma 4 open models
  6. …with ROCm and Vulkan. These are sourced from https://github.com/lemonade-sdk/llamacpp-rocm and https://github.com/ggml-org/llama.cpp/releases respectively.
  7. …judge open models on launch day... it never goes well. There are ~always bugs on launch day. [0]: https://github.com/ggml-org/llama.cpp/pull/21326 [1]: https://github.com/ggml-org/llama.cpp/issues/21316
    comment by coder543 · 2026-04-02 · in Google releases Gemma 4 open models
  8. …Rotation. This seems to have genuinely helped KV cache compression as per [llama.cpp latest tests]( https://github.com/ggml-org/llama.cpp/pull/21038 ). On the other hand, [ik_llama.cpp]( https://www.reddit.com/r/LocalLLaMA/comments/1s7nq6b/…
  9. …(at least for prefill, which is a key bottleneck on pre-M5 platforms) is also in the works, per https://github.com/ggml-org/llama.cpp/issues/10453#issuecomm...
  10. …than this. Starting with the llama.cpp discussion can give some better info than this blog post: https://github.com/ggml-org/llama.cpp/discussions/20969
  11. ▲ 4
    Llama.cpp's Agents.md
    story by Wowfunhappy · 2026-03-25 · 1 comment
  12. ▲ 6
    Tell HN: Llamacpp now supports unified system RAM offloading on Linux
    story by dabockster · 2026-03-24 · 0 comments
  13. …really need to specify it as a CLI option.) OP has raised a discussion with the llama.cpp folks https://github.com/ggml-org/llama.cpp/discussions/20852 but little interest so far
  14. …being eminently public and applied across multiple relevant dimensions: raw inference speed ( https://github.com/ggml-org/llama.cpp/releases ), external-facing capabilities ( https://github.com/open-webui/open-webui/releases ) and…
  15. …days? I ran llama-bench a couple of weeks ago when there was a big speed improvement on llama.cpp ( https://github.com/ggml-org/llama.cpp/pull/20361#issuecommen... ): % llama-bench -m ~/ml-models/huggingface/ubergarm/Qwen3.5-397B-A17B-GGUF/…
  16. …extensive support for doing this and controlling exactly which weights end up where (llama.cpp: https://github.com/ggml-org/llama.cpp/blob/master/tools/cli/... , vllm: https://docs.vllm.ai/en/stable/configuration/engine_args/#of... ,…
  17. Speculative decoding[1]? [1]: https://github.com/ggml-org/llama.cpp/blob/master/docs/specu...
    comment by genpfault · 2026-03-14 · in Can I run AI locally?
  18. https://github.com/ggml-org/llama.cpp/releases - has mac binaries https://unsloth.ai/docs/models/qwen3.5 - running locally guide for the Qwen 3.5 family of models, which have a range of different sizes.
    comment by kristianp · 2026-03-14 · in Can I run AI locally?
  19. …and checking it out. Fyi there's someone else on github keeping track of some LLM benchmarks too: https://github.com/ggml-org/llama.cpp/discussions/4167
  20. …in March 2023, making LLaMA work on consumer laptops. Here's that README from March 10th 2023 https://github.com/ggml-org/llama.cpp/blob/775328064e69db1eb... > The main goal is to run the model using 4-bit quantization on a MacBook. [...]…
  21. This is the easiest set up on a Mac. You need at least 16gb on a MacBook: https://github.com/ggml-org/llama.cpp/discussions/15396
  22. ▲ 839
    Ggml.ai joins Hugging Face to ensure the long-term progress of Local AI
    story by lairv · 2026-02-20 · 223 comments
  23. …It is a bug in the model weights and reproducible in their official chat UI. More details here: https://github.com/ggml-org/llama.cpp/pull/19283#issuecommen...
  24. …to generate the appropriate "I'm done thinking" indicator. You can see this described in this PR https://github.com/ggml-org/llama.cpp/pull/19635 Apparently Step 3.5 Flash uses an odd format for its tags so llama.cpp just doesn't handle it…
  25. …chains. - Current release has a bug where sometimes it goes into an infinite reasoning loop: https://github.com/ggml-org/llama.cpp/pull/19283#issuecommen... Hopefully StepFun will do a new release which addresses these issues. BTW StepFun…
  26. Just in case anyone hasn't seen this yet: https://github.com/ggml-org/llama.cpp/discussions/15396 a guide for running gpt-oss on llama-server, with settings for various amounts of GPU memory, from 8GB on up
  27. …[1], which is useful if you are working with a custom programming language for example. [1] https://github.com/ggml-org/llama.cpp/blob/master/grammars/R...
    comment by threeducks · 2026-02-05 · in Claude Opus 4.6
  28. Georgi's relevant comment: https://github.com/ggml-org/llama.cpp/pull/19324#issuecommen...
  29. ▲ 6
    Yet another reminder why you should not use Ollama
    story by dcreater · 2026-02-05 · 5 comments
  30. ▲ 1
    Show HN: Notebook page on llama.cpp official webui
    story by hleszek · 2026-02-04 · 0 comments
  31. …terabyte of RAM and a single RTX6000. But to answer your question directly, tensor parallelism. https://github.com/ggml-org/llama.cpp/discussions/8735 https://docs.vllm.ai/en/latest/configuration/conserving_memo...
  32. …that?) By using a grammar. Here is an example on how to only generate valid JSON with llama.cpp: https://github.com/ggml-org/llama.cpp/blob/master/grammars/R... > A trillion is 8 symbols. You still haven't reached the end of your first…
  33. …architecture and already supported by llama.cpp once the new name is added. Here's the PR: https://github.com/ggml-org/llama.cpp/pull/18936
    comment by cristoperb · 2026-01-19 · in GLM-4.7-Flash
  34. …for other backends in the README) using the Q4_K_M quant from ngxson on Lubuntu with an RTX 3090: https://github.com/ggml-org/llama.cpp/releases https://huggingface.co/ngxson/GLM-4.7-Flash-GGUF/blob/main/G...…
    comment by johndough · 2026-01-19 · in GLM-4.7-Flash
  35. it'a a new architecture. Not yet implemented in llama.cpp issue to follow: https://github.com/ggml-org/llama.cpp/issues/18931
    comment by homarp · 2026-01-19 · in GLM-4.7-Flash
  36. …llama.cpp supports GBNF grammars, which allows generation of JSON, or even programming languages: https://github.com/ggml-org/llama.cpp/blob/master/grammars/R...
  37. …people know about the code and weights, since there are quite a few comments requesting support: https://github.com/ggml-org/llama.cpp/issues/16186
    comment by adefa · 2026-01-18 · in Flux 2 Klein pure C inference
  38. …less than a week. I submitted the work as a PR to the codebase and understandably, it was rejected. https://github.com/ggml-org/llama.cpp/pull/18404 https://huggingface.co/TrevorJS/Qwen3-Omni-30B-A3B-GGUF
    comment by adefa · 2026-01-18 · in Flux 2 Klein pure C inference
  39. …by default it’s automatic but has a much lower limit (I think 2/3 is total RAM or something). [0]: https://github.com/ggml-org/llama.cpp/discussions/2182#discu...
  40. …in comparison, this isn't as rough as it sounds. Haven't had a chance to test that yet though. [1]: https://github.com/ggml-org/llama.cpp/blob/master/tools/serv... (using --mmproj AFAIK)
  41. …can fit, such as gpt-oss-120, (gpt-oss-120b-mxfp4.gguf), which is about 60gb of weights (1). (1) https://github.com/ggml-org/llama.cpp/discussions/15396
  42. you have a few 'claude' proxies on github llama.cpp recently added Anthropic API support https://github.com/ggml-org/llama.cpp/pull/17570
  43. …optional Windows/Linux CUDA builds for faster inference. Everything runs locally. Big shout out to https://github.com/ggerganov/llama.cpp along with PyQt6, pdfplumber, pytesseract, and python-docx for making it easy to wire everything…
  44. …llama.cpp supports Anthropic's message format now[1], so you can use it with Claude Code[2]. [1]: https://github.com/ggml-org/llama.cpp/pull/17570 [2]: https://news.ycombinator.com/item?id=44654145
    comment by magicalhippo · 2025-12-19 · in LLM Year in Review
  45. …it on lambda.ai console or dashboard> Started building llama.cpp from source, history: 21 git clone https://github.com/ggml-org/llama.cpp 22 cd llama.cpp 23 which cmake 24 sudo apt list | grep libcurl 25 sudo apt-get install…
    comment by clusterhacks · 2025-12-10 · in Mistral releases Devstral2 and Mistral Vibe CLI
  46. …it's going to get better than the API integrations with google/bing that cloud models use. [0]: https://github.com/ggml-org/llama.cpp/discussions/4508
  47. …, https://github.com/huggingface/inference-playground/issues/1... and https://github.com/ggml-org/llama.cpp/discussions/15396#disc... .
  48. …noticeable slow but still very helpful). You can see the scrapped text for the whole seession here https://github.com/ggml-org/llama.cpp/discussions/17600
    comment by mingodad · 2025-11-29 · in So you wanna build a local RAG?
  49. …framework, not the model. E.g. https://docs.sglang.ai/advanced_features/deterministic_infer... https://github.com/ggml-org/llama.cpp/pull/16016
  50. …JSON Schema and not something more flexible like BNF grammar's, like llama.cpp has for a long time: https://github.com/ggml-org/llama.cpp/blob/master/grammars/R...