Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
BaiXuePrincess
Paddle
提交
58d2949d
P
Paddle
项目概览
BaiXuePrincess
/
Paddle
与 Fork 源项目一致
Fork自
PaddlePaddle / Paddle
通知
1
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
P
Paddle
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
未验证
提交
58d2949d
编写于
6月 05, 2022
作者:
S
Sing_chan
提交者:
GitHub
6月 05, 2022
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
revert modification for format PR passing CI; not sort headers for windows CI test failed (#43200)
上级
a3730dc8
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
10 addition
and
7 deletion
+10
-7
paddle/fluid/operators/fused/fused_multi_transformer_op.cu
paddle/fluid/operators/fused/fused_multi_transformer_op.cu
+9
-5
paddle/scripts/paddle_build.sh
paddle/scripts/paddle_build.sh
+1
-2
未找到文件。
paddle/fluid/operators/fused/fused_multi_transformer_op.cu
浏览文件 @
58d2949d
...
...
@@ -16,25 +16,29 @@ limitations under the License. */
// https://github.com/NVIDIA/FasterTransformer/blob/v4.0/fastertransformer/cuda/masked_multihead_attention.cu
// We add License in the head.
// headers sort by clang-format may cause compiling error or test faiure,
// see https://github.com/PaddlePaddle/Paddle/pull/42840/
// clang-format off
#include <cuda_fp16.h>
#include <float.h>
#include <cub/cub.cuh>
#include "paddle/fluid/framework/op_registry.h"
#include "paddle/fluid/framework/operator.h"
#include "paddle/fluid/platform/device/gpu/gpu_device_function.h"
#include "paddle/fluid/platform/device/gpu/gpu_dnn.h"
#include "paddle/phi/kernels/funcs/math_function.h"
#include "paddle/fluid/operators/fused/attention_layer_norm.h"
#include "paddle/fluid/operators/fused/attn_gemm.h"
#include "paddle/fluid/operators/fused/fmha_ref.h"
#include "paddle/fluid/operators/fused/fused_dropout_helper.h"
#include "paddle/fluid/platform/device/gpu/gpu_device_function.h"
#include "paddle/fluid/platform/device/gpu/gpu_dnn.h"
#include "paddle/phi/kernels/funcs/math_function.h"
#if defined(PADDLE_WITH_NCCL) || defined(PADDLE_WITH_RCCL)
#include "paddle/fluid/platform/collective_helper.h"
#include "paddle/fluid/platform/device/gpu/nccl_helper.h"
#endif
// clang-format on
namespace
paddle
{
namespace
operators
{
...
...
paddle/scripts/paddle_build.sh
浏览文件 @
58d2949d
...
...
@@ -1130,8 +1130,7 @@ EOF
function
check_diff_file_for_coverage
()
{
diff_h_file
=
$(
git diff
--name-status
test
develop |
awk
'$1 != "D" {print $2}'
|
grep
'\.h$'
|
awk
-F
"/"
'{printf "%s,",$NF}'
)
diff_cc_file
=
$(
git diff
--name-status
test
develop |
awk
'$1 != "D" {print $2}'
|
grep
-E
'\.(cc|c)$'
|
awk
-F
"/"
'{printf "%s,",$NF}'
)
#diff_py_file=$(git diff --name-status test develop | grep '\.py$' | awk '$1 != "D" {printf "%s,",$2}')
diff_py_file
=
'tools/test_sampcd_processor.py,tools/timeline.py'
diff_py_file
=
$(
git diff
--name-status
test
develop |
grep
'\.py$'
|
awk
'$1 != "D" {printf "%s,",$2}'
)
export
PADDLE_GIT_DIFF_H_FILE
=
${
diff_h_file
%*,
}
export
PADDLE_GIT_DIFF_CC_FILE
=
${
diff_cc_file
%*,
}
export
PADDLE_GIT_DIFF_PY_FILE
=
${
diff_py_file
%*,
}
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录