an efficient implementation of selective scan in one file, works with both cpu and gpu, with corresponding mathematical derivation. It is probably the code which is the most close to selective_scan_cuda in mamba.
active 2024-02-05 → 2026-02-28 (UTC)
Activity over time
Daily event counts in the loaded window
Line chart, 755 days from 2024-02-05 to 2026-02-28. Pushes: 20 total, peak 8 in a day. Pull requests: 0 total, peak 0 in a day. Issues: 11 total, peak 4 in a day. Comments: 6 total, peak 2 in a day. Stars: 100 total, peak 3 in a day.
- Pushes
- Pull requests
- Issues
- Comments
- Stars
Stars, PRs, issues and forks are under-captured in the later part of this window. GH Archive progressively stopped capturing non-push events during 2026 — −95% or worse by the end of the window. Every series here except Pushes fades for that reason, so a decline above reflects the archive, not this repository. Pushes stay reliable throughout, so read them, and the contributor counts derived from them, as the real signal. Data health has the measurements.
Top contributors
Pushes, PRs, issues, reviews and comments — stars and forks excluded, so this is contribution rather than popularity
| Contributor | Contributions | Pushes | PRs | Comments |
|---|---|---|---|---|
| MzeroMiko | 23 | 20 | 0 | 3 |
| Hiccupwzy | 6 | 0 | 0 | 1 |
| pUmpKin-Co | 2 | 0 | 0 | 0 |
| paucarre | 1 | 0 | 0 | 0 |
| regainOWO | 1 | 0 | 0 | 0 |
| Yongjie-L | 1 | 0 | 0 | 1 |
| theAdamColton | 1 | 0 | 0 | 0 |
| lambdawill | 1 | 0 | 0 | 1 |
| lqniunjunlper | 1 | 0 | 0 | 0 |
Recent activity
Latest issues, pull requests and releases
- Issue#7paucarre2025-09-21 09:30Add a license
- Issue comment#6MzeroMiko2024-06-04 03:21SelectiveScanEasy forward result have Nan
- Issue#6regainOWO2024-05-29 08:49SelectiveScanEasy forward result have Nan
- Issue comment#1Yongjie-L2024-05-21 02:29how to return last hidden state
- Issue#5pUmpKin-Co2024-03-31 16:36Is it possible for initialized the hidden space with given state (hprefix in your example)?
- Issue comment#5MzeroMiko2024-03-30 17:52Is it possible for initialized the hidden space with given state (hprefix in your example)?
- Issue#5pUmpKin-Co2024-03-30 05:45Is it possible for initialized the hidden space with given state (hprefix in your example)?
- Issue#4Hiccupwzy2024-03-21 07:14Question about the usage of Hippo matrix in S6.
- Issue comment#3lambdawill2024-03-21 07:04maybe there is someting wrong in the equation in the readme figure 1
- Issue#3Hiccupwzy2024-03-21 07:03maybe there is someting wrong in the equation in the readme figure 1
- Issue comment#3Hiccupwzy2024-03-21 07:03maybe there is someting wrong in the equation in the readme figure 1
- Issue#3Hiccupwzy2024-03-21 07:01maybe there is someting wrong in the equation in the readme figure 1
- Issue#3Hiccupwzy2024-03-21 07:01maybe there is someting wrong in the equation in the readme figure 1
- Issue#3Hiccupwzy2024-03-20 16:23maybe there is someting wrong in the equation in the readme figure 1
- Issue#2lqniunjunlper2024-02-29 09:52How to implement parallel selective_scan in pytorch?
- Issue comment#1MzeroMiko2024-02-19 04:25how to return last hidden state
- Issue#1theAdamColton2024-02-18 13:45how to return last hidden state
Totals cover only the window loaded into ClickHouse and count events, not GitHub's lifetime totals — 100 stars here means stars gained during the window, not the repo's star count.