Repository navigation
Add Vast.ai min_inet_down backend option - #4521
Merged
jvstme merged 2 commits intoNov 24, 2026
Merged
Conversation
Closes dstackai#4518 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Reword field docs to match what the code does - Drop redundant test
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.
Closes #4518.
The Vast.ai backend filtered offers at a hard-coded
inet_down > 128Mbit/s, which admits hosts too slow for workloads that download large weights on start. This adds amin_inet_downoption, in Mbit/s, next tomin_reliabilityandmin_score:VastAIProfileOptions.min_inet_downsets the offer search filter toinet_down >= min_inet_down. Unset keeps the current> 128filter, nowVASTAI_DEFAULT_MIN_INET_DOWN. Combining options takes the maximum, likemin_reliabilityandmin_score.min_inet_downfrom requests when it is unset, so they keep working with older servers. The excludes coverbackend_optionsin run and fleet profiles and configurations, and inrequirementsof job specs sent withcurrent_resource.get_profile_excludesnow returns a dict, to carry the nested excludes.#SCHEMA#include.Tests cover the combine behavior, the filter passed to
VastAIProviderwith and without the option, and the excludes for run specs, job specs and fleet specs.🤖 Generated with Claude Code