Skip to content

feat(pjrt): add content-addressed executable cache with LRU eviction#73

Merged
dndungu merged 1 commit intomainfrom
p3b-cache
Apr 4, 2026
Merged

feat(pjrt): add content-addressed executable cache with LRU eviction#73
dndungu merged 1 commit intomainfrom
p3b-cache

Conversation

@dndungu
Copy link
Copy Markdown
Contributor

@dndungu dndungu commented Apr 4, 2026

Phase 3b PJRT pipeline: caching.

Cache key is SHA256(stablehlo_mlir + platform_name). Serialized PJRT
executables are stored to $ZERFOO_PJRT_CACHE or ~/.cache/zerfoo/pjrt/.
LRU eviction kicks in when total size exceeds configurable max (default
2 GB). Atomic writes via tmp+rename. Thread-safe via sync.Mutex.

Implements T64.1.1 and T64.1.2.
@dndungu dndungu merged commit c8db036 into main Apr 4, 2026
1 check failed
@dndungu dndungu deleted the p3b-cache branch April 4, 2026 01:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant