Image-Text-to-Text
MLX
Safetensors
inkling2_loop
apple-silicon
Mixture of Experts
dspark
speculative-decoding
mlx-vlm
lm-studio
layerfit
mixed-precision
conversational
4-bit precision
Instructions to use netprojects/Inkling-2-Mini-LayerFit-MLX-4bit with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use netprojects/Inkling-2-Mini-LayerFit-MLX-4bit 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("netprojects/Inkling-2-Mini-LayerFit-MLX-4bit") config = load_config("netprojects/Inkling-2-Mini-LayerFit-MLX-4bit") # 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 netprojects/Inkling-2-Mini-LayerFit-MLX-4bit with Pi:
Start the MLX server
# Install MLX LM: uv tool install mlx-lm # Start a local OpenAI-compatible server: mlx_lm.server --model "netprojects/Inkling-2-Mini-LayerFit-MLX-4bit"
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": "netprojects/Inkling-2-Mini-LayerFit-MLX-4bit" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Hermes Agent
How to use netprojects/Inkling-2-Mini-LayerFit-MLX-4bit 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 "netprojects/Inkling-2-Mini-LayerFit-MLX-4bit"
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 netprojects/Inkling-2-Mini-LayerFit-MLX-4bit
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use netprojects/Inkling-2-Mini-LayerFit-MLX-4bit with OpenClaw:
Start the MLX server
# Install MLX LM: uv tool install mlx-lm # Start a local OpenAI-compatible server: mlx_lm.server --model "netprojects/Inkling-2-Mini-LayerFit-MLX-4bit"
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 "netprojects/Inkling-2-Mini-LayerFit-MLX-4bit" \ --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"
Card: inkling2-mlx v0.2.3 (install line, faster decode note)
Browse files50 unmodified lines5152535455565753 unmodified lines11111211311411511650 unmodified linesInkling's tool-call parser):```bashpip install "git+https://github.com/internet-projects/inkling2-mlx@v0.2.2" torch torchvision```PyTorch and torchvision are only used on the CPU by the image processor. On 21 November 2026 this repository's weight files53 unmodified linesThe draft's default block size (8) is slower on this model; use 3 or 4 as below.## Thinking Machines' resultsFrom the [Inkling 2 Mini card](https://huggingface.co/thinkingmachines/Inkling-2-Mini), for the original model (their50 unmodified lines5152535455565753 unmodified lines11111211311411511611711850 unmodified linesInkling's tool-call parser):```bashpip install "git+https://github.com/internet-projects/inkling2-mlx@v0.2.3" torch torchvision```PyTorch and torchvision are only used on the CPU by the image processor. On 21 November 2026 this repository's weight files53 unmodified linesThe draft's default block size (8) is slower on this model; use 3 or 4 as below.With [inkling2-mlx](https://github.com/internet-projects/inkling2-mlx) v0.2.3 (faster one-token decode, on by default; same answers within bf16 rounding), plain generation on the 4-bit build went from 41.0 to 44.6 tok/s with a 1K prompt and from 36.4 to 41.7 tok/s with a 16K prompt, and DSpark (block 4) at 16K from 85.4 to 90.9 tok/s (one prompt, 128 tokens, greedy, 22 November 2026; a separate run from the table above). `INKLING2_FAST_DECODE=0` switches back.## Thinking Machines' resultsFrom the [Inkling 2 Mini card](https://huggingface.co/thinkingmachines/Inkling-2-Mini), for the original model (their
README.md+3-1