Llama.cpp has released version b10751, which focuses on optimizing CUDA operations by fusing the MoE weighted expert reduction into a single kernel. This update reduces the global memory traffic, a significant cost in previous versions, by consolidating multiple operations into one. The new kernel supports both unscaled and scaled graphs and handles k values from 2 to 15. While this enhances efficiency, it may result in slight differences in FP32 rounding. This release is a notable improvement for developers using CUDA with llama.cpp.
Read originalThe b10739 release of llama.cpp brings targeted performance improvements for Apple's M2 Max, with fa-vec tuning specifically designed for its 30 GPU cores. This update aims to boost efficiency in AI processing tasks, making the most of Apple's latest hardware capabilities. While the KleidiAI feature for Apple Silicon remains disabled, the release continues to support a wide array of systems, including macOS, Linux, and Windows. The inclusion of ROCm 7.14 and CUDA 12 and 13 DLLs further extends its reach. This update marks a significant enhancement in llama.cpp's ability to adapt to different hardware environments, offering developers improved performance and flexibility.
The b10741 release of llama.cpp brings a key improvement in the model loading process by adjusting the order of parameter loading, specifically loading hparams.n_layer_nextn before n_layer() calls. This change aims to streamline initialization and eliminate redundant operations, enhancing efficiency. While no new model architectures are introduced, the update supports a wide range of hardware configurations, including macOS, Linux, and Windows systems. With support for ROCm 7.14 and CUDA 13, developers can expect a more robust runtime environment. This release continues llama.cpp's focus on refining its operations, making it a more efficient tool for developers working with diverse hardware setups.