Skip to content

[Operator] Add support for cross attention#275

Merged
hjjq merged 8 commits intohidet-org:mainfrom
hjjq:attn
Jun 7, 2023
Merged

[Operator] Add support for cross attention#275
hjjq merged 8 commits intohidet-org:mainfrom
hjjq:attn

Conversation

@hjjq
Copy link
Copy Markdown
Collaborator

@hjjq hjjq commented Jun 7, 2023

Previously, attention requires seq_len_q == seq_len_k == seq_len_v.
With this PR, seq_len_q != seq_len_k is supported. (seq_len_k ==seq_len_v still required).
Also fix some bugs related to seq_len sizes not multiple of 8. Arbitrary seq_len sizes are now supported.

@hjjq hjjq merged commit a292ccd into hidet-org:main Jun 7, 2023
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.

1 participant