Skip to content

Add full_offers option to Compute.get_offers()#4060

Open
un-def wants to merge 1 commit into
masterfrom
pr_full_offers
Open

Add full_offers option to Compute.get_offers()#4060
un-def wants to merge 1 commit into
masterfrom
pr_full_offers

Conversation

@un-def

@un-def un-def commented Jul 22, 2026

Copy link
Copy Markdown
Collaborator

When set to True, instructs the Compute not to adjust offers by requirements. Ignored by all backends except for Kubernetes and Slurm, which return full allocatable node resources if True or a purely synthetic offer reflecting resources that would be actually requested if False (the old/current default behavior).

Exposed as full_offers request body argument in HTTP API and --full-offers flag in dstack apply/dstack offer commands.

When set to `True`, instructs the Compute not to adjust offers by
requirements. Ignored by all backends except for Kubernetes and Slurm,
which return full allocatable node resources if `True` or a purely
synthetic offer reflecting resources that would be actually requested
if `False` (the old/current default behavior).

Exposed as `full_offers` request body argument in HTTP API and
`--full-offers` flag in `dstack apply`/`dstack offer` commands.
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