Skip to content

cleanup: remove unused linear attention helpers#467

Merged
lightseek-bot merged 1 commit into
mainfrom
bot/cleanup-attention-linear-unused
Jun 17, 2026
Merged

cleanup: remove unused linear attention helpers#467
lightseek-bot merged 1 commit into
mainfrom
bot/cleanup-attention-linear-unused

Conversation

@lightseek-bot

Copy link
Copy Markdown
Contributor

Summary

  • Remove unused migrated helper utilities from linear attention modules
  • Drop the unused Mamba state scatter-with-mask kernel and wrapper
  • Keep the active GDN, copy/zero, and chunked linear attention paths intact

Tests

  • .venv/bin/python -m compileall -q python/tokenspeed/runtime/layers/attention/linear
  • git diff --check
  • PRE_COMMIT_HOME=/tmp/pre-commit pre-commit run --all-files

Signed-off-by: lightseek-bot <243258330+lightseek-bot@users.noreply.github.com>
@lightseek-bot lightseek-bot marked this pull request as ready for review June 17, 2026 08:35
@lightseek-bot lightseek-bot requested a review from a team as a code owner June 17, 2026 08:35
@lightseek-bot lightseek-bot merged commit 0e1b8a4 into main Jun 17, 2026
40 of 41 checks passed
@lightseek-bot lightseek-bot deleted the bot/cleanup-attention-linear-unused branch June 17, 2026 09:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants