Official implementation of DDTree (Diffusion Draft Tree) from Accelerating Speculative Decoding with Block Diffusion Draft Trees.
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