Commit Graph

7 Commits

Author SHA1 Message Date
wassname ed358f5980 Merge branch 'main' of https://github.com/wassname/minicache 2026-05-15 06:44:57 +00:00
wassname c42bea207a minicache 0.2.0: simplify to @cached(exclude=...) as primary API
Removes the required positional `kind` and `cachedir` from the decorator,
drops the `state_fn` concept entirely. New defaults: kind from fn.__name__,
cachedir from DEFAULT_CACHEDIR = Path("cache").

Primary usage is now just:

    @cached(exclude=["model", "tok"])
    def run_eval(model, tok, *, model_id, name, batch_size):
        ...

Explicit-key form unchanged:

    cache_call("eval", "qwen-27b|nf4|classic|bs=16", lambda: ...)

Version bumped to 0.2.0.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-15 06:25:44 +00:00
wassname (Michael J Clark) 4e93666041 Update README.md 2026-05-15 13:59:10 +08:00
wassname (Michael J Clark) daf3e67e22 Update README.md 2026-05-15 13:57:27 +08:00
wassname (Michael J Clark) 3d90059274 Update README.md 2026-05-15 13:43:57 +08:00
wassname (Michael J Clark) 3bf7b51206 Create README.md for minicache project
Added a README file with project overview and usage instructions.
2026-05-15 13:41:45 +08:00
wassname 4b0578a3ac minicache 0.1.0 — tiny disk cache: cloudpickle + gzip + arg blacklist + explicit state 2026-05-15 05:23:55 +00:00