Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
PaddlePaddle
Paddle
提交
1e698c60
P
Paddle
项目概览
PaddlePaddle
/
Paddle
大约 1 年 前同步成功
通知
2298
Star
20931
Fork
5422
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
1423
列表
看板
标记
里程碑
合并请求
543
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
P
Paddle
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
1,423
Issue
1,423
列表
看板
标记
里程碑
合并请求
543
合并请求
543
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
未验证
提交
1e698c60
编写于
11月 09, 2020
作者:
Y
YUNSHEN XIE
提交者:
GitHub
11月 09, 2020
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
fix cmake error when setting ut timeout properity (#28492)
上级
faa65498
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
32 addition
and
35 deletion
+32
-35
paddle/fluid/framework/ir/fusion_group/CMakeLists.txt
paddle/fluid/framework/ir/fusion_group/CMakeLists.txt
+2
-2
python/paddle/fluid/tests/unittests/CMakeLists.txt
python/paddle/fluid/tests/unittests/CMakeLists.txt
+30
-33
未找到文件。
paddle/fluid/framework/ir/fusion_group/CMakeLists.txt
浏览文件 @
1e698c60
...
...
@@ -9,6 +9,6 @@ cc_library(fusion_group_pass
SRCS fusion_group_pass.cc elementwise_group_detector.cc
DEPS subgraph_detector fuse_pass_base code_generator device_code
)
cc_test
(
test_fusion_group_pass SRCS fusion_group_pass_tester.cc DEPS fusion_group_pass graph_viz_pass
)
if
(
NOT ON_INFER
)
set_tests_properties
(
test_code_generator PROPERTIES TIMEOUT 120
)
if
(
WITH_GPU AND
NOT ON_INFER
)
set_tests_properties
(
test_code_generator PROPERTIES TIMEOUT 120
)
endif
()
python/paddle/fluid/tests/unittests/CMakeLists.txt
浏览文件 @
1e698c60
...
...
@@ -606,38 +606,22 @@ endif()
# setting timeout value for old unittests
# set_tests_properties(test_dist_fleet_sparse_embedding_ctr PROPERTIES TIMEOUT 200)
if
(
NOT WIN32 AND NOT APPLE
)
set_tests_properties
(
test_fused_elemwise_activation_op PROPERTIES TIMEOUT 150
)
set_tests_properties
(
test_gru_op PROPERTIES TIMEOUT 200
)
set_tests_properties
(
test_layer_norm_op PROPERTIES TIMEOUT 150
)
set_tests_properties
(
test_pool3d_op PROPERTIES TIMEOUT 150
)
set_tests_properties
(
test_regularizer PROPERTIES TIMEOUT 150
)
set_tests_properties
(
test_parallel_dygraph_sync_batch_norm PROPERTIES TIMEOUT 120
)
set_tests_properties
(
test_collective_broadcast_api PROPERTIES TIMEOUT 120
)
set_tests_properties
(
test_collective_allreduce_api PROPERTIES TIMEOUT 120
)
if
(
NOT WIN32
)
set_tests_properties
(
test_multiprocess_reader_exception PROPERTIES TIMEOUT 120
)
set_tests_properties
(
test_layers PROPERTIES TIMEOUT 120
)
set_tests_properties
(
test_ir_memory_optimize_transformer PROPERTIES TIMEOUT 120
)
set_tests_properties
(
test_fleet_utils PROPERTIES TIMEOUT 120
)
endif
()
if
(
WITH_DISTRIBUTE
)
set_tests_properties
(
test_communicator_half_async PROPERTIES TIMEOUT 120
)
endif
()
if
(
WITH_DISTRIBUTE AND NOT APPLE
)
set_tests_properties
(
test_fleet_launch PROPERTIES TIMEOUT 120
)
set_tests_properties
(
test_c_comm_init_op PROPERTIES TIMEOUT 120
)
set_tests_properties
(
test_pipeline PROPERTIES TIMEOUT 120
)
set_tests_properties
(
test_reducescatter_api PROPERTIES TIMEOUT 120
)
set_tests_properties
(
test_broadcast PROPERTIES TIMEOUT 120
)
set_tests_properties
(
test_reducescatter PROPERTIES TIMEOUT 120
)
set_tests_properties
(
test_fleet_checkpoint PROPERTIES TIMEOUT 120
)
set_tests_properties
(
test_collective_reduce_api PROPERTIES TIMEOUT 120
)
set_tests_properties
(
test_collective_reduce PROPERTIES TIMEOUT 120
)
set_tests_properties
(
test_allreduce PROPERTIES TIMEOUT 120
)
set_tests_properties
(
test_allgather PROPERTIES TIMEOUT 120
)
set_tests_properties
(
test_launch PROPERTIES TIMEOUT 120
)
set_tests_properties
(
test_collective_scatter_api PROPERTIES TIMEOUT 120
)
set_tests_properties
(
test_collective_barrier_api PROPERTIES TIMEOUT 120
)
endif
()
if
(
NOT WIN32
)
set_tests_properties
(
test_multiprocess_reader_exception PROPERTIES TIMEOUT 120
)
set_tests_properties
(
test_layers PROPERTIES TIMEOUT 120
)
set_tests_properties
(
test_communicator_half_async PROPERTIES TIMEOUT 120
)
set_tests_properties
(
test_ir_memory_optimize_transformer PROPERTIES TIMEOUT 120
)
set_tests_properties
(
test_fleet_utils PROPERTIES TIMEOUT 120
)
endif
()
# setting timeout value as 15S
...
...
@@ -756,11 +740,11 @@ set_tests_properties(test_dygraph_multi_forward PROPERTIES TIMEOUT 120)
set_tests_properties
(
test_norm_op PROPERTIES TIMEOUT 120
)
set_tests_properties
(
test_imperative_ocr_attention_model PROPERTIES TIMEOUT 120
)
set_tests_properties
(
test_imperative_mnist PROPERTIES TIMEOUT 120
)
set_tests_properties
(
test_fused_elemwise_activation_op PROPERTIES TIMEOUT 1
2
0
)
set_tests_properties
(
test_gru_op PROPERTIES TIMEOUT
12
0
)
set_tests_properties
(
test_layer_norm_op PROPERTIES TIMEOUT 1
2
0
)
set_tests_properties
(
test_pool3d_op PROPERTIES TIMEOUT 1
2
0
)
set_tests_properties
(
test_regularizer PROPERTIES TIMEOUT 1
2
0
)
set_tests_properties
(
test_fused_elemwise_activation_op PROPERTIES TIMEOUT 1
5
0
)
set_tests_properties
(
test_gru_op PROPERTIES TIMEOUT
20
0
)
set_tests_properties
(
test_layer_norm_op PROPERTIES TIMEOUT 1
5
0
)
set_tests_properties
(
test_pool3d_op PROPERTIES TIMEOUT 1
5
0
)
set_tests_properties
(
test_regularizer PROPERTIES TIMEOUT 1
5
0
)
set_tests_properties
(
test_imperative_resnet PROPERTIES TIMEOUT 200
)
set_tests_properties
(
test_imperative_resnet_sorted_gradient PROPERTIES TIMEOUT 200
)
set_tests_properties
(
test_imperative_se_resnext PROPERTIES TIMEOUT 200
)
...
...
@@ -772,8 +756,21 @@ if(WITH_COVERAGE)
endif
()
if
(
WITH_GPU AND NOT WIN32
)
set_tests_properties
(
test_collective_allgather_api PROPERTIES TIMEOUT 120
)
set_tests_properties
(
test_collective_broadcast_api PROPERTIES TIMEOUT 120
)
set_tests_properties
(
test_collective_allreduce_api PROPERTIES TIMEOUT 120
)
set_tests_properties
(
test_pipeline PROPERTIES TIMEOUT 120
)
set_tests_properties
(
test_reducescatter_api PROPERTIES TIMEOUT 120
)
set_tests_properties
(
test_broadcast PROPERTIES TIMEOUT 120
)
set_tests_properties
(
test_reducescatter PROPERTIES TIMEOUT 120
)
set_tests_properties
(
test_collective_reduce_api PROPERTIES TIMEOUT 120
)
set_tests_properties
(
test_collective_reduce PROPERTIES TIMEOUT 120
)
set_tests_properties
(
test_allreduce PROPERTIES TIMEOUT 120
)
set_tests_properties
(
test_allgather PROPERTIES TIMEOUT 120
)
set_tests_properties
(
test_collective_scatter_api PROPERTIES TIMEOUT 120
)
set_tests_properties
(
test_collective_barrier_api PROPERTIES TIMEOUT 120
)
endif
()
if
(
WITH_GPU
)
set_tests_properties
(
test_imperative_auto_mixed_precision PROPERTIES TIMEOUT 120
)
set_tests_properties
(
test_parallel_dygraph_sync_batch_norm PROPERTIES TIMEOUT 120
)
endif
()
set_tests_properties
(
test_inplace_addto_strategy PROPERTIES TIMEOUT 120
)
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录