mirror of
https://github.com/wassname/activation_store.git
synced 2026-06-27 18:03:14 +08:00
bd10c2ef8ce45993f8e139291bb58087517be15d
activation_store
Utility library to persistently store transformer activations on disk.
These activations can be quite large (layers x batch x sequence x hidden_size), so generating them to disk helps avoid out of memory errors.
Install using pip install git+https://github.com/wassname/activation_store.git.
Development
git clone https//github.com/wassname/activation_store.git
uv sync
see examples in nbs folder.
TODO:
- test compression: it's not worth the complexity
- examples
- generate and collect activations
Description
Languages
Jupyter Notebook
56.1%
Python
43.9%