Repository navigation
Add Inkling-2-Mini (26B) conversational notebook - #433
Conversation
QLoRA on Thinking Machines' Inkling-2-Mini (inkling2_loop, 26.4B total, 3.4B active) over Kaggle's two T4s: 14.4 GB of 4-bit weights split across both cards, about 28 s per step of 4 x 1024 tokens. Pins transformers 5.24.0, the first release with Inkling 2, and trl 1.15.0 with datasets >= 4.7.0, and installs unsloth and unsloth_zoo from main, since Inkling 2 support is newer than the last release. Adds the merged 16-bit save, the q4_k_m GGUF export and a llama.cpp run of the GGUF, off by default like the other notebooks. The GGUF export needs about 150 GB of free disk, more than a Kaggle session has.
|
@codex review |
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: ab752bbf1f
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Current unsloth main peaks at 12.1 GB and 11.9 GB reserved on the two T4s, about 27 s per step.
|
@codex review |
|
Codex Review: Didn't find any major issues. Nice work! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
|
awesome |
Adds
original_template/Inkling_2_Mini_(26B)-Conversational.ipynb(plus the generated Colab and Kaggle notebooks and scripts) for QLoRA on Thinking Machines' Inkling-2-Mini (inkling2_loop, 26.4B total, 3.4B active) on Kaggle's two T4s. Same layout as the Qwen3.8 (27B) and Muse Glimmer notebooks, with short markdown.update_all_notebooks.py:Saving: LoRA adapters run by default. The merged 16-bit save, the
q4_k_mGGUF export and a llama.cpp run of the GGUF areif Falsecells, like the other notebooks. Merged and GGUF exports of Inkling 2 also need unslothai/unsloth#19016 (Inkling 2 merged 16-bit and GGUF export), which is not merged yet: main refuses them withNotImplementedError. The runs below used main at f4768e0 plus that change.Results
10 steps, batch 1 x grad accum 4, 1024 tokens, r = 8 on attention and all 128 experts (202.6M trainable).
q4_k_mllama.cpp output for "Continue the fibonacci sequence: 1, 1, 2, 3, 5, 8,": thinks briefly, then answers
13, 21, 34, 55, ....Limits
Update 2026-11-23
Re-ran the Kaggle notebook as written on Kaggle 2x T4 against current unsloth main (2026.11.10) and unsloth_zoo main (eb9fa6b), which now include the Inkling memory changes (unslothai/unsloth#18959, unslothai/unsloth-zoo#2688), fused CE with lm_head LoRA (unslothai/unsloth-zoo#2697, unslothai/unsloth#18719) and flex attention (unslothai/unsloth#18943). Same settings: 10 steps, batch 1 x grad accum 4, 1024 tokens, r = 8.
The second T4 now peaks about 1.6 GB lower. The markdown under the training cell is updated to the new numbers. The merged 16-bit and GGUF cells need unslothai/unsloth#19016, which is being brought up to date with main; they will be re-checked once it merges.