Skip to content

sparse-delta-memory 2.0.1

Latest

Choose a tag to compare

@lcabannes lcabannes released this 01 Dec 20:13
· 1 commit to main since this release

Added

  • Document reset: SparseDeltaMemory.forward(..., cu_seqlens=) and sdm_write_read(..., cu_seqlens=, init_memory=) run every packed document from the initial memory, as if it were alone (exact up to rounding, deterministic, one op call per batch). cu_seqlens follows the FlashAttention / FLA variable-length convention over the flattened tokens, with every row boundary among the offsets. cu_seqlens=None is unchanged.

Changed

  • Added the Meta copyright header to sparse_delta_memory/cuda/_devmemo.py.
  • Native int4 snapshots for 4-mod-8 column slices and opt-in per-layer activation checkpointing are deferred to a later release.