d2Cache
[ICLR'26] Official code of paper "d2Cache: Accelerating Diffusion-based LLMs via Dual Adaptive Caching"
File Explorer
Download Latest Version (.zip)- d2cache.png
- framework.png
- hooks.png
- logo.png
- blockd.yaml
- d2cache.yaml
- dllm.yaml
- prefix.yaml
- ar.yaml
- eb_sampler.yaml
- klass.yaml
- pc_sampler.yaml
- vanilla.yaml
- wino.yaml
- dream-base.yaml
- dream-common.yaml
- dream-inst.yaml
- llada-1.5.yaml
- llada-base.yaml
- llada-common.yaml
- llada-inst.yaml
- sdar-8b-chat.yaml
- sdar-common.yaml
- default.yaml
- eval.yaml
- gen_args.py
- code_reading_guides.md
- customization.md
- decoding_strategies.md
- kv_caching.md
- common.txt
- fix_code_eval.sh
- run_eval.sh
- __init__.py
- base.py
- blockd_cache.py
- d2cache.py
- dllm_cache.py
- prefix_cache.py
- __init__.py
- ar.py
- klass.py
- utils.py
- vanilla.py
- wino.py
- __init__.py
- configuration_dream.py
- eval_model.py
- generation_utils.py
- modeling_dream.py
- __init__.py
- configuration_llada.py
- eval_model.py
- modeling_llada.py
- __init__.py
- configuration_sdar.py
- eval_model.py
- fused_linear_diffusion_cross_entropy.py
- modeling_sdar.py
- __init__.py
- eval_mdlm.py
- __init__.py
- dream_corpus.json
- llada_corpus.json
- __init__.py
- common.py
- models.py
- __init__.py
- frame.py
- humaneval.yaml
- humaneval_64.yaml
- humaneval_64_instruct.yaml
- humaneval_instruct.yaml
- humaneval_plus.yaml
- README.md
- utils.py
- math-500.yaml
- math_instruct.yaml
- utils.py
- .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 RecommendedPrerequisites
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
Was this content helpful?
(0 ratings)
