Thanks for sending an issue! Please fill in the following template to help quickly solve your problem.
之前为了修复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目录 编到算子包里。
MC_XX
单算子测试工具可复现
fa 算子和apply_rotary_pos_emb 算子都可以执行成功
无
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 算子都可以执行成功
Related log / screenshot / 日志 / 截图 (Mandatory / 必填)
无
Special notes for this issue/备注 (Optional / 选填)