Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The function `nproc()` uses `os.sched_getaffinity()`, which is not available on every OS. It now uses `multiprocessing.cpu_count()` as fall-back.
- Loading branch information