Skip to content

Commit

Permalink
fix fleet dist infer ut
Browse files Browse the repository at this point in the history
Change-Id: Id9ce0410b5976b18c72a957af017923f655ed494
  • Loading branch information
seiriosPlus committed May 26, 2021
1 parent c7aabfb commit 6c943a4
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions python/paddle/fluid/tests/unittests/test_dist_fleet_geo.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,9 @@ def check_with_place(self,
"PYTHONPATH": os.getenv("PYTHONPATH", ""),
"LD_LIBRARY_PATH": os.getenv("LD_LIBRARY_PATH", ""),
"FLAGS_rpc_deadline": "5000", # 5sec to fail fast
"http_proxy": ""
"http_proxy": "",
"LOG_DIRNAME": "/tmp",
"LOG_PREFIX": self.__class__.__name__,
}

required_envs.update(need_envs)
Expand All @@ -55,7 +57,7 @@ def check_with_place(self,

def test_dist_train(self):
self.check_with_place(
"dist_fleet_ctr.py", delta=1e-5, check_error_log=True)
"dist_fleet_ctr.py", delta=1e-5, check_error_log=False)


class TestGeoSgdTranspiler(unittest.TestCase):
Expand Down

1 comment on commit 6c943a4

@paddle-bot-old
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Congratulation! Your pull request passed all required CI. You could ask reviewer(s) to approve and merge. 🎉

Please sign in to comment.