The llama.cpp project now rejects the use of SPLIT_MODE_TENSOR for Hadamard-folded models (prism.hadamard) to prevent loading failures due to alignment issues in the meta backend, specifically when handling tiled to grouped GDN head order and device slice boundaries in ffn_down layers.
The latest update to llama.cpp adds support for the Tencent Hy4 flash model, including integration with the DSA iSWA cache, optimized KV caching, and improvements for long contexts. The update includes changes to handle sparse and sliding-window layers, Engram tables, and indexer operations, along with optimizations for CUDA, Metal, and CPU backends. Vision tower support and unified KV cache usage are also implemented, while redundant code was removed and comments cleaned up.
The update includes multiple fixes and enhancements for the ggml-openvino backend, such as improved handling of dynamic dimensions, corrected buffer management, optimized graph translation, and better support for models like Qwen3.5, Qwen3.6, and Ling-3.0-tiny. It also addresses issues with zero points in quantized weights, memory leaks, and incorrect behavior in GATED_DELTA_NET and attention operations. New diagnostic features and environment variables are added, along with updated documentation and release binaries for various platforms including Linux, Windows, macOS, Android, and others.
A patch optimizing SYCL/drama 3 coordination for CONV_TRANSPOSE_1D reduces execution time significantly across various input and kernel sizes, with speedups up to 710.23x on Arc Pro B70 using oneAPI 2026.1. The optimization maintains correctness with identical output results, though test failures persist due to a non-F32 SWIGLU_OAI assertion unrelated to the change. Performance gains are validated in a chained 4-layer stack scenario, reducing processing time from hundreds of milliseconds to under 30ms.
Hugging Face Transformers v5.24.0 introduces several new models including Inkling 2 Mini, Apertus 1.5, WavTokenizer, Dory, HY4-VL, Omnilingual ASR, Lara Mini, SarvamMLA, SarvamMoE, and EXAONE. The release features a major breaking change renaming `past_key_values` and `cache_params` to `cache` across the library, standardizing cache handling. Multimodal models now return shared output classes instead of model-specific ones. Additional updates include improvements to generation, continuous batching, chat templates, pipelines, vision and audio processing, quantization, parallelization, exporters, and numerous bug fixes.
The llama.cpp v1.25.49 release includes fixes for Inkling 2 attention mask handling, making the relative-position input a hybrid iswa input, enabling optional expert weight scale and final logit softcap, and improving KV rows mask generation for hybrid iswa memory. The update also standardizes code formatting in inkling2.cpp and ensures compatibility across multiple platforms including macOS, Linux, Windows, Android, and openEuler.
The update includes fixes for OpenVINO CI, optimizations for model recompiles in the prefill stage, improvements to output handling during model reuse, and support for f16 SCALE and f16/bf16 TRI operations. It also addresses issues with static-shape views in MoE layers, enhances SSM_SCAN build checks, and adds Falcon-H1 to the list of validated OpenVINO models with noted limitations.
A vulnerability in llama.cpp's HRM layer count validation allows integer overflow due to improper handling of uint32_t multiplication, leading to potential buffer overflows during tensor loading. The issue arises when the product of n_hrm_layers_per_stack, n_hrm_h_cycles, and (n_hrm_l_cycles + 1) is computed as a uint32_t and compared to block_count, enabling maliciously crafted inputs to pass validation despite exceeding the actual block count.
The update addresses a precision issue in CUDA's per-expert fallback path where the MUL_MAT_ID operation was not properly preserving precision due to an unset operation type. The fix sets the operation to GGML_OP_MUL_MAT and reverts an earlier change that forced fp32 output, ensuring consistent precision handling across quantized matrix multiplication paths. This resolves issues with overflow to infinity in fp16 when results exceed 65504, particularly affecting models using IQ1_M weights with large batches.
A fix was implemented to ensure graph_max_nodes() accounts for the MoE cache's additional slot lookup and expert path, preventing overflow in models with limited tensor budgets when using quantized KV cache, particularly affecting cohere2moe with 49 layers and 443 tensors per layer.
The update rejects malformed GGUF files that could cause out-of-bounds memory access by validating the mudd_tap_idx array bounds during hparams loading, preventing potential exploits from crafted models with excessive n_layer * n_mudd_taps values exceeding 512.
The Llama UI design system, including tokens, surfaces, fonts, and base components, has been moved from a temporary repository to ui/lib/ui, where it is now published as @ggml-org/llama-ui. Llama Chat now imports all UI elements—including model components, constants, enums, and helpers—from this centralized library, eliminating duplicate code. The update includes updated branding with Llama Sans and Llama Mono fonts, improved submenu rendering, enhanced elevation for chat form elements, and integration with the llama-brand package for colors and logo. The UI is now consistently applied across the application, with builds and deployment configurations adjusted accordingly.
The latest release of llama.cpp introduces support for Inkling 2, including text and vision capabilities. This update includes text inference implementation, GGUF conversion for text models, vision multimodal projection support, still-image encoding, flash attention with folded bias and sinks, and improvements to tensor mapping and testing. The changes also address model conversion, checkpoint handling, and compatibility across multiple platforms, with support for CPU, GPU (CUDA, ROCm, Vulkan), and specialized hardware like Snapdragon and OpenVINO.
The update refactors DFlash-based speculative decoding methods in llama.cpp by restructuring code organization, sharing components across models, splitting decoder graphs per head, and introducing dedicated classes for DFlash2 and LiliCorr drafts. It also adds support for new draft types, improves documentation, and removes unused code.
The llama.cpp project has released version 1.0.0, marking a significant milestone with numerous improvements across multiple platforms including CUDA, Vulkan, Metal, SYCL, OpenCL, and WebGPU. Key updates include enhanced support for quantized models (Q5_0, Q5_1, FP8), optimizations for flash attention and MoE caching, improved server security features like CORS protection and SSRF mitigation, UI enhancements such as sidebar reorganization and live-preview markdown editing, and better cross-platform compatibility. The release also includes bug fixes, CI/CD improvements, and updated dependencies.
The latest update to llama.cpp introduces enhanced MoE (Mixture of Experts) cache functionality, enabling computation of cache misses on the CPU with a configurable CPU share. A new tuning script, moe-cache-tune.py, automatically determines optimal cache size and CPU share settings based on system performance. The update also improves scheduling efficiency, removes redundant sync operations, and refactors code for better maintainability, while maintaining compatibility across multiple platforms including macOS, Linux, Windows, and Android.
The latest release of llama.cpp adds support for the MageVL-Cowork model and adjusts how rope frequencies are handled, now stored at the model level within clip_model instead of being copied into each clip_layer. The loader verifies that rope_freqs is a 32-bit floating-point array with dimensions matching d_head, ensuring compatibility with expected 4:6:6 splits in the computational graph.
The release adds the Kimi-K3.1-Pro text model to llama.cpp, replacing full-attention MLA layers in K3 with DSA (Dynamic Sparse Attention) layers featuring a lightning indexer. The indexer uses an additive mask over the cache and reuses sparse flash attention paths, while preserving existing KDA layers and MoE components. The model's architecture includes four indexer tensors per DSA layer, hybrid memory for caching, and maintains quantization integrity by excluding indexer parameters from quant overrides. Verified against HF checkpoint with identical PPL beyond context length, and supports multiple platforms including macOS, Linux, Windows, Android, and iOS.
The latest release of llama.cpp (v1.2182) includes a change to raise the compute view limit for buffers with few tensors in the meta backend, along with reverting the deepseek41 test model back to a 6-layer configuration. The release provides precompiled binaries for multiple platforms including macOS, Linux, Windows, Android, and iOS, supporting various backends such as CUDA, Vulkan, ROCm, OpenVINO, SYCL, and Snapdragon-specific hardware. Some openEuler builds remain disabled.