Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
PaddlePaddle
Paddle
提交
83c4f772
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看板
体验新版 GitCode,发现更多精彩内容 >>
未验证
提交
83c4f772
编写于
5月 05, 2019
作者:
W
wopeizl
提交者:
GitHub
5月 05, 2019
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
use two GPUs to run the exclusive test test=develop (#17187)
上级
8092c405
变更
5
显示空白变更内容
内联
并排
Showing
5 changed file
with
9 addition
and
10 deletion
+9
-10
paddle/fluid/inference/api/CMakeLists.txt
paddle/fluid/inference/api/CMakeLists.txt
+1
-1
paddle/fluid/inference/tests/book/CMakeLists.txt
paddle/fluid/inference/tests/book/CMakeLists.txt
+2
-2
paddle/fluid/train/CMakeLists.txt
paddle/fluid/train/CMakeLists.txt
+1
-1
python/paddle/fluid/tests/book/high-level-api/CMakeLists.txt
python/paddle/fluid/tests/book/high-level-api/CMakeLists.txt
+1
-1
python/paddle/fluid/tests/unittests/CMakeLists.txt
python/paddle/fluid/tests/unittests/CMakeLists.txt
+4
-5
未找到文件。
paddle/fluid/inference/api/CMakeLists.txt
浏览文件 @
83c4f772
...
...
@@ -56,7 +56,7 @@ if(WITH_TESTING)
inference_base_test
(
test_api_impl SRCS api_impl_tester.cc DEPS
${
inference_deps
}
ARGS --word2vec_dirname=
${
WORD2VEC_MODEL_DIR
}
--book_dirname=
${
PYTHON_TESTS_DIR
}
/book
)
set_tests_properties
(
test_api_impl PROPERTIES DEPENDS test_image_classification
)
set_tests_properties
(
test_api_impl PROPERTIES LABELS
"RUN_TYPE=
EXCLUSIVE
"
)
set_tests_properties
(
test_api_impl PROPERTIES LABELS
"RUN_TYPE=
DIST
"
)
endif
()
cc_test
(
test_analysis_predictor SRCS analysis_predictor_tester.cc DEPS analysis_predictor benchmark
${
inference_deps
}
ARGS --dirname=
${
WORD2VEC_MODEL_DIR
}
)
...
...
paddle/fluid/inference/tests/book/CMakeLists.txt
浏览文件 @
83c4f772
...
...
@@ -21,7 +21,7 @@ function(inference_test TARGET_NAME)
set_tests_properties
(
test_inference_
${
TARGET_NAME
}${
arg
}
PROPERTIES DEPENDS test_
${
TARGET_NAME
}
)
set_tests_properties
(
test_inference_
${
TARGET_NAME
}${
arg
}
PROPERTIES LABELS
"RUN_TYPE=
EXCLUSIVE
"
)
PROPERTIES LABELS
"RUN_TYPE=
DIST
"
)
endforeach
()
endfunction
(
inference_test
)
...
...
@@ -47,4 +47,4 @@ cc_test(test_inference_nlp
DEPS paddle_fluid_origin
ARGS
--model_path=
${
PADDLE_BINARY_DIR
}
/python/paddle/fluid/tests/book/recognize_digits_mlp.inference.model
)
set_tests_properties
(
test_inference_nlp PROPERTIES LABELS
"RUN_TYPE=
EXCLUSIVE
"
)
set_tests_properties
(
test_inference_nlp PROPERTIES LABELS
"RUN_TYPE=
DIST
"
)
paddle/fluid/train/CMakeLists.txt
浏览文件 @
83c4f772
...
...
@@ -21,7 +21,7 @@ function(train_test TARGET_NAME)
set_tests_properties
(
test_train_
${
TARGET_NAME
}${
arg
}
PROPERTIES DEPENDS test_
${
TARGET_NAME
}
)
set_tests_properties
(
test_train_
${
TARGET_NAME
}${
arg
}
PROPERTIES LABELS
"RUN_TYPE=
EXCLUSIVE
"
)
PROPERTIES LABELS
"RUN_TYPE=
DIST
"
)
endforeach
()
endfunction
(
train_test
)
...
...
python/paddle/fluid/tests/book/high-level-api/CMakeLists.txt
浏览文件 @
83c4f772
...
...
@@ -23,7 +23,7 @@ else()
message
(
WARNING
"These tests has been disabled in OSX for random fail:
\n
"
${
src
}
)
elseif
()
py_test
(
${
src
}
SRCS
${
src
}
.py
)
set_tests_properties
(
${
src
}
PROPERTIES LABELS
"RUN_TYPE=
EXCLUSIVE
"
)
set_tests_properties
(
${
src
}
PROPERTIES LABELS
"RUN_TYPE=
DIST
"
)
endif
()
endforeach
()
endif
()
python/paddle/fluid/tests/unittests/CMakeLists.txt
浏览文件 @
83c4f772
...
...
@@ -178,10 +178,9 @@ endif()
if
(
WITH_DISTRIBUTE
)
set_tests_properties
(
test_listen_and_serv_op test_nce_remote_table_op test_hsigmoid_remote_table_op
PROPERTIES LABELS
"RUN_TYPE=
EXCLUSIVE
"
)
PROPERTIES LABELS
"RUN_TYPE=
DIST
"
)
endif
()
set_tests_properties
(
test_weight_decay test_conv_shift_op test_alloc_continuous_space_op test_recordio_reader
test_parallel_executor_test_while_train test_adam_op_multi_thread test_parallel_executor_mnist
test_parallel_executor_seresnext test_parallel_executor_crf test_nearest_interp_op
PROPERTIES LABELS
"RUN_TYPE=EXCLUSIVE"
)
set_tests_properties
(
test_recordio_reader test_parallel_executor_test_while_train test_parallel_executor_mnist
test_parallel_executor_seresnext test_parallel_executor_crf
PROPERTIES LABELS
"RUN_TYPE=DIST"
)
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录