Xylolabs

TML-d24-varloop-research MLX

Base model Format License Code

thinkingmachines/TML-d24-varloop-research converted to MLX for mlx-lm with the vision tower and without the multi-token-prediction head.

How to run

mlx-lm 0.32.2 does not know this architecture. Install the pull request that adds it (mlx-lm PR 2086), the commit this build was measured with:

pip install -U "git+https://github.com/ml-explore/mlx-lm.git@0c4c99192230f1943dd468d297f0b8a64ae7b7c2"

mlx_lm.generate --model Xylolabs/TML-d24-varloop-research-MLX --prompt 'Explain how a heat pump works.'
mlx_lm.chat     --model Xylolabs/TML-d24-varloop-research-MLX

The model runs its looped layers (6 to 17) for the 3 passes set in config.json. Image input is part of the architecture and the vision tower is included.

Accuracy

Against the BF16 reference.

Quant Size WikiText-2 KL top-1 Chat KL top-1 Held-out KL top-1
MLX: experts NVFP4 and MXFP8, attention, embedding and LM head 8-bit 18.09 GB 0.003331 97.436% 0.019627 96.696% 0.002881 97.520%
Mean KL divergence by file size Top-1 agreement by file size

Which file for your hardware

Hardware Memory File Context
Mac Studio M5 Max 36 GB unified Xylolabs/TML-d24-varloop-research-MLX (NVFP4/MXFP8 experts, 8-bit rest, 18.09 GB) 200K
Mac Studio M5 Max 48 GB unified Xylolabs/TML-d24-varloop-research-MLX (NVFP4/MXFP8 experts, 8-bit rest, 18.09 GB) 469K
Mac Studio M5 Max 64 GB unified Xylolabs/TML-d24-varloop-research-MLX (NVFP4/MXFP8 experts, 8-bit rest, 18.09 GB) 826K
Mac Studio M5 Ultra 96 GB unified Xylolabs/TML-d24-varloop-research-MLX (NVFP4/MXFP8 experts, 8-bit rest, 18.09 GB) 1024K (model maximum)
Mac Studio M5 Max, 40-core GPU 128 GB unified Xylolabs/TML-d24-varloop-research-MLX (NVFP4/MXFP8 experts, 8-bit rest, 18.09 GB) 1024K (model maximum)
Mac Studio M5 Ultra 256 GB unified Xylolabs/TML-d24-varloop-research-MLX (NVFP4/MXFP8 experts, 8-bit rest, 18.09 GB) 1024K (model maximum)
Mac Studio M5 Ultra, 80-core GPU 512 GB unified Xylolabs/TML-d24-varloop-research-MLX (NVFP4/MXFP8 experts, 8-bit rest, 18.09 GB) 1024K (model maximum)

License and notices

These files are under the Apache License 2.0, copied in LICENSE; use is subject to Thinking Machines' Model Acceptable Use Policy. We converted the weights to MLX with mlx-lm (experts unchanged, other linear layers in affine 8-bit) and left out the multi-token-prediction head. The source revision and changes are in ORIGINS.md and NOTICE.

Updates

  • 2026-11-29: Charts redrawn in the dark theme with fewer point labels.
  • 2026-11-28: Card text trimmed.
  • 2026-11-22: First release. Needs mlx-lm pull request 2086 (commit 0c4c99192230f1943dd468d297f0b8a64ae7b7c2); mlx-lm 0.32.2 does not include the Inkling 2 model.
Downloads last month
171
Safetensors
Model size
26B params
Tensor type
U32
·
F32
·
BF16
·
MLX
Hardware compatibility
Log In to add your hardware

4-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for Xylolabs/TML-d24-varloop-research-MLX

Quantized
(7)
this model

Collections including Xylolabs/TML-d24-varloop-research-MLX