Commit Graph

2 Commits

Author SHA1 Message Date
Wing Lian
ff5d6393c8 replace legacy attention boolean flags with capability properties
Replace checks with capability-based properties derived from attn_implementation

This separates three concerns that were conflated under flash_attention:
1. Backend selection -> attn_implementation enum
2. Packing capability -> attn_supports_packing property
3. Flash-attn library dependency -> attn_uses_flash_lib property
2026-04-23 22:27:01 +00:00
Wing Lian
aee8c75d64 refactor attention handling 2026-04-23 22:27:01 +00:00