d2Cache

(β˜… 168)

[ICLR'26] Official code of paper "d2Cache: Accelerating Diffusion-based LLMs via Dual Adaptive Caching"

  • .env.example
  • .gitignore
  • eval.py
  • LICENSE
  • pyproject.toml
  • README.md

# Installation Guide

1. Get the code
git clone https://github.com/Kamichanw/d2Cache

Downloads the entire project code from GitHub to your computer.

cd d2Cache

Moves into the project folder you just downloaded.

2. Python

Easy Recommended
Prerequisites
  • Git Needed to download the project code from GitHub.
  • Python 3 On Windows, be sure to check 'Add Python to PATH' during installation.
pip install -r requirements/common.txt

Installs the Python libraries listed in requirements.txt (or similar).

βœ… If it runs without errors and prints output in the terminal, it worked.

Pulled directly from this repo's README.

// repository documentation