beam-cloud / beta9

The open-source serverless GPU container runtime.
https://docs.beta9.beam.cloud
GNU Affero General Public License v3.0
297 stars 12 forks source link

Don't allow workers to be created with zero gpu count in gpu pools #341

Closed luke-lombardi closed 3 days ago

luke-lombardi commented 3 days ago

This fixes an edge case with pool sizing where if the default gpu count is set to zero, but free gpu count is set > 0.

This change ensures if you're resizing a pool with a GPU type set, that you never request workers without any GPUs.