Instructions to use Tomd7/Ergo-1.0-Compact-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use Tomd7/Ergo-1.0-Compact-GGUF with 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 Tomd7/Ergo-1.0-Compact-GGUF # Run inference directly in the terminal: llama cli -hf Tomd7/Ergo-1.0-Compact-GGUF
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf Tomd7/Ergo-1.0-Compact-GGUF # Run inference directly in the terminal: llama cli -hf Tomd7/Ergo-1.0-Compact-GGUF
Build from source code
git clone https://github.com/ggml-org/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-app # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama serve -hf Tomd7/Ergo-1.0-Compact-GGUF # Run inference directly in the terminal: ./build/bin/llama cli -hf Tomd7/Ergo-1.0-Compact-GGUF
Use Docker
docker model run hf.co/Tomd7/Ergo-1.0-Compact-GGUF
- Llama new
- LM Studio
- Jan
- Ollama
How to use Tomd7/Ergo-1.0-Compact-GGUF with Ollama:
ollama run hf.co/Tomd7/Ergo-1.0-Compact-GGUF
- Unsloth Desktop
- Pi
How to use Tomd7/Ergo-1.0-Compact-GGUF with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf Tomd7/Ergo-1.0-Compact-GGUF
Configure the model in Pi
# Install Pi: npm install -g @earendil-works/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:9931/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "Tomd7/Ergo-1.0-Compact-GGUF" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use Tomd7/Ergo-1.0-Compact-GGUF with Docker Model Runner:
docker model run hf.co/Tomd7/Ergo-1.0-Compact-GGUF
- Lemonade
How to use Tomd7/Ergo-1.0-Compact-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull Tomd7/Ergo-1.0-Compact-GGUF
Run and chat with the model
lemonade run user.Ergo-1.0-Compact-GGUF-{{QUANT_TAG}}List all available models
lemonade list
- Hermes Agent
How to use Tomd7/Ergo-1.0-Compact-GGUF with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf Tomd7/Ergo-1.0-Compact-GGUF
Configure Hermes
# Install Hermes: curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash hermes setup # Point Hermes at the local server: hermes config set model.provider custom hermes config set model.base_url http://127.0.0.1:9931/v1 hermes config set model.default Tomd7/Ergo-1.0-Compact-GGUF
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use Tomd7/Ergo-1.0-Compact-GGUF with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf Tomd7/Ergo-1.0-Compact-GGUF
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:9931/v1 \ --custom-model-id "Tomd7/Ergo-1.0-Compact-GGUF" \ --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"
Ergo-1.0-Compact (207.49 GB / 193.24 GiB)
Ergo-1.0-Compact (Candidate H-v2) is a non-uniformly pruned and mixed-precision quantized GGUF release derived from Amazon-FMR/Ergo (2,215.67 GB BF16, 64 layers, 256 routed experts per MoE layer).
- Release format: 10-shard
llama.cpp-native GGUF (Ergo-1.0-Compact-00001-of-00010.ggufthroughErgo-1.0-Compact-00010-of-00010.gguf) with verifiedSHA256SUMS.txt, officialAmazon-FMR/Ergo-bf16SentencePiece tokenizer, and pre-fused residual gates - Total size:
207.49 GB(193.24 GiB,207,494,266,880bytes across 10 shards,1,149tensors) - Compression:
10.68รsmaller thanAmazon-FMR/ErgoBF16 (2.2 TB) and1.77รsmaller thanantirez/ergo-gguf(368.14 GB) - Target hardware: Single-node
96 GB VRAM + 176+ GB RAM(e.g.,1ร RTX PRO 6000 Blackwell 96 GB) or256 GBunified memory systems.
License & Compliance Notice
This model is a quantized and pruned derivative of Amazon-FMR/Ergo.
Use, redistribution, and deployment of Ergo-1.0-Compact are governed by the Amazon Ergo Open-Weights License and its Acceptable Use Policy (Amazon-FMR/Ergo).
Compression & Quantization Recipe (Candidate H-v2)
- Non-routed & dense weights (high precision):
token_embd,output(lm_head),attention(attn_qkv,attn_output),layer0_dense(ffn_up,ffn_down):Q8_0shared_experts(ffn_up_shexp,ffn_down_shexp):Q4_K- Routers (
ffn_gate_inpBF16,exp_probs_bF32), norms, and residual scales: unquantized (F32/BF16)
- Routed MoE experts (63 MoE layers,
L1..L63):- Total routed experts:
10,552(mean167.5 / 256per MoE layer), using sequential REAP pruning with Token Rarity Weighting and SPARE routing-entropy allocation. - Edge layers:
L1..L4andL61..L63retaindown = Q2_K(7layers);L5..L60usedown = IQ2_XXS(56layers); all63MoE layers useup = IQ2_XXS.
- Total routed experts:
- Reproducible compression & conversion code:
- All pruning, calibration, GPU streaming assembly, and GGUF conversion scripts are available in
ergo-compact-lab(assembler/phase4_gpu_assembler.py,assembler/candidate_h_recipe.py,assembler/convert_gguf_for_llamacpp.py).
- All pruning, calibration, GPU streaming assembly, and GGUF conversion scripts are available in
Quality Evaluation (416 Paired Head-to-Head Tasks)
All 416 tasks (364 standard public benchmarks + 52 Level-2 internal QA tasks) were evaluated 1:1 paired head-to-head against Amazon-FMR/Ergo BF16 (2.2 TB, via OpenRouter) at temperature=0.0 and alpha=0.00 (100% lossless bit-exact decode).
1. Paired Standard Public Benchmarks (364/364 Tasks)
| Benchmark | Tasks (N) |
Amazon Ergo 1.0 BF16 (2.2 TB) |
Ergo-1.0-Compact (207.49 GB) |
Delta (pp) |
Retention (Compact / BF16) |
Agreement |
|---|---|---|---|---|---|---|
HumanEval (Python exec pass@1) |
164 |
95.7% (157/164) |
86.6% (142/164) |
-9.1 pp |
90.5% |
88.4% |
| GSM8K (exact numeric match, seed 42) | 100 |
95.0% (95/100) |
87.0% (87/100) |
-8.0 pp |
91.6% |
88.0% |
| MMLU-Pro (10-option stratified, 14 subjects, seed 42) | 100 |
76.0% (76/100) |
67.0% (67/100) |
-9.0 pp |
88.2% |
85.0% |
| Standard Benchmark Total | 364 |
90.1% (328/364) |
81.3% (296/364) |
-8.8 pp |
90.2% |
87.4% |
Radical Scientific Honesty โ Compression Tradeoff & Error Analysis:
Compressing a2.2 TB(2,215.67 GB) BF16 MoE down by10.68รto207.49 GB(~1.6โ2.0 bpwaverage effective bitrate across routed experts) incurs an~8.8 ppdrop (90.2%capability retention) on standard public benchmarks (81.3%vs90.1%).
Inspection of the17HumanEval paired losses (Compactfail /BF16pass) shows:
5/17losses were caused by<think>reasoning hitting the3,072-token generation cap before emitting the final code block.3/17losses were single-characterIQ2_XXSpunctuation typos in otherwise valid code.- The remaining
9/17reflect genuine reasoning/edge-case degradation from10.68รcompression.
2. Level-2 Internal QA Suite (52/52 Tasks)
Evaluated with qa/eval_suite.py (--think-mode default --max-tokens 2048, temperature=0.0, alpha=0.00):
| Category | Amazon Ergo 1.0 BF16 (2.2 TB, OpenRouter) |
Candidate G (207.52 GB) |
Ergo-1.0-Compact H-v2 (207.49 GB, this release) |
|---|---|---|---|
| Math | 14/15 (93.3%) |
12/15 (80.0%) |
15/15 (100.0%) |
| Coding (Python + C) | 19/20 (95.0%) |
18/20 (90.0%) |
18/20 (90.0%) |
Think closure (<think>) |
15/15 (100.0%) |
15/15 (100.0%) |
15/15 (100.0%) |
| Strict JSON | 10/10 (100.0%) |
10/10 (100.0%) |
10/10 (100.0%) |
NIAH (1,650 & 3,212 tok) |
2/2 (100.0%) |
2/2 (100.0%) |
2/2 (100.0%) |
| Italian (strict automated kw) | 2/5 (40.0%) |
2/5 (40.0%) |
1/5 (20.0%) |
Overall Automated Score (52/52) |
47/52 (90.4%) |
44/52 (84.6%) |
46/52 (88.5%) (-1.9 pp, 97.9% retention) |
| Non-Italian Exact 1:1 Parity vs BF16 | 45/47 (95.7%) |
42/47 (89.4%) |
45/47 (95.7%) |
Transparent note on Italian & automated checks:
Candidate H-v2 achieves45/47(95.7%) non-Italian exact 1:1 parity with the2.2 TBBF16 baseline (with zerobaseline_regressionfailures and15/15Math, exceeding BF1614/15). The automated Italian gate (1/5) fails only on strict literal keyword matching (e.g.,"treni"vs"treno"), while all 5/5 responses are fluent Italian. Three coding/math reasoning traces (py_05_coin_change,py_12_matrix_rot,c_03_gcd) triggered the automatedcollapseheuristic inside<think>(false positives on"infinity"/ code-line repetition; 0 actual degenerative collapses).
Hardware & Throughput (100% Lossless Bit-Exact)
Measured on 1ร NVIDIA RTX PRO 6000 Blackwell (96 GB VRAM) + 176 GB RAM with ds4 (OPT11, 2a0a545, 4,286 VRAM slots + 9,110 L2 pinned host-RAM slots = 154.00 GiB, 0.00 GiB disk I/O, PCIe Gen5 x16 56.6 GB/s H2D):
| Metric | Measurement | Notes |
|---|---|---|
| Decode speed (sustained, lossless) | 20.56 โ 21.53 tok/s |
21.05 tok/s avg, 22.35 tok/s peak chunk, 4,286 VRAM + 9,110 L2 pinned slots (alpha=0.00) |
Decode speed (opt-in --reuse-gating-alpha 0.12) |
25.46 โ 25.89 tok/s |
25.68 tok/s avg, 5/5 QA5 spot-check; full 52/52 QA certified at alpha=0.00 |
| Prefill speed | 137 โ 150 tok/s |
136.87 โ 149.70 tok/s up to ctx=3,525 |
| Output parity | 100% lossless bit-exact |
3/3 char-for-char parity across OPT8 / OPT10.1 / OPT11 |
Usage
1. Download & Verify the 10-Shard Release (207.49 GB)
All 10 shards (Ergo-1.0-Compact-00001-of-00010.gguf through Ergo-1.0-Compact-00010-of-00010.gguf, 207,494,266,880 bytes total) ship with the official Amazon-FMR/Ergo-bf16 SentencePiece tokenizer and pre-fused residual gates:
huggingface-cli download Tomd7/Ergo-1.0-Compact-GGUF --local-dir ./Ergo-1.0-Compact
cd ./Ergo-1.0-Compact && sha256sum -c SHA256SUMS.txt
2. Run directly with llama.cpp (with ggml-org/llama.cpp#33735)
Because Ergo-1.0-Compact uses non-uniform per-layer expert counts, llama.cpp requires ggml-org/llama.cpp#33735 (feat/per-layer-expert-count, enabling get_key_or_arr(LLM_KV_EXPERT_COUNT, ...)).
Point llama-cli / llama-server directly at shard 1 โ no manual merge or conversion needed:
./llama-cli -m ./Ergo-1.0-Compact/Ergo-1.0-Compact-00001-of-00010.gguf -ngl 99 -p "Solve x^2 - 7x + 6 = 0"
3. Run with antirez/ds4 (Recommended for 1ร 96 GB GPU + 176 GB RAM โ 21.05 tok/s lossless)
Requires ds4 with the exp/ergo-compact-support patches (upstream PR: antirez/ds4#1390, patches 0001โ0011 in ergo-compact-lab/patches/):
# Inspect GGUF metadata and per-layer expert counts
./ds4 --model ergo-compact-h-v2.gguf --inspect
# Run server with L2 pinned host-RAM cache (154 GiB) + OPT11 lookahead
DS4_ERGO_HOST_CACHE_GB=160 \
DS4_ERGO_PIN_RESERVE_GB=28 \
DS4_ERGO_HOST_PRELOAD=1 \
DS4_ERGO_NO_PREFETCH=1 \
./ds4-server --model ergo-compact-h-v2.gguf --host 127.0.0.1 --port 8080
- Downloads last month
- 1,363
We're not able to determine the quantization variants.


