Closed osma closed 1 year ago
Base: 99.58% // Head: 99.58% // Increases project coverage by +0.00%
:tada:
Coverage data is based on head (
36c79c0
) compared to base (63af34c
). Patch coverage: 100.00% of modified lines in pull request are covered.
:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.
Successfully tested parallel training of NN ensemble with this PR branch on a MacBook with an M1 processor (arm architecture) by @holehan, according to this report. Thanks a lot!
Rebased on current master
(with black & isort reformatting), fixed up and force-pushed.
Kudos, SonarCloud Quality Gate passed!
0 Bugs
0 Vulnerabilities
0 Security Hotspots
0 Code Smells
No Coverage information
0.0% Duplication
Tested parallel processing in this PR branch using Windows 10 (Intel Core i5-8250U processor). Succesfully trained an nn-ensemble model, ran into no problems related to PR.
This (draft) PR attempts to add support for the
spawn
multiprocessing mode. This is the only mode supported on Windows, and the default mode on Mac OS. Thefork
mode, supported on Linux and some other *nix systems, is more efficient because it allows loading models only once and then reusing them in forked child processes, with most of the memory shared between the processes. Butspawn
mode is still better than not being able to perform multiprocessing at all.This PR needs more testing, ideally on both Mac OS and Windows. Currently there is just a single unit test that exercises parallel evaluation using the
spawn
mode.Fixes #637