Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions src/dstack/_internal/core/backends/nebius/resources.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
DiskServiceClient,
DiskSpec,
ExistingDisk,
FollowsSpotPriceSpec,
GetInstanceRequest,
GpuClusterServiceClient,
GpuClusterSpec,
Expand Down Expand Up @@ -386,6 +387,9 @@ def create_instance(
if pricing_policy_id is not None
else None
),
follows_spot_price=(
FollowsSpotPriceSpec() if preemptible and pricing_policy_id is None else None
),
),
)
with wrap_capacity_errors():
Expand Down
Loading