Skip to content

Commit 9a0948d

Browse files
authored
Support new AWS CPU series (#2693)
1 parent da53166 commit 9a0948d

1 file changed

Lines changed: 11 additions & 6 deletions

File tree

src/dstack/_internal/core/backends/aws/compute.py

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -826,18 +826,23 @@ def _get_regions_to_zones(session: boto3.Session, regions: List[str]) -> Dict[st
826826

827827
def _supported_instances(offer: InstanceOffer) -> bool:
828828
for family in [
829+
"m7i.",
830+
"c7i.",
831+
"r7i.",
832+
"t3.",
829833
"t2.small",
830834
"c5.",
831835
"m5.",
832-
"g4dn.",
833-
"g5.",
836+
"p5.",
837+
"p5e.",
838+
"p4d.",
839+
"p4de.",
840+
"p3.",
834841
"g6.",
835842
"g6e.",
836843
"gr6.",
837-
"p3.",
838-
"p4d.",
839-
"p4de.",
840-
"p5.",
844+
"g5.",
845+
"g4dn.",
841846
]:
842847
if offer.instance.name.startswith(family):
843848
return True

0 commit comments

Comments
 (0)