未验证 提交 d5455b22 编写于 作者: Y Yu Yang 提交者: GitHub

Merge pull request #13445 from gongweibao/fixtransformer

Fix transformer random failed
...@@ -61,9 +61,7 @@ class TestDistTransformer2x2Sync(TestDistBase): ...@@ -61,9 +61,7 @@ class TestDistTransformer2x2Sync(TestDistBase):
def test_transformer(self): def test_transformer(self):
download_files() download_files()
#Note: loss on test dataset of the first 5 batch are: self.check_with_place("dist_transformer.py", delta=1e-5)
# 10.518872, 10.518871, 10.518868, 10.518862, 10.518855
self.check_with_place("dist_transformer.py", delta=1e-7)
class TestDistTransformer2x2Async(TestDistBase): class TestDistTransformer2x2Async(TestDistBase):
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册