Skip to content

Commit

Permalink
add r7a instance types (#4448)
Browse files Browse the repository at this point in the history
  • Loading branch information
Feroze Mohideen authored Mar 26, 2024
1 parent e07c606 commit d6fa63b
Show file tree
Hide file tree
Showing 2 changed files with 81 additions and 0 deletions.
72 changes: 72 additions & 0 deletions dashboard/src/lib/clusters/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -336,6 +336,78 @@ const SUPPORTED_AWS_MACHINE_TYPES: ClientMachineType[] = [
cpuCores: 128,
ramMegabytes: 1048576,
},
{
name: "r7a.large",
displayName: "r7a.large",
supportedRegions: SUPPORTED_AWS_REGIONS.map((r) => r.name),
isGPU: false,
cpuCores: 2,
ramMegabytes: 16384,
},
{
name: "r7a.xlarge",
displayName: "r7a.xlarge",
supportedRegions: SUPPORTED_AWS_REGIONS.map((r) => r.name),
isGPU: false,
cpuCores: 4,
ramMegabytes: 32768,
},
{
name: "r7a.2xlarge",
displayName: "r7a.2xlarge",
supportedRegions: SUPPORTED_AWS_REGIONS.map((r) => r.name),
isGPU: false,
cpuCores: 8,
ramMegabytes: 65536,
},
{
name: "r7a.4xlarge",
displayName: "r7a.4xlarge",
supportedRegions: SUPPORTED_AWS_REGIONS.map((r) => r.name),
isGPU: false,
cpuCores: 16,
ramMegabytes: 131072,
},
{
name: "r7a.8xlarge",
displayName: "r7a.8xlarge",
supportedRegions: SUPPORTED_AWS_REGIONS.map((r) => r.name),
isGPU: false,
cpuCores: 32,
ramMegabytes: 262144,
},
{
name: "r7a.12xlarge",
displayName: "r7a.12xlarge",
supportedRegions: SUPPORTED_AWS_REGIONS.map((r) => r.name),
isGPU: false,
cpuCores: 48,
ramMegabytes: 393216,
},
{
name: "r7a.16xlarge",
displayName: "r7a.16xlarge",
supportedRegions: SUPPORTED_AWS_REGIONS.map((r) => r.name),
isGPU: false,
cpuCores: 64,
ramMegabytes: 524288,
},
{
name: "r7a.24xlarge",
displayName: "r7a.24xlarge",
supportedRegions: SUPPORTED_AWS_REGIONS.map((r) => r.name),
isGPU: false,
cpuCores: 96,
ramMegabytes: 786432,
},
{
name: "r7a.32xlarge",
displayName: "r7a.32xlarge",
supportedRegions: SUPPORTED_AWS_REGIONS.map((r) => r.name),
isGPU: false,
cpuCores: 128,
ramMegabytes: 1048576,
},
{
name: "m5n.large",
displayName: "m5n.large",
Expand Down
9 changes: 9 additions & 0 deletions dashboard/src/lib/clusters/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,15 @@ const awsMachineTypeValidator = z.enum([
"r6i.16xlarge",
"r6i.24xlarge",
"r6i.32xlarge",
"r7a.large",
"r7a.xlarge",
"r7a.2xlarge",
"r7a.4xlarge",
"r7a.8xlarge",
"r7a.12xlarge",
"r7a.16xlarge",
"r7a.24xlarge",
"r7a.32xlarge",
"m5n.large",
"m5n.xlarge",
"m5n.2xlarge",
Expand Down

0 comments on commit d6fa63b

Please sign in to comment.