Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
BaiXuePrincess
Paddle
提交
3c334179
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看板
提交
3c334179
编写于
12月 19, 2019
作者:
S
silingtong123
提交者:
liuwei1031
12月 19, 2019
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
modify the method of skipping CI in distributed unittests (#21764)
上级
fb067fa4
变更
7
隐藏空白更改
内联
并排
Showing
7 changed file
with
6 addition
and
83 deletion
+6
-83
python/paddle/fluid/tests/unittests/test_dist_ctr.py
python/paddle/fluid/tests/unittests/test_dist_ctr.py
+1
-12
python/paddle/fluid/tests/unittests/test_dist_fleet_ctr.py
python/paddle/fluid/tests/unittests/test_dist_fleet_ctr.py
+0
-11
python/paddle/fluid/tests/unittests/test_dist_fleet_geo.py
python/paddle/fluid/tests/unittests/test_dist_fleet_geo.py
+0
-11
python/paddle/fluid/tests/unittests/test_dist_se_resnext_async.py
...addle/fluid/tests/unittests/test_dist_se_resnext_async.py
+1
-12
python/paddle/fluid/tests/unittests/test_dist_se_resnext_dgc.py
.../paddle/fluid/tests/unittests/test_dist_se_resnext_dgc.py
+1
-12
python/paddle/fluid/tests/unittests/test_dist_se_resnext_nccl.py
...paddle/fluid/tests/unittests/test_dist_se_resnext_nccl.py
+2
-13
python/paddle/fluid/tests/unittests/test_dist_se_resnext_sync.py
...paddle/fluid/tests/unittests/test_dist_se_resnext_sync.py
+1
-12
未找到文件。
python/paddle/fluid/tests/unittests/test_dist_ctr.py
浏览文件 @
3c334179
...
...
@@ -22,17 +22,6 @@ import os
flag_name
=
os
.
path
.
splitext
(
__file__
)[
0
]
def
skip_ci
(
func
):
on_ci
=
bool
(
int
(
os
.
environ
.
get
(
"SKIP_UNSTABLE_CI"
,
'0'
)))
def
__func__
(
*
args
,
**
kwargs
):
if
on_ci
:
return
return
func
(
*
args
,
**
kwargs
)
return
__func__
class
TestDistCTR2x2
(
TestDistBase
):
def
_setup_config
(
self
):
self
.
_sync_mode
=
True
...
...
@@ -43,7 +32,7 @@ class TestDistCTR2x2(TestDistBase):
"dist_ctr.py"
,
delta
=
1e-2
,
check_error_log
=
True
,
log_name
=
flag_name
)
@
skip_ci
@
unittest
.
skip
(
reason
=
"Skip unstable ci"
)
class
TestDistCTRWithL2Decay2x2
(
TestDistBase
):
def
_setup_config
(
self
):
self
.
_sync_mode
=
True
...
...
python/paddle/fluid/tests/unittests/test_dist_fleet_ctr.py
浏览文件 @
3c334179
...
...
@@ -19,17 +19,6 @@ import unittest
from
test_dist_fleet_base
import
TestFleetBase
def
skip_ci
(
func
):
on_ci
=
bool
(
int
(
os
.
environ
.
get
(
"SKIP_UNSTABLE_CI"
,
'0'
)))
def
__func__
(
*
args
,
**
kwargs
):
if
on_ci
:
return
return
func
(
*
args
,
**
kwargs
)
return
__func__
class
TestDistMnist2x2
(
TestFleetBase
):
def
_setup_config
(
self
):
self
.
_sync_mode
=
False
...
...
python/paddle/fluid/tests/unittests/test_dist_fleet_geo.py
浏览文件 @
3c334179
...
...
@@ -24,17 +24,6 @@ from test_dist_fleet_base import TestFleetBase
from
dist_simnet_bow
import
train_network
def
skip_ci
(
func
):
on_ci
=
bool
(
int
(
os
.
environ
.
get
(
"SKIP_UNSTABLE_CI"
,
'0'
)))
def
__func__
(
*
args
,
**
kwargs
):
if
on_ci
:
return
return
func
(
*
args
,
**
kwargs
)
return
__func__
class
TestDistGeoCtr_2x2
(
TestFleetBase
):
def
_setup_config
(
self
):
self
.
_sync_mode
=
False
...
...
python/paddle/fluid/tests/unittests/test_dist_se_resnext_async.py
浏览文件 @
3c334179
...
...
@@ -20,23 +20,12 @@ import os
flag_name
=
os
.
path
.
splitext
(
__file__
)[
0
]
def
skip_ci
(
func
):
on_ci
=
bool
(
int
(
os
.
environ
.
get
(
"SKIP_UNSTABLE_CI"
,
'0'
)))
def
__func__
(
*
args
,
**
kwargs
):
if
on_ci
:
return
return
func
(
*
args
,
**
kwargs
)
return
__func__
class
TestDistSeResneXt2x2Async
(
TestDistBase
):
def
_setup_config
(
self
):
self
.
_sync_mode
=
False
self
.
_use_reader_alloc
=
False
@
skip_ci
@
unittest
.
skip
(
reason
=
"Skip unstable ci"
)
def
test_dist_train
(
self
):
self
.
check_with_place
(
"dist_se_resnext.py"
,
...
...
python/paddle/fluid/tests/unittests/test_dist_se_resnext_dgc.py
浏览文件 @
3c334179
...
...
@@ -21,17 +21,6 @@ import os
flag_name
=
os
.
path
.
splitext
(
__file__
)[
0
]
def
skip_ci
(
func
):
on_ci
=
bool
(
int
(
os
.
environ
.
get
(
"SKIP_UNSTABLE_CI"
,
'0'
)))
def
__func__
(
*
args
,
**
kwargs
):
if
on_ci
:
return
return
func
(
*
args
,
**
kwargs
)
return
__func__
class
TestDistSeResnetNCCL2DGC
(
TestDistBase
):
def
_setup_config
(
self
):
self
.
_sync_mode
=
True
...
...
@@ -40,7 +29,7 @@ class TestDistSeResnetNCCL2DGC(TestDistBase):
self
.
_nccl2_mode
=
True
self
.
_use_dgc
=
True
@
skip_ci
@
unittest
.
skip
(
reason
=
"Skip unstable ci"
)
def
test_dist_train
(
self
):
import
paddle.fluid
as
fluid
if
fluid
.
core
.
is_compiled_with_cuda
():
...
...
python/paddle/fluid/tests/unittests/test_dist_se_resnext_nccl.py
浏览文件 @
3c334179
...
...
@@ -21,24 +21,13 @@ import os
flag_name
=
os
.
path
.
splitext
(
__file__
)[
0
]
def
skip_ci
(
func
):
on_ci
=
bool
(
int
(
os
.
environ
.
get
(
"SKIP_UNSTABLE_CI"
,
'0'
)))
def
__func__
(
*
args
,
**
kwargs
):
if
on_ci
:
return
return
func
(
*
args
,
**
kwargs
)
return
__func__
class
TestDistSeResneXtNCCL
(
TestDistBase
):
def
_setup_config
(
self
):
self
.
_sync_mode
=
True
self
.
_use_reader_alloc
=
False
self
.
_nccl2_mode
=
True
@
skip_ci
@
unittest
.
skip
(
reason
=
"Skip unstable ci"
)
def
test_dist_train
(
self
):
import
paddle.fluid
as
fluid
if
fluid
.
core
.
is_compiled_with_cuda
():
...
...
@@ -56,7 +45,7 @@ class TestDistSeResneXtNCCLMP(TestDistBase):
self
.
_nccl2_mode
=
True
self
.
_mp_mode
=
True
@
skip_ci
@
unittest
.
skip
(
reason
=
"Skip unstable ci"
)
def
test_dist_train
(
self
):
import
paddle.fluid
as
fluid
if
fluid
.
core
.
is_compiled_with_cuda
():
...
...
python/paddle/fluid/tests/unittests/test_dist_se_resnext_sync.py
浏览文件 @
3c334179
...
...
@@ -21,23 +21,12 @@ import os
flag_name
=
os
.
path
.
splitext
(
__file__
)[
0
]
def
skip_ci
(
func
):
on_ci
=
bool
(
int
(
os
.
environ
.
get
(
"SKIP_UNSTABLE_CI"
,
'0'
)))
def
__func__
(
*
args
,
**
kwargs
):
if
on_ci
:
return
return
func
(
*
args
,
**
kwargs
)
return
__func__
class
TestDistSeResneXt2x2
(
TestDistBase
):
def
_setup_config
(
self
):
self
.
_sync_mode
=
True
self
.
_use_reader_alloc
=
False
@
skip_ci
@
unittest
.
skip
(
reason
=
"Skip unstable ci"
)
def
test_dist_train
(
self
):
self
.
check_with_place
(
"dist_se_resnext.py"
,
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录