API Reference¶
Persisting's APIs share a common core β TTAS addressing, Lance storage, Pulsing distribution.
| Module | Use for | Status |
|---|---|---|
| Tensor Memory | persisting.open() β unified storage for parameters, KV cache, trajectories |
π§ͺ Experimental |
| Queue | persisting.Queue β event streaming, KV interface, samplers |
β Stable |
| Search | persisting.search β document indexing and retrieval |
β Stable |
| Tensor Address Space | persisting.core β direct access to Dimension, Region, canonicalization |
π§ͺ Experimental |
Unified Tensor Storage¶
persisting.open(namespace, dims, ...) β TensorNamespace
kv[key] β Handler
h.tensor() β ndarray
h.put(data) β None
One interface for all three workloads:
| Namespace | Dims | Use |
|---|---|---|
params/llama-70b |
(param_id, shard) |
Model weights |
kvcache/v1 |
(session, layer, head, time) |
KV cache |
trajectories/v1 (planned) |
(run_id, time) |
Trajectory tensor access |
Queue & Events¶
β Queue API
Search¶
β Search API