Skip to content
AI NEWS JOURNAL
AI, IN PERSPECTIVE

Search AI news

Search headlines, summaries and articles to connect the dots.

Newest first

b12857

The update introduces optimizations for Vulkan backend in llama.cpp, including folding verify tokens and GQA heads into a single flash-attention row tile, enabling shape-gated query-token folding, porting folding to CM2 FA shader, updating accumulator scaling in flash_attn.comp, enhancing ggml_vk_flash_attn with scalar shared memory support, adding new macros for test variable representation, and refactoring test cases for GQA with query tokens and folded tiles.

b12859

The ggml library has been updated to clean up the Flash Attention (FA) bias API by renaming functions, removing redundant checks, and generalizing the bias handling. The changes include renaming indexed-bias functions to use 'bias_indexed', introducing a unified 'ggml_flash_attn_ext_add_bias' function that handles both dense and indexed biases, marking old wrappers as deprecated, and ensuring consistent behavior across CPU, CUDA, Vulkan, and other backends. Additional improvements include fixing template names, improving validation order, and clarifying documentation on bias scaling.

b12840

The ADD chain fusion in llama.cpp has been updated to ensure all addends in a chain reside in the same backend buffer, making the fusion process independent of batch size. This change addresses issues with node reordering and reallocation during scheduling, particularly affecting single-token batches and models like nemotron_h. The fix was tested across multiple configurations including test-llama-context, test-metal-graph-optimize, and llama-speculative on various hardware setups.

b12843

Fixed the issue where --chunks was not properly honored when using llama-perplexity with the --kl-divergence flag, along with a formatting fix.

b12845

The update applies weight scaling after matrix multiplication for MUL_MAT and MUL_MAT_ID operations in WebGPU, using an epilogue kernel similar to Metal. It also changes the accumulation from f16 to f32 to prevent overflow issues with scaled weights, ensuring correct output for models like Inkling 2 Mini.

b12821

Refactor split+store callbacks to store hi and lo portions together for better vectorization, interleave state store callbacks with gram_pmat work, split invert function into separate calculation and store calls for improved interleaving with MMAs, and move "solved" from sh_dh to sh_sh to avoid unnecessary barriers.

b12823

A fix was implemented to resolve the failure of ADD_ID launches with more than 65,535 tokens due to the grid's y dimension being capped at 65,535 on both NVIDIA and HIP platforms. The solution involves clamping the grid and stride over ne2 in the kernel, aligning with existing implementations in convert.cu and pad.cu, and includes a new test case with 70,000 tokens.

b12830

A fix has been implemented to allow tool calls within reasoning blocks for K2 Horizon models, ensuring that tool calls are properly recognized and executed even when they appear inside thinking segments. The parser now ends the reasoning phase upon detecting a tool call marker (`<ifm|tool_calls>`), preventing loss of the tool call. This resolves issue #32972 and follows the same pattern used in prior fixes for Gemma4 and Ministral-3.

b12833

The update adds support for CONV_TRANSPOSE_1D in WebGPU and removes redundant checks for this operation.

b12779

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.

b12782

The CUDA fusion logic, including matchers and allocation dependencies, has been moved from ggml-cuda.cu to fusion.cu, with related functions exported via fusion.cuh. The function ggml_cuda_is_view_or_noop has been relocated to common.cuh for shared use in the compute loop.

b12801

The release includes porting indexed bias Flash Attention to refactored loaders for CUDA, ensuring F32 bias support matches CPU reference and routing rows via KV_indirection. It also fixes NaN issues by returning zeros for fully masked FA query rows, aligning behavior with ggml-cpu. Code review was conducted by Fable.

b12808

The update introduces SYCL-based dequantization for reordered q6_K tensors in float32 format, aligning with the behavior of the canonical kernel.

b12754

The update addresses several issues in the ggml-openvino backend, including fixing write-back for in-place nodes in op-test graphs, improving partial in-place FILL buffer handling, enhancing softplus precision for large negative inputs, refining GPU KV rounding for decode batches to reduce performance loss, maintaining a static head axis in 4-D KV cache, and adjusting code formatting for consistency.

b12755

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.

b12777

A CUDA kernel issue where non-contiguous concatenation mapped dst ne[2] and ne[3] directly to gridDim.y and gridDim.z, which are capped at 65535, has been resolved by capping the grid and looping over remaining rows in the kernel to handle larger tensors without triggering "invalid configuration argument" errors. Fixes #32956.

b12686

The update addresses a bug where prompt cache lookups were being skipped in the server, by moving the lookup logic into server_slot_sched::select() to ensure the plan determines cache updates. The functions find_better() and has_better() are now const, and find_better() also returns the common prefix, eliminating redundant computations in load().

Patch release v5.24.1

The v5.24.1 patch release includes fixes for vLLM backward compatibility, remote code issues, Llama4 forward crashes, dory static cache, expert parallelism with empty tp_plan, and strided checkpoint reads on PyTorch 2.9.

b12658

The update introduces typed request helpers for RPC communication, using a shared table (rpc_msg_types) to map commands to their respective request and response structs, ensuring type safety and eliminating per-command code. Client and server interactions are streamlined via dispatcher->call<CMD>() and rpc_serve<CMD>(), respectively. Validation is centralized: deserialize_tensor checks tensor parameters for validity, rpc_check_region replaces individual bounds checks, graph_compute validates graph structure in a single pass, and allocation failures now close connections instead of terminating the server. The wire format remains unchanged, and comments have been trimmed.

b12659

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.