Skip to content

Support OCI spot instances - #2337

Merged
jvstme merged 2 commits into
masterfrom
issue_1375_oci_spot_offers
Feb 24, 2025
Merged

Support OCI spot instances#2337
jvstme merged 2 commits into
masterfrom
issue_1375_oci_spot_offers

Conversation

@jvstme

@jvstme jvstme commented Feb 20, 2025

Copy link
Copy Markdown
Collaborator

Migrate to v2 gpuhunt catalogs and enable the oci-spot flag to see OCI spot offers. The actual support for provisioning spot instances was implemented earlier in #1401.

Closes #1375

Migrate to v2 `gpuhunt` catalogs and enable the
`oci-spot` flag to see OCI spot offers. The actual
support for provisioning spot instances was
implemented earlier.
Spot capacity does not always match the capacity
returned in OCI capacity reports, so handle out of
capacity errors gracefully. OCI returns these
errors with the `InternalError` code, so we'll
need to rely on error messages to detect them.
@jvstme
jvstme marked this pull request as ready for review February 21, 2025 19:10
@jvstme
jvstme requested a review from un-def February 21, 2025 19:11
@jvstme
jvstme merged commit 0ef84b9 into master Feb 24, 2025
@jvstme
jvstme deleted the issue_1375_oci_spot_offers branch February 24, 2025 10:03
pranitnaik43 pushed a commit to bahaal-tech/dstack that referenced this pull request Mar 5, 2025
Migrate to v2 `gpuhunt` catalogs and enable the
`oci-spot` flag to see OCI spot offers. The actual
support for provisioning spot instances was
implemented earlier.

Also handle out of capacity errors.
Spot capacity does not always match the capacity
returned in OCI capacity reports, so handle out of
capacity errors gracefully. OCI returns these
errors with the `InternalError` code, so we'll
need to rely on error messages to detect them.
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]: OCI spot instances

2 participants