[UI] Make Launch to respect resources in templates #3642
Open
peterschmidt85 wants to merge 2 commits intomasterfrom
Open
[UI] Make Launch to respect resources in templates #3642peterschmidt85 wants to merge 2 commits intomasterfrom
Launch to respect resources in templates #3642peterschmidt85 wants to merge 2 commits intomasterfrom
Conversation
added 2 commits
March 9, 2026 13:21
Allow GPU-enabled launches to proceed without selecting a specific offer by preserving template GPU settings or defaulting to `resources.gpu: 1..`, and improve Resources filtering/error handling and description copy. Made-with: Cursor
Align the Launch form ide union with currently supported IDE options in UI by removing the unused `coder` variant. Made-with: Cursor
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.
Summary
Launch now reads template
configuration.resourceswhen a template is selected.gpu_name,gpu_count,gpu_memory,backends,spot_policy).GPU offer selection is now optional.
resources.gpu: \"1..\"in generated YAML.resources.gpu: 0.Fixed Offers range parsing that produced invalid requests.
1..,..4,24GB..,40GB..80GB).GB-qualified input and no longer coerce invalid forms.Offers request failures are now visible in UI.
Updated GPU toggle description copy to match the new flow.
Require GPU for this run.Choose a specific GPU offer, or let dstack select it automatically.