Instructions to use Slomin/Potato-CODER-12GB 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 Slomin/Potato-CODER-12GB 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 Slomin/Potato-CODER-12GB:UD-IQ3_XXS # Run inference directly in the terminal: llama cli -hf Slomin/Potato-CODER-12GB:UD-IQ3_XXS
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf Slomin/Potato-CODER-12GB:UD-IQ3_XXS # Run inference directly in the terminal: llama cli -hf Slomin/Potato-CODER-12GB:UD-IQ3_XXS
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 Slomin/Potato-CODER-12GB:UD-IQ3_XXS # Run inference directly in the terminal: ./build/bin/llama cli -hf Slomin/Potato-CODER-12GB:UD-IQ3_XXS
Use Docker
docker model run hf.co/Slomin/Potato-CODER-12GB:UD-IQ3_XXS
- Llama new
- LM Studio
- Jan
- vLLM
How to use Slomin/Potato-CODER-12GB with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Slomin/Potato-CODER-12GB" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Slomin/Potato-CODER-12GB", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }'Use Docker
docker model run hf.co/Slomin/Potato-CODER-12GB:UD-IQ3_XXS
- Ollama
How to use Slomin/Potato-CODER-12GB with Ollama:
ollama run hf.co/Slomin/Potato-CODER-12GB:UD-IQ3_XXS
- Unsloth Desktop
- Pi
How to use Slomin/Potato-CODER-12GB with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf Slomin/Potato-CODER-12GB:UD-IQ3_XXS
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": "Slomin/Potato-CODER-12GB:UD-IQ3_XXS" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use Slomin/Potato-CODER-12GB with Docker Model Runner:
docker model run hf.co/Slomin/Potato-CODER-12GB:UD-IQ3_XXS
- Lemonade
How to use Slomin/Potato-CODER-12GB with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull Slomin/Potato-CODER-12GB:UD-IQ3_XXS
Run and chat with the model
lemonade run user.Potato-CODER-12GB-UD-IQ3_XXS
List all available models
lemonade list
- Hermes Agent
How to use Slomin/Potato-CODER-12GB with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf Slomin/Potato-CODER-12GB:UD-IQ3_XXS
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 Slomin/Potato-CODER-12GB:UD-IQ3_XXS
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use Slomin/Potato-CODER-12GB with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf Slomin/Potato-CODER-12GB:UD-IQ3_XXS
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 "Slomin/Potato-CODER-12GB:UD-IQ3_XXS" \ --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"
Potato-CODER-12GB (v1.0-rc1)
A 35B-A3B coding agent that runs on one 12 GB NVIDIA card (RTX 4070 / 3060 class) at a 131,072-token context, with vision and tool calling on. The weights are peculiar-ragdoll's Tiel-Coder-35B-A3B UD-IQ3_XXS, unmodified; what is ours is the deployment recipe — the context, offload, cache, sampling and thinking-budget settings that make a model this size work on a card this size, and the fit testing behind them. Nothing was trained or requantized here.
| architecture | Ornith-1.5-35B-A3B, a mixture-of-experts model (qwen35moe in GGUF), ~35B total / ~3B active, 26 of the expert layers served from system RAM |
| quantization | UD-IQ3_XXS (unsloth-dynamic recipe, peculiar-ragdoll's own imatrix), ~3.0 bits/weight, 12.3 GiB on disk |
| context | 131,072 tokens, KV cache q8_0 / q8_0, one slot |
| VRAM | peak 8,949 MiB of an 11,836 MiB envelope (12 GB card less a 452 MiB desktop/driver reserve) — 2,886 MiB spare, with the Q8_0 vision projector resident |
| system RAM | 16 GB recommended; our runs capped the server at 10 GiB and it stayed inside that |
| speed (RTX 3090, one slot, in the 12 GB envelope) | decode 53 tok/s, prefill 744 tok/s at 60k, load 18 s, image turn 4.9 s, tool call 2.7 s |
| vision | Q8_0 projector resident on the GPU; screenshots and photographs verified at full context depth |
| tools | tool calling verified in this configuration |
This is the stronger of the two on repository work. If you want speed instead, see Potato-CODER-12GB-Fast: about 2.4× faster on the same work, at the same 131,072 context, with the whole model resident on the GPU and nothing in system RAM — and the weaker of the two on multi-step repository work.
Files
| file | what it is |
|---|---|
Potato-CODER-12GB-UD-IQ3_XXS.gguf |
the model — peculiar-ragdoll's Tiel-Coder-35B-A3B-UD-IQ3_XXS.gguf (sha256 3317d98a…) with the general.* metadata rewritten for this release; every tensor verified byte-identical to the source |
mmproj-Potato-CODER-12GB-Q8_0.gguf |
vision projector, Q8_0 — peculiar-ragdoll's mmproj-Q8_0.gguf (sha256 18bd953a…) from their Cyber-Tiel MTP repository, same treatment; it is the vision tower published with this model family |
serve-potato.bat |
Windows start script |
LICENSE, NOTICE, SHA256SUMS, recipe.txt |
licence, attribution, checksums, the exact serving recipe |
The chat template (peculiar-ragdoll's "Sharp" template) is inside the GGUF; --jinja is what activates it.
Running it (llama.cpp)
This model needs no patched runtime — current upstream llama.cpp serves it. We publish binaries at
github.com/potato-os/llama.cpp/releases built for a wider set of GPU
architectures (SASS for sm_75/80/86/89/120 plus generic PTX, so newer cards still run), with the Windows script below tested on
every build.
Linux
./llama-server -m Potato-CODER-12GB-UD-IQ3_XXS.gguf \
-c 131072 -ngl 99 --n-cpu-moe 26 -fa on -ctk q8_0 -ctv q8_0 -ub 512 -b 2048 --no-context-shift \
--mmproj mmproj-Potato-CODER-12GB-Q8_0.gguf \
--jinja --temp 1.0 --top-p 0.95 --top-k 20 --min-p 0.0 --presence-penalty 0.0 --repeat-penalty 1.0 \
--reasoning-budget 16384 \
--reasoning-budget-message $'\n\nThinking budget reached. Stop deliberating now: state the approach in one or two sentences and write the complete final code.\n' \
--chat-template-kwargs '{"preserve_thinking": false, "reasoning_effort": "medium"}'
The server listens on http://127.0.0.1:8080 with an OpenAI-compatible API; point your agent (OpenCode, Cline, mini-SWE-agent…)
at http://127.0.0.1:8080/v1.
Windows
- Download this repository into one folder.
- From the releases page take
llama-potato-bin-win-cuda-12.4-x64.zip(RTX 20xx–40xx) or...-13.4-...(RTX 50xx) and the matchingcudart-zip; unzip both into that same folder. - Double-click
serve-potato.bat. The model is ready when the window showslistening on http://127.0.0.1:8080.
Two Windows specifics:
- Turn off the driver's RAM spill-over: NVIDIA Control Panel → Manage 3D settings → Program Settings → add
llama-server.exe→ CUDA - Sysmem Fallback Policy → Prefer No Sysmem Fallback. Otherwise a full card quietly spills into system RAM and generation collapses to a few tokens per second instead of reporting an error. - The desktop takes part of the card. If the server fails to allocate, lower
-cto114688first, then raise--n-cpu-moe.
The knobs that matter
--n-cpu-moe 26is the setting, not a fallback. 131k context fits with 22 offloaded layers too — and at 22 the model fails our retrieval-at-depth check, while at 26 it passes. Every failure we saw on the context ladder tracked the offload setting rather than the context length, and none of them was an out-of-memory error. If you shorten the context, keep the offload.- KV cache q8_0 / q8_0. Not lower.
- Thinking budget 16,384 tokens + the wrap-up message (both in the commands above). The budget alone truncates; the message
is what turns a capped-out chain into a finished answer.
reasoning_effortis accepted by this model's template. --presence-penalty 0. A repetition penalty is a reasonable chat setting and a bad agent setting: an agent legitimately repeats file paths and re-issues similar commands, and penalising that costs solved tasks.- One slot. Every number here is single-slot; more slots divide the context.
How it was put together
19–20 September 2026, on RTX 3090s held down to a 12 GB envelope. Six candidate models were served in that envelope and compared on fit, context depth, speed and agentic coding; this one and its fast sibling were the two kept. The configuration above is the highest context/offload rung that passed every fit gate: single-slot property checks, retrieval at half and full depth, a near-limit turn, three repeated image rounds (screenshots and photographs, including after a deep context fill), a VRAM-growth check and a projector-placement check.
Our comparison numbers are internal and not published here.
Limits
- The 2,886 MiB of spare VRAM is measured on a headless RTX 3090 held to a 12 GB envelope; a real 12 GB card with a desktop on it behaves slightly differently, and other drivers differ by a few hundred MiB.
- Everything was measured on Linux. The Windows script is tested for start-up in CI on every build; Windows speed is unmeasured.
- Nothing here measures multi-user throughput or quantizations other than the one shipped.
Licence and attribution
The model weights are MIT, as declared by their upstream repositories (neither ships a licence file; LICENSE here is the MIT
text with the upstream copyright holders named — see NOTICE).
- ornith-ai (Deep Reinforce) — Ornith-1.5-35B-A3B, the model (MIT). Its card describes it as extending Ornith-1.0, which was built on Qwen3.5 and Gemma4 with continued pretraining, mid-training and post-training; the MIT grant over the resulting weights is ornith-ai's.
- peculiar-ragdoll — the UD-IQ3_XXS quantization, its imatrix, the Q8_0 vision projector and the Sharp chat template embedded in the GGUF (MIT).
- Slomin — the 12 GB deployment recipe and the fit testing behind it. No weights were modified.
- Downloads last month
- 68
3-bit
Model tree for Slomin/Potato-CODER-12GB
Base model
ornith-ai/Ornith-1.5-35B-A3B