Spaces:
Sleeping
Sleeping
Download src/savepoint/__init__.py from Recharge23/butterfly: direct link, hf CLI and curl.
- Browser
- Download file 425 Bytes
-
https://huggingface.co/spaces/Recharge23/butterfly/resolve/main/src/savepoint/__init__.py
- Command line
-
hf download hf://spaces/Recharge23/butterfly/src/savepoint/__init__.py
-
curl -L -o __init__.py https://huggingface.co/spaces/Recharge23/butterfly/resolve/main/src/savepoint/__init__.py
425 Bytes
| """SavePoint: a save button for neural games. | |
| Serialize the emergent game state of a streaming world model — KV-cache, | |
| rolling latent context, sampler RNG — into a portable ``.wsave`` file, and | |
| restore it bit-for-bit to save / load / rewind / fork living neural worlds. | |
| """ | |
| from .state import WorldState, load_wsave, save_wsave | |
| __version__ = "0.0.1" | |
| __all__ = ["WorldState", "save_wsave", "load_wsave", "__version__"] | |