Elastic-Cache
[ICLR 2026 π₯] Official pytorch implementation for "Attention Is All You Need for KV Cache in Diffusion LLMs"
νμΌ νμκΈ°
- __init__.py
- configuration_dream.py
- generation_utils.py
- generation_utils_elastic.py
- modeling_dream.py
- tokenization_dream.py
- eval.py
- eval_gsm8k.sh
- eval_humaneval.sh
- postprocess_code.py
- sanitize.py
- __init__.py
- configuration_llada.py
- modeling_llada.py
- eval_gsm8k.sh
- eval_humaneval.sh
- eval_llada.py
- eval_math.sh
- eval_mbpp.sh
- generate.py
- postprocess_code.py
- sanitize.py
- Attention is all you need for KV cache in Diffusion LLMs.pdf
- architecture.png
- motivation.png
- result.png
- .gitignore
- LICENSE
- README.md
- requirements.txt
# CDNμΌλ‘ μ¬μ©νκΈ°
jsDelivrjsDelivrλ κ³΅κ° GitHub 리ν¬μ§ν 리λ₯Ό λ³λ μ€μ μμ΄ CDNμΌλ‘ μ¦μ μλΉν©λλ€. λ²μ κ³Ό νμΌμ κ³ λ₯΄λ©΄ μΉνμ΄μ§μ λ°λ‘ λΆμΌ μ μλ λ§ν¬μ μμ μ½λκ° λ§λ€μ΄μ§λλ€.
λͺ λ Ήμ΄ μ©μ΄μ§
μ΄ λ¬Έμμμ μ¬μ©λ λͺ λ Ήμ΄λ₯Ό λͺ¨μλ΄€μ΅λλ€. λ―μ λͺ λ Ήμ΄κ° μλ€λ©΄ νΌμ³μ νμΈν΄λ³΄μΈμ.
git clone
μ€λͺ
보기 βΌ
git clone
Clone an existing repository.
git clone {{remote_repository_location}} {{path/to/directory}}
Clone an existing repository into a new directory (the default directory is the repository name):
git clone --recursive {{remote_repository_location}}
Clone an existing repository and its submodules:
git clone {{[-n|--no-checkout]}} {{remote_repository_location}}
Clone only the `.git` directory of an existing repository:
pip install
μ€λͺ
보기 βΌ
pip install
Install Python packages.
pip install {{package1 package2 ...}}
Install one or more packages:
pip install {{package1 package2 ...}} {{[-U|--upgrade]}}
Upgrade all specified packages to the latest version, installing any that are not already present:
pip install {{package}}=={{version}}
Install a specific version of a package:
# νλ‘μ νΈ λ°°μ§
-
μ€λͺ
μμ
