1 Star 0 Fork 68

李林杰/cann-ops-adv

forked from Ascend/cann-ops-adv 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
classify_rule.yaml 3.08 KB
一键复制 编辑 原始数据 按行查看 历史
# Copyright (c) 2024 Huawei Technologies Co., Ltd.
# This file is a part of the CANN Open Software.
# Licensed under CANN Open Software License Agreement Version 1.0 (the "License").
# Please refer to the License for details. You may not use this file except in compliance with the License.
# THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR IMPLIED,
# INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY, OR FITNESS FOR A PARTICULAR PURPOSE.
# See LICENSE in the root of the software repository for the full text of the License.
# ======================================================================================================================
cmake:
module: True
src:
- cmake
- build.sh
- CMakeLists.txt
tests:
ut:
ops_test:
options:
- all
src:
transformer:
flash_attention_score:
module: True
src:
- src/transformer/flash_attention_score
tests:
ut:
ops_test:
src:
- tests/ut/ops_test/src/transformer/flash_attention
options:
- flash_attention
flash_attention_score_grad:
module: True
src:
- src/transformer/flash_attention_score_grad
tests:
ut:
ops_test:
src:
- tests/ut/ops_test/src/transformer/flash_attention
options:
- flash_attention
ffn:
module: True
src:
- src/transformer/ffn
tests:
ut:
ops_test:
src:
- tests/ut/ops_test/src/transformer/ffn
options:
- ffn
incre_flash_attention:
module: True
src:
- src/transformer/incre_flash_attention
tests:
ut:
ops_test:
src:
- tests/ut/ops_test/src/transformer/incre_flash_attention
options:
- incre_flash_attention
- fused_infer_attention_score
prompt_flash_attention:
module: True
src:
- src/transformer/prompt_flash_attention
tests:
ut:
ops_test:
src:
- tests/ut/ops_test/src/transformer/prompt_flash_attention
options:
- prompt_flash_attention
- fused_infer_attention_score
fused_infer_attention_score:
module: True
src:
- src/transformer/fused_infer_attention_score
tests:
ut:
ops_test:
src:
- tests/ut/ops_test/src/transformer/fused_infer_attention_score
options:
- incre_flash_attention
- prompt_flash_attention
- fused_infer_attention_score
utils:
module: True
src:
- src/utils
tests:
ut:
ops_test:
options:
- all
tests:
ut:
ops_test:
module: True
tests:
ut:
ops_test:
src:
- tests/ut/ops_test/framework
- tests/ut/ops_test/CMakeLists.txt
options:
- all
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C++
1
https://gitee.com/lilinjie11/cann-ops-adv.git
git@gitee.com:lilinjie11/cann-ops-adv.git
lilinjie11
cann-ops-adv
cann-ops-adv
master

搜索帮助