Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
机器未来
Paddle
提交
a1d87776
P
Paddle
项目概览
机器未来
/
Paddle
与 Fork 源项目一致
Fork自
PaddlePaddle / Paddle
通知
1
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
1
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
P
Paddle
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
1
Issue
1
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
未验证
提交
a1d87776
编写于
5月 30, 2022
作者:
Z
zhangchunle
提交者:
GitHub
5月 30, 2022
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
rm serial mode in exclusive case (#43073)
上级
8cc2e28c
变更
1
显示空白变更内容
内联
并排
Showing
1 changed file
with
9 addition
and
9 deletion
+9
-9
python/paddle/fluid/tests/unittests/CMakeLists.txt
python/paddle/fluid/tests/unittests/CMakeLists.txt
+9
-9
未找到文件。
python/paddle/fluid/tests/unittests/CMakeLists.txt
浏览文件 @
a1d87776
...
...
@@ -620,22 +620,22 @@ endif()
py_test_modules
(
test_bilinear_interp_op MODULES test_bilinear_interp_op ENVS
${
GC_ENVS
}
)
py_test_modules
(
test_nearest_interp_op MODULES test_nearest_interp_op ENVS
${
GC_ENVS
}
)
py_test_modules
(
test_imperative_resnet MODULES test_imperative_resnet ENVS
FLAGS_cudnn_deterministic=1
SERIAL
)
FLAGS_cudnn_deterministic=1
)
set_tests_properties
(
test_imperative_resnet PROPERTIES LABELS
"RUN_TYPE=EXCLUSIVE:NIGHTLY"
)
py_test_modules
(
test_imperative_resnet_sorted_gradient MODULES test_imperative_resnet_sorted_gradient ENVS
FLAGS_cudnn_deterministic=1
SERIAL
)
FLAGS_cudnn_deterministic=1
)
set_tests_properties
(
test_imperative_resnet_sorted_gradient PROPERTIES LABELS
"RUN_TYPE=EXCLUSIVE:NIGHTLY"
)
py_test_modules
(
test_imperative_mnist MODULES test_imperative_mnist ENVS
FLAGS_cudnn_deterministic=1
)
py_test_modules
(
test_imperative_mnist_sorted_gradient MODULES test_imperative_mnist_sorted_gradient ENVS
FLAGS_cudnn_deterministic=1
)
py_test_modules
(
test_imperative_se_resnext MODULES test_imperative_se_resnext ENVS
FLAGS_cudnn_deterministic=1
SERIAL
)
FLAGS_cudnn_deterministic=1
)
set_tests_properties
(
test_imperative_se_resnext PROPERTIES LABELS
"RUN_TYPE=EXCLUSIVE:NIGHTLY"
)
py_test_modules
(
test_imperative_ocr_attention_model MODULES test_imperative_ocr_attention_model ENVS
FLAGS_cudnn_deterministic=1
SERIAL
)
FLAGS_cudnn_deterministic=1
)
py_test_modules
(
test_install_check MODULES test_install_check ENVS
FLAGS_cudnn_deterministic=1
SERIAL
)
FLAGS_cudnn_deterministic=1
)
set_tests_properties
(
test_install_check PROPERTIES LABELS
"RUN_TYPE=DIST"
)
py_test_modules
(
test_imperative_static_runner_mnist MODULES test_imperative_static_runner_mnist ENVS
FLAGS_cudnn_deterministic=1
)
...
...
@@ -763,19 +763,19 @@ if(WITH_DISTRIBUTE)
# port range (20000, 23000) is reserved for dist-ops
set
(
dist_ut_port 20001
)
foreach
(
TEST_OP
${
DIST_TEST_OPS
}
)
bash_test_modules
(
${
TEST_OP
}
START_BASH dist_test.sh
SERIAL
LABELS
"RUN_TYPE=EXCLUSIVE"
ENVS
"PADDLE_DIST_UT_PORT=
${
dist_ut_port
}
"
)
bash_test_modules
(
${
TEST_OP
}
START_BASH dist_test.sh LABELS
"RUN_TYPE=EXCLUSIVE"
ENVS
"PADDLE_DIST_UT_PORT=
${
dist_ut_port
}
"
)
MATH
(
EXPR dist_ut_port
"
${
dist_ut_port
}
+20"
)
if
(
dist_ut_port GREATER_EQUAL 22998
)
message
(
FATAL_ERROR
"available ports have been exhausted:
${
dist_ut_port
}
"
)
endif
()
endforeach
(
TEST_OP
)
# solve it later.
bash_test_modules
(
test_fleet_launch_ps START_BASH test_fleet_launch_ps.sh
SERIAL
LABELS
"RUN_TYPE=EXCLUSIVE"
ENVS
"PADDLE_DIST_UT_PORT=
${
dist_ut_port
}
"
PADDLE_BINARY_DIR=
${
PADDLE_BINARY_DIR
}
)
bash_test_modules
(
test_fleet_launch_ps START_BASH test_fleet_launch_ps.sh LABELS
"RUN_TYPE=EXCLUSIVE"
ENVS
"PADDLE_DIST_UT_PORT=
${
dist_ut_port
}
"
PADDLE_BINARY_DIR=
${
PADDLE_BINARY_DIR
}
)
if
(
WITH_GLOO
)
bash_test_modules
(
test_cpuonly_launch START_BASH test_cpuonly_launch.sh
SERIAL
LABELS
"RUN_TYPE=EXCLUSIVE"
ENVS
"PADDLE_DIST_UT_PORT=
${
dist_ut_port
}
"
PADDLE_BINARY_DIR=
${
PADDLE_BINARY_DIR
}
)
bash_test_modules
(
test_cpuonly_launch START_BASH test_cpuonly_launch.sh LABELS
"RUN_TYPE=EXCLUSIVE"
ENVS
"PADDLE_DIST_UT_PORT=
${
dist_ut_port
}
"
PADDLE_BINARY_DIR=
${
PADDLE_BINARY_DIR
}
)
endif
()
if
(
WITH_GPU OR WITH_XPU OR WITH_ASCEND OR WITH_ASCEND_CL
)
bash_test_modules
(
test_new_group START_BASH test_new_group.sh
SERIAL
LABELS
"RUN_TYPE=EXCLUSIVE"
ENVS
"PADDLE_DIST_UT_PORT=
${
dist_ut_port
}
+20"
PADDLE_BINARY_DIR=
${
PADDLE_BINARY_DIR
}
)
bash_test_modules
(
test_new_group START_BASH test_new_group.sh LABELS
"RUN_TYPE=EXCLUSIVE"
ENVS
"PADDLE_DIST_UT_PORT=
${
dist_ut_port
}
+20"
PADDLE_BINARY_DIR=
${
PADDLE_BINARY_DIR
}
)
endif
()
endif
(
NOT APPLE
)
endif
()
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录