An agent skill and script suite for LoRA fine-tuning, merging, quantizing, and serving Inkling-2-Mini via Tinker and llama.cpp.
PythonCreated
What is drost-ai/finetune-inkling-2-mini?
finetune-inkling-2-mini is an MIT-licensed Agent Skill for Claude Code, Codex, OpenCode, and Antigravity, accompanied by standalone Python and Bash scripts for LoRA fine-tuning Thinking Machines' Inkling-2-Mini looped MoE model on Tinker. It captures the exact recipe and benchmark tooling used to produce Tess-4.5-26B-A3B under Apache-2.0 upstream model weights.
The pipeline pins updated Tinker and renderer packages to avoid a silent tokenizer fallback, patches both sync and async LoRA constructors so adapters remain compact and mergeable, and provides a 5-minute offline quickstart with uv and synthetic data before spending cloud tokens. Once trained, scripts perform a lossless CPU FP32-to-BF16 merge in seconds, convert weights to a 17.6 GB native NVFP4 GGUF with vision projector and DSpark draft model, and configure llama-server profiles tuned for Mac Metal or 24 GB CUDA GPUs alongside vLLM and SGLang.
Running cloud training requires a Tinker API key, while local merging needs roughly 42 GB of disk space and Python 3.12.
Before you startThe README says
Runs on
macOS (Metal), Linux, or cloud GPUs (CUDA and Tinker)
Needs
Python 3.12, uv; about 42 GB disk to merge; 24 GB GPU or MacBook for GGUF
Accounts or paid services
Tinker API key (paid per token, charged by Tinker); optional W&B and HF tokens
How you get it
Clone repository and symlink into .claude/skills or .agents/skills
Facts from GitHub (updated Dec 1, 2026) and the project's README. License summaries are simplified: check the license file. RepoRanking reviews listings for relevance and spam, and doesn't test or vouch for code.
An inference engine that fits Thinking Machines' Inkling 2 Mini model entirely into one RTX 3090's 24 GB, reaching around 128 tokens per second with long context, images and tool use.
Serves the Inkling 2 Mini model on a single NVIDIA DGX Spark through an OpenAI-compatible API, using speculative drafting, FP8 key-value cache and low-precision tensor cores for speed, with vision and structured output.
A training engine that improves your local language model in the background using compute you are not using. Keep working with your model through opencode, pi or any OpenAI-compatible tool while it learns.
A single-binary inference engine and OpenAI-compatible server written in Zig and CUDA, tuned to run the Inkling 2 Mini model as fast as possible on one NVIDIA RTX 5090 with no Python involved.