You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
FlashAttentionBackend currently only supports head sizes supported by XFormersBackend, specifically [64, 80, 96, 112, 128, 256]. Is there any reason to only support these head sizes with flash attention? If not, I can open a PR to remove this constraint (flash should support all dimensions up to 256) so that smaller models or those with unsupported head sizes can be used with vLLM w/flash attention.
suppored_head_sizes=PagedAttentionImpl.get_supported_head_sizes()
ifhead_sizenotinsuppored_head_sizes:
raiseValueError(
f"Head size {head_size} is not supported by PagedAttention. "f"Supported head sizes are: {suppored_head_sizes}.")