EnSpec/hytools

Question - Ray parallelization

Closed this issue · 3 comments

Hello

I am experimenting with running hytools image corrections on our cluster and noticed that while it states running on 4 CPUs, most of the time the processes is rather sequential or low CPU usage? There are short periods where the number of CPUs selected (4) are used concurrently, but a lot of other times they are not?

Screen Shot 2022-03-09 at 2 35 32 PM

Screen Shot 2022-03-09 at 2 37 37 PM

Is this normal? It looks like the parallelization is running images on a CPU correct? Such that it would not help to have more CPUs availible than images?

Also FYI - here is a repo we are developing for running hytools jobs on our cluster. Still very much a WIP

https://github.com/TESTgroup-BNL/hytools_helpers

OK thanks @oldmanye007