Open Molkree opened 3 years ago
@Apoorvgarg-creator Thanks for sharing the Ray's references. Seems Ray may be more useful for complex projects or where one needs shared memory. In this case the task is to processing many files separately, so it may not matter that much. Dask is another similar library which has been popular in scientific computing. Currently I think the free Github Action instance has only 2 cores? so there might not be much speedup. Parallelization may work well in conjunction with a more powerful runner.
Currently, all workflows just walk over files/segments consequently, so we can parallelize it nicely. Look into multiprocessing module.