Instructions to use dendriteholdings/Ingot-X-9B-MLX-2bit with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use dendriteholdings/Ingot-X-9B-MLX-2bit with MLX:
# Make sure mlx-lm is installed # pip install --upgrade mlx-lm # Generate text with mlx-lm from mlx_lm import load, generate model, tokenizer = load("dendriteholdings/Ingot-X-9B-MLX-2bit") prompt = "Write a story about Einstein" messages = [{"role": "user", "content": prompt}] prompt = tokenizer.apply_chat_template( messages, add_generation_prompt=True ) text = generate(model, tokenizer, prompt=prompt, verbose=True) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- LM Studio
- Pi
How to use dendriteholdings/Ingot-X-9B-MLX-2bit with Pi:
Start the MLX server
# Install MLX LM: uv tool install mlx-lm # Start a local OpenAI-compatible server: mlx_lm.server --model "dendriteholdings/Ingot-X-9B-MLX-2bit"
Configure the model in Pi
# Install Pi: npm install -g @earendil-works/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "mlx-lm": { "baseUrl": "http://localhost:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "dendriteholdings/Ingot-X-9B-MLX-2bit" } ] } } }Run Pi
# Start Pi in your project directory: pi
- MLX LM
How to use dendriteholdings/Ingot-X-9B-MLX-2bit with MLX LM:
Generate or start a chat session
# Install MLX LM uv tool install mlx-lm # Interactive chat REPL mlx_lm.chat --model "dendriteholdings/Ingot-X-9B-MLX-2bit"
Run an OpenAI-compatible server
# Install MLX LM uv tool install mlx-lm # Start the server mlx_lm.server --model "dendriteholdings/Ingot-X-9B-MLX-2bit" # Calling the OpenAI-compatible server with curl curl -X POST "http://localhost:8080/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "dendriteholdings/Ingot-X-9B-MLX-2bit", "messages": [ {"role": "user", "content": "Hello"} ] }' - Hermes Agent
How to use dendriteholdings/Ingot-X-9B-MLX-2bit with Hermes Agent:
Start the MLX server
# Install MLX LM: uv tool install mlx-lm # Start a local OpenAI-compatible server: mlx_lm.server --model "dendriteholdings/Ingot-X-9B-MLX-2bit"
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 dendriteholdings/Ingot-X-9B-MLX-2bit
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use dendriteholdings/Ingot-X-9B-MLX-2bit with OpenClaw:
Start the MLX server
# Install MLX LM: uv tool install mlx-lm # Start a local OpenAI-compatible server: mlx_lm.server --model "dendriteholdings/Ingot-X-9B-MLX-2bit"
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 "dendriteholdings/Ingot-X-9B-MLX-2bit" \ --custom-provider-id mlx-lm \ --custom-compatibility openai \ --custom-text-input \ --accept-risk \ --skip-health
Run OpenClaw
openclaw agent --local --agent main --message "Hello from Hugging Face"
Ingot-X-9B-MLX-2bit
A public mirror of a model that won on Ingot, a Bittensor subnet where miners quantize a fixed teacher model and the validator crowns the copy that stays closest to it. This is the MLX pack of dendriteholdings/Ingot-X-9B-Q2: the same ternary weights, written for Apple Silicon.
It is Prism ML's Ternary Bonsai 2 9B, refined: the same ternary codes, with the rest of its weights re-tuned by the miner to bring it closer to Qwen3.5-9B.
- Submitted by miner hotkey
5EhwK5EoL7ebSPkhAQHvLQQPteSdmAMWxqEFqtst59E19Jzz(uid 114) - Crowned from submission
2effe208-b784-4aa9-8e91-b2f5fc6a9969
The weights are the miner's upload converted without loss: every 128-weight block keeps its ternary codes and fp16 scale as MLX affine 2-bit values (scale d, bias โd), and every weight decodes to the same number the gguf kernel uses. Credit belongs to the miner, and to Prism ML for Bonsai 2. The vision tower, config, tokenizer and Hadamard sign vectors are Prism's prism-ml/Ternary-Bonsai-2-9B-mlx-2bit, which the competition does not change.
Files
| file | bits per weight | size |
|---|---|---|
model.safetensors |
2.25 (2-bit codes, fp16 scale and bias per 128 weights) | 3.46 GB |
How close it is to the teacher
Per answer token, against the BF16 teacher reading the same answer: KL(teacher โ model) of the next-token distributions over each domain's answer tokens, the domains weighed by their shares of the samples. Lower is closer.
| KL | |
|---|---|
| this model, in its winning eval | 0.06047 |
| the king it beat, same eval | 0.06321 |
Running it
The pack uses Prism's prism_hadamard_qwen35 layout, which mlx-lm does not load. MTPLX does, and serves it as an OpenAI-compatible API:
pip install mtplx
mtplx serve --model dendriteholdings/Ingot-X-9B-MLX-2bit --generation-mode ar --port 8080 --no-auth --yes
This repo carries no MTP draft head, so MTPLX decodes one token per step. The gguf twin runs in the Dendrite llama.cpp fork; see its card.
- Downloads last month
- -
2-bit
Model tree for dendriteholdings/Ingot-X-9B-MLX-2bit
Base model
Qwen/Qwen3.5-9B-Base