llama.cpp with Mirai S (2.4-bit Qwen3.8-27B) support: 128K context on a 12 GB GPU
C++
10
9 commits
updated Oct 7, 2026
llama.cpp with support for Mirai S, Mirai Labs' 2.4-bit
Qwen3.8-27B. The compressed trellis codes load from a GGUF bit for bit and run on CUDA, and the model fits a 12 GB GPU
with 128K context. The fork also speeds up long-context decode with a q8_0/q4_0 KV cache, adds a chunked DeltaNet
prefill kernel, and keeps the prompt cache when an agent's history re-tokenizes differently. With a 1.3 MB vector file
it can also remove the model's refusals at run time (--cvec-mode project).
This is the reference fork: close to upstream, and the one the GGUF was verified on. For daily use on a 12 GB card look at mirai-s-ada by Cary Palmer first. It ports this codec to a serving engine with the full 262K window at q8_0 KV and MTP drafting, and it ships a Windows bundle. If that project changes or breaks, this fork still runs the same file.
d834d44e6. Everything below this line is the upstream README.LLM inference in C/C++
ggml / ops / maintainer PRs / dev stats / lib llama API / llama-server REST API
A few options to get llama.cpp installed on your machine:
Once installed:
# Download and run a model directly from Hugging Face
llama cli -hf ggml-org/Qwen3.5-0.8B-GGUF
# Launch OpenAI-compatible API server
llama serve -hf ggml-org/Qwen3.5-0.8B-GGUF
|
|
|
The main goal of llama.cpp is to enable LLM (and VLM) inference with minimal setup and state-of-the-art performance on
a wide range of hardware - locally and in the cloud.
The llama.cpp project is build on top of the ggml library.
| Backend | Target devices |
|---|---|
| BLAS | All |
| BLIS | All |
| CANN | Ascend NPU |
| CUDA | Nvidia GPU |
| HIP | AMD GPU |
| Hexagon | Snapdragon |
| IBM zDNN | IBM Z & LinuxONE |
| MUSA | Moore Threads GPU |
| Metal | Apple Silicon |
| OpenCL | Adreno GPU |
| OpenVINO [In Progress] | Intel CPUs, GPUs, and NPUs |
| RPC | All |
| SYCL | Intel GPU |
| VirtGPU | VirtGPU APIR |
| Vulkan | GPU |
| WebGPU | All |
| ZenDNN | AMD CPU |
llama.cpp repo and merge PRs into the master branchllama-server - MIT licensellama.cpp with Mirai S (2.4-bit Qwen3.8-27B) support: 128K context on a 12 GB GPU
C++
10
9 commits
updated Oct 7, 2026
llama.cpp with support for Mirai S, Mirai Labs' 2.4-bit
Qwen3.8-27B. The compressed trellis codes load from a GGUF bit for bit and run on CUDA, and the model fits a 12 GB GPU
with 128K context. The fork also speeds up long-context decode with a q8_0/q4_0 KV cache, adds a chunked DeltaNet
prefill kernel, and keeps the prompt cache when an agent's history re-tokenizes differently. With a 1.3 MB vector file
it can also remove the model's refusals at run time (--cvec-mode project).
This is the reference fork: close to upstream, and the one the GGUF was verified on. For daily use on a 12 GB card look at mirai-s-ada by Cary Palmer first. It ports this codec to a serving engine with the full 262K window at q8_0 KV and MTP drafting, and it ships a Windows bundle. If that project changes or breaks, this fork still runs the same file.
d834d44e6. Everything below this line is the upstream README.LLM inference in C/C++
ggml / ops / maintainer PRs / dev stats / lib llama API / llama-server REST API
A few options to get llama.cpp installed on your machine:
Once installed:
# Download and run a model directly from Hugging Face
llama cli -hf ggml-org/Qwen3.5-0.8B-GGUF
# Launch OpenAI-compatible API server
llama serve -hf ggml-org/Qwen3.5-0.8B-GGUF
|
|
|
The main goal of llama.cpp is to enable LLM (and VLM) inference with minimal setup and state-of-the-art performance on
a wide range of hardware - locally and in the cloud.
The llama.cpp project is build on top of the ggml library.
| Backend | Target devices |
|---|---|
| BLAS | All |
| BLIS | All |
| CANN | Ascend NPU |
| CUDA | Nvidia GPU |
| HIP | AMD GPU |
| Hexagon | Snapdragon |
| IBM zDNN | IBM Z & LinuxONE |
| MUSA | Moore Threads GPU |
| Metal | Apple Silicon |
| OpenCL | Adreno GPU |
| OpenVINO [In Progress] | Intel CPUs, GPUs, and NPUs |
| RPC | All |
| SYCL | Intel GPU |
| VirtGPU | VirtGPU APIR |
| Vulkan | GPU |
| WebGPU | All |
| ZenDNN | AMD CPU |
llama.cpp repo and merge PRs into the master branchllama-server - MIT license