跳到正文
AI NEWS JOURNAL
llama.cpp releasesAI NEWS / JOURNAL

b12948

The update includes support for OpenVINO 2026.5 with improved CI workflows, enhanced model compatibility for Qwen3.5 and Gemma4 image inputs, and expanded MoE model support on NPU for Qwen3.6-35B-A3B. Key improvements include optimized KV cache handling, precision control for MatMul operations, dynamic graph recompilation for one-token reuse, and fixes for weight scale views and memory management. The release also introduces Ubuntu 26.04 support and updated documentation for validated models and backend configurations.

翻译服务暂未运行,当前显示原文。

<details open> openvino: update to OV 2026.5, CI fixes, add model support, add mtmd support (#33505) * ggml-openvino: translate recurrent cache replay graphs Assisted-by: Codex * ggml-openvino: use host USM for 4-D KV on integrated GPUs Assisted-by: Codex * Revert "ggml-openvino: use host USM for 4-D KV on integrated GPUs" This reverts commit 575db27dd93e70e5ee5aa44edb49c6e8236d43cc. * ggml-openvino: key compiled replay graphs by declared control shapes Assisted-by: Codex * ggml-openvino: represent replay writes with Assign sinks * ggml-openvino: document writable replay graph contract * ggml-openvino: remove legacy native recurrent cache ops * ggml-openvino: document replay graph selection during prefill * ggml-openvino: enable Qwen3.5 and Gemma4 image inputs Reuse Qwen vision graphs across image resolutions with runtime spatial shapes and interpolation targets. Support Gemma spatial positions, normalized vision attention and variable image-embedding counts. Preserve recurrent cache state and sequence grouping during parallel serving, using the native single-output cache-update contract. Keep KV head dimensions fixed after relayout when applying dynamic axes. Validated image requests and four-slot unified/split KV serving for Qwen3.5 and Gemma4 E2B on OpenVINO CPU and GPU. Vision and recurrent backend regressions passed 21/21 on each device. (cherry picked from commit d64dcb5594db74c0f03945cac668aefcca75e0b1) * ggml-openvino: keep allocation IDs out of persistent cache signatures Store weight allocation generations separately from graph descriptors. Private cache keys retain allocation isolation, while dynamic model fingerprints stay stable when the same source weights are reloaded. * ggml-openvino: preserve explicit F32 MatMul precision per node Honor GGML_PREC_F32 on MatMul src1 with node precision guards and precision-sensitive input paths, including grouped-query attention. Keep other branches at their configured precision. Probe the runtime helper and include precision guards in cache identities. Validated on the local OpenVINO 2026.5.1 CPU/GPU runtime: 12/12 F32 precision cases under CPU default, CPU BF16 and GPU FP16 hints; mixed-precision branches and cached F32/default/F32 transitions; five real audio preprocessing lengths per device. * ggml-openvino: remove the node precision availability guard The official OpenVINO 2026.4.1 Runtime SDK exports the node precision helper. Remove its link probe and conditional fallback while retaining the Runtime SDK declaration shim and the recurrent-cache-op guard. Validated the downloaded SDK with a compiled/linked API probe and 12/12 F32 MatMul cases on default CPU and FP16-hint GPU. The local 2026.5.1 build also passes 12/12 on each device. An additional 2026.4.1 CPU BF16-hint check has seven precision failures, independent of this availability-guard removal. * ggml-openvino: document pending audio dynamics and preprocessing caching Assisted-by: Codex * ggml-openvino: declare the node precision helper in mulmat Move the exported helper declaration into mulmat.cpp and remove the single-consumer precision_control.hpp header. Validated builds and 12/12 F32 MatMul cases on CPU/GPU with both the local OpenVINO build and the official 2026.4.1 Runtime SDK. Assisted-by: Codex * ggml-openvino: Enable MOE models on NPU for Qwen3.6-35B-A3B NPUW, the partitioning layer of the NPU plugin, has its own MoE support. It isolates the experts into functions and runs only the routed experts for each token, with the router on the host (the `HOST_ROUTED` mode). This PR translates the MoE block of a model into the form NPUW recognises, and sets the NPUW properties for that mode. * ggml-openvino: find the moe block once per decoder for the npu config ov_graph_compute_static scanned every node of the graph for a MoE block on each call, cache hits included, to choose the NPUW MoE properties. set_input_output already matches each MoE block when the decoder is built, so it now records the result in GgmlOvDecoder::has_moe_block(), and the properties are added from that flag when a graph compiles. The properties are the same as before. * ggml-openvino: docs: OpenVINO version and Linux memory setting for MoE models on the NPU * ggml-openvino: fix the build_rs state move on the dynamic path * ggml-openvino: check the input rank before slicing packed views * ggml-openvino: repeat the soft_max mask over broadcast dims * ci : run OpenVINO self-hosted job on the PTL runner with Ubuntu 26.04 * docker : use Ubuntu 26.04 for the OpenVINO image * docs : pick the OpenVINO archive for the Ubuntu version * ci : set a 120 min timeout on the OpenVINO self-hosted job * ggml-openvino: use the in-place 4-D KV cache by default with OpenVINO 2026.5 or later * openvino: fix the clang-format of the KV_4D version check * openvino: update OpenVINO to 2026.5 and GPU/NPU drivers * openvino: skip GPU convolutions that OpenVINO 2026.5 gets wrong * docs : update the OpenVINO validation system and NPU limitations * docs : move GGML_OPENVINO_ENABLE_KV_4D to the default optimizations * docs : fix OpenVINO docs inconsistencies * ggml-openvino: support folded MoE weight scales and fused MoE for Q4_0 experts Gemma 4 26B-A4B stopped loading on the OpenVINO backend after #28898 folded the per-expert ffn_down_exps.scale into ggml_mul_mat_id_ext. supports_op rejected every op with a folded scale, so the down experts were placed on the CPU, whose MUL_MAT_ID then asserted on the expert ids produced by OpenVINO (repack.cpp: i02 >= 0 && i02 < n_as), on every OpenVINO device. - supports_op: accept the MUL_MAT_ID weight scale (src[3]). Keep rejecting the activation scale, a scale on a dense MUL_MAT, and scaled MXFP4 experts. - translate_mul_mat_id: pick each slot's weight scale by its expert id and multiply it into the result (per-tensor, per-expert and per-channel-per-expert, as on CPU). A per-expert scale gets the router weights' shape, so FuseMoeCompressedFusedGateUp still folds it into the routing weights. - GPU: convert Q4_0 MoE experts to Q4_1_64 as for Q4_K/Q5_K/Q6_K, so the plugin fuses them into MOECompressed instead of the slow GatherMatmul prefill path. gemma-4-26B-A4B-it QAT Q4_0 on an Arc B390 GPU, 8k prompt: loads and answers correctly; prefill 65 -> 1179 tok/s, decode 21.4 tok/s. * openvino: fix MUL_MAT_ID weight scale views and skipped slots * ggml-openvino: keep the Q5_0 layout instead of converting it to Q4_0_64 * ggml-openvino: swap the dynamic dim in TRANSPOSE also when both dims have the same size * ggml-openvino: support REPEAT to an empty dim and GET_ROWS on an empty tiled batch * openvino: drop test-backend-ops changes * ggml-openvino: release host weight buffers by default on GPU and restore them from the model file * openvino: keep scaled MUL_MAT_ID out of the tiled MoE path * ggml-openvino: reshape the MUL_MAT_ID activations of a one-token static graph * openvino: reject in-place UNARY on a non-contiguous view * docs : update OpenVINO validated models (#475) * docs : update OpenVINO validated models * docs : add Qwen3-VL image sample * ggml-openvino: reconvert decoder when a one-token graph is reused with more tokens * ggml-openvino: reconvert ambiguous one-token graphs and release old model A one-token graph is ambiguous only when a layer has a single KV head (MLA's compressed KV or MQA): the head and token dimensions then have identical sizes and strides. Reconvert only these graphs. Before compiling the replacement, release the original one-token model, including its shared cache entry, infer request, and replay writebacks. This avoids compiling and retaining two copies of the model weights on the device. * ggml-openvino: do not interpret a view's token dim as heads process_view_input_new has two head-splitting paths that interpret view dimension 1 as the head dimension. For one-token graphs, a plain column split such as LFM2's and Nemotron-H's [n, n_tokens] views of a [3n, n_tokens] projection can have the same shapes and strides as the packed-head layouts expected by these paths. The resulting reshape places tokens on the wrong axis. Apply the head splits only when the decoder's dynamic dimension is not dimension 1. Add get_view_input_dynamic_dim() to expose this information. * openvino: keep one-token models apart in the compiled model cache * docs : reorganize OpenVINO developer docs * openvino: pin the ubuntu24 archive in the build cache job * openvino: name the ubuntu24 flavor in the OpenVINO cache key * docs : stop the Ubuntu build script on unsupported versions --------- Co-authored-by: Yu, Zijun <zijun.yu@intel.com> Co-authored-by: yzhou51 <yaowei.zhou@intel.com> Co-authored-by: Suhas Somashekar <suhas.somashekar@intel.com> Co-authored-by: Anisha Kulkarni <anisha.dattatraya.kulkarni@intel.com> Co-authored-by: Sabnis, Omkar <omkar.sabnis@intel.com> </details> **Website:** - <https://llama.app> **Attestations:** - <https://github.com/ggml-org/llama.cpp/attestations/75717094> **macOS/iOS:** - [macOS Apple Silicon (arm64)](https://github.com/ggml-org/llama.cpp/releases/download/b12948/llama-b12948-bin-macos-arm64.tar.gz) - macOS Apple Silicon (arm64, KleidiAI enabled) [DISABLED](https://github.com/ggml-org/llama.cpp/pull/23780) - [macOS Intel (x64)](https://github.com/ggml-org/llama.cpp/releases/download/b12948/llama-b12948-bin-macos-x64.tar.gz) - [iOS XCFramework](https://github.com/ggml-org/llama.cpp/releases/download/b12948/llama-b12948-xcframework.zip) **Linux:** - [Ubuntu x64 (CPU)](https://github.com/ggml-org/llama.cpp/releases/download/b12948/llama-b12948-bin-ubuntu-x64.tar.gz) - [Ubuntu arm64 (CPU)](https://github.com/ggml-org/llama.cpp/releases/download/b12948/llama-b12948-bin-ubuntu-arm64.tar.gz) - [Ubuntu 24.04 s390x (CPU)](https://github.com/ggml-org/llama.cpp/releases/download/b12948/llama-b12948-bin-ubuntu-s390x.tar.gz) - [Ubuntu 26.04 s390x (CPU)](https://github.com/ggml-org/llama.cpp/releases/download/b12948/llama-b12948-bin-ubuntu-26.04-s390x.tar.gz) - [Ubuntu 26.04 s390x (zDNN)](https://github.com/ggml-org/llama.cpp/releases/download/b12948/llama-b12948-bin-ubuntu-zdnn-s390x.tar.gz) - [Ubuntu x64 (Vulkan)](https://github.com/ggml-org/llama.cpp/releases/download/b12948/llama-b12948-bin-ubuntu-vulkan-x64.tar.gz) - [Ubuntu arm64 (Vulkan)](https://github.com/ggml-org/llama.cpp/releases/download/b12948/llama-b12948-bin-ubuntu-vulkan-arm64.tar.gz) - [Ubuntu x64 (CUDA 12)](https://github.com/ggml-org/llama.cpp/releases/download/b12948/llama-b12948-bin-ubuntu-cuda-12.8-x64.tar.gz) - [CUDA 12.8 libraries](https://github.com/ggml-org/llama.cpp/releases/download/b12948/cudart-llama-b12948-bin-ubuntu-cuda-12.8-x64.tar.gz) - [Ubuntu x64 (CUDA 13)](https://github.com/ggml-org/llama.cpp/releases/download/b12948/llama-b12948-bin-ubuntu-cuda-13.5-x64.tar.gz) - [CUDA 13.5 libraries](https://github.com/ggml-org/llama.cpp/releases/download/b12948/cudart-llama-b12948-bin-ubuntu-cuda-13.5-x64.tar.gz) - [Ubuntu arm64 (CUDA 13)](https://github.com/ggml-org/llama.cpp/releases/download/b12948/llama-b12948-bin-ubuntu-cuda-13.5-arm64.tar.gz) - [CUDA 13.5 libraries](https://github.com/ggml-org/llama.cpp/releases/download/b12948/cudart-llama-b12948-bin-ubuntu-cuda-13.5-arm64.tar.gz) - [Ubuntu x64 (ROCm 10.0)](https://github.com/ggml-org/llama.cpp/releases/download/b12948/llama-b12948-bin-ubuntu-rocm-10.0-x64.tar.gz) - [Ubuntu x64 (OpenVINO)](https://github.com/ggml-org/llama.cpp/releases/download/b12948/llama-b12948-bin-ubuntu-openvino-2026.5-x64.tar.gz) - [Ubuntu x64 (SYCL FP32)](https://github.com/ggml-org/llama.cpp/releases/download/b12948/llama-b12948-bin-ubuntu-sycl-fp32-x64.tar.gz) - [Ubuntu x64 (SYCL FP16)](https://github.com/ggml-org/llama.cpp/releases/download/b12948/llama-b12948-bin-ubuntu-sycl-fp16-x64.tar.gz) - [Linux arm64 (Snapdragon: CPU, Adreno GPU, Hexagon NPU)](https://github.com/ggml-org/llama.cpp/releases/download/b12948/llama-b12948-bin-linux-arm64-snapdragon.tar.gz) - [setup guide](https://github.com/ggml-org/llama.cpp/blob/master/docs/backend/snapdragon/linux.md) **Android:** - [Android arm64 (CPU)](https://github.com/ggml-org/llama.cpp/releases/download/b12948/llama-b12948-bin-android-arm64.tar.gz) - [Android arm64 (Snapdragon: CPU, Adreno GPU, Hexagon NPU)](https://github.com/ggml-org/llama.cpp/releases/download/b12948/llama-b12948-bin-android-arm64-snapdragon.tar.gz) - [setup guide](https://github.com/ggml-org/llama.cpp/blob/master/docs/backend/snapdragon/README.md) **Windows:** - [Windows x64 (CPU)](https://github.com/ggml-org/llama.cpp/releases/download/b12948/llama-b12948-bin-win-cpu-x64.zip) - [Windows arm64 (CPU)](https://github.com/ggml-org/llama.cpp/releases/download/b12948/llama-b12948-bin-win-cpu-arm64.zip) - [Windows arm64 (OpenCL Adreno)](https://github.com/ggml-org/llama.cpp/releases/download/b12948/llama-b12948-bin-win-opencl-adreno-arm64.zip) - [Windows x64 (CUDA 12)](https://github.com/ggml-org/llama.cpp/releases/download/b12948/llama-b12948-bin-win-cuda-12.4-x64.zip) - [CUDA 12.4 DLLs](https://github.com/ggml-org/llama.cpp/releases/download/b12948/cudart-llama-bin-win-cuda-12.4-x64.zip) - [Windows x64 (CUDA 13)](https://github.com/ggml-org/llama.cpp/releases/download/b12948/llama-b12948-bin-win-cuda-13.5-x64.zip) - [CUDA 13.5 DLLs](https://github.com/ggml-org/llama.cpp/releases/download/b12948/cudart-llama-bin-win-cuda-13.5-x64.zip) - [Windows arm64 (CUDA 13)](https://github.com/ggml-org/llama.cpp/releases/download/b12948/llama-b12948-bin-win-cuda-13.5-arm64.zip) - [CUDA 13.5 DLLs](https://github.com/ggml-org/llama.cpp/releases/download/b12948/cudart-llama-bin-win-cuda-13.5-arm64.zip) - [Windows x64 (Vulkan)](https://github.com/ggml-org/llama.cpp/releases/download/b12948/llama-b12948-bin-win-vulkan-x64.zip) - [Windows arm64 (Vulkan)](https://github.com/ggml-org/llama.cpp/releases/download/b12948/llama-b12948-bin-win-vulkan-arm64.zip) - [Windows x64 (OpenVINO)](https://github.com/ggml-org/llama.cpp/releases/download/b12948/llama-b12948-bin-win-openvino-2026.5-x64.zip) - [Windows x64 (SYCL)](https://github.com/ggml-org/llama.cpp/releases/download/b12948/llama-b12948-bin-win-sycl-x64.zip) - [Windows x64 (ROCm 10.0)](https://github.com/ggml-org/llama.cpp/releases/download/b12948/llama-b12948-bin-win-rocm-10.0-x64.zip) **openEuler:** - [DISABLED](https://github.com/ggml-org/llama.cpp/pull/23705) - openEuler x86 (310p) - openEuler x86 (910b, ACL Graph) - openEuler aarch64 (310p) - openEuler aarch64 (910b, ACL Graph) **UI:** - [UI](https://github.com/ggml-org/llama.cpp/releases/download/b12948/llama-b12948-ui.tar.gz)

资料来源

阅读原文 ↗

相关主题

← 继续阅读全部动态