Open AI Models

llama.cpp v1.1.1 adds support for Amazon Ergo 1.1T MoE and Qwen4 models

Key Takeaway

llama.cpp v1.1.1 introduces support for massive Mixture-of-Experts models like Amazon Ergo 1.1T and rearchitects decision-model APIs for improved batch processing.

Summary

The llama.cpp project has released version 1.1.1, a significant update that expands its library of supported open-weight models. Notable additions include the Amazon-FMR/Ergo 1.1T Mixture-of-Experts (MoE) model with MXFP4 conversion, Qwen4-35B-A3B, and MiniCPM5 MoE. This release also updates the underlying ggml library to version 1.2.0, which introduces enhanced quantization-scale support for FP8 and NVFP4 formats.

Beyond model support, the update implements a major architectural shift in how decision models handle batching, replacing older decision order fields with pool spans and attention scopes. The llama-server component receives new capabilities for managing background tasks via the shell tool, and the user interface has been improved with features like Hugging Face dataset sharing and an integrated image slideshow for multimodal conversations.

Technical architectural changes in llama.cpp v1.1.1

  • Model Architecture Support: Adds support for the 1.1T parameter Amazon-FMR/Ergo MoE model using MXFP4 conversion, alongside Qwen4-35B-A3B and MiniCPM5 MoE which utilizes gated GQA and routed/shared experts.
  • API and Batching Refactor: Replaces decision order and group batch fields in decision models with a new pool spans and attention scopes system via the llama-ext.h header to optimize batch processing.
  • ggml v1.2.0 Integration: Upgrades the core tensor library to include quantization-scale support for FP8 and NVFP4 through extended matrix-multiplication APIs and introduces an experimental HRX backend.
  • Inference Optimizations: Implements shared SWA (Sliding Window Attention) cell reuse for multiple sequences and introduces budget graph nodes for KV cache rotation to ensure quantized K/V caches fit the scheduler hash set.
  • Server and Tooling Enhancements: The llama-server now supports background tasks for the built-in shell tool with dedicated /tools/tasks routes and introduces MCP (Model Context Protocol) server support in the GET /tools endpoint.

Why it matters

This release is critical for practitioners running frontier-scale MoE models locally, as the support for 1.1T parameter models and MXFP4 quantization significantly lowers the barrier for high-parameter inference. The architectural improvements to the decision-model API and the ggml upgrade provide a more robust foundation for developers building complex, multi-sequence AI applications and specialized inference runtimes.

What to do

  • Update llama.cpp to version 1.1.1 to access new model support and architectural changes.
  • Developers using llama-ext.h should rename llama_batch_ext_set_decision_order() to llama_batch_ext_set_pool_span_type().

Original reference: github.com →