Instructions to use mudler/Inkling-2-Mini-Derisked-APEX-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 mudler/Inkling-2-Mini-Derisked-APEX-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 mudler/Inkling-2-Mini-Derisked-APEX-GGUF:Q8_0 # Run inference directly in the terminal: llama cli -hf mudler/Inkling-2-Mini-Derisked-APEX-GGUF:Q8_0
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf mudler/Inkling-2-Mini-Derisked-APEX-GGUF:Q8_0 # Run inference directly in the terminal: llama cli -hf mudler/Inkling-2-Mini-Derisked-APEX-GGUF:Q8_0
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 mudler/Inkling-2-Mini-Derisked-APEX-GGUF:Q8_0 # Run inference directly in the terminal: ./build/bin/llama cli -hf mudler/Inkling-2-Mini-Derisked-APEX-GGUF:Q8_0
Use Docker
docker model run hf.co/mudler/Inkling-2-Mini-Derisked-APEX-GGUF:Q8_0
- Llama new
- LM Studio
- Jan
- Ollama
How to use mudler/Inkling-2-Mini-Derisked-APEX-GGUF with Ollama:
ollama run hf.co/mudler/Inkling-2-Mini-Derisked-APEX-GGUF:Q8_0
- Unsloth Desktop
- Pi
How to use mudler/Inkling-2-Mini-Derisked-APEX-GGUF with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf mudler/Inkling-2-Mini-Derisked-APEX-GGUF:Q8_0
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": "mudler/Inkling-2-Mini-Derisked-APEX-GGUF:Q8_0" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use mudler/Inkling-2-Mini-Derisked-APEX-GGUF with Docker Model Runner:
docker model run hf.co/mudler/Inkling-2-Mini-Derisked-APEX-GGUF:Q8_0
- Lemonade
How to use mudler/Inkling-2-Mini-Derisked-APEX-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull mudler/Inkling-2-Mini-Derisked-APEX-GGUF:Q8_0
Run and chat with the model
lemonade run user.Inkling-2-Mini-Derisked-APEX-GGUF-Q8_0
List all available models
lemonade list
- Hermes Agent
How to use mudler/Inkling-2-Mini-Derisked-APEX-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 mudler/Inkling-2-Mini-Derisked-APEX-GGUF:Q8_0
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 mudler/Inkling-2-Mini-Derisked-APEX-GGUF:Q8_0
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use mudler/Inkling-2-Mini-Derisked-APEX-GGUF with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf mudler/Inkling-2-Mini-Derisked-APEX-GGUF:Q8_0
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 "mudler/Inkling-2-Mini-Derisked-APEX-GGUF:Q8_0" \ --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"
โก Each donation = another big MoE quantized
I host 30+ free APEX MoE quantizations as independent research. My only local hardware is an NVIDIA DGX Spark (122 GB unified memory), enough for ~30-50B-class MoEs, but bigger ones (200B+) require rented compute on H100/H200/Blackwell, typically $20-100 per quant.
If APEX quants are useful to you, your support directly funds those bigger runs.
๐ Patreon (Monthly) | โ Buy Me a Coffee | โญ GitHub Sponsors
Inkling-2-Mini-Derisked APEX GGUF
APEX quantizations of Blackfrost-AI/Inkling-2-Mini-Derisked, a derivative of thinkingmachines/Inkling-2-Mini.
Brought to you by the LocalAI team | APEX Project
Unevaluated preview. These files were built and checked to load and produce coherent text (one short prompt per tier, one image prompt, one drafter run). No perplexity, KL or benchmark run has been done. We make no claim about quality or behaviour, and we did not test the model's refusal behaviour.
We made these files, and Blackfrost-AI had no part in them. The quantization, the imatrix, the vision projector and this card are ours. The source model, its behaviour and its model card are Blackfrost-AI's.
Files
| File | Size | For |
|---|---|---|
| Inkling-2-Mini-Derisked-APEX-Quality.gguf | 20.07 GB | highest quality |
| Inkling-2-Mini-Derisked-APEX-I-Quality.gguf | 20.07 GB | highest quality, imatrix |
| Inkling-2-Mini-Derisked-APEX-Balanced.gguf | 20.68 GB | general purpose |
| Inkling-2-Mini-Derisked-APEX-I-Balanced.gguf | 20.68 GB | general purpose, imatrix |
| Inkling-2-Mini-Derisked-APEX-Compact.gguf | 14.10 GB | consumer GPUs |
| Inkling-2-Mini-Derisked-APEX-I-Compact.gguf | 14.10 GB | consumer GPUs, imatrix |
| Inkling-2-Mini-Derisked-APEX-I-Mini.gguf | 12.36 GB | small, imatrix only |
| Inkling-2-Mini-Derisked-APEX-I-Nano.gguf | 11.34 GB | smallest, imatrix only |
I- files use an importance matrix built from diverse calibration data (chat, code, reasoning, tool-calling, agentic traces, Wikipedia). The matrix was computed on this model's own BF16 weights, not reused from the base model. It is included as imatrix.gguf (90,752,032 bytes).
The source checkpoint is about 19.5 GB (4-bit and 8-bit float weights). The Quality and Balanced tiers are not smaller than it. They keep more bits per weight than the source stored, so they are for people who want a standard GGUF with the k-quant formats, not for saving space.
Sidecar files
| File | Size | What it is |
|---|---|---|
| mmproj-Inkling-2-Mini-Derisked-F16.gguf | 0.64 GB (639,348,768 bytes) | Vision projector, F16. Converted from the Blackfrost-AI checkpoint with llama.cpp convert_hf_to_gguf.py --mmproj. |
| dspark-Inkling-2-Mini-Q8_0.gguf | 0.40 GB (402,278,560 bytes) | DSpark speculative-decoding drafter, Q8_0, for --spec-type draft-dspark. |
Both are meant for every tier above. Neither is loaded unless you ask for it.
The vision projector tensors are byte-identical to the ones we made from the upstream Inkling-2-Mini checkpoint. Only the file metadata (name, license and tags) differs.
The drafter is not converted by us and was not rebuilt for this model. Blackfrost-AI's mtp.safetensors is byte-identical to the upstream file (SHA-256 7c3b651317f01f73bcf4e1dceba66ef8b7e1a1eac6bc171e882e690a4b10a1d2, checked), so the upstream drafter applies. It is a copy of dspark-Inkling-2-Mini-Q8_0.gguf from unsloth/Inkling-2-Mini-GGUF (Apache 2.0), converted from that mtp.safetensors. The converter for it is not in llama.cpp master, so we could not rebuild it. SHA-256: 2ec78510da837e8fc3be54a14757a0c5fbd2d8d9e85a0d92853fafdf674f3773. The drafter was trained against the upstream target, not against this modified one.
What is APEX?
APEX (Adaptive Precision for EXpert Models) quantizes a Mixture-of-Experts model by tensor role and layer position. Routed experts hold most of the weights but only a few fire for each token, so they tolerate lower precision. The first and last layers keep higher precision, middle layers compress harder, and attention follows the same gradient.
The model
This is Blackfrost-AI's "derisked" build of Inkling-2-Mini: a behaviourally modified derivative, with the weights of the main shard changed and the tokenizer, configuration, drafter and quantization format left as upstream. Their card describes it as aimed at reduced false refusals. Everything it says about the model's behaviour is their statement; read it on the source card. We did not measure it.
Inkling-2-Mini is a looped Mixture-of-Experts model from Thinking Machines Lab: 24 layers, hidden size 2304, 128 routed experts with 8 active per token and no shared expert. Layers 6 to 17 form a core that runs three times per token. It is multimodal upstream; the tier files carry the language model only, and the vision projector is the separate mmproj file.
Expert FFN width is 1152, which is not a multiple of 256. llama.cpp therefore stores the ffn_down experts in a legacy 32-wide type when a tier asks for a k-quant or iq type (24 tensors fall back). This is why the small tiers shrink less than the type names suggest.
Usage
llama-cli -m Inkling-2-Mini-Derisked-APEX-Balanced.gguf -p "Your prompt" -ngl 99
Needs llama.cpp built from commit 29b52d398 (master after PR 32694, "Inkling 2 Mini") or later. The tier files and the vision projector were made and tested with that commit. The model is a thinking model: give it enough tokens (at least 120) before judging an answer.
Image input, with the vision projector:
llama-mtmd-cli -m Inkling-2-Mini-Derisked-APEX-Balanced.gguf --mmproj mmproj-Inkling-2-Mini-Derisked-F16.gguf --jinja \
--image picture.png -p "Describe this image."
llama-server takes the same -m, --mmproj and --jinja flags.
Speculative decoding, with the drafter:
llama-server -m Inkling-2-Mini-Derisked-APEX-Balanced.gguf \
-md dspark-Inkling-2-Mini-Q8_0.gguf --spec-type draft-dspark --spec-draft-n-max 3 --jinja
-md is --spec-draft-model. The drafter needs the Inkling 2 DSpark support in llama.cpp, which is pull request 32218 and was not merged into master when we tested. Master alone loads the tier files and the vision projector but not the drafter.
What we tested, on CPU with llama.cpp master (1fb8a2696) plus pull request 32218, on the Quality tier: one image prompt with the vision projector (a red square and a blue circle on white, described correctly), and one chat prompt of 277 generated tokens at temperature 0 with the drafter and --spec-draft-n-max 3, where 124 of 456 drafted tokens were accepted (27 %). That is one prompt, so it is a sanity number and not a measure of the drafter. We did not test other tiers with the drafter or the image, GPU offload, larger images, several images in one prompt, or the speed-up of the drafter against a run without it. A short text prompt gave a coherent, on-topic answer on every tier.
License
The upstream model, Thinking Machines Inkling-2-Mini, is released under Apache 2.0 and has a Model Acceptable Use Policy. Blackfrost-AI lists the license of their derivative as "other" and states that it is released subject to the upstream terms; it adds no terms of its own that we could find. We apply Apache 2.0 to these files on that basis. Check the source card and the upstream card before redistribution or deployment.
Credits
Source model by Blackfrost-AI, a derivative of Inkling-2-Mini by Thinking Machines Lab. The DSpark drafter is converted and published by unsloth. llama.cpp support by the ggml-org contributors. Quantized by the LocalAI team.
- Downloads last month
- -
8-bit
Model tree for mudler/Inkling-2-Mini-Derisked-APEX-GGUF
Base model
thinkingmachines/Inkling-2-Mini