Instructions to use Sahuagin/Ornith-1.0-35B-GGUF-router-intact with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- llama-cpp-python
How to use Sahuagin/Ornith-1.0-35B-GGUF-router-intact with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="Sahuagin/Ornith-1.0-35B-GGUF-router-intact", filename="ornith-35b-expq2_K.gguf", )
llm.create_chat_completion( messages = [ { "role": "user", "content": "What is the capital of France?" } ] ) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use Sahuagin/Ornith-1.0-35B-GGUF-router-intact 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 Sahuagin/Ornith-1.0-35B-GGUF-router-intact:Q2_K # Run inference directly in the terminal: llama cli -hf Sahuagin/Ornith-1.0-35B-GGUF-router-intact:Q2_K
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf Sahuagin/Ornith-1.0-35B-GGUF-router-intact:Q2_K # Run inference directly in the terminal: llama cli -hf Sahuagin/Ornith-1.0-35B-GGUF-router-intact:Q2_K
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 Sahuagin/Ornith-1.0-35B-GGUF-router-intact:Q2_K # Run inference directly in the terminal: ./llama-cli -hf Sahuagin/Ornith-1.0-35B-GGUF-router-intact:Q2_K
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 Sahuagin/Ornith-1.0-35B-GGUF-router-intact:Q2_K # Run inference directly in the terminal: ./build/bin/llama-cli -hf Sahuagin/Ornith-1.0-35B-GGUF-router-intact:Q2_K
Use Docker
docker model run hf.co/Sahuagin/Ornith-1.0-35B-GGUF-router-intact:Q2_K
- LM Studio
- Jan
- vLLM
How to use Sahuagin/Ornith-1.0-35B-GGUF-router-intact with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Sahuagin/Ornith-1.0-35B-GGUF-router-intact" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Sahuagin/Ornith-1.0-35B-GGUF-router-intact", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/Sahuagin/Ornith-1.0-35B-GGUF-router-intact:Q2_K
- Ollama
How to use Sahuagin/Ornith-1.0-35B-GGUF-router-intact with Ollama:
ollama run hf.co/Sahuagin/Ornith-1.0-35B-GGUF-router-intact:Q2_K
- Unsloth Studio
How to use Sahuagin/Ornith-1.0-35B-GGUF-router-intact with Unsloth Studio:
Install Unsloth Studio (macOS, Linux, WSL)
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for Sahuagin/Ornith-1.0-35B-GGUF-router-intact to start chatting
Install Unsloth Studio (Windows)
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for Sahuagin/Ornith-1.0-35B-GGUF-router-intact to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for Sahuagin/Ornith-1.0-35B-GGUF-router-intact to start chatting
- Pi
How to use Sahuagin/Ornith-1.0-35B-GGUF-router-intact with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf Sahuagin/Ornith-1.0-35B-GGUF-router-intact:Q2_K
Configure the model in Pi
# Install Pi: npm install -g @mariozechner/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "Sahuagin/Ornith-1.0-35B-GGUF-router-intact:Q2_K" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Hermes Agent new
How to use Sahuagin/Ornith-1.0-35B-GGUF-router-intact with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf Sahuagin/Ornith-1.0-35B-GGUF-router-intact:Q2_K
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:8080/v1 hermes config set model.default Sahuagin/Ornith-1.0-35B-GGUF-router-intact:Q2_K
Run Hermes
hermes
- Atomic Chat new
- OpenClaw new
How to use Sahuagin/Ornith-1.0-35B-GGUF-router-intact with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf Sahuagin/Ornith-1.0-35B-GGUF-router-intact:Q2_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 "Sahuagin/Ornith-1.0-35B-GGUF-router-intact:Q2_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"
- Docker Model Runner
How to use Sahuagin/Ornith-1.0-35B-GGUF-router-intact with Docker Model Runner:
docker model run hf.co/Sahuagin/Ornith-1.0-35B-GGUF-router-intact:Q2_K
- Lemonade
How to use Sahuagin/Ornith-1.0-35B-GGUF-router-intact with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull Sahuagin/Ornith-1.0-35B-GGUF-router-intact:Q2_K
Run and chat with the model
lemonade run user.Ornith-1.0-35B-GGUF-router-intact-Q2_K
List all available models
lemonade list
Ornith-1.0-35B โ router-intact asymmetric GGUF quants (2/3/4-bit experts)
Sub-Q4 GGUF quantizations of DeepReinforce's Ornith-1.0-35B that the official GGUF repo does not ship, built with asymmetric expert quantization: the ~93% of parameters in the routed experts are crushed to 2/3/4-bit while everything the model steers with is kept at high precision.
This is a re-quantization of DeepReinforce's Ornith-1.0-35B using the asymmetric-expert-quantization technique pioneered by DeepSeek (FP4-experts/FP8-rest in V3/V4) and popularized for GGUF by Salvatore Sanfilippo (antirez). The only contribution here is the specific application โ an importance matrix calibrated on agentic coding data โ and the benchmarks below. All credit for the model belongs to DeepReinforce, for the technique to DeepSeek and antirez, and for the tooling to Georgi Gerganov and the llama.cpp contributors (binaries built by Unsloth).
Files
| file | experts | everything else | size | fits 24GB card |
|---|---|---|---|---|
ornith-35b-expq4_K.gguf |
q4_K | q8_0 (router f32) | 20 GB | yes (32k ctx) |
ornith-35b-expq3_K.gguf |
q3_K | q8_0 (router f32) | 16 GB | yes (64k+ ctx) |
ornith-35b-expq2_K.gguf |
q2_K | q8_0 (router f32) | 13 GB | yes (~131k ctx) |
imatrix-ornith35b.dat |
โ | importance matrix used above | 184 MB | โ |
Precisely: routed experts (ffn_{gate,up,down}_exps) take the low-bit type; the router
(ffn_gate_inp, kept f32), attention, shared expert (ffn_*_shexp), embeddings and output
head stay at q8_0. The intuition: experts store knowledge, the preserved tensors carry
control flow (routing, attention, format discipline) โ so agentic/tool-use ability survives
far below the usual quantization floor.
Measured behavior (private 34-case real-PR review suite + 30-run agentic tool-loop bench)
| rung | code review (score / recall) | agentic tool-loop | notes |
|---|---|---|---|
| q4 | 0.954 on a 5-case public-style suite; 0.78 / 0.85 on the 34-case suite | 73% | ties gemma4:31b / gpt-oss:20b as a local reviewer |
| q3 | 0.929 | 77% | |
| q2 | 0.897 | 80% | agentic ability statistically identical to q4 |
Treat these as relative signals (private fixtures), not leaderboard numbers. The stable findings across the study: recall stays perfect on seeded defects at every rung; review precision degrades mildly with expert bits; agentic tool-use does not degrade at all down to 2-bit experts.
Recipe (llama.cpp)
# importance matrix on a RAM-fitting quant (activation stats are robust to base precision)
llama-imatrix -m ornith-q5.gguf -f calibration.txt -o imatrix.dat --chunks 400
# asymmetric quant from the bf16 GGUF: experts low-bit, rest q8_0, router stays f32
llama-quantize --imatrix imatrix.dat --tensor-type exps=q2_K ornith-bf16.gguf out.gguf q8_0
The included imatrix was computed on an agentic Rust-coding corpus (public code; per-tensor activation statistics only โ no text is recoverable from it). For a general-purpose re-quant, substitute a broad calibration set.
Serving notes
- Ornith-1.0-35B is a hybrid Transformer/SSM MoE (KV on 10 of 40 layers). llama.cpp
pins it to
n_seq_max = 1regardless of parallel settings: one loaded instance serves one request at a time. For concurrency, run N instances (one per GPU) โ every rung here fits a 24 GB card. - KV cache is tiny (~340 MB at 32k, q8_0); the context-scaling cost is the compute buffer. Cap context (e.g. 32k) unless you need more; q2 holds ~131k on a single 24 GB card.
- ollama:
FROM <gguf>withRENDERER ornith/PARSER ornith, stop<|im_end|>, temperature 0.6, and anum_ctxthat matches your VRAM plan.
Attribution
- Model: Ornith-1.0-35B by DeepReinforce (MIT), post-trained on the Gemma 4 / Qwen 3.5 lineage.
- Technique: asymmetric expert quantization โ DeepSeek (V3/V4 FP4-experts serving) and antirez's DS4 2-bit-experts GGUF work.
- Tooling: llama.cpp (
llama-quantize --tensor-type,llama-imatrix) by Georgi Gerganov and contributors; binaries built by Unsloth.
License: MIT, inherited from the base model.
- Downloads last month
- 1,342
2-bit
Model tree for Sahuagin/Ornith-1.0-35B-GGUF-router-intact
Base model
deepreinforce-ai/Ornith-1.0-35B