Repository navigation
snap: bump version to llama.cpp v0.4.0 - #316
Merged
Merged
Conversation
Collaborator
|
👋 Hey! Moon Skywalker here, doing my regular maintenance round. I've reviewed this Renovate update and all CI checks are passing. ✅ The changes look good — standard dependency bump (llama.cpp — Moon Skywalker, automated maintainer |
moonthebot
approved these changes
Sep 5, 2026
moonthebot
left a comment
Collaborator
There was a problem hiding this comment.
✅ LGTM! All CI checks passing. Standard Renovate dependency update — approved and auto-merge enabled. 🌙
— Moon Skywalker
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
v0.3.0→v0.4.0Release Notes
ggml-org/llama.cpp (ggml-org/llama.cpp)
v0.4.0Compare Source
Overview
llama.cpp 0.4.0 adds initial Qwen3.8-Flash-Next and Nemotron-3-Puzzle support, on-demand tensor reading, per-slot server context limits, video input options, and a ggml update to 0.23.0 with major sparse flash attention and RDMA work.
API changes
llama_lazy_modeandlazy_mode(#27794).max_buf_sizeto quantize params (#27795).mtmd_input_partandmtmd_tokenize_from_parts()(#28250).mtmd_tokenizeconst-correct (#28310).mtmd_bitmap_init_lazyconst-correct (#28307).mtmd_helper_init_opt(#24318).New models
qwen4exp) architecture support; optimization improvements are still pending (#27742).Core changes
--lazy-mode(#27969).--n-cpu-ffn(#26622).Multi-modality changes
mtmd_tokenize_from_parts()(#28250).--video-*(#24318).Server changes
data:URLs for media (#27735).preserve_reasoningby default (#28174).UI changes
ggml changes
Version 0.23.0 adds new operators and backend scheduling APIs for sparse attention, asynchronous execution, and allocation-dependency tracking. The most notable additions are sparse flash attention (
ggml_flash_attn_ext_set_n_kv_max), RPC event/async APIs, and Apple RDMA transport support. It also includes broad correctness and performance work across CPU, GPU, and accelerator backends.Assets
Nightly build: b10809
More info
ggml-orgprojectsChangelog since v0.3.0
5266f24llama.cpp : bump version to 0.4.0 (#28386)64a155dsync : ggml (#28379)163a407model, mtmd: fix gemma4 vision handling (#28335)8f83678metal : add remaining fa-vec tunings for M3 Max (#28373)86b351fggml : replace compile definitions with version.h.in (#28364)d509cb1Don't use npx inside a package.json script (#28270)4cbe8b0ggml : don't crash when backend search path can't be read (#28271)24f5bf8ggml : remove GGML_CUDA_PEER_MAX_BATCH_SIZE (#28177)a529af9docs : update maintainer PRs link and regenerate AUTHORS (#28365)38521ecvendor: update BoringSSL to 0.20260903.0 (#28354)0ef4d56ci : disable failing openvino tests (#28347)c390d0acommon : make build info output stream configurable (#28322)832fd6fggml-cpu(s390x) : fix q5_1 uninitialized v_acc (#28332)9a4843csrc : add n_expert_used_max function (#28323)6703d78sycl: fuse rms_norm+mul+add and add+add residual chains (#27610)f9f09f0SYCL: Refactor GGML_SYCL_ENABLE_MKL_FA to global var (#26863)d230dddllama: fix whole source code rebuilt on each new commit (#28278)c5a5535common/json-schema : fix GBNF grammar generation for empty object schemas (#28279)95ef7fcopencl: quant lm_head / decode GEMV and medium-batch GEMM optimizations (speculative decoding/MTP) (#26477)8c1a251tune MMVQ to MMQ crossover for SM87 (#28285)d30500bsnapdragon: ci updates to use new run script (#28293)e107984ops: add Hexagon to ops.md and update main README.md (#28263)42f0225server : use pytest-xdist for server tests (#28298)de8656bmtmd: propagate const to preproc class (#28310)7bb0fc1metal : add sparse FA (#28098)0df017dmetal : fix glu dispatch with ne00 = 1 (#28306)f45576amtmd : addconstin various places (#28307)0ba6499CUDA: Allow concurrent streams per split for multi-GPU (#28198)c7bda03vulkan: fix FA dequant path engagement (#28190)0df974dsycl : enhance the api to support peer-to-peer copy (#27550)d646c9dconvert : skip bias_vl tensor in DeepSeek-V4 DSpark conversion (#28294)5ec4eabmisc : prevent RAM peaking at model loading stage (#27483)4aa6ffbsycl: reduce redundant work in Q4_K multi-column MMVQ (#27062)c61b98bmodel: add NVIDIA Nemotron-3-Puzzle-75B-A9B (NemotronHPuzzle) support (#25444)67a17c1mtmd: fix idefics3 preproc (#28273)159b741finetune: fix no KV cache (#27199)9cffdccserver : accept data: URLs for input_video and input_audio (#27735)f027c4fggml-hexagon: add F16 support for unary ops (#28228)7339054mtmd: add mtmd_tokenize_from_parts() (#28250)9cc3394metal : add fa-vec tunings for M3 (#28236)8c0b9cdmetal : fix memory query under low-memory conditions (#27701)03dbcc5ci : check for missing autoreleasepools (#27884)cff1844Update ROCm to 10.0.0 release (#27803)9400c89model: correctly support input vision for deepseek4 (#28154)d5fec32ci : enable hf-jobs on server-cuda (#28258)3d3d7c8ggml-cuda : remove unused vars (#28235)e750b88common, server : enable preserve_reasoning kwarg by default, log its effective state (#28174)7798007mtmd: support DeepSeek-V4-Flash-Vision-Exp (#28133)8e93a97CUDA + ggml: add sparse-fa for DSV4/GLM (#27970)0f3a71bmtmd: Fix Qwen3-tts-0.6b (#28231)b81c99bggml: avoid KleidiAI buffer type init on dispatch (#27891)960dffahexagon: MUL_MAT and MUL_MAT_ID fusion and fixes (#28202)ba8818cvulkan: handle larger batch sizes (>4) efficiently for IQ3_S mat-vec (#27449)56dd815vulkan : only request VK_KHR_shader_bfloat16 extension if supported (#28155)2637dfeggml-cpu : conditionally add SpacemiT IME kernel sources (#27961)43d87ffopencl: fix out‐of‐bound reads in the Adreno image kernels (#27632)69320fehexagon: add missing FARF logs for cpy/get_rows/set_rows/gdn ops (#28217)b96806dmetal : add metallib build support for xcframework (#28163)3466812cuda: fuse MoE weighted expert reduction (#25952)b356fa2kv-cells: look up the n-gram history in the sequence position index (#28040)dfc29b6context : autoscale n_ctx_train when yarn scaling specified (#28030)f28493cmodels : appropriately flag noscan ssm_a tensors (#28121)73159c3model : fix gemma4-assistant (#28183)d11b3ccmodel : load relevant arrays with n_layer_all (#28173)c845263Revert "sycl : add Kronecker product FWHT support for sizes 384, 640, 768, 12…" (#28184)1f3d318sycl : add Kronecker product FWHT support for sizes 384, 640, 768, 1280 (#28016)8887a48metal : add fa-vec tuning for M2 Pro (#28122)be789c3metal : add fa-vec tunings for A18 Pro (MacBook Neo) (#28152)9d81721model : load hparams.n_layer_nextn before n_layer() calls (#28159)fe2120bmetal : fix more leaks due to missing autoreleasepools (#27883)d08c787metal : add fa-vec tuning for M2 Max (#28015)5eec3adsycl : support limit max alloc memory within 2GB for host-pinned memory (#27559)36b1015qwen4exp: fix seq_cp, block position keying, mtmd input, cuda abort, add tests (#27941)d086dbbtests : fix log verbosity for test-llama-archs (#28147)1b89a43quantize: row-slab stream to avoid thread starvation (#27830)d5d993ametal: enable Metal 4.0 tensor API on M5+/A19+ (#27461)234a6ebci: Bump ggml-org/ccache-action to v1.2.24 (#28083)518b762kleidiai : Update KleidiAI Documentation (#26078)0eadefeqwen4exp: support recurrent state rollback (#28123)09412afqwen4exp: sum the indexer heads by slices (#28023)458681emetal : add fa-vec tunings for M1 Ultra (#28088)e4b9af0CUDA: XOR swizzle flash attn K,V smem fp16 tiles (#25635)ab0b3bdmetal : add concat support for quantized types (#28116)85c5522AVX2: Speed up large batch size prompt processing of IQ models (#27402)2a74817metal : add top-k radix implementation (#28073)2d8d612kv-cache : optimize restoring non-contiguous cells (#27991)010be96opencl: tune the quant paths for Intel Xe-LP GPUs to improve its TG and PP performance (#26438)774ee0eui: copy the displayed text of grouped agentic responses (#27832)8e53fcewebgpu : avoid crash when offset is not multiple of 4 in WebGPU ggml_backend_tensor_get() implementation (#28045)f8dbcd6ROCm: add radix TOP_K for long rows (#27466)5d4a3bemetal : add fa-vec tunings for M1 (#28078)41ef91fCUDA: extend MOE fusion to specdec, earlier MOE glu fusion and topk-router fusion were restricted to 1 token (#27621)a32af33sycl : Enhance to get the free memory of Intel GPU (#27968)580e88dci : add check for unzip (#28082)662a0b0spec : fuse the DFlash encoder into the KV cache injection (#27310)2cdae80vulkan: tune mat-vec rows for batched inference on Strix Halo (#27909)557614eggml : add MUL_MAT to the list of ops that may need additional memory (for WebGPU) (#28071)daef7b6vulkan: top_k radix select for k >= 1024 for Qwen 3.8 Flash Next (#28032)9723942hexagon: fix CPY fence bug (#28033)bd55e6ametal : add remaining Q4_1/Q5_0/Q5_1 fa-vec tunings for M2 (#28017)a7cc83brpc: avoid serializing buffers from other servers (#26500)6d1479cggml : fix ggml_backend_buft_get_alloc_size() guard (#28038)62acc89kv-cells: stop the sequence scan once all sequences are seen (#28011)0190529ggml: add SWIGLU_CLAMP (#27930)2578138llama: improve TENSOR_READ_LAZY handling (#27837)f1793c1CUDA: use the fast mm_ids_helper path for any n_expert_used (#27978)0b5be7ehip: tune rdna 3 mmq config (#26284)e422148hip : optimize Q2_0 dot-product path for gfx1201 (#26753)cc231cbdflash: pass missing NVFP4 scales to attention operations (#28000)bebc935common: rename --tensor-read-lazy to --lazy-mode, add -lzm shorthand (#27969)73f56d1ggml : add ggml_backend_op_alloc_size_may_expand, use it in RPC (#27960)742347brpc: fix apple rdma error spew on teardown (#27908)093adb2metal: add fa-vec tunings for M3 Ultra (#27999)b8b743cmetal : Add fa-vec tuning for M3 Pro (#27963)dc7aecfvendor : update cpp-httplib to 0.54.0 (#27919)2bf0415rpc : fix pre-rdma macOS versions (#27815)9e54e68hexagon: support for device discovery and create sessions on demand (#27785)370cb12sycl: split long rows in TOP_K instead of one work-group per row (#27847)d882575metal : fix null-pipeline crash for F16 src1 mul_mat/mul_mat_id (#25648)bdf3955memory : copy Hadamard matrix to k_rot tensor only if it has buffer assigned to prevent crashes during context shift of unquantized K cache (#27967)57291f2ggml: allow passing alloc dependencies in graph_optimize (#27301)c589f0emetal : add fa-vec tunings for M2 (#27940)c841aeeopencl: use a better matmul path on two Adreno GPU generations (#27640)3173a56metal : assert shared memory padding (#27951)17252c7metal : add remaining fa-vec tunings for M4 Pro (#27915)cc83d7bsycl: make --fit respect --fit-target better (#27629)c9ca51cvulkan: combine duplicated fastdiv functions, rename the one optimizing small divs (#27526)5ea1b12metal : add fa-vec tunings for M1 Max (#27932)77f132cvulkan: Change mul_mat_id to pad K rather than N (#27925)d7bd3bfsnapdragon: python SDK setup (Windows) (#27903)50f068fbench: add --tensor-read-lazy (#27881)6fe7498model: qwen4exp: reduce number of graph splits (#27880)b387ddfvulkan: fix missing view-alias dependencies in ggml_vk_graph_optimize (#27812)a43c398ggml : fix conv_transpose_2d for multiple batches (#26132)90c26fcVulkan: add hoisting support for row IDs and expert count in shaders (#26686)8663224context : disable non-fused GDN and LID ops (#27877)f5e85d4metal : add fa-vec tunings for M4 (#27875)511f9c1OpenVINO: Update OV to 2026.3.1, whisper.cpp support, Qwen3.5 on NPU, and new ops (#27843)b19cbe9convert: prevent ndarray conversion in LazyChunkedTensor (#27869)d077b4csycl: use TILE for quantized KV decode on BMG (#26689)be87620sycl: bind the f16 KV cache in place for the oneDNN SDPA path (#27468)8963a9bmetal : add fa-vec tunings for M3 Max, M5 and M5 Pro (#27863)6d6b697metal : add fa-vec tunings for M4 Pro (#27824)4e97ac8tests : run test-save-load-state across all architectures (#27755)ca3d5a3model: add DSpark support for Nemotron3.5 (#27804)e70802aggml-hexagon: add HTP unary ops for ABS and LOG (#27786)83d855chex-unary: fix RMS_NORM_MUL weight-offset bugs for grouped/broadcast norms (#27798)1844325server: add ctx-per-slot (--kv-unified-per-slot) (#24124)3217633ci : build only the ggml-hip backend for windows-rocm release (#27753)6c84c7dmodel: add Qwen3.8-Flash-Next (qwen4exp) (#27742)6fdd0acci : bundle HIP runtime DLLs with Windows ROCm release (#26973)b10f9caspec : add DFlash2 support (local convolution + candidate selector) (#27342) (#27816)5854625opencl: add bin kernelskernel_gemm_moe_q4_0_q8_1_dp4a_bin,kernel_gemm_moe_mxfp4_q8_1_dp4a_bin(#27768)732707dquantize: cap working memory size to avoid loading big tensors onto RAM (#27795)cb30059Feature: Added LIGHTNING_INDEXER support for Deepseek V4 ops on Vulkan Backend (#27453)1a946ecpr2wt : use ssh/https remote in worktree depending on base (#27800)fac889fllama: model_loader: add TENSOR_READ_LAZY (#27794)cae6357ui: Improve Chat Form Actions UI/UX (models selector, add panel) (#27746)bcb6084convert : fix Nemotron-H LoRA GGUF conversion (#27356)fe235f4ui: Replace per-conversation MCP overrides with per-conversation tool policy (#27745)2bb9bddspec: Add benchmark-only synthetic speculative acceptance options (#27711)deae5eemodel : simplify MiniMax-01 graph (#27790)f295512args: add --video-* CLI arguments (#24318)915dc6dmetal : fix memory leaks due to missing autoreleasepools (#27758)c5fc7e3llama : add --n-cpu-ffn option (#26622)d7a2074models : support nanbeige4.2-3B (#27730)192067bhexagon: support for multi-NPU devices (IQ9, IQ10) and fully asynchronous backend (#26501)925e117llama: add token ID tracking to KV cell (#27762)539f245ui: Move Settings and MCP Servers routes to dialog-based views (#27744)0379a19ui: Update Dialog component styling (#27743)5e6a37cvulkan: warptiles currently assume warp sizes <= 64, clamp to work around larger warps (#27726)bf94216Implemented vulkan cross_entropy_loss and cross_entropy_loss_back (#27216)d0132a6rpc : implement event and async backend APIs (#18626)4d19b28ci: Clean up UI builds from releases (#27706)fc35562cuda: unblock mmq for MoE on sm_60 (#26264)da9b5d6ci : make cache bucket public (#27728)dac869bconversion : fix Nemotron 3.5 Lightning layers (#27729)11cd988ggml-metal: add chunked SSD MMA for Mamba-2 prefill optimization (#26647)5d5cb4cggml-meta: propagate buffer usage and call init on the new tensors (#27586)d222767kleidiai: Rework KleidiAI Build System/Integration (#26077)eab8ee4ci : update OS used for ROCM to Ubuntu 24.04 (#27681)b114b47rpc: support apple RDMA as an RPC transport (#26421)0a5ac49devops: use GGML_NATIVE=OFF for OpenVINO (#27338)1729ed5server : reject prefilled assistant messages with tool calls (#27626)0cc5b14chat : scope qwen3-coder workarounds (#27679)790b571ci : store ccache on HF buckets (test with cuda-ubuntu for now) (#27699)f1357e4ui: ESLint config updates (#27700)3737e41metal : null-check buffer alloc to fix OOM crash (#25371)Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.