Skip to content

wenhao728/spa-cache

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

3 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

SPA-Cache: Singular Proxies for Adaptive Caching in Diffusion Language Models

๐Ÿ”ง Setup

Install Pytorch, we have tested the code with PyTorch 2.7.1 and CUDA 12.8. But it should work with other versions as well. You can install PyTorch using the following command:

pip install torch==2.7.1 --index-url https://download.pytorch.org/whl/cu128

Install the dependencies:

python -m pip install -r requirements.txt

๐Ÿš€ Quick Start

You can find the detailed scripts for benchmark in the scripts folder:

  • See the source code scripts/<model_name>/eval.py or use python scripts/<model_name>/eval.py --help command for more detailed explanations of the arguments.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published