llama.cpp
AI & LLMsLLM inference in C/C++
Release History
View all versions →b107131 fixThis release includes an update to ggml to add MUL_MAT to operations that may require additional memory for WebGPU. Various pre-compiled binaries for different platforms and configurations are also provided.
b107123 featuresThis release introduces Vulkan backend improvements for top-k operations with Qwen 3.8 Flash Next, including a new radix sort shader and qsa fusion. It also includes updated test cases for this functionality.
b107111 fixThis release addresses a CPY fence bug in the hexagon backend. It also provides pre-compiled binaries for various platforms and configurations.
b107101 featureThis release adds remaining Q4_1/Q5_0/Q5_1 fa-vec tunings for M2 on metal. It also provides pre-compiled binaries for various platforms and configurations.
b107091 fixImproved RPC handling by preventing serialization of buffers from other servers. This change enhances the robustness of cross-server communication within the RPC system.
b107081 fixThis release includes a fix for the ggml_backend_buft_get_alloc_size() guard. It also provides pre-compiled binaries for various platforms and hardware configurations.
b107071 fixOptimized kv-cells sequence scan for improved generation performance on longer contexts. This release also provides pre-compiled binaries for various platforms and hardware configurations.
b107062 featuresThis release introduces SWIGLU_CLAMP to ggml and adds Vulkan shader support, enhancing computational capabilities.
b107051 fixThis release improves TENSOR_READ_LAZY handling on CPU and provides updated binary releases for various platforms including macOS, Linux, Android, and Windows.
b107041 featureIntroduced an optimized CUDA path for mm_ids_helper, improving performance for specific expert configurations. This update expands support for more n_expert_used values on the fast path.
b10703This release includes tuning for RDNA 3 MMQ configuration, along with various pre-compiled binaries for different platforms and hardware accelerators.
b107023 fixesOptimized HIP's Q2_0 dot-product path for gfx1201 and improved MMQ unpack with native permutations. Restored MMQ tile index handling.
b107011 fixThis release addresses a critical bug in DFlash2 NVFP4 models by ensuring that Q, K, V, and output projection scales are correctly passed to attention operations, resolving issues with speculative token generation. Various pre-compiled binaries for different platforms and hardware are also provided.
b107001 featureThe --tensor-read-lazy CLI argument has been renamed to --lazy-mode to align with the internal parameter, and a new -lzm shorthand has been added.
b106992 featuresIntroduced `ggml_backend_op_alloc_size_may_expand` to better manage memory allocation for specific operations across various backends. The RPC backend has been updated to utilize this new helper function.
b106981 fixThis release addresses an RPC issue related to Apple RDMA teardown errors. It also provides pre-compiled binaries for various platforms and hardware configurations.
b106971 featureThis release introduces fa-vec tunings for M3 Ultra on metal, enhancing performance. It also provides a comprehensive set of pre-compiled binaries for various platforms and configurations.
b106961 featureThis release introduces fa-vec tuning for M3 Pro on Metal, enhancing performance. It also provides updated pre-compiled binaries for various platforms and configurations.
b10695Updated the cpp-httplib dependency to versions 0.54.0 and 0.54.1. This release also provides numerous pre-compiled binaries for various platforms and hardware configurations.
b106941 fixThis release includes a fix for pre-RDMA support on older macOS versions. Various pre-compiled binaries for different platforms and configurations are also provided.
b106931 fix3 featuresIntroduced Hexagon device support for discovery and on-demand session creation, including lazy allocation and runtime NPU core discovery. Non-existing devices are now rejected early during initialization.
b106921 featureThe SYCL backend has been updated to split long rows in TOP_K operations, enhancing performance. This release also provides pre-compiled binaries for various platforms and hardware configurations.
b106915 fixesThis release addresses a critical null-pipeline crash in Metal for F16 src1 mul_mat/mul_mat_id operations and includes related stability improvements.
b106901 fixThis release addresses a memory-related crash during context shifts for unquantized K caches. It ensures the Hadamard matrix is copied to the k_rot tensor only when a buffer is assigned, preventing potential issues.
b106891 featureThis release introduces the ability to pass alloc dependencies into the graph_optimize function within ggml. It also includes various pre-compiled binaries for different platforms and hardware accelerators.
Common Errors
NotImplementedError2 reportsNotImplementedError in llama-cpp often arises when attempting to use a feature or model architecture that hasn't yet been fully implemented in the conversion or evaluation code. To resolve this, either update to the latest version of llama-cpp which may include the necessary implementation or contribute the missing functionality by implementing the required logic for the specific operator/model architecture and submitting a pull request. If an update is not available, using a model known to work can also provide a workaround.
DeviceLostError2 reportsThis error typically occurs in llama-cpp. Check the example issues for common solutions.
InternalServerError2 reportsInternalServerError in llama-cpp often arises from unsupported model architectures or operations, such as attempting multimodal input with a model not designed for it or faulty tool calling within a specific model. To resolve this, verify model compatibility with the requested operation in your code, and update llama-cpp to the latest version or use a compatible model known to work with multimodal inputs or tool calling. If issues persist, inspect the model's configuration, particularly its handling of vision or function calling, and revise your prompts accordingly.
FileNotFoundError1 reportThe "FileNotFoundError" in llama-cpp usually means a required file path, often a model or tokenizer component, isn't valid or the file doesn't exist at that location. Double-check the path specified in your command-line arguments or configuration files for typos and ensure the necessary files are actually present in the indicated directory. If converting from Hugging Face, ensure all necessary files, like "tokenizer.model", were downloaded correctly.
Related AI & LLMs Packages
AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.
Get up and running with OpenAI gpt-oss, DeepSeek-R1, Gemma 3 and other models.
🦜🔗 The platform for reliable agents.
The most powerful and modular diffusion model GUI, api and backend with a graph/nodes interface.
GPT4All: Run Local LLMs on Any Device. Open-source and available for commercial use.
A high-throughput and memory-efficient inference and serving engine for LLMs
Subscribe to Updates
Get notified when new versions are released