Skip to content

Commit

Permalink
set reuse_dist_env to False
Browse files Browse the repository at this point in the history
  • Loading branch information
tohtana committed Oct 12, 2024
1 parent c3f7b44 commit c6768e3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/unit/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,7 @@ def _launch_daemonic_procs(self, num_procs):
# Currently we see memory leak for tests that reuse distributed environment
print("Ignoring reuse_dist_env and forcibly setting it to False")
warn_reuse_dist_env = True
self.reuse_dist_env = False

if self.reuse_dist_env:
if num_procs not in self._pool_cache:
Expand Down

0 comments on commit c6768e3

Please sign in to comment.