Files
activation_store/README.md
T
wassname 691d290c47 init
2025-02-15 19:30:09 +08:00

475 B

cache_transformer_activations

Utility library to collect transformer activations on disk.

These activations can be quite large (layers x batch x sequence x hidden_size), so it's nice to store it on disk and avoid and out of memory error.

Install using pip install git+https://github.com/wassname/cache_transformer_activations.git.

Development

git clone https//github.com/wassname/cache_transformer_activations.git
uv sync

see exampes in nbs folder.