Official implementation of DDTree (Diffusion Draft Tree) from Accelerating Speculative Decoding with Block Diffusion Draft Trees.
Liran Ringel, Yaniv Romano
This codebase is intended for a CUDA-enabled PyTorch environment.
pip install -r requirements.txtbash run_benchmark.shThis produces benchmark outputs in runs/ and logs in logs/.
Generate the plots:
python3 plot_results.pyGenerate the LaTeX table:
python3 make_latex_table.py@article{ringel2026ddtree,
title={Accelerating Speculative Decoding with Block Diffusion Draft Trees},
author={Ringel, Liran and Romano, Yaniv},
journal={arXiv preprint arXiv:2604.12989},
year={2026}
}