finetune-inkling-2-mini

drost-ai

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.