Skip to content

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-052026-02-28 (UTC)

Complete coverage26,755 / 26,755 hourly files (100%) · 2 absent upstream2023-08-152026-09-02 (UTC)
Events
142
Pushes
20
Pull requests
0
Issues
11
Stars
100
Forks
3

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

ContributorContributionsPushesPRsComments
MzeroMiko232003
Hiccupwzy6001
pUmpKin-Co2000
paucarre1000
regainOWO1000
Yongjie-L1001
theAdamColton1000
lambdawill1001
lqniunjunlper1000

Recent activity

Latest issues, pull requests and releases

  • Issue#7paucarre2025-09-21 09:30
    Add a license
  • Issue comment#6MzeroMiko2024-06-04 03:21
    SelectiveScanEasy forward result have Nan
  • Issue#6regainOWO2024-05-29 08:49
    SelectiveScanEasy forward result have Nan
  • Issue comment#1Yongjie-L2024-05-21 02:29
    how to return last hidden state
  • Issue#5pUmpKin-Co2024-03-31 16:36
    Is it possible for initialized the hidden space with given state (hprefix in your example)?
  • Issue comment#5MzeroMiko2024-03-30 17:52
    Is it possible for initialized the hidden space with given state (hprefix in your example)?
  • Issue#5pUmpKin-Co2024-03-30 05:45
    Is it possible for initialized the hidden space with given state (hprefix in your example)?
  • Issue#4Hiccupwzy2024-03-21 07:14
    Question about the usage of Hippo matrix in S6.
  • Issue comment#3lambdawill2024-03-21 07:04
    maybe there is someting wrong in the equation in the readme figure 1
  • Issue#3Hiccupwzy2024-03-21 07:03
    maybe there is someting wrong in the equation in the readme figure 1
  • Issue comment#3Hiccupwzy2024-03-21 07:03
    maybe there is someting wrong in the equation in the readme figure 1
  • Issue#3Hiccupwzy2024-03-21 07:01
    maybe there is someting wrong in the equation in the readme figure 1
  • Issue#3Hiccupwzy2024-03-21 07:01
    maybe there is someting wrong in the equation in the readme figure 1
  • Issue#3Hiccupwzy2024-03-20 16:23
    maybe there is someting wrong in the equation in the readme figure 1
  • Issue#2lqniunjunlper2024-02-29 09:52
    How to implement parallel selective_scan in pytorch?
  • Issue comment#1MzeroMiko2024-02-19 04:25
    how to return last hidden state
  • Issue#1theAdamColton2024-02-18 13:45
    how 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.