mirage-project/mirage
View on GitHub[Feature Request] - Performance Improvement for Paged Attention
Open
#428 opened on Jul 27, 2025
good first issuepersistent kernel
Repository metrics
- Stars
- (2,381 stars)
- PR merge metrics
- (PR metrics pending)
Description
Feature Description
We can further improve the performance of paged attention tasks with the following optimizations:
-
MAX_TOKENS:MAX_TOKENSis used for preallocating smem; however, current implementation sequentially initialize all tokens' metadata. This should be replaced with dynamic initialization