How to use from
llama.cpp
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh
# Start a local OpenAI-compatible server with a web UI:
llama serve -hf sarrington/gemma-4-e2b-spliced:Q4_K_M
# Run inference directly in the terminal:
llama cli -hf sarrington/gemma-4-e2b-spliced:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp
# Start a local OpenAI-compatible server with a web UI:
llama serve -hf sarrington/gemma-4-e2b-spliced:Q4_K_M
# Run inference directly in the terminal:
llama cli -hf sarrington/gemma-4-e2b-spliced:Q4_K_M
Use pre-built binary
# Download pre-built binary from:
# https://github.com/ggerganov/llama.cpp/releases
# Start a local OpenAI-compatible server with a web UI:
./llama-server -hf sarrington/gemma-4-e2b-spliced:Q4_K_M
# Run inference directly in the terminal:
./llama-cli -hf sarrington/gemma-4-e2b-spliced:Q4_K_M
Build from source code
git clone https://github.com/ggerganov/llama.cpp.git
cd llama.cpp
cmake -B build
cmake --build build -j --target llama-server llama-cli
# Start a local OpenAI-compatible server with a web UI:
./build/bin/llama-server -hf sarrington/gemma-4-e2b-spliced:Q4_K_M
# Run inference directly in the terminal:
./build/bin/llama-cli -hf sarrington/gemma-4-e2b-spliced:Q4_K_M
Use Docker
docker model run hf.co/sarrington/gemma-4-e2b-spliced:Q4_K_M
Quick Links

Gemma 4 Edge Spliced GGUF

A highly compressed, spliced variant of Google's lightweight Gemma 4 E2B-it (Effective 2 Billion, also known as E4B with 4.65 Billion active parameters) model.

Model Description

This repository contains a spliced mixed-precision GGUF binary of the Gemma 4 E2B-it architecture. By surgically removing redundant layers, this model is optimized for hyper-fast, whisper-silent execution on low-memory edge platforms and commodity Apple Silicon hardware.

  • Format: GGUF (Q4_K_M)
  • Size: 3.45 GB
  • Target Platforms: Apple Silicon MacBooks (M1/M2/M3/M4) and standard CPU/GPU local runtimes.

Local Quickstart

Run the model natively via standard llama-cli:

llama-cli -ngl 100 -m ./google_gemma-4-E2B-it-Q4_K_M.gguf -p "The beauty of edge-first AI lies in" -n 128
Downloads last month
5
GGUF
Model size
5B params
Architecture
gemma4
Hardware compatibility
Log In to add your hardware

4-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support