Skip to content

OCI: offer the H100, H200, L40S, A100-v2, B200, B300 and RTX PRO shapes - #4302

Open
fede-kamel wants to merge 1 commit into
dstackai:masterfrom
fede-kamel:fix-oci-gpu-shapes
Open

fede-kamel wants to merge 1 commit into
dstackai:masterfrom
fede-kamel:fix-oci-gpu-shapes

Conversation

@fede-kamel

Copy link
Copy Markdown

Closes #4301.

SUPPORTED_SHAPE_FAMILIES in the OCI backend still lists only the GPU shapes that existed when Bare Metal support landed (#1325): GPU3, GPU4, A10. Every newer NVIDIA shape from the gpuhunt catalog was filtered out by _supported_instances, so dstack apply could never select an OCI H100, H200, L40S, A100-v2, B200, B300 or RTX PRO 6000 even with quota. #2343 asked for H100; its blocker (Fabric Manager, #2348) was fixed in #2355 and the images now install open kernel modules and Fabric Manager.

This adds those families (all x86-64 hosts with NVIDIA GPUs, which is what the published dstack-cuda-* Marketplace images run). Deliberately still excluded, with the reason recorded next to the list and in tests: AMD Instinct shapes (no ROCm image is published, and create_instance always picks the CUDA image) and Grace GB200/GB300 shapes (arm64 hosts; the images are x86-64 only). It also documents why SUPPORTED_REGIONS is fixed: the Marketplace listings carrying the images are regional (verified: dstack-cuda-0.14 present in us-chicago-1, absent in ca-toronto-1), so widening requires publishing images first.

The catalog side is in dstackai/gpuhunt (dstackai/gpuhunt#262). Without it, this change already affects H100, H200, L40S and A100-v2, which the catalog carries today; B300 and RTX PRO 6000 appear once the gpuhunt change is merged and the hourly catalog republishes. Checked with dstack's pinned gpuhunt 0.1.30 that the new catalog rows convert through catalog_item_to_offer without error.

Tests: new src/tests/_internal/core/backends/oci/test_compute.py (13 supported / 10 unsupported shapes); OCI backend suite 43 passed, whole backends suite 473 passed; ruff clean.

`SUPPORTED_SHAPE_FAMILIES` in the OCI backend still listed only the GPU
shapes that existed when Bare Metal support was added (dstackai#1325): GPU3, GPU4
and A10. Every newer NVIDIA shape from the gpuhunt catalog was filtered
out by `_supported_instances`, so `dstack apply` could never select an
OCI H100, H200, L40S, A100-v2, B200, B300 or RTX PRO 6000 instance even
with quota in place. dstackai#2343 asked for H100 and was closed as not a
priority; the only real blocker at the time, Fabric Manager in the OS
images (dstackai#2348), was fixed in dstackai#2355, and the images now install the open
kernel modules and Fabric Manager for the whole CUDA driver line.

Add those families. They are all x86-64 hosts with NVIDIA GPUs, which is
what the published `dstack-cuda-*` Marketplace images run.

Two groups of GPU shapes from the catalog are intentionally still left
out, with the reason recorded next to the list so it is not mistaken for
an omission:

* BM.GPU.MI300X.8 and BM.GPU.MI355X.8 (AMD Instinct): dstack publishes no
  ROCm image in OCI Marketplace, and `create_instance` picks the CUDA image
  for every GPU offer.
* BM.GPU.GB200.4 and BM.GPU.GB300.4 (Grace superchips): arm64 hosts, and
  the OCI images are x86-64 only.

Also document why `SUPPORTED_REGIONS` is a fixed set of seven regions:
the Marketplace community listings that carry the dstack images are
regional, and those are the regions they are published in (verified:
the `dstack-cuda-0.14` listing is visible in us-chicago-1 and absent in
ca-toronto-1). Widening the set requires publishing the images first.

Note that the catalog side needs dstackai/gpuhunt to collect the newer
shapes; without that, this change only affects H100, H200, L40S and
A100-v2, which the catalog already carries.
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.

OCI: H100/H200/L40S/A100-v2/B200/B300/RTX PRO shapes are filtered out of offers

1 participant