We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1f47e2b commit c50d578Copy full SHA for c50d578
1 file changed
src/dstack/_internal/server/background/tasks/process_submitted_jobs.py
@@ -442,7 +442,9 @@ def _find_optimal_fleet_with_offers(
442
return None, []
443
444
nodes_required_num = _get_nodes_required_num_for_run(run_spec)
445
-
+ # The current strategy is to first consider fleets that can accommodate
446
+ # the run without additional provisioning and choose the one with the cheapest offer.
447
+ # Fallback to fleet with the cheapest offer among all fleets.
448
candidate_fleets_with_offers: list[
449
tuple[
450
Optional[FleetModel],
0 commit comments