已关闭
[Documentation|文档反馈]: GQA场景解释 #5078
dlf123456创建于 9月8日关闭于 9月8日
游震
9月8日 评论:
9月8日 评论:
/assign @Wei_NaChuan


9月8日 将 Wei_NaChuan 设为负责人
9月8日 关联了pull request:docs(chunk_kda_fwd): 完善 lower_bound 约束和 GVA 说明
9月8日 关闭了 issue
9月8日 添加了label:resolved
周云飞
10月14日 评论:
10月14日 评论:
Thanks for sending an issue! Please fill in the following template to help quickly solve your problem.
Document Link(文档链接)
https://gitcode.com/cann/ops-transformer/blob/9.2.0-beta.2/attention/chunk_kda_fwd/README.md
Issues Section(问题文档片段)
将每条序列按C=chunk_sizeC=chunk_sizeC=chunk_size划分为MMM个chunk。以第ccc个chunk为例,iii、jjj为chunk内token下标,lcl_cl
c
为该chunk最后一个有效token下标。公式省略batch和head下标;GQA场景中,每个Value head使用其对应的Query/Key head。
Existing Issues(存在的问题)
"GQA"首次出现未定义
建议:首次出现时写为 "Grouped Query Attention (GQA)" 或 "分组注意力(GQA)"。