已关闭
[Bug-Report|缺陷反馈]: apply_rotary_pos_emb 算子适配 #1836
xufeng12121创建于  4月13日关闭于  4月16日
xufeng12121
4月13日 创建

Thanks for sending an issue! Please fill in the following template to help quickly solve your problem.

Describe the current behavior / 问题描述 (Mandatory / 必填)

之前为了修复apply_rotary_pos_emb算子找不到arch35目录的报错,改动CMakeList arch38 --> arch35, (https://gitcode.com/cann/ops-transformer/pull/2762),导致fa 算子报错,找不到arch38 目录。为了兼容两者,需要CMakeList 改回成arch38适配fa算子,同时在cmake中规避,当算子是apply_rotary_pos_emb时, 将arch35目录 编到算子包里。

Environment / 环境信息 (Mandatory / 必填)

MC_XX

Steps to reproduce the issue / 重现步骤 (Mandatory / 必填)

单算子测试工具可复现

Describe the expected behavior / 预期结果 (Mandatory / 必填)

fa 算子和apply_rotary_pos_emb 算子都可以执行成功

Special notes for this issue/备注 (Optional / 选填)

likedislike
Lleiqingji成员
4月13日 将 xufeng12121 设为负责人
CANN-robotCANN-robot成员
4月16日 关闭了 issue
CANN-robotCANN-robot成员
4月16日 添加了label:resolved