You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Breaking: nn asks for Agentica 0.40.0 and keeps its modules in src/; pkg/nn/NAME imports are unchanged (ml#302).
Delta.GatedDeltaNet takes sigmoid_gate, the output_gate_type: sigmoid of Qwen4-Exp (ml#436).
NGram (pkg/nn/ngram) computes the hashed n-gram ids of Qwen4-Exp (Qwen3.8-Flash-Next) and embeds them, with the ids of Hugging Face's Qwen4ExpTextNGramEmbedding (ml#436).
Nn.Rope with inv_freq takes neox: false, which turns the columns 2i and 2i + 1 together (ml#303).
Paged (pkg/nn/paged) keeps the blocks of a paged KV cache: a pool of blocks with ref counts, a table of blocks per sequence, copy-on-write of a shared block, and the pool rows a step writes and reads; no tensors yet (ml#92).
Hyper (pkg/nn/hyper) and Ple (pkg/nn/ple) are the hyper-connections and the per-layer embedding of Qwen4-Exp (Qwen3.8-Flash-Next), and Nn.LayerNorm takes a group, the grouped RMS norm they use, as Hugging Face's Qwen4ExpTextGatedResidual, Qwen4ExpTextPLELayer and Qwen4ExpTextRMSNorm compute them (ml#436).
Paged.publish names the full blocks of a table by a hash of their tokens and Paged.reuse gives a new prompt the named blocks it starts with; a named block no table holds stays idle until a block is needed, the least recently idle first, and is copied before a write (ml#92).
Qsa.mask takes query_at, the position of each query over a padded cache, and Ple.ple takes a Delta.padding (Ple.span) for a padded prompt (ml#436).
Qsa (pkg/nn/qsa) is the token selection of the indexed attention of Qwen4-Exp (Qwen3.8-Flash-Next): the mask of the keys each query reads, as Hugging Face's Qwen4ExpTextQSAIndexer selects them (ml#436).