-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor prediction step to eliminate multiprocessing
Previously, multiprocessing was utilized in the prediction step, resulting in increased memory consumption proportional to the number of worker processes. By refactoring the code to replace multiprocessing with a simple for loop, memory usage has been significantly reduced. This change not only enhances efficiency by eliminating the overhead of virtual memory but also accelerates runtime performance.
- Loading branch information
Showing
2 changed files
with
8 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters