Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix for Incorrect ex_iterable used with multi num_worker (#6582)
Corrects an issue where `self._ex_iterable` was erroneously used instead of `ex_iterable`, when both Distributed Data Parallel (DDP) and multi num_worker are used concurrently. This improper usage led to the generation of incorrect `shards_indices`, subsequently causing issues with the control flow responsible for worker creation. The fix ensures the appropriate iterable is used, thus providing a more accurate determination of whether a new worker should be instantiated or not.
- Loading branch information