[Benchmark] Inkling 2 Mini at 4,096 vs. 2,048 Training Tokens: 1.78× the Time on an RTX 5090
❯ cat --toc
- Doubling the training length bought little on the same jobs
- Offloading eight layers lets the 4,096-token run fit on a 32 GB RTX 5090
- With full prompts in vLLM, the 2,048-token adapter passed 113 of 144 checks
- An empty array passed all 25 extraction jobs under the original check
- Start at 2,048 tokens for short answers and inspect the cut
- Deep dive: The empty-array check changed the ranking in vLLM
- The local runs held the training rows and LoRA settings fixed
- The original scores favored different training lengths on the two backends
- The earlier NF4 result regrades from 125 to 120
- A second test can isolate which evidence the adapter saw
TL;DR
On one RTX 5090, training Inkling 2 Mini at 4,096 tokens took 1.78× as long as training at 2,048. After an empty-extraction scoring fix, the first-epoch vLLM adapters passed 110/144 at 4,096 and 113/144 at 2,048. The longer run gained two passes on prompts that would be trimmed during shorter training and lost five elsewhere. I'd start at 2,048 for these short-answer jobs.

Doubling the training length bought little on the same jobs
In my first newsroom fine-tune, Inkling 2 Mini passed 125 of 144 checks on the 4-bit NF4 training weights and 117 in vLLM under the original scoring rules. It's Thinking Machines Lab's vision-language model that reuses its middle layers for multiple passes. This time I doubled its training budget on the same RTX 5090. It took 1.78× the time and passed three fewer checks in vLLM after rescoring. My first newsroom fine-tune · Inkling 2 Mini model card
The first time I cut the middle out of 518 of 1,252 prompts, about 41%, to keep the full answers inside the 2,048-token budget. What happens when the paragraph with the evidence is in that cut? I trained again with room for more of the source text.
Offloading eight layers lets the 4,096-token run fit on a 32 GB RTX 5090
In a separate smoke test without offload, PyTorch reported 33.9 GiB allocated and a step took about 132 seconds after the workload spilled into shared system memory. I kept QLoRA, which trains a small adapter on top of frozen 4-bit weights, and set Unsloth to keep weights for eight layers in system RAM. It streams them to the GPU as needed. With that setting, PyTorch allocation peaked at 26.5 GiB over the full run.
| Training budget | Layers offloaded | Peak PyTorch allocation | Median optimizer step | Wall time, 2 epochs |
|---|---|---|---|---|
| 2,048 tokens | 0 | 25.4 GiB | 6.5 s | 1.08 h |
| 4,096 tokens | 8 | 26.5 GiB | 11.6 s | 1.92 h |
The times include model loading and checkpoint saves. I compared the adapters saved after the first epoch.
With full prompts in vLLM, the 2,048-token adapter passed 113 of 144 checks
Both local runs used the same 1,181 training rows. I ran both adapters on the same 144 held-out jobs, with one greedy reply per job and the full input each time. The training limit caps the combined prompt and answer. To find jobs that would hit it, I applied the training chat template to each held-out prompt and its full reference answer. In 58 cases, the 2,048-token preprocessing would have cut the middle of the prompt.
Read the stricter pass count first. The number in parentheses is what the original validator counted.
| Epoch-one adapter in vLLM | Prompt would be trimmed (58) | Other jobs (86) | All jobs (144) |
|---|---|---|---|
| 2,048 tokens | 43 (51) | 70 (70) | 113 (121) |
| 4,096 tokens | 45 (58) | 65 (65) | 110 (123) |

On the original scores, 4,096 led by two. The empty-answer rule below flipped that.
An empty array passed all 25 extraction jobs under the original check
I also trained a BF16 adapter on an 80 GB A100 in Colab and evaluated its epoch-one checkpoint with Transformers in BF16. All 25 extraction replies contained "datasets": [], and all 25 passed. The original checks let a valid JSON object with an empty array through. In 14 of those jobs, the reference contained at least one dataset.
I kept the original checks and added one condition. A previously passing extraction fails if the reference has a nonempty datasets array and the parsed reply has an empty one. The Colab extraction score fell from 25 to 11, and its overall score fell from 122 to 108. In vLLM the same rule removed 13 passes from the 4,096-token adapter and eight from the 2,048-token adapter.
Try this with a short source such as “The team used city crash records.” Give the test a reference that names the records and feed it an otherwise valid empty reply. Then use “The team discussed its schedule” as the control source, with an empty reference and the same reply. Given an original pass in each case, the new check should print False and True in that order.
import json
def strict_extraction_pass(original_pass, reference, output):
empty = isinstance(output, dict) and output.get("datasets") == []
return original_pass and not (bool(reference["datasets"]) and empty)
output = json.loads('{"datasets": []}')
print(strict_extraction_pass(True, {"datasets": [{"name": "City crash records"}]}, output))
print(strict_extraction_pass(True, {"datasets": []}, output))
A reply can still pass after naming one dataset while missing others. Semantic coverage would need a separate check.
Start at 2,048 tokens for short answers and inspect the cut
The 2,048-token run used 56% of the wall time and needed no layer offload. Before you pay for the longer run, apply Inkling's chat template, budget for the whole answer, and decode a few long training examples after preprocessing. Check which source paragraphs disappeared and whether the final answer token is still present. Preserve those examples as test cases if the cut takes out evidence the answer needs.
If you need the extra training room, change the loader in my earlier fine-tuning setup. I used Unsloth 2026.11.13. The offload_layers argument controls how many layers' weights are streamed from system RAM. Unsloth's Inkling 2 Mini fine-tuning guide
from unsloth import FastModel
model, tokenizer = FastModel.from_pretrained(
model_name="unsloth/Inkling-2-Mini",
max_seq_length=4096,
load_in_4bit=True,
full_finetuning=False,
offload_layers=8,
)
Set the preprocessing budget, fixed padding length, and trainer length limit to 4,096 as well. For the local baseline, set all lengths to 2,048 and use offload_layers=0. Before launching two epochs, run a few optimizer steps. Measure peak allocated GiB with torch.cuda.max_memory_allocated() / 2**30 and time the steps after warmup. In my offload smoke test, step times settled near the full run's 11.6-second median.
Deep dive: The empty-array check changed the ranking in vLLM
You can skip this section if you're setting up a local run.
The local runs held the training rows and LoRA settings fixed
Both trained the attention Q, K, V, and O projections plus the attention output gate, with LoRA rank and alpha both set to 16. Each run used fixed padding at its own sequence length, loss on assistant tokens only, a per-device batch size of one, four gradient accumulation steps, and seed 3407. I used AdamW in 8-bit mode at a learning rate of 0.0002. The two runs differ in training length and layer offload. Their wall times measure the cost of those two configurations together.
The Colab run had 1,182 rows. Its extra extraction example had a 2,125-token reference answer, longer than the entire 2,048-token budget. I excluded it from both local runs to compare the adapters on the same rows. The earlier local run had 1,252 usable rows, including 71 I later removed. Comparing it with this run mixes the change in training data with any change in length.
The original scores favored different training lengths on the two backends
In vLLM, I loaded the first-epoch adapters on the native serving weights with a BF16 KV cache and disabled DSpark draft decoding. On the NF4 training weights I evaluated the same epoch in Transformers.
| Eval stack, epoch one | 2,048 original | 2,048 stricter | 4,096 original | 4,096 stricter |
|---|---|---|---|---|
| Native weights in vLLM | 121 | 113 | 123 | 110 |
| NF4 weights in Transformers | 126 | 114 | 121 | 109 |
Under the original rule, vLLM favored the longer budget and NF4 favored the shorter budget. With the revised rule, the shorter budget finished ahead on both. Comparing the paired pass/fail outcomes on all 144 jobs gave a two-sided exact McNemar p-value of 0.63 for vLLM (4,096 won 7 jobs and lost 10) and 0.30 for NF4 (won 5, lost 10). I measured each configuration once, so I don't have a run-to-run variance estimate for these two-to-five-job gaps. I also used these 144 jobs to select the local checkpoints.
The earlier NF4 result regrades from 125 to 120
The same empty-array check brings the original first-epoch NF4 result from 125 to 120, the highest count among the groups I regraded.
DeepSeek V4.1 Flash stayed at 111 of 144. I joined its saved original pass flags and JSON outputs to the reference flags by case ID and applied the added condition. It produced zero new failures. This was a check against saved records, with no fresh model calls or revalidation of the old checks.
A second test can isolate which evidence the adapter saw
The adapter may be learning the newsroom's response style, labels, fields, and answer length. At evaluation, the base model can still read the complete source, which could explain why giving the adapter more of it during training made little difference here. The current runs can't tell how much each contributed.
For a tighter comparison, I'd train on the same long rows with a 4,096-token budget in both runs, using the 2,048-token trim in one run and preserving the middle where it fits in the other. I'd run several seeds, pick checkpoints on a validation split, and score them on an independent test split. I'd include tasks with longer answers, plus cases whose reference depends on a specific paragraph that the short preprocessing removes.
FAQ
- Can you fine-tune Inkling 2 Mini at 4,096 tokens on a 32 GB RTX 5090?
- Yes. I used Unsloth with 4-bit weights and offloaded eight layers to system RAM. Peak PyTorch allocation was 26.5 GiB, and two epochs over 1,181 examples took 1.92 hours.
- Did 4,096-token training improve Inkling 2 Mini's newsroom results?
- With full prompts at inference, the first-epoch vLLM adapters passed 110 of 144 checks at 4,096 tokens and 113 at 2,048 under the stricter rule. On the 58 jobs whose prompts would be trimmed under the shorter training budget, the 4,096-token adapter passed 45 and the 2,048-token adapter passed 43.
- How can I catch empty extraction results that pass JSON validation?
- Keep the original validation and add a case that rejects an empty datasets array when the reference lists at least one dataset. Include an empty-reference control so the validator still accepts a valid empty answer.
Read next
- 2026-12-02[Benchmark] Fine-Tuning Inkling 2 Mini on My Own Work: 1.1 Hours on One RTX 5090, 117/144 vs. DeepSeek's 111
I trained Inkling 2 Mini on real newsroom tasks in 1.1 hours on one RTX 5090. The deployed adapter passed 117 of 144 checks. Here's the data and training recipe.
- 2026-11-22[Benchmark] Inkling's Variable Loop on an RTX 5090: 48 Layers of Depth from 24, and 39/46/46 of 60 at 1, 3 and 5 Passes
Thinking Machines' Inkling reruns its middle 12 layers to get 48 layers of depth from 24 layers of weights, and the research model lets you pick the pass count. On an RTX 5090, 3 passes scored best.
- 2026-11-17[Benchmark] Qwen3.8-27B on One RTX 5090 With QEngine: 359 tok/s on Code, and Why It Won't Build for a 2080 Ti
QEngine runs Qwen3.8-27B on one RTX 5090 under WSL2 at 358.5 tok/s on code and 109.1 on Chinese. On a 2080 Ti the build fails: its BF16 kernels need sm_80.
- 2026-11-11[Benchmark] FP16 vs Q8 on RTX 5090: Qwen2.5-7B Generates at 188.75 tok/s
FP16 vs Q8_0, Q6_K and Q4_K_M on one RTX 5090: measured prompt speed, generation speed, VRAM, perplexity and KL divergence, with raw results.
Don't miss the next one
Subscribe, and you won't.
One-click unsubscribe anytime.