Hacker GitHub

← All repos

mozilla-ai/llamafile

View on GitHub ↗ ★ 26,545 C++

Distribute and run LLMs with a single file.

112 mentions on Hacker News by 82 people: 10 stories, 102 comments · first 2023-11-29 · latest 2026-10-27

Mentions per year 112 mentions · busiest year 2024 (62)
20082026
  1. I like to use llamafile for cases like this: https://github.com/mozilla-ai/llamafile
  2. sounds loke a job for llamafile! https://github.com/mozilla-ai/llamafile
  3. …also recommend llama-file, it’s a one file executable for any OS that includes your chosen model: https://github.com/mozilla-ai/llamafile?tab=readme-ov-file It’s truly open source, backed by Mozilla, openly uses llama.cpp and was created…
  4. …framework-based executable. We're hoping to build some bridges between the two projects as well. https://github.com/mozilla-ai/llamafile
  5. …and spin up an OpenAI compatible API endpoint. It even downloads the models for you. [0]: https://github.com/mozilla-ai/llamafile
    comment by randusername · 2026-03-13 · in Can I run AI locally?
  6. Mozilla is working on it again, and they're asking for input: https://github.com/mozilla-ai/llamafile/discussions/809
  7. ▲ 43
    llamafile: Distribute and Run LLMs with a Single File
    story by stefankuehnel · 2025-12-13 · 7 comments
  8. …Wine. If binfmt_misc is causing problems, the proper solution is to register the executable type. https://github.com/mozilla-ai/llamafile#linux describes steps. I made myself a package containing /usr/bin/ape and the following…
    comment by chrismorgan · 2025-11-01 · in Llamafile Returns
  9. …is going to bring it back. This announcement didn't even come with a new code commit, just a wish. https://github.com/mozilla-ai/llamafile/commits/main/
    comment by benatkin · 2025-11-01 · in Llamafile Returns
  10. Also see https://github.com/Mozilla-Ocho/llamafile .
    comment by TYPE_FASTER · 2025-09-08 · in Experimenting with Local LLMs on macOS
  11. …as well on Windows due to the executable file size limit but seems great for Mac/Linux flavors. https://github.com/Mozilla-Ocho/llamafile
    comment by vonneumannstan · 2025-09-08 · in Experimenting with Local LLMs on macOS
  12. …Every 5 Seconds) https://geppetto.app I contributed "whisperfile" as a result of this work: * https://github.com/Mozilla-Ocho/llamafile/tree/main/whisper.... * https://github.com/cjpais/whisperfile if you ever want to chat about making…
    comment by sipjca · 2025-07-30 · in Fast
  13. https://github.com/Mozilla-Ocho/llamafile Cost: $0 Currently, I treat all generated code as "sample code" which is not of much use and a waste of time but let's see what the future brings. I use llama to generate "boilerplate" in simple…
  14. Seconded for Llamafile, here is a link for references https://github.com/Mozilla-Ocho/llamafile . It indeed is working on all major platforms and its tooling allows easy creating of new llamafiles with new models. The only caveat is…
  15. https://github.com/Mozilla-Ocho/llamafile not working ;( gemma-3n-E4B-it-Q8_0 import_cuda_impl: initializing gpu module... get_rocm_bin_path: note: hipcc not found on $PATH [...] llama_model_load: error loading model: error loading model…
    comment by eabeezxjc · 2025-06-27 · in Introducing Gemma 3n
  16. ▲ 1
    Llamafile
    story by brundolf · 2025-05-11 · 0 comments
  17. I thought llamafile was supposed to be the solution to "too hard to work with"? https://github.com/Mozilla-Ocho/llamafile
  18. …Actually Portable Executable (APE) binaries, please see this reference Mozilla put together: https://github.com/Mozilla-Ocho/llamafile/?tab=readme-ov-fil...
  19. …ps://blob.localscore.ai/localscore-0.9.2 380MB? I remember llamafile being only a few megabytes. From https://github.com/Mozilla-Ocho/llamafile/releases , looks like it steadily grew from adding support for GPUs on more platforms, up to…
    comment by chrismorgan · 2025-04-07 · in Show HN: LocalScore – Local LLM Benchmark
  20. ▲ 124
    Show HN: LocalScore – Local LLM Benchmark
    story by sipjca · 2025-04-03 · 24 comments
  21. …in their efforts to ensure this special moment in history gets archived for future generations! https://github.com/Mozilla-Ocho/llamafile/
  22. Try one and find out. Look at https://github.com/Mozilla-Ocho/llamafile/ Quickstart section; download a single cross-platform ~3.7GB file and execute it, it starts a local model, local webserver, and you can query it. See it demonstrated…
  23. Llamafile: https://github.com/Mozilla-Ocho/llamafile
    comment by bestcoder69 · 2025-01-31 · in Llama.cpp supports Vulkan. why doesn't Ollama?
  24. Firefox released a very easy to deploy local LLM around a year ago. https://github.com/Mozilla-Ocho/llamafile https://ai-guide.future.mozilla.org/content/running-llms-loc... It works.
    comment by getwiththeprog · 2025-01-01 · in Orbit by Mozilla
  25. …persistent badge on every page) and then make it ~truly privacy respecting by moving locally. [0] https://github.com/Mozilla-Ocho/llamafile [1] https://github.com/mozilla/translations
    comment by usernomdeguerre · 2024-12-31 · in Orbit by Mozilla
  26. You might also try https://github.com/Mozilla-Ocho/llamafile , which may have better CPU-only performance than ollama. It does require you to grab .gguf files yourself (unless you use one of their prebuilts in which case it comes with the…
  27. …know if this would help your case or not, but jart’s llamafile seems like it would be useful [6] https://github.com/Mozilla-Ocho/llamafile
    comment by phatskat · 2024-11-22 · in The tragedy of running an old Node project
  28. https://github.com/Mozilla-Ocho/llamafile Wait.. there is one binary that executes just fine on half a dozen platforms? What wizardry is this? edit: Their default LLM worked great on Windows. Fast inference on my 2080ti. You have to pass…
  29. I wrote https://github.com/Mozilla-Ocho/llamafile/blob/main/llamafil... and it does a reasonable job highlighting without breaking for all the .tex files I could find on my hard drive. My goal is to hopefully cover 99.9% of real world…
    comment by jart · 2024-11-02 · in Weird Lexical Syntax
  30. Llamafile literally one file https://github.com/Mozilla-Ocho/llamafile
  31. > then I recommend https://github.com/Mozilla-Ocho/llamafile which ships as a single file with no dependencies and runs on CPU with great performance. Like, such great performance that I've mostly given up on GPU for LLMs. It was a game…
  32. …goal is > Run and explore Llama models locally with minimal dependencies on CPU then I recommend https://github.com/Mozilla-Ocho/llamafile which ships as a single file with no dependencies and runs on CPU with great performance. Like, such…
    comment by yjftsjthsd-h · 2024-10-11 · in Run Llama locally with only PyTorch on CPU
  33. Mozilla has a project called Llamafile ( https://github.com/Mozilla-Ocho/llamafile ) that's based on Cosmopolitan libc. And they do regularly publish popular models repackaged in that format on Hugging Face:…
    comment by int_19h · 2024-10-02 · in The Fastest Mutexes
  34. …I was running llava-v1.5-7b-q4.llamafile which is the example that they recommend trying first at https://github.com/Mozilla-Ocho/llamafile Groq looks interesting and might be a better option for me. Thank you.
  35. …quantization. You can use other models with llamafile as well. They have some prebuilt ones: https://github.com/Mozilla-Ocho/llamafile?tab=readme-ov-file... You can also search for other llamafiles for other models on HuggingFace by using…
  36. …https://ai-guide.future.mozilla.org/content/running-llms-loc... https://github.com/mozilla-Ocho/llamafile https://justine.lol/matmul/ and parallelize them with https://github.com/b4rtaz/distributed-llama Obviously this nee
  37. …and try it out in just moments. https://future.mozilla.org/builders/news_insights/introducin... https://github.com/Mozilla-Ocho/llamafile They even have whisperfiles now, which is the same thing but for whisper.cpp, aka real-time voice…
  38. …from Simon Willison: https://simonwillison.net/2024/Aug/19/whisperfile/ Command line options: https://github.com/Mozilla-Ocho/llamafile/issues/544#issueco...
    comment by tbran · 2024-09-16 · in Speech Dictation Mode for Emacs
  39. With Mozilla's llamafile you can run LLMs locally without installing anything: https://github.com/Mozilla-Ocho/llamafile
    comment by PhilippGille · 2024-09-05 · in Yi-Coder: A Small but Mighty LLM for Code
  40. ▲ 2
    Released llamafile 0.8.13 with gemma2, new whisper and Stable Diffusion CLI
    story by mseri · 2024-08-19 · 0 comments
  41. …(And thank you to Mozilla for financially supporting her work). See https://justine.lol/matmul/ and https://github.com/mozilla-Ocho/llamafile
    comment by simpaticoder · 2024-07-18 · in Mistral NeMo
  42. If you mean LLM in general, maybe try llamafile first https://github.com/Mozilla-Ocho/llamafile
    comment by sva_ · 2024-07-16 · in Codestral Mamba
  43. For pure self-hosting, I'd look into Ollama (ollama.com) or llamafile ( https://github.com/Mozilla-Ocho/llamafile ) on the LLM side and then picking a UI such as https://openwebui.com/ or one of the many in this list:…
  44. ▲ 2
    Llamafile v0.8.7
    story by lijunhao · 2024-06-24 · 0 comments
  45. Llamafile: https://github.com/Mozilla-Ocho/llamafile
    comment by PhilippGille · 2024-06-24 · in Cosmopolitan v3.5
  46. Depending on your internet speed, with llamafile you can do it even faster. Go to https://github.com/Mozilla-Ocho/llamafile , find Quickstart section and have fun. Scroll down a bit further for more models.
  47. The absolute easiest way is https://github.com/Mozilla-Ocho/llamafile Just download a single file and run it.
    comment by SahAssar · 2024-06-15 · in Cost of self hosting Llama-3 8B-Instruct
  48. …have to be integrated in the browser, though? Because Mozilla already distributes offline LLMs: https://github.com/Mozilla-Ocho/llamafile .
    comment by tredre3 · 2024-06-11 · in Firefox 127
  49. ▲ 3
    Llamafile 0.8.6 CPU Benchmark
    story by tosh · 2024-05-26 · 0 comments
  50. OpenBSD and Llamafile go hand in hand. https://github.com/Mozilla-Ocho/llamafile