技术栈

ops-transformer

落798.
18 分钟前
人工智能·cann·ops-transformer
FusedInferAttentionScore 源码解析(三):从 Tiling Key 到 AI Core,Attention 的设备侧执行骨架上一篇停在 Host 侧 Tiling。输入的 Layout、序列长度、KV Cache 形式和 Mask 类型经过解析后,被整理为 Tiling Data,并生成对应的 Tiling Key。Runtime 提交任务后,这两部分数据会随算子输入一起进入设备侧。
我是有底线的