Llama.cpp Integrates Esperanto RISC-V Backend: A Milestone for Alternative AI Silicon
The new ggml-et backend enables full model offloading on Esperanto Technologies' ET-SoC-1, signaling a shift toward hardware-agnostic AI inference.
The recent release of the ggml-et backend in github-llamacpp-releases introduces native support for Esperanto Technologies' ET-SoC-1 hardware. This integration represents a critical milestone for RISC-V in AI inference, demonstrating that community-driven frameworks are actively adapting to alternative silicon architectures and reducing the industry's reliance on proprietary CUDA ecosystems.
Engineering the ggml-et Backend
The integration of the ggml-et backend into the llama.cpp ecosystem provides a direct execution path for large language models on Esperanto Technologies' RISC-V based ET-SoC-1 accelerators. According to the commit history, this initial implementation is not merely a proof of concept; it supports full offloading for modern architectures including Qwen3, Gemma, and Llama 3.1. By utilizing specialized hardware kernels, the backend bypasses traditional CPU execution paths entirely when running on compatible silicon.
Developers can compile the framework with specific flags, namely -DGGML_ET=ON and -DGGML_ET_SYSEMU=ON, the latter enabling system emulation for testing without physical hardware. The release notes demonstrate the practical application of this backend by running the llama-server binary with a fully offloaded Qwen3-0.6B-Q8_0.gguf model. This confirms that the foundational operations required for quantized LLM inference-specifically 8-bit quantization-are fully functional on the Esperanto architecture.
Hardware-Specific Optimizations and the "Uberkernel"
A standout technical feature of this release is the implementation of an "uberkernel" concept designed specifically for kernel fusion. In memory-bound workloads like LLM inference, the time spent moving data between memory and compute units often exceeds the time spent on actual computation. By fusing operations-such as combining Root Mean Square Normalization (RMS_NORM) with Matrix Multiplication (MUL)-the uberkernel minimizes memory round-trips, keeping data resident in local registers or SRAM for longer periods.
Furthermore, the backend heavily leverages the specific compute engines available on the ET-SoC-1. The implementation includes a custom FlashAttention kernel (flash_attn_ext_f16_me) that directly utilizes the hardware's matrix engine. For quantized operations, which are the lifeblood of efficient local inference, the backend optimizes Q4_0 and Q8_0 matrix multiplications (mul_mat_id) using row accumulations and TensorFMA32 instructions. The code also reveals sophisticated routing logic, such as directing Q4_0 matrix multiplications with a dimension N < 53 to vector engines rather than matrix engines to optimize prefill latency, demonstrating a deep mechanical sympathy with the underlying RISC-V architecture.
Strategic Implications for the RISC-V Ecosystem
The dominance of NVIDIA's CUDA has long been the primary bottleneck for alternative AI hardware. Software frameworks are typically optimized for x86 CPUs or NVIDIA GPUs, leaving novel architectures with sub-optimal execution paths. The ggml-et integration signals a shift in this dynamic. Because GGML (the tensor library powering llama.cpp) is designed to be lightweight and extensible, it serves as an ideal bridge for non-standard silicon.
Esperanto's approach with the ET-SoC-1 involves packing thousands of low-power RISC-V cores onto a single chip, prioritizing energy efficiency and parallel throughput over single-thread performance. By enabling optimized LLM execution on this many-core architecture, the llama.cpp community is lowering the barrier to deploying energy-efficient, non-x86 hardware for local AI workloads. This is particularly relevant for edge computing and enterprise deployments where power constraints and thermal limits make traditional GPU clusters unviable.
Limitations and Ecosystem Friction
Despite the technical depth of the integration, several critical data points remain absent from the release, leaving the practical utility of the ET-SoC-1 an open question. The source commit lacks detailed specifications of the Esperanto architecture, such as the exact RISC-V core count utilized during these tests, the clock speeds, or the memory bandwidth available to the matrix engines.
More importantly, there are no comparative performance benchmarks provided. Without tokens-per-second metrics for prefill and decoding phases, it is impossible to evaluate how the ET-SoC-1 stacks up against mainstream edge AI hardware like NVIDIA's Jetson Orin line or even modern Apple Silicon. Additionally, the commercial availability of the ET-SoC-1 hardware remains a point of friction. While the inclusion of system emulation (-DGGML_ET_SYSEMU=ON) allows developers to verify kernel logic, the inability for the broader open-source community to easily acquire and benchmark physical Esperanto hardware may slow the pace of iterative optimization.
Synthesis
The addition of the ggml-et backend to llama.cpp is a highly technical, foundational step toward diversifying the hardware landscape for AI inference. By implementing advanced features like kernel fusion, FlashAttention, and hybrid matrix/vector execution on a RISC-V architecture, the developers have proven that alternative silicon can handle the rigorous demands of modern LLMs. While the lack of public benchmarks and hardware availability obscures the immediate commercial impact, the architectural groundwork laid here ensures that as RISC-V accelerators mature, the software stack will be ready to support them.
Key Takeaways
- The ggml-et backend introduces native, optimized support for Esperanto Technologies' ET-SoC-1 RISC-V hardware within llama.cpp.
- The integration supports full offloading for modern models like Qwen3, Gemma, and Llama 3.1 using specialized hardware kernels.
- An 'uberkernel' implementation enables kernel fusion (e.g., RMS_NORM + MUL) to reduce memory bandwidth bottlenecks during inference.
- The backend utilizes hardware-specific matrix engines (TensorFMA32) and vector engines for highly optimized Q4_0 and Q8_0 operations.
- The release lacks comparative performance benchmarks (tokens per second) and details on the commercial availability of the physical hardware.