Skip to content

Add Vast.ai-specific profile options#3909

Merged
jvstme merged 2 commits into
masterfrom
issue_3898_vastai_profile_options
May 27, 2026
Merged

Add Vast.ai-specific profile options#3909
jvstme merged 2 commits into
masterfrom
issue_3898_vastai_profile_options

Conversation

@jvstme
Copy link
Copy Markdown
Collaborator

@jvstme jvstme commented May 26, 2026

  • Support setting backend-specific options in profiles, run and fleet configurations. These options are only applied to offers from the respective backends, and ignored for other offers.
  • Add the following options for the vastai backend:
    • offer_order - Controls the order in which offers are considered for provisioning. Use score to prioritize the highest overall score first (the default order in the Vast.ai console), or price to prioritize the lowest-cost offers first. Lower-cost offers are often less reliable, so consider applying stricter filters when using price. Defaults to score.
    • min_reliability - The minimum reliability threshold for offers, on a scale from 0 to 1. Defaults to 0.9.
    • min_score - The minimum overall score required for offers to be considered. The scoring scale varies and may require experimentation. Starting with a value in the low hundreds is generally recommended.

Example:

type: dev-environment
backend_options:
- type: vastai
  offer_order: price
  min_reliability: 0.97
  min_score: 250

Closes #3898

Before merging:

- Support setting backend-specific options in
  profiles, run and fleet configurations. These
  options are only applied to offers from the
  respective backends, and ignored for other
  offers.
- Add the following options for the `vastai`
  backend:
  - `offer_order` - Controls the order in which
    offers are considered for provisioning. Use
    `score` to prioritize the highest overall
    score first (the default order in the Vast.ai
    console), or `price` to prioritize the
    lowest-cost offers first. Lower-cost offers
    are often less reliable, so consider applying
    stricter filters when using `price`. Defaults
    to `score`.
  - `min_reliability` - The minimum reliability
    threshold for offers, on a scale from `0` to
    `1`. Defaults to `0.9`.
  - `min_score` - The minimum overall score
    required for offers to be considered. The
    scoring scale varies and may require
    experimentation. Starting with a value in the
    low hundreds is generally recommended.

Example:

```yaml
type: dev-environment
backend_options:
- type: vastai
  offer_order: price
  min_reliability: 0.97
  min_score: 250
```
@jvstme jvstme requested a review from r4victor May 26, 2026 22:33
@jvstme jvstme merged commit bb510dc into master May 27, 2026
25 checks passed
@jvstme jvstme deleted the issue_3898_vastai_profile_options branch May 27, 2026 08:24
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.

[Feature]: Vast.ai offer sorting and filtering options

2 participants