Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

what does _get_cluster_sizes function mean #128

Open
tingshua-yts opened this issue Jul 26, 2022 · 1 comment
Open

what does _get_cluster_sizes function mean #128

tingshua-yts opened this issue Jul 26, 2022 · 1 comment

Comments

@tingshua-yts
Copy link

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

@aurickq
Copy link
Contributor

aurickq commented Aug 3, 2022

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants