(self, pool, num_procs, force=False)
| 372 | dist.destroy_process_group() |
| 373 | |
| 374 | def _close_pool(self, pool, num_procs, force=False): |
| 375 | if force or not self.reuse_dist_env: |
| 376 | pool.starmap(self._dist_destroy, [() for _ in range(num_procs)]) |
| 377 | pool.close() |
| 378 | pool.join() |
| 379 | |
| 380 | |
| 381 | class DistributedFixture(DistributedExec): |