Add caching mechanism for completed AV blocks in streaming model. Introduce CompletedBlockPieceCache class to manage reusable blocks during strict-window replay, enhancing efficiency. Update profiling hooks for cache operations and refine README documentation to reflect changes in block handling and replay strategies.
This commit is contained in:
@@ -1130,6 +1130,11 @@ def main() -> None:
|
||||
if persistent_memory
|
||||
else "rolling_complete_blocks_plus_current_partial_block"
|
||||
),
|
||||
"rolling_replay_inputs": (
|
||||
None
|
||||
if persistent_memory
|
||||
else "reuse_cached_complete_block_av_embeddings"
|
||||
),
|
||||
}
|
||||
if args.mode == "open-stream-replay"
|
||||
else None
|
||||
|
||||
Reference in New Issue
Block a user