Thinking Machines' TML-d24-varloop-research on a Mac: choose 1 to 5 loop passes, in two MLX builds
NetProjects™
TML-d24-varloop-research is a research model from Thinking Machines Lab, released on 20 November 2026 under the Apache-2.0 licence. It takes text and images and writes text. It is the variable-loop counterpart to Thinking Machines' Inkling 2 Mini: the same looped mixture-of-experts design, with 26.4B parameters, 24 layers and 8 of 128 experts per token, but its twelve middle layers can run any number of passes chosen at inference time, from 1 to 5, where Inkling 2 Mini always runs 3. Each extra pass adds about 1.0B active parameters per token: 3.4B at 1 pass, 5.4B at 3 and 7.4B at 5. The context window is up to 1M tokens.
Thinking Machines releases it to support research on looped models: with one set of weights, you can compare how extra looped computation changes what a model does. For the later part of midtraining it was trained with 1 to 5 passes, then post-trained with 3, and Thinking Machines warns that it may behave unpredictably at other pass counts. It is a research model, not a production one; for production, Thinking Machines recommends Inkling 2 Mini. It is open weights only, with no API.
| Benchmark (Thinking Machines' figures) | Inkling 2 Mini | 1 pass | 2 passes | 3 passes | 4 passes | 5 passes |
|---|---|---|---|---|---|---|
| SWE-bench Verified (bash only) | 79.2% | 56.3% | 76.5% | 78.7% | 79.3% | 79.6% |
| GPQA Diamond | 86.6% | 69.6% | 79.2% | 84.2% | 81.9% | 83.1% |
| MMMU Pro | 74.9% | 63.6% | 69.8% | 71.4% | 72.1% | 73.2% |
| MRCR v2 8-needle, 256K to 512K | 46.4% | 26.2% | 65.2% | 89.2% | 93.4% | 92.1% |
| GraphWalks BFS 1M | 50.0% | 5.7% | 39.4% | 52.1% | 56.2% | 57.8% |
One pass falls well short on most tasks, while 3 to 5 passes come close to Inkling 2 Mini, and on long-context recall (MRCR v2) 3 or more passes score far above it. These are Thinking Machines' figures for its original weights, with its own harnesses and settings, a selection from its table; we have not reproduced them.
We converted TML-d24-varloop-research to MLX for Macs with Apple Silicon in two builds, each with the vision encoder and Thinking Machines' MTP draft (0.64 GB) bundled, under the Apache-2.0 licence. Choosing the pass count needs our inkling2-mlx package, v0.2.8 (MLX-VLM plus Inkling support), because stock MLX-VLM refuses variable-loop checkpoints.
Always up to date. We keep these builds current on Hugging Face. When Thinking Machines releases a new version of the model, we rebuild, re-test and publish it there, so the links on this page always point to the latest version. The numbers in this article were measured on the version named in each section; the model cards on Hugging Face carry the current figures.
- Hugging Face: https://huggingface.co/netprojects
- NetProjects™ MLX builds collection: https://huggingface.co/collections/netprojects/netprojects-mlx-builds
What we released
Converted from thinkingmachines/TML-d24-varloop-research at revision 91a57fe; Thinking Machines' later changes, up to 30 November, are to its model card only. Thinking Machines released the routed experts in 4-bit NVFP4 in layers 0 to 19 and 8-bit MXFP8 in layers 20 to 23, and no higher-precision weights. Our 4/8-bit build repacks them into MLX's own nvfp4 and mxfp8 formats with every value unchanged, and keeps attention, embeddings, the output layer and the vision encoder in the original bf16. The 4-bit build re-quantises the routed experts, attention, embeddings, the output layer and the vision attention projections to affine 4-bit (group 64), the same recipe as our Inkling 2 Mini 4-bit build, to save memory.
| Hugging Face | Size | Weights | Same next token as the 4/8-bit build (3 passes) | KL vs the 4/8-bit build | GSM8K, 20 questions (3 passes) |
|---|---|---|---|---|---|
| netprojects/TML-d24-varloop-research-MLX-4-8bit (recommended) | 19.5 GB + 0.64 GB draft | routed experts as released (NVFP4 and MXFP8), the rest bf16 | reference | – | 16/20 |
| netprojects/TML-d24-varloop-research-MLX-4bit | 16.5 GB + 0.64 GB draft | affine 4-bit, group 64 | 93.2% | 0.014 | 14/20 |
How we checked it
From our model cards on Hugging Face, measured on 26 November 2026 on a MacBook Pro M5 Max (128 GB) with MLX 0.32.5.
- Loop code: on a small random model with this architecture, inkling2-mlx matched Thinking Machines' Transformers implementation (version 5.24.1) at 1, 2, 3, 4 and 5 passes, for full prompts and for cached generation; the largest logit difference was 3.6e-6.
- Lossless repack: the 4/8-bit build carries the released NVFP4 and MXFP8 expert values unchanged, the same repack as our Inkling 2 Mini 4/8-bit build.
- Closeness: at 3 passes, the 4-bit build picks the same next token as the 4/8-bit build at 93.2% of positions, with a mean KL of 0.014.
- GSM8K, 20 fixed test questions, reasoning none, greedy decoding: the 4/8-bit build got 15 right at 2 passes, 16 at 3 passes and 16 at 5 passes; the 4-bit build got 14 right at 3 passes.
- Vision and the MTP draft: at 3 passes, the 4/8-bit build named the red square and the blue circle in a test image, and the bundled MTP draft loaded and generated. At 2 passes the draft is refused, as intended, because it was trained with 3 passes.
Try it
On a Mac with Apple Silicon, install inkling2-mlx and start the OpenAI-compatible MLX-VLM server. Set the number of passes with the INKLING2_LOOP_PASSES environment variable, or with loop_num_passes in text_config of config.json; without either, the model runs 3 passes. PyTorch and torchvision are used only on the CPU, by the image processor.
pip install "git+https://github.com/internet-projects/inkling2-mlx@v0.2.8" torch torchvision
INKLING2_LOOP_PASSES=4 mlx_vlm.server --model netprojects/TML-d24-varloop-research-MLX-4-8bit --port 8000Reasoning effort is part of the chat template: none, minimal, low, medium, high (the default), xhigh or max, or a number from 0.0 to 0.99. Set a generous max_tokens, as the model can think at length. The MTP draft loads only at 3 passes, the default; the model cards show how to use it.
Honest limits
- This is a research model. Thinking Machines does not intend it for production or user-facing applications and recommends Inkling 2 Mini instead; it may behave unpredictably at pass counts other than 3.
- We did not run any of Thinking Machines' benchmarks on these builds, so the benchmark figures above are Thinking Machines', from its own setup.
- Our checks are short and run on one machine: a small random model for the loop code, 20 GSM8K questions, a closeness check at 3 passes only and one test image. They show that the builds behave as intended, not how well the model handles your own work.
- The 4-bit build picks a different next token from the 4/8-bit build at 6.8% of positions in our check and got fewer GSM8K questions right (14 against 16 of 20), so the 4/8-bit build is our recommendation; choose 4-bit when memory is tight.
- Our cards give sizes on disk, not peak memory. Thinking Machines says its release needs a machine with at least 32 GB of GPU or unified memory; longer contexts need more.
- We give no speed figures here. The model cards list indicative timings from a short run on one Mac.
- Choosing the pass count needs inkling2-mlx; stock MLX-VLM does not load variable-loop checkpoints.
Licence
TML-d24-varloop-research and our builds are under the Apache-2.0 licence, and use of the model is also governed by Thinking Machines' Model Acceptable Use Policy. Each of our repositories carries the licence text and a notice that describes the conversion.
Links
- MLX 4/8-bit build (recommended): https://huggingface.co/netprojects/TML-d24-varloop-research-MLX-4-8bit
- MLX 4-bit build: https://huggingface.co/netprojects/TML-d24-varloop-research-MLX-4bit
- inkling2-mlx on GitHub: https://github.com/internet-projects/inkling2-mlx
- Thinking Machines' original model: https://huggingface.co/thinkingmachines/TML-d24-varloop-research
- Our Inkling 2 Mini builds: https://netprojects.com/insights/thinking-machines-inkling-2-mini-mlx-dspark
- Model Acceptable Use Policy: https://thinkingmachines.ai/model-acceptable-use-policy/
- All our AI ports: https://netprojects.com/ai
Credits
TML-d24-varloop-research and its MTP draft are by Thinking Machines Lab, under the Apache-2.0 licence. The MLX builds are by NetProjects™ (Internet Projects Ltd). Not affiliated with Thinking Machines.
This article was drafted with AI assistance, then edited and approved by people on our team. You can read more about how we use AI at https://netprojects.com/standards/ai.