How to use from
OpenClaw
Start the llama.cpp server
# Install llama.cpp:
brew install llama.cpp
# Start a local OpenAI-compatible server:
llama serve -hf sunil-pathak/gemma-4-E4B-it-Q6_K:Q6_K
Configure OpenClaw
# Install OpenClaw:
npm install -g openclaw@latest
# Register the local server and set it as the default model:
openclaw onboard --non-interactive --mode local \
  --auth-choice custom-api-key \
  --custom-base-url http://127.0.0.1:8080/v1 \
  --custom-model-id "sunil-pathak/gemma-4-E4B-it-Q6_K:Q6_K" \
  --custom-provider-id llama-cpp \
  --custom-compatibility openai \
  --custom-text-input \
  --accept-risk \
  --skip-health
Run OpenClaw
openclaw agent --local --agent main --message "Hello from Hugging Face"
Quick Links

gemma-4-E4B-it — GGUF (Q6_K)


📊 Performance Metrics

  • Hardware: Intel(R) Xeon(R) CPU @ 2.20GHz (4 vCPUs)
  • Size: 5.79 GB
  • Speed (Generation): 3.24 tokens/sec
  • Speed (Prompt): 5.62 tokens/sec
  • KV Cache Usage: 0.0143 GB
  • Quantization: Q6_K

🔷 Model Overview

This repository contains a GGUF quantized version of:

  • Base Model: gemma-4-E4B-it
  • Format: GGUF (optimized for llama.cpp inference)
  • Precision: Q6_K
  • Efficiency Score: 0.5596 (TPS/GB)

GGUF format provides:

  • Fast loading via memory mapping
  • Single-file model distribution
  • Cross-platform compatibility
  • Efficient inference with llama.cpp

📦 Files

File Description
gemma-4-E4B-it-Q6_K.gguf Quantized GGUF model file

⚙️ Technical Details

Parameter Value
Architecture gemma-4-E4B-it
Format GGUF
Precision Q6_K
Runtime llama.cpp
Benchmark Hardware Intel(R) Xeon(R) CPU @ 2.20GHz (4 vCPUs)
Context Latency 54.45s
Memory (KV) 0.0143 GB

⚡ Why GGUF?

GGUF is designed for efficient inference:

  • Optimized for llama.cpp
  • Supports CPU and GPU inference
  • Single-file deployment
  • Memory-mapped loading for speed
  • Ideal for edge / local environments

⚠️ License & Usage

This is a converted derivative model.

  • You must comply with the original model license of gemma-4-E4B-it
  • This is not an official release
  • No additional rights are granted
  • Original ownership remains with the base model creator

🚀 Quick Start (llama.cpp)

./llama-cli -m gemma-4-E4B-it-Q6_K.gguf -p "Explain AI simply"
Downloads last month
37
GGUF
Model size
8B params
Architecture
gemma4
Hardware compatibility
Log In to add your hardware

6-bit

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