Skip to content
AI NEWS JOURNAL
AI, IN PERSPECTIVE

Search AI news

Search headlines, summaries and articles to connect the dots.

Newest first

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.

ExecuTorch-TensorRT: PyTorch Robot Policies at NVIDIA TensorRT Speed

TL;DR With Torch-TensorRT 2.15 and ExecuTorch 1.6 you can compile a PyTorch model with TensorRT, save it as an ExecuTorch program, and run it from C++ or Python without loading... The post ExecuTorch-TensorRT: PyTorch Robot Policies at NVIDIA TensorRT Speed appeared first on PyTorch.

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.

b12668

The update adds support for BF16 and F32 precision for src1 in MUL_MAT and MUL_MAT_ID operations on the Metal backend, including new kernels for legacy devices without the tensor API, improved matrix type derivation using value_type helpers, and enhanced handling of MoE down projection via a temporary environment variable. Testing confirms performance improvements on M5 Ultra and M2 Ultra devices.

b12671

The Metal concat kernel was optimized by batching rows per threadgroup and copying contiguous elements in 4-element chunks, improving memory bandwidth utilization. However, further optimizations including function constant specialization and row-batch dispatch were reverted due to performance regressions on certain shapes, particularly when already at memory bandwidth limits. The final change retains only the vectorized copy and returns to the original dispatch for better overall performance across diverse hardware configurations.

b12543

The update introduces a new tensor API conv_2d kernel for Metal, enabling split-K optimizations across all chips, including M5. It improves efficiency by utilizing tensor cores, reducing idle GPU time during long reductions. The kernel now splits reductions into partial sums stored in buffers, with a follow-up kernel summing them deterministically. Address math is optimized using 32-bit byte offsets, reducing computational overhead. A fallback to the generic kernel is implemented for images exceeding 4 GiB. Performance benchmarks show significant speed improvements on M5 Max devices, with reduced execution times across various convolution configurations.

Fast by Default: Compile-Time Heuristics for Helion Kernels

TL;DR Helion now uses compile-time heuristics that analyze a kernel’s IR and dataflow to pick fast settings without slow autotuning. It classifies the kernel as matmul, reduction, or pointwise and... The post Fast by Default: Compile-Time Heuristics for Helion Kernels appeared first on PyTorch.

v1.0.0

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.

b12249

The update introduces graceful failure handling for unreachable RPC endpoints and failed handshakes in ggml-rpc, replacing fatal aborts with reportable errors. Functions now return appropriate values (e.g., false, nullptr) on connection failures, allowing host applications to handle issues without crashing. A regression test was added for unreachable endpoints, and low-value comments were removed. Mid-stream failures remain unchanged to prevent silent corruption.

Optimizing Muse Spark Open on TPU v7 with SGLang-TorchTPU

TL;DR We serve Meta’s Muse Spark Open, an 816B-parameter mixture-of-experts model, on a single TPU v7 host of four chips, with SGLang running on the TorchTPU PyTorch backend. At the... The post Optimizing Muse Spark Open on TPU v7 with SGLang-TorchTPU appeared first on PyTorch.

b12208

The ggml library has been updated to make tied selections in the radix Top-K algorithm deterministic on CUDA and Metal backends by replacing atomic compaction loops with a deterministic scheme using simdgroup scans and coalesced memory accesses. This change ensures byte-identical outputs across runs, improves performance by 20-45% on M5 Ultra hardware, and enables deterministic testing for Metal and ROCm. Redundant CUDA kernel resets were removed, and Vulkan/Metal changes were reduced or skipped.

b12175

A fix was implemented to override the hardware_concurrency value in CI tests, addressing an issue where test-llama-context and test-backend-ops hung due to incorrect thread count estimation on 8-CPU runners. The solution sets default values of 8 for TEST_ARG_HARDWARE_CONCURRENCY and 4 for TEST_ARG_PARALLEL_WORKERS specifically for the cpu-x64-high-perf configuration.