A 20 GB coding agent that clears most of the hardest tasks: how was Tess-4.5 trained?

Migel Tissera's open fine-tune of Inkling 2 Mini was trained on 1,073 rows of real coding sessions without touching its 4-bit experts, and runs on a single GPU.

Paylaş
A 20 GB coding agent that clears most of the hardest tasks: how was Tess-4.5 trained?

Can you run a coding agent on a single graphics card on your desk instead of a data center? Tess-4.5-26B-A3B, which Canadian researcher Migel Tissera put on Hugging Face on 27 November, makes a bold case: one 20 GB file, a 1-million-token context and, by the developer's own measurement, 42 of the 51 hardest SWE-Bench Pro v2 tasks solved. The model is open under Apache 2.0, so it can be used in commercial projects too.

The most interesting part is the recipe. Tissera fine-tuned Thinking Machines' Inkling 2 Mini, released on 20 November, with just 1,073 rows of data and without touching the model's compressed expert layers at all. Here is what the model is, how it was trained, what did not work and how to run it yourself.

What Tess-4.5-26B-A3B is

According to the model card, Tess-4.5-26B-A3B is a mixture-of-experts model tuned for software engineering, reasoning and tool use. It has 26.4 billion parameters in total, of which only 3.4 billion run for each token. The base model is looped: the middle 12 of its 24 layers run three times per token, giving 48 layer visits, which the card counts as 5.4 billion effective active parameters. Each token is routed to 8 of 128 experts. We explained why running the same layers repeatedly helps in our looped transformer explainer.

Tess-4.5 is a family. The dense Tess-4.5-27B came out on 18 October, and the 594-billion-parameter Tess-4.5-594B-A17B, built on Inkling 2 Small, on 13 November. The card says 26B-A3B brings the same recipe to the small model and works as a drop-in replacement for Inkling 2 Mini, with the same file layout and serving commands.

How the model was trained

Data. The training set, called "Tess-4.5 v2" on the card, has three parts: anonymized real agentic coding sessions, samples from the earlier Tess-4 and a multi-turn conversational slice, which the 594B card says was self-distilled. There are 1,073 rows of up to 64K tokens each, 46.9 million tokens in total. Every row includes the Tess system prompt, a working directory and real tool definitions. No images were used.

The launch page of the 27B model explains where this kind of data comes from. For that release, 127 real engineering sessions were collected: 30,106 assistant steps, 30,748 tool calls and 39.8 million tokens. The reasoning for each step was reconstructed afterwards with open models and checked against what was visible at that step. Long sessions were cut into 64K windows, each starting with a compacted record of everything before it, and names, organizations and paths were randomized. The card does not say how the v2 set relates to those 127 sessions.

Method. Training was supervised fine-tuning only; no reinforcement learning stage is mentioned. It used LoRA, which trains small added matrices instead of the whole model: rank 32, alpha 32, about 26.1 million trainable parameters, attached only to the attention projections of all 24 layers and the output head. Experts, routers and loop controllers were frozen. One epoch of 135 steps with 8 rows each, learning rate 1e-4 with linear decay, AdamW, run on Thinking Machines' Tinker platform. The loss covered every assistant message, reasoning included. Hardware and GPU hours are not disclosed.

The key trick: leave the compressed experts alone

Inkling 2 Mini stores its experts in 4-bit NVFP4 and 8-bit MXFP8. Adding LoRA there would mean recompressing them after merging, which, the card says, erases most of a small update and perturbs the rest. So the adapter was applied only to 145 BF16 tensors and merged exactly in FP32, changing them by 0.23% to 1.00% of their norm. After the merge, 1,099 other tensors, including experts, routers, loop controllers, the vision tower and the speculative-decoding draft model, were byte-identical to the base, so the main file is the same 19.53 GB as the base. On 57 held-out sessions (about 897,000 assistant tokens), loss fell from 0.7920 to 0.7378.

What was tried and what did not work

The Tess cards share failures too. A development version of the 27B, trained without tool definitions or a working directory, called a tool it had not been given 42 times; the released version did so zero times in 182 responses, which is why real tool definitions now sit in every row. For the 594B, "high" reasoning effort reached only 70.6% on SWE-Bench Pro Hard against 88.2% at "xhigh", and the base 594B run through the same harness scored 78.4% instead of the 86.3% on its own card, a reminder of how much these numbers depend on the setup.

What the results say

All figures are the developer's own; base figures come from Thinking Machines' card. On the hard 51-task SWE-Bench Pro v2 set, the model solves 42 (82.4%) against 77.9% listed for the base, using Scale's locked protocol, mini-swe-agent 2.4.6, one attempt per task and no network. Tissera notes that a 51-task set moves by a task or two on luck alone. On LongBench v2 at 1M context it gets 338 of 503 right (67.2% against 66.9%); since training rows stopped at 64K tokens, the card credits long-context ability to the base. On BenchLocal it solves 122 of 150 scenarios on the first try and 132 within three. In a small behaviour probe, it answered 11 of 12 greetings with plain text, against 8 of 12 for the base, which made 4 needless Bash calls.

How to try it

The merged model runs on one GPU with 24 to 32 GB or more using vLLM (0.35.0 or newer) or SGLang; the card lists RTX 5090, RTX PRO 6000, DGX Spark and H100 among examples. The 17.6 GB NVFP4 file in the GGUF repo runs with llama.cpp on Apple Silicon with 32 GB or more of unified memory or on a 24 GB RTX 4090, where 256K context takes about 23.3 GB. The basic vLLM command is vllm serve migtissera/Tess-4.5-26B-A3B --tensor-parallel-size 1 --reasoning-parser inkling --enable-auto-tool-choice --tool-call-parser inkling, and the card adds a DSpark setting that drafts 7 tokens ahead. Its advice: state the working directory in the system prompt, pass real tool definitions, use "xhigh" effort and keep earlier reasoning in agent loops. The model targets English software and agent work, and the card recommends running it with permission prompts or in a sandbox.

Sources: Model card, GGUF repo, Tess-4.5-594B-A17B, Tess-4.5 launch page, Inkling 2 Mini