| refactor: remove dead S1 outer split code in flash_attn arch35 tiling and add UT
Co-authored-by: PerrySkywalerk<wangmingkang1@huawei.com>
# message auto-generated for no-merge-commit merge:
!5947 merge fix_fa_ut into master
refactor: remove dead S1 outer split code in flash_attn arch35 tiling and add UT
Created-by: PerrySkywalker
Commit-by: PerrySkywalerk
Merged-by: cann-robot
Description: ## 描述
清理 flash_attn arch35 tiling 中未使用的 S1 外切分代码,新增 arch35 tiling UT 用例提升测试覆盖率。
## 改动
- 移除 flash_attn_tiling.cpp/.h 中未使用的 GetWinLeftsRightUp、FixParamWithRowInvalid、CheckS1OutSplit、SplitOutSeq 方法
- 移除未使用的成员变量 enableS1OutSplit
- 简化 SplitPolicy,移除死代码 S1 outer split 分支
- 新增 arch35 tiling UT 用例(PA_BBND 正常场景、dtype 不一致、headnum 非法、layout 非法、format 非法等 13 条)
- 在 test_config.yaml 中启用 flash_attn UT
## 关联的Issue
#2693
## 测试
- UT 新增用例覆盖 arch35 tiling 校验路径
## 类型标签
- [ ] 🐛 Bug 修复
- [ ] ✨ 新特性
- [ ] ⚡ 性能优化
- [x] ♻️ 重构
- [x] 🧪 测试
- [ ] 📦 构建/CI
- [ ] 🔧 配置变更
- [ ] 📝 文档更新
- [ ] ⬆️ 依赖升级
- [ ] 🔒 安全修复
- [ ] 🧹 代码清理
- [ ] ❓ 其他,请描述:
See merge request: cann/ops-transformer!5947 | 5 天前 |