Repository navigation
readme : refresh - #26280
readme : refresh#26280
Conversation
- Use <div align="center"> for GitHub-compatible centering - Add dev branches and compile times links - Remove Hot topics section Assisted-by: llama.cpp:Qwen3.6-27B
77ad47e to
0703b4e
Compare
- Use <div align="center"> for GitHub-compatible centering - Add dev branches and compile times links - Add lib llama API and llama-server REST API links - Remove Hot topics section - Remove Recent API changes section - Extract XCFramework section into docs/xcframework.md - Extract Completions section into docs/completions.md - Extract Obtaining and quantizing models into docs/models.md - Remove tools usage sections (llama-cli, llama-server, etc.) - Move Contributing section to the end Assisted-by: llama.cpp:Qwen3.6-27B
0703b4e to
eb757cf
Compare
| | [SYCL](docs/backend/SYCL.md) | Intel GPU | | ||
| | [OpenVINO [In Progress]](docs/backend/OPENVINO.md) | Intel CPUs, GPUs, and NPUs | | ||
| | [MUSA](docs/build.md#musa) | Moore Threads GPU | | ||
| | [CUDA](docs/build.md#cuda) | Nvidia GPU | |
There was a problem hiding this comment.
Shouldn't we move CUDA up? And in general, maybe sort by ~popularity?
| @@ -73,212 +58,6 @@ | |||
|
|
|||
| The `llama.cpp` project is the main playground for developing new features for the [ggml](https://github.com/ggml-org/ggml) library. | |||
There was a problem hiding this comment.
This makes this sound like users should go there instead? I'd maybe reword a bit, saying that llama.cpp is built on the ggml tensor library or something along those lines.
| - [miniaudio.h](https://github.com/mackron/miniaudio) - Single-header audio format decoder, used by multimodal subsystem - Public domain | ||
| - [subprocess.h](https://github.com/sheredom/subprocess.h) - Single-header process launching solution for C and C++ - Public domain | ||
|
|
||
| ## Contributing |
There was a problem hiding this comment.
Nice idea, I'd maybe place this section before dependencies. And maybe call "Dependencies" "Acknowledgments"; otherwise it sounds like a detail that would belong to the building docs imo. And we say above that it's "plain c++ without dependencies".
| <td><img width="1310" height="888" alt="image" src="https://github.com/user-attachments/assets/b3efaa27-1ab8-4da1-93ec-5018e429733c" /></td> | ||
| <td><img width="1392" height="958" alt="image" src="https://github.com/user-attachments/assets/b402f972-2e32-4def-8771-8d849f08cf2e" /></td> |
There was a problem hiding this comment.
| <td><img width="1310" height="888" alt="image" src="https://github.com/user-attachments/assets/b3efaa27-1ab8-4da1-93ec-5018e429733c" /></td> | |
| <td><img width="1392" height="958" alt="image" src="https://github.com/user-attachments/assets/b402f972-2e32-4def-8771-8d849f08cf2e" /></td> | |
| <td><img width="1310" height="888" alt="VLM session with llama cli" src="https://github.com/user-attachments/assets/b3efaa27-1ab8-4da1-93ec-5018e429733c" /></td> | |
| <td><img width="1392" height="958" alt="Build-in web UI against llama serve running Qwen 3.6" src="https://github.com/user-attachments/assets/b402f972-2e32-4def-8771-8d849f08cf2e" /></td> |
| <td><img width="1310" height="888" alt="image" src="https://github.com/user-attachments/assets/b3efaa27-1ab8-4da1-93ec-5018e429733c" /></td> | ||
| <td><img width="1392" height="958" alt="image" src="https://github.com/user-attachments/assets/b402f972-2e32-4def-8771-8d849f08cf2e" /></td> | ||
| </tr> | ||
| <table> |
There was a problem hiding this comment.
Even a vertical layout so the images take more space would be fine imo. Perhaps add captions too (alt contents were suggested above that could be reused).
There was a problem hiding this comment.
Vertical seems wasting too much space - will keep it horizontal.
| The [Hugging Face](https://huggingface.co) platform hosts a [number of LLMs](https://huggingface.co/models?library=gguf&sort=trending) compatible with `llama.cpp`: | ||
|
|
||
| - [Trending](https://huggingface.co/models?library=gguf&sort=trending) | ||
| - [LLaMA](https://huggingface.co/models?sort=trending&search=llama+gguf) |
There was a problem hiding this comment.
Why is the Llama search relevant?
(And the latest spelling is Llama)
| - [Trending](https://huggingface.co/models?library=gguf&sort=trending) | ||
| - [LLaMA](https://huggingface.co/models?sort=trending&search=llama+gguf) | ||
|
|
||
| You can either manually download the GGUF file or directly use any `llama.cpp`-compatible models from [Hugging Face](https://huggingface.co/) or other model hosting sites, by using this CLI argument: `-hf <user>/<model>[:quant]`. For example: |
There was a problem hiding this comment.
| You can either manually download the GGUF file or directly use any `llama.cpp`-compatible models from [Hugging Face](https://huggingface.co/) or other model hosting sites, by using this CLI argument: `-hf <user>/<model>[:quant]`. For example: | |
| You can use any `llama.cpp`-compatible model from [Hugging Face](https://huggingface.co/) using this CLI argument: `-hf <user>/<model>[:quant]`. For example: |
I think it follows well from the HF links displayed before, and we can mention direct downloads later.
| You can either manually download the GGUF file or directly use any `llama.cpp`-compatible models from [Hugging Face](https://huggingface.co/) or other model hosting sites, by using this CLI argument: `-hf <user>/<model>[:quant]`. For example: | ||
|
|
||
| ```sh | ||
| llama-cli -hf ggml-org/gemma-3-1b-it-GGUF |
There was a problem hiding this comment.
| llama-cli -hf ggml-org/gemma-3-1b-it-GGUF | |
| llama cli -hf ggml-org/gemma-3-1b-it-GGUF |
| llama-cli -hf ggml-org/gemma-3-1b-it-GGUF | ||
| ``` | ||
|
|
||
| By default, the CLI would download from Hugging Face, you can switch to other options with the environment variable `MODEL_ENDPOINT`. The `MODEL_ENDPOINT` must point to a Hugging Face compatible API endpoint. |
There was a problem hiding this comment.
| By default, the CLI would download from Hugging Face, you can switch to other options with the environment variable `MODEL_ENDPOINT`. The `MODEL_ENDPOINT` must point to a Hugging Face compatible API endpoint. | |
| You can use the same CLI invocation to download from other sites, by pointing the `MODEL_ENDPOINT` environment variable to an endpoint compatible with the Hugging Face API. | |
| `llama.cpp` can also run models you have downloaded locally to your filesystem. |
|
|
||
| After downloading a model, use the CLI tools to run it locally - see below. | ||
|
|
||
| `llama.cpp` requires the model to be stored in the [GGUF](https://github.com/ggml-org/ggml/blob/master/docs/gguf.md) file format. Models in other data formats can be converted to GGUF using the `convert_*.py` Python scripts in this repo. |
There was a problem hiding this comment.
maybe link to https://github.com/ggml-org/llama.cpp/blob/master/tools/quantize/README.md here, since we mention the conversion scripts?
* docs : center badges and links, remove Hot topics - Use <div align="center"> for GitHub-compatible centering - Add dev branches and compile times links - Remove Hot topics section Assisted-by: llama.cpp:Qwen3.6-27B * readme : remove sections * docs : center badges, remove Hot topics, extract sections, remove tools - Use <div align="center"> for GitHub-compatible centering - Add dev branches and compile times links - Add lib llama API and llama-server REST API links - Remove Hot topics section - Remove Recent API changes section - Extract XCFramework section into docs/xcframework.md - Extract Completions section into docs/completions.md - Extract Obtaining and quantizing models into docs/models.md - Remove tools usage sections (llama-cli, llama-server, etc.) - Move Contributing section to the end Assisted-by: llama.cpp:Qwen3.6-27B * cont : arrange links * cont : fix ws * cont : remove seminal papers * cont : change sample model * cont : trim-down contributing section * cont : sort backends alphabetically * cont : words * cont : add fig captions * docs : models words * readme : shorter caption * cont : fix typo * cont : add window frame to screenshot
* docs : center badges and links, remove Hot topics - Use <div align="center"> for GitHub-compatible centering - Add dev branches and compile times links - Remove Hot topics section Assisted-by: llama.cpp:Qwen3.6-27B * readme : remove sections * docs : center badges, remove Hot topics, extract sections, remove tools - Use <div align="center"> for GitHub-compatible centering - Add dev branches and compile times links - Add lib llama API and llama-server REST API links - Remove Hot topics section - Remove Recent API changes section - Extract XCFramework section into docs/xcframework.md - Extract Completions section into docs/completions.md - Extract Obtaining and quantizing models into docs/models.md - Remove tools usage sections (llama-cli, llama-server, etc.) - Move Contributing section to the end Assisted-by: llama.cpp:Qwen3.6-27B * cont : arrange links * cont : fix ws * cont : remove seminal papers * cont : change sample model * cont : trim-down contributing section * cont : sort backends alphabetically * cont : words * cont : add fig captions * docs : models words * readme : shorter caption * cont : fix typo * cont : add window frame to screenshot
* docs : center badges and links, remove Hot topics - Use <div align="center"> for GitHub-compatible centering - Add dev branches and compile times links - Remove Hot topics section Assisted-by: llama.cpp:Qwen3.6-27B * readme : remove sections * docs : center badges, remove Hot topics, extract sections, remove tools - Use <div align="center"> for GitHub-compatible centering - Add dev branches and compile times links - Add lib llama API and llama-server REST API links - Remove Hot topics section - Remove Recent API changes section - Extract XCFramework section into docs/xcframework.md - Extract Completions section into docs/completions.md - Extract Obtaining and quantizing models into docs/models.md - Remove tools usage sections (llama-cli, llama-server, etc.) - Move Contributing section to the end Assisted-by: llama.cpp:Qwen3.6-27B * cont : arrange links * cont : fix ws * cont : remove seminal papers * cont : change sample model * cont : trim-down contributing section * cont : sort backends alphabetically * cont : words * cont : add fig captions * docs : models words * readme : shorter caption * cont : fix typo * cont : add window frame to screenshot
* docs : center badges and links, remove Hot topics - Use <div align="center"> for GitHub-compatible centering - Add dev branches and compile times links - Remove Hot topics section Assisted-by: llama.cpp:Qwen3.6-27B * readme : remove sections * docs : center badges, remove Hot topics, extract sections, remove tools - Use <div align="center"> for GitHub-compatible centering - Add dev branches and compile times links - Add lib llama API and llama-server REST API links - Remove Hot topics section - Remove Recent API changes section - Extract XCFramework section into docs/xcframework.md - Extract Completions section into docs/completions.md - Extract Obtaining and quantizing models into docs/models.md - Remove tools usage sections (llama-cli, llama-server, etc.) - Move Contributing section to the end Assisted-by: llama.cpp:Qwen3.6-27B * cont : arrange links * cont : fix ws * cont : remove seminal papers * cont : change sample model * cont : trim-down contributing section * cont : sort backends alphabetically * cont : words * cont : add fig captions * docs : models words * readme : shorter caption * cont : fix typo * cont : add window frame to screenshot
Overview
Refresh the main readme of the project:
<div align="center">docs/xcframework.mddocs/completions.mddocs/models.mdPreview: https://github.com/ggml-org/llama.cpp/blob/gg/readme-refresh/README.md
Requirements