Hacker GitHub

← All repos

ggml-org/ggml

View on GitHub ↗ ★ 15,575 C++

Tensor library for machine learning

37 mentions on Hacker News by 31 people: 9 stories, 28 comments · first 2022-09-20 · latest 2026-08-17

Mentions per year 37 mentions · busiest year 2023 (23)
20082026
  1. …of llama.cpp and it's almost ready, but not quite. More info about the versioning process is here: https://github.com/ggml-org/ggml/discussions/1579
    comment by ggerganov · 2026-08-17
  2. …really easy, educational and fun to use. It is written in C and the backbone for llama.cpp. [ggml] https://github.com/ggml-org/ggml
    comment by bssrdf · 2026-07-14 · in Tensor Is the Might
  3. It’s a different repo. https://github.com/ggml-org/ggml The models are implemented by Ollama https://github.com/ollama/ollama/tree/main/model/models I can say as a fact, for the gpt-oss model, we also implemented our own MXFP4 kernel.…
    comment by mchiang · 2025-08-06 · in Ollama Turbo
  4. …“Some of the development is currently happening in the llama.cpp and whisper.cpp repos” -- https://github.com/ggml-org/ggml
  5. …is contained in the model file, and no additional information needs to be provided by the user. https://github.com/ggml-org/ggml/blob/master/docs/gguf.md We literally just got rid of that multi file chaos only for ollama to add it back :/
    comment by Havoc · 2025-04-30 · in Xiaomi MiMo Reasoning Model
  6. Summary at https://github.com/ggml-org/ggml/pull/1103
    comment by krackers · 2025-03-26 · in Heap-overflowing Llama.cpp to RCE
  7. …by llama.cpp and ggml, name inspired by the name of the author ( https://github.com/ggerganov ): https://github.com/ggerganov/ggml/blob/master/docs/gguf.md He prefixes everything with “gg” (his initials). EDIT: Confirmed:…
  8. Cool. I was just learning about GGUF by creating my own parser for it based on the spec https://github.com/ggerganov/ggml/blob/master/docs/gguf.md (for educational purposes)
    comment by null_point · 2024-03-01 · in GGUF, the Long Way Around
  9. …you look up model quantization and some libraries like ggml[1] that actually do that for you. [1] https://github.com/ggerganov/ggml
  10. …things like cuBLAS and I'd assume MKL too, which at best, can only operate on f32 and f16. https://github.com/ggerganov/ggml/issues/293 My concern with MKL is also that, judging by the llama.cpp README's brief mention of using it, adding…
  11. Apparently this guy like a bunch of others like https://github.com/ggerganov/ggml are implementing transformers from papers for people that want them. Pretty cool.
    comment by itissid · 2023-11-30 · in Q-Transformer
  12. ggml.cpp with blast backend could be one example of it See for instance: https://github.com/ggerganov/ggml/blob/57c468b8655f3630d1749... which are the parts not available in blast
    comment by Kubuxu · 2023-11-23 · in Exponentially faster language modelling
  13. https://github.com/ggerganov/ggml TinyGrad is also targeting CPU inference, and IIRC it works ok in Apache TVM. One note is that prompt ingestion is extremely slow on CPU compared to GPU. So short prompts are fine (and tokens can be…
    comment by brucethemoose2 · 2023-09-06 · in Falcon 180B
  14. …After that, both ggml_vec_dot_f16 and ggml_vec_dot_f32 took first place in profiler. Source: https://github.com/ggerganov/ggml/blob/master/src/ggml.c#L10... But I agree, that in theory, and only with AVX512 BF16 (not exactly FP16, but…
    comment by Lockal · 2023-08-19 · in Stable Diffusion in C/C++
  15. …For anyone on HN, they should probably be looking at https://github.com/ggerganov/llama.cpp and https://github.com/ggerganov/ggml directly. If you have a high-end Nvidia consumer card (3090/4090) I'd highly recommend looking into…
  16. …>ggml-tiny.en.bin, ggml-base.en.bin, ggml-small.en.bin This uses Gerganov's Whisper models ( https://github.com/ggerganov/ggml )
  17. Mosaic's MPT models are already supported in GGML: https://github.com/ggerganov/ggml Here's MPT-30B running in 4-bit precision on CPU :) https://twitter.com/abacaj/status/1673133443339763712?s=20
  18. 1 to 2 tokens per second on CPU, depending on the CPU/RAM, thanks to GGML. See discussions: https://github.com/ggerganov/ggml/pull/231 And the code: https://github.com/jploski/ggml/tree/falcon40b
  19. https://github.com/ggerganov/ggml/blob/master/src/ggml-openc...
    comment by boringuser2 · 2023-06-07 · in GGML – AI at the Edge
  20. 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
  21. it's probably simple for Dolly v1 (?) since it was a fine-tuned version of GPT-J https://github.com/ggerganov/ggml/tree/master/examples/gpt-j AFAIK there is no .cpp version of Pythia-12B yet
  22. …written by Georgi Gerganov. It prioritizes inference on Apple hardware and low resource machines. https://github.com/ggerganov/ggml llama.cpp and alpaca.cpp (and other derivatives) all require model weights to be converted to the ggml…
  23. Georgi rewrote the code on top of his own tensor library (ggml[0]). [0] https://github.com/ggerganov/ggml
  24. ggml ( https://github.com/ggerganov/ggml ) has a GPT-J example, the 6B parameter model runs happily on the CPU 16gb of ram and 8 cores at a couple of words per second, no GPUs necessary. gptj_model_load: ggml ctx size = 13334.86 MB…
  25. …on a random HN comment earlier in a different topic where someone showed a GPT-J model on CPU only: https://github.com/ggerganov/ggml I tested it on my Linux and Macbook M1 Air and it generates tokens at a reasonable speed using CPU only.…
  26. There's a float16 version of GPT-J rewritten in C++ here that apparently fits into 16GB... https://github.com/ggerganov/ggml/tree/master/examples/gpt-j it's CPU-only and runs inference at "about ~6 words per second" on an M1 MBP
  27. …and GPT-J / GPT-JT (6B params) at 125ms/token. Here are a couple of generated examples using GPT-J: https://github.com/ggerganov/ggml/tree/master/examples/gpt-j These are examples using zero-shot prompt where the model auto-completes a…
  28. I'm curious how they chose between: A) ggml https://github.com/ggerganov/ggml/tree/master/examples/gpt-2 B) Fabrice Bellard's GPT2C https://bellard.org/libnc/gpt2tc.html
    comment by rahimnathwani · 2022-12-07 · in Talk = GPT-2 and Whisper and WASM