ggml v1.2.0 Released with FP8 and NVFP4 Quantization Support

At a Glance
| Item | Value |
|---|---|
| Repository | ggml-org/ggml |
| Version | v1.2.0 |
| Published | 2026-12-04 |
| License | MIT |
| Source type | Primary source (the publisher itself) |
Values determined by this site’s code when the information was collected. Dates are JST.
Overview
ggml-org/ggml v1.2.0 has been released. ggml is a tensor library for machine learning. This update adds support for FP8 and NVFP4 quantization scales through an expanded matrix multiplication API, making it a very important update for users performing inference with low-precision formats.
Breaking Changes & Deprecations
API changes and stricter specifications may impact existing code and data.
| Old | New |
|---|---|
| Legacy FlashAttention sink/bias setter | ggml_flash_attn_ext_set_sinks / ggml_flash_attn_ext_set_bias |
mul_mat scale parameter |
Renamed based on operand name |
| NUL bytes in GGUF keys and tensor names | Not allowed (now rejected) |
This affects developers configuring FlashAttention or directly manipulating mul_mat scale parameters. Additionally, if GGUF file keys or tensor names contain NUL bytes, the new version will reject loading them.
Key Changes
Support for FP8 and NVFP4 Quantization Scales
Expanded matrix multiplication APIs (ggml_needs_scale, ggml_mul_mat_ext, ggml_mul_mat_id_ext) have been introduced llama/28898. This enables the use of quantization scales (per-tensor, per-channel, or per-expert) in FP8 and NVFP4. This change also applies to the CPU matrix multiplication path and the meta backend splitting logic. Developers performing inference using low-precision formats will need to update their implementations to use these new APIs.
Overhaul of FlashAttention API
New APIs, ggml_flash_attn_ext_set_sinks and ggml_flash_attn_ext_set_bias, have been added for configuring FlashAttention sinks and biases llama/33178. Along with this, legacy setters are deprecated. Users implementing solutions that use FlashAttention are encouraged to migrate to the new APIs.
Backend Enhancements and Optimizations
Depending on the hardware being used, the following optimizations and features have been applied:
- CUDA / HIP: CUDA fusion code has been organized into dedicated units. Additionally, few-row MMQ for NVFP4 and FlashAttention speedups (such as faster f16 conversion via kv_rows reads) have been added. This benefits users with NVIDIA GPUs.
- Vulkan: Support for FP8 and scaled matmul, as well as KV-row support in FlashAttention, has been added. Users leveraging the Vulkan backend can now use these new features.
- Metal: Neural Accelerators can now be detected without hardcoding chip names. Taylor series have also been introduced for calculations like ELU, EXPM1, and XIELU. This impacts Apple Silicon users.
- WebGPU: Scaled matmul support has been added.
- CPU (ARM): SVE GEMV kernels for Q6_K and Q8_K have been added for the ARM architecture llama/29256.
GGUF Specification Changes
GGUF keys and tensor names containing NUL bytes are now rejected llama/33355. If existing GGUF files contain NUL bytes, the new version may fail to load them, so checking file contents beforehand is recommended.
Supported Models and Hardware
This update enhances and adds support for the following hardware and architectures:
- NVIDIA GPU (CUDA/HIP): NVFP4 quantization support is enhanced, and new kernels like few-row MMQ have been added.
- AMD GPU (ROCm/HIP): Few-row MMQ using WMMA on RDNA3.5 and GCN sparse fattn have been added.
- Apple Silicon (Metal): Neural Accelerator automatic detection has been added.
- ARM: GEMV kernels for Q6_K and Q8_K using SVE have been implemented llama/29256.
- Vulkan: FP8, scaled matmul, and FlashAttention KV-row support have been added.
- WebGPU: Scaled matmul support has been added.
- OpenVINO: Updated to OpenVINO 2026.5, with model and mtmd support added.
- Hexagon: Online FWHT-32 and quantization scale support have been added.
- Others: An experimental HRX backend has been added.
How to Get It
If building from source, you can follow these steps:
git clone https://github.com/ggml-org/ggml
cd ggml
mkdir build && cd build
cmake..
cmake --build. --config Release -j 8
Releases Since Our Last Article
Compiled by Local Model Watch from the project’s GitHub releases: the versions between this release and the last one we covered, which did not get separate articles. Full history: release tracker.
| Version | Released | Release notes |
|---|---|---|
| v1.1.1 | 2026-11-26 | GitHub |
Related Articles
- ggml v1.0.0 Released: Major Version Update and Improvements
- GGML v0.29.0 Released: Multi-Node Tensor Parallelism and More
- ggml v0.27.0 Released with Tensor-Parallel RPC and Major Speedups
- ggml v0.26.0 Released with Sparse Flash Attention & New Backends
What to Read Next
- Follow this tool → ggml overview and release history (48 releases tracked)
- Other quantization, model formats and fine-tuning → ExLlamaV3 / Unsloth
- Engines mentioned in this article → llama.cpp

