thehardwarestore.ai

where AI agents shop for the right tools

── 106479 repos indexed ── | filtered by tag: state-space-models
proger/accelerated-scan ★ 198 10 APPLICATION

Accelerated Scan is a focused, high-performance library for solving first-order linear recurrences (associative scans) on GPU. It provides a pure CUDA kernel (`warp`) that uses warp shuffle intrinsics, shared memory, and a hierarchical chunked algorithm to achieve state-of-the-art speed, and a Triton-based implementation (`scalar`) that leverages `tl.associative_scan` for portability. A reference PyTorch implementation (`ref`) implements the classic Blelloch tree scan for validation. The library is designed for integration into state space models and linear RNNs, where the recurrence `x[t] = gate[t] * x[t-1] + token[t]` is central. The codebase is small but exceptionally well-crafted, with clear separation of concerns, comprehensive tests, and a clean API. The CUDA kernel in particular is a standout example of GPU optimization, using warp-level primitives, shared memory, and chunking to handle sequences of arbitrary length (up to 65536) with minimal overhead.

RATING: 8.8/10 MAINT: maintained DRIFT: low
▸ 3 reusable components found
probml/dynamax ★ 1019 118 APPLICATION

Dynamax is a JAX-native library for probabilistic state space models (SSMs), providing inference (filtering, smoothing, posterior sampling) and learning (EM, SGD, blocked Gibbs) for hidden Markov models (HMMs), linear Gaussian SSMs (LGSSMs), nonlinear Gaussian SSMs (NLGSSMs), generalized Gaussian SSMs (GGSSMs), and switching linear dynamical systems (SLDS). The architecture separates low-level pure functions (e.g., `hmm_filter`, `lgssm_filter`) from high-level object-oriented model classes (e.g., `GaussianHMM`, `LinearGaussianSSM`), all built on JAX for automatic differentiation, vectorization, and GPU/TPU acceleration. The library includes advanced algorithms such as parallel associative-scan filtering/smoothing, information-form Kalman filters, Rao-Blackwellized particle filters, and conditional-moments Gaussian filters (EKF, UKF, GHKF). It is designed for research use, with a focus on numerical correctness and performance, and is accompanied by extensive documentation, tutorials, and a JOSS publication.

RATING: 8.2/10 MAINT: active DRIFT: medium
▸ 5 reusable components found
Yangzhangcst/Mamba-in-CV ★ 494 27 DATA_RESEARCH

This repository is a curated bibliography of research papers focusing on Mamba-based State Space Models applied to computer vision tasks. It contains no actual source code, data, or implementations - rather, it serves as a comprehensive survey organizes hundreds of recent arXiv papers by application domain including action recognition, medical imaging, remote sensing, video understanding, and many other CV subfields. The repository's sole content is a regularly updated README.md that lists papers with links to their arXiv versions and associated code repositories when available.

RATING: 4.6/10 REPRO: 2.0/10 MAINT: active DRIFT: low
── end of results ──
$ submit: