2026-11-27 16:20 UTC

PulsarLM proposes attention-based token eviction for longer local agent sessions

state: expiredheat: mediumuncertainty: highrelevance: mediumtoken-optimization local-inference long-context-agentshhderder

What is this?

PulsarLM is an early, open-source local inference engine that its developer, hhderder, says evicts pages of older tokens when they accumulate little attention mass, then re-rotates RoPE positions to keep retained tokens within the model’s context limit. The developer also describes caching context snapshots to reduce re-prefills, at the cost of extra RAM. Their Reddit post reports performance figures for Qwen3 8B on an RTX 5090, but says the project has rough edges, supports only a limited set of older/smaller models, and had benchmarks forthcoming. The post says a removed BM25-plus-attention recall feature means the engine currently works best with external memory or RAG. The supplied sources do not independently verify its performance or whether eviction preserves accuracy on long agent tasks.

Why it matters

PulsarLM explores a potentially useful way to keep local agent sessions within a bounded KV-cache budget: evict tokens that receive little attention and re-rotate RoPE positions for those retained. If it preserves task-relevant information, this could help extend sessions without continually growing the active context. But the evidence is currently a developer’s Reddit post, not independent benchmarks; long-horizon task quality, model support and practical reliability remain unestablished.

Current assessment

The developer, hhderder, describes PulsarLM as an early open-source inference engine using custom attention kernels to accumulate attention mass per token page, evict low-attention pages, and re-rotate RoPE positions so retained tokens remain contiguous and within the model’s context limit. They report Qwen3 8B performance on an RTX 5090 of 6.7k tokens/s prefill and 89 tokens/s decode, plus 1.2k tokens/s with 16 concurrent requests; these are self-reported and the supplied sources do not provide benchmark methodology or independent verification. Snapshot caching is intended to avoid unnecessary re-prefills but uses extra RAM; the developer says snapshots can be persisted. A previously included BM25-plus-attention recall mechanism was removed, and the post recommends pairing the engine with external memory or RAG. The developer also says support is currently limited to smaller, older models, the engine has rough edges, testing is Linux x86_64 only, and benchmarks were still forthcoming. The central open question is not whether the cache can be kept bounded, but whether attention-based eviction retains information needed later—especially early instructions, constraints, or tool results—well enough to sustain long-horizon task success. The comments raise these as concerns and suggest comparisons against sliding-window eviction and tests of facts queried much later, but they are not test results. Treat “unbounded” sessions as a claim about extending conversation beyond trained limits, not evidence of unlimited or reliable context. Worth tracking for local inference and agent memory, but not yet a basis for choosing it over established engines.

Measured heat

no measured readings yet — the hourly heat pass fills this in

How the heat travelled

10-15 00:27 (minted)⭐ origin echo-reconstructedI built PulsarLM, an inference engine that removes old and unimportant tokens from the context window to keep it bounded while allowing conv
hhderder on reddit (echo) · attributed from reddit.post.1x66wl9 · published time unknown
—
10-14 23:53first on r/LocalLLaMA · published · lag ?Dropping old, low-attention tokens so long chat/agent sessions stay small.
hhderder
—
10-14 23:53amplified on r/LocalLLaMA 👑reddit.post.1x66wl9
hhderder
peak 9 · 15 comments · 100% of case engagement
10-15 00:20our radar first saw it · lag ?discovery anchor: reddit.post.1x66wl9—

Evidence (2) — ⭐ canonical anchor

sourceobjectauthorscorecomments
🟠 redditDropping old, low-attention tokens so long chat/agent sessions stay small.
LocalLLaMA
hhderder915
🟧 echo.reddit ⭐I built PulsarLM, an inference engine that removes old and unimportant tokens from the context window to keep it bounded while allowing convhhderder——

Interpretation history

Decision trace