Expand description
Content-addressable caching — keys, traits, and metadata.
CacheKey is a SHA-256 hash of computation inputs. Two cache keys:
- State key:
hash(config + training_data)— for fit() results - Output key:
hash(config + state + input)— for forward() results
CacheStore is the K/V interface; implementations live in soma-runtime.
Structs§
- Cache
Key - Content-addressable hash identifying a computation.
- Entry
Meta - Metadata about a cached entry, queryable without loading the value.
Enums§
Traits§
- Cache
Store - The K/V cache store interface.