Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Explicity set n_workers for LocalCluster creation (through Client). If this is not set, for machines with a high CPU count, the number of workers will be much larger than 7. In `client.scatter` with `broadcast=True`, this can cause hangs due to how dask distributed works. It's presumed that this bug is only apparent in more recent runs on machines with high CPU counts, although that is not confirmed. But, this fix does allow the example to run to completion on a machine with CPU_COUNT=128.
- Loading branch information