{"id":3056,"date":"2026-09-24T06:13:35","date_gmt":"2026-09-23T21:13:35","guid":{"rendered":"https:\/\/localmodelwatch.tsuchitsuchi.com\/2026\/09\/24\/llama-cpp-v0-5-0-released\/"},"modified":"2026-09-24T06:13:35","modified_gmt":"2026-09-23T21:13:35","slug":"llama-cpp-v0-5-0-released","status":"publish","type":"post","link":"https:\/\/localmodelwatch.tsuchitsuchi.com\/en\/2026\/09\/24\/llama-cpp-v0-5-0-released\/","title":{"rendered":"llama.cpp v0.5.0 Released with Backend and Server Upgrades"},"content":{"rendered":"<p><!-- lmw:facts --><\/p>\n<h2>At a Glance<\/h2>\n<div class=\"lmw-table-scroll\" tabindex=\"0\" style=\"overflow-x:auto;-webkit-overflow-scrolling:touch;max-width:100%;\">\n<table style=\"width:max-content;min-width:100%;border-collapse:collapse;\">\n<thead>\n<tr>\n<th>Item<\/th>\n<th>Value<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>Repository<\/td>\n<td><a href=\"https:\/\/github.com\/ggml-org\/llama.cpp\">ggml-org\/llama.cpp<\/a><\/td>\n<\/tr>\n<tr>\n<td>Version<\/td>\n<td><a href=\"https:\/\/github.com\/ggml-org\/llama.cpp\/releases\/tag\/v0.5.0\">v0.5.0<\/a><\/td>\n<\/tr>\n<tr>\n<td>Published<\/td>\n<td>2026-09-24<\/td>\n<\/tr>\n<tr>\n<td>License<\/td>\n<td>MIT<\/td>\n<\/tr>\n<tr>\n<td>Source type<\/td>\n<td>Primary source (the publisher itself)<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<p><em>Values determined by this site&#8217;s code at collection time. Dates are JST.<\/em><\/p>\n<p><!-- \/lmw:facts --><\/p>\n<h2>Overview<\/h2>\n<p>v0.5.0, the latest version of the C\/C++ LLM inference library <code>llama.cpp<\/code>, has been released. This update focuses on improving backend performance, expanding model support, and enhancing the robustness of server and router operations.<\/p>\n<p>The most impactful changes for users are hardware acceleration enhancements accompanying backend (ggml) updates, such as accelerated <code>conv2d<\/code> via implicit GEMM in CUDA and fused optimization for MoE and SSM_CONV in Metal. These are expected to improve inference performance under specific environments.<\/p>\n<h2>Key Changes<\/h2>\n<h3>Backend and Hardware Acceleration Optimization<\/h3>\n<p>In CUDA environments, <code>conv2d<\/code> operations have been accelerated using implicit GEMM. Additionally, in Metal environments, fusion optimization for MoE (Mixture of Experts) and SSM_CONV has been added. These changes directly affect inference speeds for users utilizing NVIDIA GPUs or Apple Silicon.<\/p>\n<h3>Server Feature Expansion and Multi-Address Support<\/h3>\n<p>In <code>llama-server<\/code>, the <code>--host<\/code> option can now accept comma-separated TCP addresses and UNIX sockets. This enables binding to multiple network interfaces simultaneously\u2014for example, listening to connections via VPN and localhost at the same time. This is a very useful feature for engineers operating servers across multiple network environments.<\/p>\n<h3>Support for New Model Architectures<\/h3>\n<p>Support for numerous new models and architectures has progressed. Specifically, this includes support for HRM-Text (DFM Mimir 1B), conversion support for MiMo-V2.6, and DFlash (speculative decoding) support for HunyuanOCR. Furthermore, expanded support for Nemotron MTP and implementation of hyper-connection operations and sparse flash attention for Qwen4Exp have also been carried out. Users wanting to try new models locally can now use them in GGUF format thanks to these additions.<\/p>\n<h3>Multimodal Support in Server Output<\/h3>\n<p>Support for <code>input_image<\/code> has been added to server function-calling outputs. This enables the construction of more advanced multimodal agent functions, such as handling image data as the result of tool execution. This affects developers utilizing multimodal models like Gemma 4 to process complex tasks involving images.<\/p>\n<h3>Sampling Control via Environment Variables<\/h3>\n<p>Settings for <code>temperature<\/code>, <code>top-p<\/code>, <code>min-p<\/code>, and various penalties can now be configured via environment variables. This allows users to control sampling parameters simply by setting execution environment configurations without rewriting code. Convenience is improved for users who want to dynamically adjust inference behavior.<\/p>\n<h2>Supported Models and Hardware<\/h2>\n<p>This release enhances support for the following model architectures and formats:<\/p>\n<ul>\n<li><strong>HRM-Text (DFM Mimir 1B)<\/strong>: Newly supported. This model features a structure that alternately executes two transformer stacks and is available in GGUF format.<\/li>\n<li><strong>MiMo-V2.6 (Pro\/Flash)<\/strong>: Conversion support has been added. These models use mxfp4 experts and can be loaded into <code>llama.cpp<\/code> while retaining vision capabilities.<\/li>\n<li><strong>HunyuanOCR<\/strong>: Speculative decoding using DFlash is supported. It is reported that this improves decoding speed by approximately 2x in document image OCR processing.<\/li>\n<li><strong>Nemotron Series<\/strong>: MTP (Multi-Token Prediction) support has been expanded in Nemotron Super 3.<\/li>\n<li><strong>Qwen4Exp<\/strong>: Hyper-connection operations and sparse flash attention support have been implemented.<\/li>\n<li><strong>Muse Glimmer<\/strong>: Support has been added via the <code>--fuse-qkv<\/code> option.<\/li>\n<li><strong>Gemma 4<\/strong>: Parsing fixes have been applied, including support for the Gemma 4 DSpark draft backbone.<\/li>\n<\/ul>\n<h2>How to Get It<\/h2>\n<p>To update <code>llama.cpp<\/code>, use one of the following methods:<\/p>\n<p><strong>Building from Source<\/strong> Clone the repository and rebuild according to the build instructions.<\/p>\n<pre><code class=\"language-sh\">git pull &amp;&amp; make\n<\/code><\/pre>\n<p><strong>Using Docker<\/strong> If you are using Docker images, pull the latest image.<\/p>\n<p><strong>Using Binaries<\/strong> Download the latest prebuilt binaries from the <a href=\"https:\/\/github.com\/ggml-org\/llama.cpp\/releases\">releases page<\/a>.<\/p>\n<p><!-- lmw:related --><\/p>\n<h2>Related Articles<\/h2>\n<ul>\n<li><a href=\"https:\/\/localmodelwatch.tsuchitsuchi.com\/en\/2026\/09\/15\/llama-cpp-v041-released\/\">llama.cpp v0.4.1 Released with New Models and Load Modes<\/a><\/li>\n<li><a href=\"https:\/\/localmodelwatch.tsuchitsuchi.com\/en\/2026\/09\/14\/ggml-v0-24-0-released-2\/\">ggml v0.24.0 Released with Backend Improvements and API Updates<\/a><\/li>\n<li><a href=\"https:\/\/localmodelwatch.tsuchitsuchi.com\/en\/2026\/09\/22\/transformers-llama-cpp-gguf-support\/\">Run GGUF Models Directly in Transformers with llama.cpp Support<\/a><\/li>\n<\/ul>\n<p><!-- \/lmw:related --><\/p>\n<h2>Sources<\/h2>\n<ul>\n<li><a href=\"https:\/\/github.com\/ggml-org\/llama.cpp\/releases\/tag\/v0.5.0\">https:\/\/github.com\/ggml-org\/llama.cpp\/releases\/tag\/v0.5.0<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>llama.cpp v0.5.0 is released, featuring CUDA\/Metal hardware acceleration, multi-address server support, and new model architectures.<\/p>\n","protected":false},"author":1,"featured_media":3055,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[105],"tags":[505,1187,161,163,1073,1547],"class_list":["post-3056","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-engines-and-tools","tag-apple-silicon-en","tag-cuda-en","tag-ggml-en","tag-gguf-en","tag-llama-cpp-en","tag-verified"],"lang":"en","translations":{"en":3056,"ja":3054},"_links":{"self":[{"href":"https:\/\/localmodelwatch.tsuchitsuchi.com\/en\/wp-json\/wp\/v2\/posts\/3056","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/localmodelwatch.tsuchitsuchi.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/localmodelwatch.tsuchitsuchi.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/localmodelwatch.tsuchitsuchi.com\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/localmodelwatch.tsuchitsuchi.com\/en\/wp-json\/wp\/v2\/comments?post=3056"}],"version-history":[{"count":0,"href":"https:\/\/localmodelwatch.tsuchitsuchi.com\/en\/wp-json\/wp\/v2\/posts\/3056\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/localmodelwatch.tsuchitsuchi.com\/en\/wp-json\/wp\/v2\/media\/3055"}],"wp:attachment":[{"href":"https:\/\/localmodelwatch.tsuchitsuchi.com\/en\/wp-json\/wp\/v2\/media?parent=3056"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/localmodelwatch.tsuchitsuchi.com\/en\/wp-json\/wp\/v2\/categories?post=3056"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/localmodelwatch.tsuchitsuchi.com\/en\/wp-json\/wp\/v2\/tags?post=3056"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}