Paper: 2DSD: Two-Dimensional Speculative Decoding for Looped Language Models
Code: SqueezeAILab/2DSD
This is ByteDance/Ouro-1.4B-Thinking (R = 4 loops) adapted to last-loop KV cache sharing with a lagged window W = 64. It is the shared-KV target for Ouro-1.4B-Thinking in 2DSD.
Run it with the last-loop KV sharing rule implemented in the 2DSD repository;
--model ouro-1.4b-thinking loads this model with its drafter:
python scripts/generate.py --model ouro-1.4b-thinking --prompt "What is the sum of the first 100 positive integers?"
Decoding is greedy by default. Add --temperature 0.6 --top-p 0.95 to sample. 2DSD verifies with the last
loop, so it keeps this model's greedy outputs and sampling distribution.
Apache-2.0, the license of the base model ByteDance/Ouro-1.4B-Thinking, from which this
model is derived. The license text is in LICENSE.
@misc{kim2026twodsd,
title = {2DSD: Two-Dimensional Speculative Decoding for Looped Language Models},
author = {Kim, Minseo and Chavan, Arnav and Seo, Minhyuk and Hu, Yuezhou and Lee, Minjae and
Kang, Wonjun and Mahoney, Michael W. and Keutzer, Kurt and Hooper, Coleman and Gholami, Amir},
year = {2026},
url = {https://github.com/SqueezeAILab/2DSD}
}
ByteDance/Ouro-1.4B-Thinking