Instructions to use a-gordo/Inkling-2-Mini-oQ8e with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use a-gordo/Inkling-2-Mini-oQ8e with MLX:
# Make sure mlx-vlm is installed # pip install --upgrade mlx-vlm from mlx_vlm import load, generate from mlx_vlm.prompt_utils import apply_chat_template from mlx_vlm.utils import load_config # Load the model model, processor = load("a-gordo/Inkling-2-Mini-oQ8e") config = load_config("a-gordo/Inkling-2-Mini-oQ8e") # Prepare input image = ["http://images.cocodataset.org/val2017/000000039769.jpg"] prompt = "Describe this image." # Apply chat template formatted_prompt = apply_chat_template( processor, config, prompt, num_images=1 ) # Generate output output = generate(model, processor, formatted_prompt, image) print(output) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- LM Studio
- Pi
How to use a-gordo/Inkling-2-Mini-oQ8e with Pi:
Start the MLX server
# Install MLX LM: uv tool install mlx-lm # Start a local OpenAI-compatible server: mlx_lm.server --model "a-gordo/Inkling-2-Mini-oQ8e"
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": "a-gordo/Inkling-2-Mini-oQ8e" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Hermes Agent
How to use a-gordo/Inkling-2-Mini-oQ8e 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 "a-gordo/Inkling-2-Mini-oQ8e"
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 a-gordo/Inkling-2-Mini-oQ8e
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use a-gordo/Inkling-2-Mini-oQ8e with OpenClaw:
Start the MLX server
# Install MLX LM: uv tool install mlx-lm # Start a local OpenAI-compatible server: mlx_lm.server --model "a-gordo/Inkling-2-Mini-oQ8e"
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 "a-gordo/Inkling-2-Mini-oQ8e" \ --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"
Inkling-2-Mini-oQ8e
This is an unofficial oQ8e conversion of Thinking Machines Lab鈥檚 Inkling 2 Mini for MLX on Apple Silicon. It accepts text and images and generates text. The four target shards use 18.12 GB. The original DSpark draft adds 0.64 GB. The complete checkpoint is about 18.78 GB, or 7.0% smaller than the source snapshot (decimal sizes).
What changed
Inkling 2 Mini is a mixture-of-experts model. Its middle 12 of 24 physical text layers run three times per token. This conversion keeps that execution order, the vision encoder, the tokenizer, and the chat template. No training or fine-tuning was done.
The source already used NVFP4 and MXFP8 for the routed experts. oMLX kept those formats and quantized selected other weights. This is not an all-8-bit checkpoint.
| Saved weight format | Projection groups or modules | Treatment |
|---|---|---|
| MLX affine 8-bit, group size 64 | 58 | oQ8e applied importance weights to 57. The token embedding has no importance entry. |
| NVFP4, group size 16 | 40 | Retained from the source. |
| MXFP8, group size 32 | 8 | Retained from the source. |
| BF16 DSpark draft | Separate file | mtp.safetensors is a byte-for-byte copy. |
Other tensors follow oMLX鈥檚 precision rules. BF16 was the requested output dtype. The quantizer used its built-in oqe_code_multilingual calibration set: 128 samples of 512 tokens in batches of 16. It calibrated the native source checkpoint, without a lower-precision proxy. All 57 collected importance-matrix entries were used, with no missing entries or shape mismatches reported for eligible weights.
Run with oMLX
Use oMLX 0.8.1 on Apple Silicon. This is the release used to create and check the model. Download all files together and keep mtp.safetensors next to config.json if you want to use the bundled draft.
hf download a-gordo/Inkling-2-Mini-oQ8e --local-dir ./models/Inkling-2-Mini-oQ8e
Select ./models as a model directory in oMLX and load Inkling-2-Mini-oQ8e. The weights use the oMLX Inkling 2 runtime. This is not a GGUF file or a Transformers/ModelOpt checkpoint. Use the source model card for its intended uses, prompt guidance, and limitations.
Checks and limits
- Strict model loading passed with oMLX 0.8.1 on an Apple M3 Ultra.
- One short text prompt and one synthetic image-plus-text prompt produced tokens. These were basic load and generation checks, not accuracy tests.
- The weight index matched all 1,090 target tensors. The DSpark draft passed a source SHA-256 comparison and loaded with the target model.
- Generation with speculation enabled, long contexts, inference speed, and model quality were not tested. Source-model benchmarks do not measure this conversion.
Exact file sizes, checksums, and build settings are in quantization_info.json.
Credits and license
- Original model and training: Thinking Machines Lab, Inc.. Source: Inkling-2-Mini, pinned to
ed40e7d. - oQ/oQe method and implementation: jundot/oMLX, release 0.8.1, commit
13fd0c9. - Conversion and local checks: a-gordo. This is not an official Thinking Machines Lab or oMLX release.
The original model and this conversion use the Apache License 2.0. See the original model card, including its safety and limitations sections and its link to the Model Acceptable Use Policy.
- Downloads last month
- 291
8-bit
Model tree for a-gordo/Inkling-2-Mini-oQ8e
Base model
thinkingmachines/Inkling-2-Mini