Skip to content

Auto select GPU node - #184

Open
mariodruiz wants to merge 5 commits into
AMDResearch:developfrom
mariodruiz:feat/auto-selection-resources
Open

Auto select GPU node#184
mariodruiz wants to merge 5 commits into
AMDResearch:developfrom
mariodruiz:feat/auto-selection-resources

Conversation

@mariodruiz

Copy link
Copy Markdown
Contributor

Summary

Add a new box in the UI when there are more than one GPU node type. This box allows to select the GPU node automatically

image

Changes

Testing

In Dublin

Checklist

  • Code follows project style guidelines
  • Changes are backward compatible
  • Tested on local Kubernetes cluster
  • Documentation links updated

  Let users skip manual GPU selection by choosing Auto (Best Available),
  which queries K8s node availability at spawn time and picks the
  accelerator with the most free GPUs (cheapest quota rate as tiebreaker).

  Backend: move _configure_spawner from options_from_form into start() so
  the async K8s query can resolve auto before pod configuration. Add
  _resolve_auto_accelerator with graceful fallback to cheapest rate.

  Frontend: synthesize an Auto radio option when a resource has 2+
  accelerators. Show quota cost as a range and check affordability against
  the worst-case rate.
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

Successfully merging this pull request may close these issues.

1 participant