← Fikra Research

Inkling 2 Mini on Kaggle 2×T4

Thinking Machines's Apache 2.0 looped MoE, running at 41.5 tokens per second on two free Kaggle T4s, with no speculation. 26.4B parameters total, 3.4B active, 128 experts per layer routing each token to 8.

41.5 tok/s measured 26.4B total 3.4B active 2× T4, free Phase 1
Measured on two free T4s. The gap to 60 is about 7 ms of small dense kernels, and it is written down where you can see it. This page shows measured numbers, not projections. Where a figure is an estimate it says so.

Results

MetricValue
Decode, overall41.5 tok/s
Single-token step23.6 ms
Quality+0.69% perplexity
Top-1 agreement vs fp1697.0% top-1 agreement against fp16
Correctness vs referenceKL about 1e-7 against the reference engine
ProtocolGreedy, 10 prompts, 4,476 tokens, zero timeouts

Median 41.6 tok/s, range 39.4 to 43.0. Long answers run slower because attention reads more cache.

Why it is hard

24 physical layers, with layers 6-17 run three times, so every token passes through 48 layer calls. That is 48 layer calls per token before any of the other work.

The quantisation has no hardware path

The checkpoint's own NVFP4 (layers 0-19) and MXFP8 (layers 20-23), decoded by our Triton kernels; dense weights int8 with per-group scales. A T4 has no fp8 support in Triton, so decode uses fp16 bit-pattern tricks and is exact.

The layers loop

Reused weights change how memory is planned across a forward pass, and change how attention keys and values can be cached, because the same layer runs again with different activations.

What made it faster

Progress in tokens per second: 0.69, 1.24, 2.99, 10.8, 13.5, 18.2, 20.6, 23.9, 24.6, 34.1, 34.4, 36.8 then 41.5 tok/s.

The decisive finding

The first working layout ran the two GPUs in series, so each sat idle half of every token. Experts were 65% of the step. Both T4s stream experts at full speed at the same time, so splitting every expert by its intermediate dimension, rather than by expert index, lets both cards stream simultaneously and in the same time as one alone. Splitting by index would have cost about 14% to imbalance.

No peer-to-peer atomics

Kaggle's bridge connects the GPUs through the CPU host bridge, with no P2P atomics, so flag-based handshakes were impossible and host-driven copies cost 88 microseconds each. The fix was NCCL's low-latency protocol idea: every 8-byte word carries 4 bytes of data and a 4-byte tag, the sender writes straight into the receiver's memory, and the receiver polls its own memory. That measured a 16 microsecond round trip.

The gap to 60

The step needs to go from 23.6 ms to 16.7 ms. These savings are estimates, not measurements:

ItemSaving
Hand-fuse the ~1,500 small dense kernels per token4-5 ms
Lazy/certified head, not the full 200K vocab every token~1.5 ms
Expert decode in fp16 math1-2 ms
Exchange glue~1 ms

Speculation, measured and parked

The DSpark draft model was ported and acceptance was measured on our engine, which is not something vLLM publishes for this model: greedy, 10 prompts, 1,920 anchor positions, blocks of 8.

MeasureValue
Mean accepted per block1.82
Tokens per verify step, 7 drafts2.45
Acceptance, prose vs code1.10-1.24 vs 2.24-2.33
int8 vs fp16 acceptanceIdentical (consistency 1.0)
On 2×T444-46 tok/s vs 43.4 without it

It buys almost nothing here, because each extra token pulls in about 4 new experts and expert bytes dominate. Parked until the kernel work changes that arithmetic.

What is honest about this

Mistakes on the record

Two projections published earlier in this work were wrong, and both are corrected here.

Reproduce it

The kernels and notebooks are being cleaned up for release and will live in the research repository and on Hugging Face, both linked below. Until they land, this page is the record, and the numbers on it are the ones the code produced.

Results are scored on the Fikra Benchmark 500, and citation details are on the citation page.

Where everything lives

Kernels and notebooks are coming soon. These are the places they will appear, and the places everything else already is.

Follow the work

Progress and the kernels land here first.