sparse
9 stories and discussions about sparse, aggregated from every source we track.
First, you want to form a habit. Second, you want to operate at peak productivity during your session. Third, you want to minimize the amount you forget between sessions.
It’s well-known at this point that GPT-4/GPT-3.5-turbo is non-deterministic, even at temperature=0.0. This is an odd behavior if you’re used to dense decoder-only models, where temp=0 should imply greedy sampling which…
How I brought NanoGPT training from 73.889 to 39.914 seconds with ANVIL II, sampled softmax, and sparse updates to the bigram and trigram tables.
<p>"Simit is a <a href="https://en.wikipedia.org/wiki/Linear_algebra" rel="ugc">linear algebra</a> language with control flow" for <a href="https://en.wikipedia.org/wiki/Sparse_matrix" rel="ugc">sparse systems</a>: those whose elements are mostly zeros. "The main difference between Simit and other linear algebra languages, such as Matlab and Julia, is its hypergraph data structure that is used to represent sparse systems, its vector/matrix type system that ties them to the hypergraph, and the vector/matrix assembly that lets you assemble system vectors and matrices from hypergraphs."</p>
A lot of prior work addressed key-value (KV) cache selection and compression by sparse attention to enable long-context inference for transformer language models without excessive hardware budgets. We provide a new…
When agentic sessions run to a million tokens with many sessions resident at once, the KV cache and the index that ranks it live in host memory, and the scan that ranks all n keys for a top-k step becomes the traffic…
Long-horizon and multi-turn agents typically generate short actions and process long observations from tools and environments. This growing context demands efficient prefill, compact KV-cache storage, and accurate…
NOTE: This blog post assumes knowledge of GPU programming, GPU-driven rendering, D3D12 and systems programming.