Repository navigation
[Nebius] Add opt-in capacity advisor - #4430
Merged
Merged
Conversation
peterschmidt85
marked this pull request as ready for review
October 29, 2026 08:16
Contributor
Author
|
Made capacity advisor opt-in via Enabling it shows quota/availability statuses and applies advice to provisioning and fabric selection, with a 10-minute advice cache. The PR body now includes an AWS latency comparison with the option disabled and enabled. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Nebius GPU offers currently report
unknownavailability, so users cannot see quota or capacity restrictions and dstack may attempt configurations that cannot be provisioned.Add opt-in checks through
capacity_advisor: trueto show these statuses and guide provisioning and fabric selection. The option defaults tofalsebecause checking adds latency and requires caching quota and capacity data.Match advice by region, platform, preset, spot mode and fabric. Catalog fabric compatibility and configured allowlists remain enforced in both modes. Missing, stale or failed advice stays
unknownand eligible.Notes
unknown, since tenant-wide advice does not check project reservation limits. Spot offers use only preemptible advice.Getting offers
Local backend-collection medians on November 5, with pricing already loaded; 3 cold/new-backend runs and 9 refreshes. Cold ranges are in parentheses. AWS: 11 regions / 2,049 offers. Nebius: 9 regions / 169 offers. HTTP overhead is excluded.
capacity_advisor: trueThe shared-cache row uses Factory's cache-injection pattern. Nebius still performs tenant/project discovery for each new backend. AWS checks quotas and zones, without querying live free capacity for ordinary offers.