llama.cpp just added MTP / DSpark support for DeepSeek V4 Flash
Summary
llama.cpp has added support for MTP/DSpark on DeepSeek V4 Flash, enabling local inference with the popular C/C++ LLM runtime.
View Cached Full Text
Cached at: 08/03/26, 01:32 AM
ggml-org/llama.cpp
Source: https://github.com/ggml-org/llama.cpp
llama.cpp
LLM inference in C/C++
manifesto / ggml / ops / maintainer PRs / dev branches / compile times / lib llama API / llama-server REST API
Quick start
A few options to get llama.cpp installed on your machine:
- Visit https://llama.app and follow the instructions
- Run with Docker - see our Docker documentation
- Download pre-built binaries from the releases page
- Build from source by cloning this repository - check out our build guide
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
|
|
|
| Backend | Target devices |
|---|---|
| BLAS | All |
| BLIS | All |
| CANN | Ascend NPU |
| CUDA | Nvidia GPU |
| HIP | AMD GPU |
| Hexagon [In Progress] | 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 |
Documentation
Tools
Development
- How to build
- Running on Docker
- Build on Android
- Multi-GPU usage
- Performance troubleshooting
- GGML tips & tricks
- XCFramework
- Completions
- Models
Contributing
- Contributors can open PRs
- Collaborators will be invited based on contributions
- Maintainers can push to branches in the
llama.cpprepo and merge PRs into themasterbranch - Any help with managing issues, PRs and projects is very appreciated!
- Read the CONTRIBUTING.md for more information
Acknowledgements
- yhirose/cpp-httplib - Single-header HTTP server, used by
llama-server- MIT license - stb-image - Single-header image format decoder, used by multimodal subsystem - Public domain
- nlohmann/json - Single-header JSON library, used by various tools/examples - MIT License
- miniaudio.h - Single-header audio format decoder, used by multimodal subsystem - Public domain
- subprocess.h - Single-header process launching solution for C and C++ - Public domain
Similar Articles
DeepSeek V4 by am17an · Pull Request #24162 · ggml-org/llama.cpp
Pull request adding support for DeepSeek V4 model in llama.cpp, enabling inference of this model on various hardware.
llamacpp patch - DeepSeek V4 Flash running with full 1M token context locally on RTX 5090
Describes a patch for llama.cpp that adds CUDA support for DeepSeek V4 Flash's context indexing, enabling full 1M token context on an RTX 5090 with significantly reduced VRAM usage and high throughput.
spec: add DSpark speculative decoding by wjinxu · Pull Request #25173 · ggml-org/llama.cpp
Adds DSpark speculative decoding support to llama.cpp via pull request, enhancing inference performance.
DeepSeek V4.1 Flash 1017 Support for ds4 · PR #1225 · antirez/ds4
antirez's DwarfStar (ds4) project adds support for DeepSeek V4.1 Flash in PR #1225, expanding its specialized native inference engine for running open-weight models like DeepSeek, GLM, and Qwen on consumer hardware across Metal, CUDA, and ROCm.
@ggerganov: llama.cpp v0.7.0, 128GB Mac/Spark: llama serve -hf ggml-org/Qwen3.8-Flash-Next-GGUF:IQ4_NL --spec-type draft-mtp --lazy…
llama.cpp v0.7.0 released with support for Qwen3.8-Flash-Next GGUF models via MTP-based speculative decoding on 128GB Mac/Spark setups, showcasing efficient local LLM serving.