adaptdl
adaptdl copied to clipboard
what does _get_cluster_sizes function mean
when I read adaptdl_sched source code, I meat the _get_cluster_sizes function , I guess this function help for optimize the cluster resource utilization ratio. But I can not understand how it work,can anyone explain for me.
thank you very much indeed
Thanks for the inquiry! It simply calculates the size of the cluster each individual solution in the genetic algorithm uses. If cluster auto-scaling is enabled, the policy will check for the best individual solution that's in the range of acceptable cluster sizes.