-
Notifications
You must be signed in to change notification settings - Fork 51
n_jobs doesn't seem to be taken into account by TuneSearchCV #257
Comments
Looking at the code, we are trying to maintain full cluster resource utilization by dividing the number of all CPUs in a cluster by n_jobs and using that as the number of CPUs to use. Honestly, we are probably trying to be too clever here, and this should be handled by a different system altogether. Will add that to the backlog. As a workaround, try running |
Hi @Yard1 On further digging, I tried out the following scenarios and came across these observations
Conclusions and questions: B) What could be the reason for the non-repeatable results when using ray in parallel_backend? Can it be addressed? Thanks |
@Yard1 |
Hello,
I have passed a value equal to the physical cores on my computer = 14 to n_jobs when calling TuneSearchCV as against the total cpu_count of 20 which includes virtual cpus as per the parameters below (truncated for brevity):
However, it seems to ignore this and requests > 14 cpus when executing as shown below:
Has anyone come across this? Or am I doing something wrong?
Please let me know if you need more info.
Regards
Narayan
The text was updated successfully, but these errors were encountered: