Skip to content
AI NEWS JOURNAL
AI, IN PERSPECTIVE

Search AI news

Search headlines, summaries and articles to connect the dots.

Newest first

b12902

A performance optimization has been implemented in the CUDA backend to improve half-precision (f16) conversion efficiency when utilizing kv_rows, enhancing inference speed for models using this feature.

b12903

The latest release of llama.cpp introduces "repetition_penalty" as an alias for the existing "repeat_penalty" parameter, improving consistency and usability in model configuration.

b12910

The update specifies that keys and tensor names in the gguf format must not contain null bytes, while string values can. Handcrafted test cases were added to reject files with keys containing embedded NUL bytes or tensor names differing only after a NUL byte.

b12911

The latest update to llama.cpp (v1.29.11) enables the wide MMA FA kernel for maskless attention on AMD RDNA GPUs when the number of queries is 128 or more, improving performance for vision encoders. It also fixes the ALiBi slope in the RDNA3 MMA FA kernel and removes redundant tests.

b12913

The update addresses a bug in FlushVA that caused the loss of lines 16-31 during 32-line Q4_0 panel flushes by encoding numlines - 1 in 4 bits. It introduces flush_to_l2_multi() to handle flushes in chunks of 16. Additionally, it replaces L2-SCP polling with FCC 0 semaphores and hart 1 exit credit drain to prevent race conditions and improve performance, increasing Q4_0 throughput from 632.9 to 668.1 GFLOPS (+5.6%).

b12923

A fix was implemented to assign unique PDB names to the `llama` and `llama-app` targets in Windows shared builds, preventing MSVC from overwriting debug information when linking. This ensures that `llama.dll` retains its original `llama.pdb` while `llama.exe` uses `llama-app.pdb`, enabling correct symbol loading during debugging.

b12925

The update addresses F8_E4M3 HMX-FP16 scaling issues by moving the scaling operation from weight dequantization to the F32 epilogue, adds support for handling INF in scales via hvx_vec_mul_f32_f32_ieee for pre-v79, and relocates shared qf32 vector helpers to hvx-base.h.

b12868

The update introduces several Vulkan optimizations for convolution operations, including a new 'halo' shader that reduces redundant memory accesses, split_k support for both 2D and 3D convolutions, improved tile selection, and better workgroup traversal. These changes enhance performance on RTX 5090, with up to 2.71x speedup in some cases, and improve efficiency by eliminating wasted accumulator space and optimizing memory layout.

b12887

The update introduces GDN replay support in the SYCL backend, including replaying pending gated delta net tokens, fusing state and input copies, staging tensor reads through pinned memory for improved performance, and enabling separate query and key strides in gated delta net kernels. These changes enhance efficiency for recurrent-state reads in GDN checkpoints.

b12892

The llama.cpp release b12892 introduces several optimizations to the PLE convolution graph, including removal of redundant contiguous operations, elimination of permute copy by folding sequence and channel axes, loading PLE conv kernel as a 3D tensor to avoid reshape and type casting, and using a standalone shape tensor for im2col to improve efficiency.

b12894

A fix for large ROLL shifts in the Vulkan backend has been implemented in the latest release of llama.cpp, version b12894.

b12898

The llama.cpp release b12898 introduces support for Apertus v1.5, including text processing, vision, audio, and discrete token handling, along with improvements to model conversion, batch processing, and compatibility across platforms such as macOS, Linux, Windows, Android, and various GPU backends including CUDA, Vulkan, ROCm, and OpenVINO.

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.

b12864

The update addresses the placement of transcription context in Qwen3-ASR by routing the prompt into the system turn, ensuring the user turn remains audio-only. Regression tests were added for message layout and language handling. Binary releases are available for macOS, Linux, Windows, Android, and openEuler across multiple architectures and backends including CUDA, Vulkan, ROCm, OpenVINO, and SYCL.

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.