Repository navigation
v14.0 — int8 State-Space (S4-lite) + Decision Trees/GBDT + seq2seq decoder
v14.0 — int8 State-Space (S4-lite) + Decision Trees/GBDT + seq2seq decoder
New architectures
- int8 State-Space (S4-lite) (#144):
cpp/qssm.hpp—QStateSpace1D(diagonal linear time-invariant SSM) andQSelectiveStateSpace1D(input-gated, Mamba-style "selective" recurrence with a hard-sigmoid gate, no exp/sigmoid LUT). FixedNumChannels-wide int32 state that is constant in the sequence length; streamingstep()matches the full-sequence pass byte-for-byte. New Architectures page. - int8 Decision Trees & GBDT (#145):
cpp/qtree.hpp—QDecisionTree(single tree) andQGBDT(gradient-boosted additive ensemble). A non-neural family: inference is integer compares + a branch with no MACs, no matmul, no activation tables. Thresholds quantize onto the same int8 affine grid as the feature, and the monotone affine map preserves every split decision exactly. New Architectures page. - int8 Transformer decoder / seq2seq (#141, #143): completes the encoder-decoder path. Causal self-attention (linear ReLU-kernel #141, softmax #143), cross-attention to encoder memory, and an autoregressive KV cache —
cpp/qcausalattention1d.hpp,cpp/qcausalattention_softmax.hpp,cpp/qcrossattention.hpp,cpp/qkvcache.hpp. The linear flavor collapses the KV cache to O(1) state; the softmax flavor uses a growing cache + the shared exp LUT. Autoregressive decode matches the full-sequence pass byte-for-byte.
New examples
- int8 autoregressive generation (#142): decoder-only nano-LM demo.
- softmax-decoder seq2seq (#143): growing KV cache + exp LUT, end-to-end.
Docs
- Real-world use-case callouts on all 13 architecture pages (#146).
Documentation, architecture guides, and example gallery: https://danmcleran.github.io/tinymind/
Full changelog: v13.0...v14.0