Qwen3.5-4B · BF16 · NVIDIA L40S
Replaying 1 million input tokens on one GPU.
The model read one million input tokens in chunks, compacting its snapshot four times along the way. The final snapshot held 82,496 physical KV positions.
How the replay worked
The input was a repeated, tokenized text block. Qwen3.5-4B appended the tokens in bounded chunks. Whenever the physical cache filled, LPCompact retained one eighth of the positions and kept the logical clock advancing from the original history. The run finished on a single NVIDIA L40S in BF16.
What the run establishes
After releasing and restoring the final snapshot, the session accepted token 1,000,001. The run measured sequential ingestion and continuation from a bounded snapshot. The model attended to the retained positions, and retrieval accuracy at one million tokens remains unmeasured.
Try the replay loop
From a checkout with the BF16 backend installed, point the replay example at your own UTF-8 input. The logical position limit leaves room for continuation after the input.
Replay a history · Shell
python examples/replay.py Qwen/Qwen3.5-4B history.txt --backend bf16 --max-logical-positions 1048576 --output saved-state