Skip to content

Commit

Permalink
[AN-3] Remove any mention of K80 GPUs as they are no longer supported (
Browse files Browse the repository at this point in the history
  • Loading branch information
LizBaldo authored Nov 13, 2024
1 parent 048788c commit 6925aa1
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 66 deletions.
2 changes: 0 additions & 2 deletions src/analysis/utils/cost-utils.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,12 +65,10 @@ jest.mock('src/analysis/utils/gce-machines', () => {
preemptibleN1HourlyCpuPrice: 0.006655,
t4HourlyPrice: 0.35,
p4HourlyPrice: 0.6,
k80HourlyPrice: 0.45,
v100HourlyPrice: 2.48,
p100HourlyPrice: 1.46,
preemptibleT4HourlyPrice: 0.11,
preemptibleP4HourlyPrice: 0.216,
preemptibleK80HourlyPrice: 0.0375,
preemptibleV100HourlyPrice: 0.74,
preemptibleP100HourlyPrice: 0.43,
},
Expand Down
70 changes: 9 additions & 61 deletions src/analysis/utils/gce-machines.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,6 @@ export const gpuTypes = [
{ name: 'NVIDIA Tesla T4', type: 'nvidia-tesla-t4', numGpus: 1, maxNumCpus: 24, maxMem: 156 },
{ name: 'NVIDIA Tesla T4', type: 'nvidia-tesla-t4', numGpus: 2, maxNumCpus: 48, maxMem: 312 },
{ name: 'NVIDIA Tesla T4', type: 'nvidia-tesla-t4', numGpus: 4, maxNumCpus: 96, maxMem: 624 },
{ name: 'NVIDIA Tesla K80', type: 'nvidia-tesla-k80', numGpus: 1, maxNumCpus: 8, maxMem: 52 },
{ name: 'NVIDIA Tesla K80', type: 'nvidia-tesla-k80', numGpus: 2, maxNumCpus: 16, maxMem: 104 },
{ name: 'NVIDIA Tesla K80', type: 'nvidia-tesla-k80', numGpus: 4, maxNumCpus: 32, maxMem: 208 },
{ name: 'NVIDIA Tesla K80', type: 'nvidia-tesla-k80', numGpus: 8, maxNumCpus: 64, maxMem: 208 },
{ name: 'NVIDIA Tesla P4', type: 'nvidia-tesla-p4', numGpus: 1, maxNumCpus: 24, maxMem: 156 },
{ name: 'NVIDIA Tesla P4', type: 'nvidia-tesla-p4', numGpus: 2, maxNumCpus: 48, maxMem: 312 },
{ name: 'NVIDIA Tesla P4', type: 'nvidia-tesla-p4', numGpus: 4, maxNumCpus: 96, maxMem: 624 },
Expand All @@ -72,8 +68,8 @@ export const gpuTypes = [
];

export const zonesToGpus = [
{ name: 'ASIA-EAST1-A', validTypes: ['nvidia-tesla-t4', 'nvidia-tesla-p100', 'nvidia-tesla-k80'] },
{ name: 'ASIA-EAST1-B', validTypes: ['nvidia-tesla-k80'] },
{ name: 'ASIA-EAST1-A', validTypes: ['nvidia-tesla-t4', 'nvidia-tesla-p100'] },
{ name: 'ASIA-EAST1-B', validTypes: [] },
{ name: 'ASIA-EAST1-C', validTypes: ['nvidia-tesla-t4', 'nvidia-tesla-v100', 'nvidia-tesla-p100'] },
{ name: 'ASIA-EAST2-A', validTypes: [] },
{ name: 'ASIA-EAST2-B', validTypes: [] },
Expand Down Expand Up @@ -102,9 +98,9 @@ export const zonesToGpus = [
{ name: 'EUROPE-NORTH1-A', validTypes: [] },
{ name: 'EUROPE-NORTH1-B', validTypes: [] },
{ name: 'EUROPE-NORTH1-C', validTypes: [] },
{ name: 'EUROPE-WEST1-B', validTypes: ['nvidia-tesla-t4', 'nvidia-tesla-p100', 'nvidia-tesla-k80'] },
{ name: 'EUROPE-WEST1-B', validTypes: ['nvidia-tesla-t4', 'nvidia-tesla-p100'] },
{ name: 'EUROPE-WEST1-C', validTypes: ['nvidia-tesla-t4'] },
{ name: 'EUROPE-WEST1-D', validTypes: ['nvidia-tesla-t4', 'nvidia-tesla-p100', 'nvidia-tesla-k80'] },
{ name: 'EUROPE-WEST1-D', validTypes: ['nvidia-tesla-t4', 'nvidia-tesla-p100'] },
{ name: 'EUROPE-WEST2-A', validTypes: ['nvidia-tesla-t4'] },
{ name: 'EUROPE-WEST2-B', validTypes: ['nvidia-tesla-t4'] },
{ name: 'EUROPE-WEST2-C', validTypes: [] },
Expand All @@ -125,22 +121,22 @@ export const zonesToGpus = [
{ name: 'SOUTHAMERICA-EAST1-C', validTypes: ['nvidia-tesla-t4'] },
{
name: 'US-CENTRAL1-A',
validTypes: ['nvidia-tesla-t4', 'nvidia-tesla-v100', 'nvidia-tesla-p4', 'nvidia-tesla-k80'],
validTypes: ['nvidia-tesla-t4', 'nvidia-tesla-v100', 'nvidia-tesla-p4'],
},
{ name: 'US-CENTRAL1-B', validTypes: ['nvidia-tesla-t4', 'nvidia-tesla-v100'] },
{
name: 'US-CENTRAL1-C',
validTypes: ['nvidia-tesla-v100', 'nvidia-tesla-p100', 'nvidia-tesla-p4', 'nvidia-tesla-k80'],
validTypes: ['nvidia-tesla-v100', 'nvidia-tesla-p100', 'nvidia-tesla-p4'],
},
{ name: 'US-CENTRAL1-F', validTypes: ['nvidia-tesla-t4', 'nvidia-tesla-v100', 'nvidia-tesla-p100'] },
{ name: 'US-EAST1-B', validTypes: ['nvidia-tesla-p100'] },
{ name: 'US-EAST1-C', validTypes: ['nvidia-tesla-t4', 'nvidia-tesla-v100', 'nvidia-tesla-p100', 'nvidia-tesla-k80'] },
{ name: 'US-EAST1-D', validTypes: ['nvidia-tesla-t4', 'nvidia-tesla-k80'] },
{ name: 'US-EAST1-C', validTypes: ['nvidia-tesla-t4', 'nvidia-tesla-v100', 'nvidia-tesla-p100'] },
{ name: 'US-EAST1-D', validTypes: ['nvidia-tesla-t4'] },
{ name: 'US-EAST4-A', validTypes: ['nvidia-tesla-p4'] },
{ name: 'US-EAST4-B', validTypes: ['nvidia-tesla-t4', 'nvidia-tesla-p4'] },
{ name: 'US-EAST4-C', validTypes: ['nvidia-tesla-p4'] },
{ name: 'US-WEST1-A', validTypes: ['nvidia-tesla-t4', 'nvidia-tesla-v100', 'nvidia-tesla-p100'] },
{ name: 'US-WEST1-B', validTypes: ['nvidia-tesla-t4', 'nvidia-tesla-v100', 'nvidia-tesla-p100', 'nvidia-tesla-k80'] },
{ name: 'US-WEST1-B', validTypes: ['nvidia-tesla-t4', 'nvidia-tesla-v100', 'nvidia-tesla-p100'] },
{ name: 'US-WEST1-C', validTypes: [] },
{ name: 'US-WEST2-A', validTypes: [] },
{ name: 'US-WEST2-B', validTypes: ['nvidia-tesla-t4', 'nvidia-tesla-p4'] },
Expand Down Expand Up @@ -186,12 +182,10 @@ export const regionToPrices = [
preemptibleN1HourlyCpuPrice: 0.00732,
t4HourlyPrice: 0.35,
p4HourlyPrice: NaN,
k80HourlyPrice: 0.49,
v100HourlyPrice: 2.48,
p100HourlyPrice: 1.6,
preemptibleT4HourlyPrice: 0.069841,
preemptibleP4HourlyPrice: NaN,
preemptibleK80HourlyPrice: 0.135,
preemptibleV100HourlyPrice: 0.74,
preemptibleP100HourlyPrice: 0.43,
},
Expand All @@ -206,12 +200,10 @@ export const regionToPrices = [
preemptibleN1HourlyCpuPrice: 0.004433,
t4HourlyPrice: NaN,
p4HourlyPrice: NaN,
k80HourlyPrice: NaN,
v100HourlyPrice: NaN,
p100HourlyPrice: NaN,
preemptibleT4HourlyPrice: NaN,
preemptibleP4HourlyPrice: NaN,
preemptibleK80HourlyPrice: NaN,
preemptibleV100HourlyPrice: NaN,
preemptibleP100HourlyPrice: NaN,
},
Expand All @@ -226,12 +218,10 @@ export const regionToPrices = [
preemptibleN1HourlyCpuPrice: 0.00883,
t4HourlyPrice: 0.37,
p4HourlyPrice: NaN,
k80HourlyPrice: NaN,
v100HourlyPrice: NaN,
p100HourlyPrice: NaN,
preemptibleT4HourlyPrice: 0.069841,
preemptibleP4HourlyPrice: NaN,
preemptibleK80HourlyPrice: NaN,
preemptibleV100HourlyPrice: NaN,
preemptibleP100HourlyPrice: NaN,
},
Expand All @@ -246,12 +236,10 @@ export const regionToPrices = [
preemptibleN1HourlyCpuPrice: 0.00883,
t4HourlyPrice: 0.37,
p4HourlyPrice: 0.65,
k80HourlyPrice: 0.0,
v100HourlyPrice: 0.0,
p100HourlyPrice: 1.6,
preemptibleT4HourlyPrice: 0.11,
preemptibleP4HourlyPrice: 0.216,
preemptibleK80HourlyPrice: 0.135,
preemptibleV100HourlyPrice: 0.74,
preemptibleP100HourlyPrice: 0.43,
},
Expand All @@ -266,12 +254,10 @@ export const regionToPrices = [
preemptibleN1HourlyCpuPrice: 0.00883,
t4HourlyPrice: 0.37,
p4HourlyPrice: 0.65,
k80HourlyPrice: 0.0,
v100HourlyPrice: 0.0,
p100HourlyPrice: 1.6,
preemptibleT4HourlyPrice: 0.11,
preemptibleP4HourlyPrice: 0.216,
preemptibleK80HourlyPrice: 0.135,
preemptibleV100HourlyPrice: 0.74,
preemptibleP100HourlyPrice: 0.43,
},
Expand All @@ -286,12 +272,10 @@ export const regionToPrices = [
preemptibleN1HourlyCpuPrice: 0.006655,
t4HourlyPrice: 0.41,
p4HourlyPrice: NaN,
k80HourlyPrice: NaN,
v100HourlyPrice: NaN,
p100HourlyPrice: NaN,
preemptibleT4HourlyPrice: 0.11,
preemptibleP4HourlyPrice: NaN,
preemptibleK80HourlyPrice: NaN,
preemptibleV100HourlyPrice: NaN,
preemptibleP100HourlyPrice: NaN,
},
Expand All @@ -306,12 +290,10 @@ export const regionToPrices = [
preemptibleN1HourlyCpuPrice: 0.0078,
t4HourlyPrice: 0.37,
p4HourlyPrice: 0.65,
k80HourlyPrice: NaN,
v100HourlyPrice: NaN,
p100HourlyPrice: NaN,
preemptibleT4HourlyPrice: 0.11,
preemptibleP4HourlyPrice: 0.072,
preemptibleK80HourlyPrice: NaN,
preemptibleV100HourlyPrice: NaN,
preemptibleP100HourlyPrice: NaN,
},
Expand All @@ -326,12 +308,10 @@ export const regionToPrices = [
preemptibleN1HourlyCpuPrice: 0.008502,
t4HourlyPrice: 0.4033,
p4HourlyPrice: 0.7085,
k80HourlyPrice: 0.5559,
v100HourlyPrice: 0.0,
p100HourlyPrice: 1.744,
preemptibleT4HourlyPrice: 0.1199,
preemptibleP4HourlyPrice: 0.23544,
preemptibleK80HourlyPrice: 0.14715,
preemptibleV100HourlyPrice: 0.8066,
preemptibleP100HourlyPrice: 0.4687,
},
Expand All @@ -346,12 +326,10 @@ export const regionToPrices = [
preemptibleN1HourlyCpuPrice: 0.00898,
t4HourlyPrice: 0.44,
p4HourlyPrice: 0.65,
k80HourlyPrice: NaN,
v100HourlyPrice: NaN,
p100HourlyPrice: 1.6,
preemptibleT4HourlyPrice: 0.069841,
preemptibleP4HourlyPrice: 0.216,
preemptibleK80HourlyPrice: NaN,
preemptibleV100HourlyPrice: NaN,
preemptibleP100HourlyPrice: 0.43,
},
Expand All @@ -366,12 +344,10 @@ export const regionToPrices = [
preemptibleN1HourlyCpuPrice: 0.00732,
t4HourlyPrice: NaN,
p4HourlyPrice: NaN,
k80HourlyPrice: NaN,
v100HourlyPrice: NaN,
p100HourlyPrice: NaN,
preemptibleT4HourlyPrice: NaN,
preemptibleP4HourlyPrice: NaN,
preemptibleK80HourlyPrice: NaN,
preemptibleV100HourlyPrice: NaN,
preemptibleP100HourlyPrice: NaN,
},
Expand All @@ -386,12 +362,10 @@ export const regionToPrices = [
preemptibleN1HourlyCpuPrice: 0.007321,
t4HourlyPrice: 0.35,
p4HourlyPrice: NaN,
k80HourlyPrice: 0.49,
v100HourlyPrice: NaN,
p100HourlyPrice: 1.6,
preemptibleT4HourlyPrice: 0.11,
preemptibleP4HourlyPrice: NaN,
preemptibleK80HourlyPrice: 0.0375,
preemptibleV100HourlyPrice: NaN,
preemptibleP100HourlyPrice: 0.43,
},
Expand All @@ -406,12 +380,10 @@ export const regionToPrices = [
preemptibleN1HourlyCpuPrice: 0.00815,
t4HourlyPrice: 0.41,
p4HourlyPrice: NaN,
k80HourlyPrice: NaN,
v100HourlyPrice: NaN,
p100HourlyPrice: NaN,
preemptibleT4HourlyPrice: 0.069841,
preemptibleP4HourlyPrice: NaN,
preemptibleK80HourlyPrice: NaN,
preemptibleV100HourlyPrice: NaN,
preemptibleP100HourlyPrice: NaN,
},
Expand All @@ -426,12 +398,10 @@ export const regionToPrices = [
preemptibleN1HourlyCpuPrice: 0.00815,
t4HourlyPrice: 0.41,
p4HourlyPrice: NaN,
k80HourlyPrice: NaN,
v100HourlyPrice: NaN,
p100HourlyPrice: NaN,
preemptibleT4HourlyPrice: 0.11,
preemptibleP4HourlyPrice: NaN,
preemptibleK80HourlyPrice: NaN,
preemptibleV100HourlyPrice: NaN,
preemptibleP100HourlyPrice: NaN,
},
Expand All @@ -446,12 +416,10 @@ export const regionToPrices = [
preemptibleN1HourlyCpuPrice: 0.007325,
t4HourlyPrice: 0.35,
p4HourlyPrice: 0.65,
k80HourlyPrice: NaN,
v100HourlyPrice: 2.55,
p100HourlyPrice: 1.6,
preemptibleT4HourlyPrice: 0.11,
preemptibleP4HourlyPrice: 0.072,
preemptibleK80HourlyPrice: NaN,
preemptibleV100HourlyPrice: 0.74,
preemptibleP100HourlyPrice: 0.43,
},
Expand All @@ -466,12 +434,10 @@ export const regionToPrices = [
preemptibleN1HourlyCpuPrice: 0.009309,
t4HourlyPrice: 0.45,
p4HourlyPrice: 0.84,
k80HourlyPrice: 0.63,
v100HourlyPrice: 3.472,
p100HourlyPrice: 2.044,
preemptibleT4HourlyPrice: 0.11,
preemptibleP4HourlyPrice: 0.2808,
preemptibleK80HourlyPrice: 0.1755,
preemptibleV100HourlyPrice: 0.962,
preemptibleP100HourlyPrice: 0.559,
},
Expand All @@ -486,12 +452,10 @@ export const regionToPrices = [
preemptibleN1HourlyCpuPrice: 0.007325,
t4HourlyPrice: 0.385,
p4HourlyPrice: 0.65,
k80HourlyPrice: NaN,
v100HourlyPrice: 0.0,
p100HourlyPrice: NaN,
preemptibleT4HourlyPrice: NaN,
preemptibleP4HourlyPrice: 0.072,
preemptibleK80HourlyPrice: NaN,
preemptibleV100HourlyPrice: 0.74,
preemptibleP100HourlyPrice: NaN,
},
Expand All @@ -506,12 +470,10 @@ export const regionToPrices = [
preemptibleN1HourlyCpuPrice: 0.00478,
t4HourlyPrice: 0.48,
p4HourlyPrice: NaN,
k80HourlyPrice: NaN,
v100HourlyPrice: NaN,
p100HourlyPrice: NaN,
preemptibleT4HourlyPrice: 0.11,
preemptibleP4HourlyPrice: NaN,
preemptibleK80HourlyPrice: NaN,
preemptibleV100HourlyPrice: NaN,
preemptibleP100HourlyPrice: NaN,
},
Expand All @@ -526,12 +488,10 @@ export const regionToPrices = [
preemptibleN1HourlyCpuPrice: 0.006655,
t4HourlyPrice: 0.35,
p4HourlyPrice: 0.6,
k80HourlyPrice: 0.45,
v100HourlyPrice: 2.48,
p100HourlyPrice: 1.46,
preemptibleT4HourlyPrice: 0.11,
preemptibleP4HourlyPrice: 0.216,
preemptibleK80HourlyPrice: 0.0375,
preemptibleV100HourlyPrice: 0.74,
preemptibleP100HourlyPrice: 0.43,
},
Expand All @@ -546,12 +506,10 @@ export const regionToPrices = [
preemptibleN1HourlyCpuPrice: 0.006655,
t4HourlyPrice: 0.35,
p4HourlyPrice: 0.6,
k80HourlyPrice: 0.45,
v100HourlyPrice: 2.48,
p100HourlyPrice: 1.46,
preemptibleT4HourlyPrice: 0.11,
preemptibleP4HourlyPrice: 0.216,
preemptibleK80HourlyPrice: 0.0375,
preemptibleV100HourlyPrice: 0.74,
preemptibleP100HourlyPrice: 0.43,
},
Expand All @@ -566,12 +524,10 @@ export const regionToPrices = [
preemptibleN1HourlyCpuPrice: 0.00712085,
t4HourlyPrice: 0.35,
p4HourlyPrice: 0.6,
k80HourlyPrice: NaN,
v100HourlyPrice: NaN,
p100HourlyPrice: NaN,
preemptibleT4HourlyPrice: 0.11,
preemptibleP4HourlyPrice: 0.216,
preemptibleK80HourlyPrice: NaN,
preemptibleV100HourlyPrice: NaN,
preemptibleP100HourlyPrice: NaN,
},
Expand All @@ -586,12 +542,10 @@ export const regionToPrices = [
preemptibleN1HourlyCpuPrice: 0.006655,
t4HourlyPrice: 0.35,
p4HourlyPrice: 0.6,
k80HourlyPrice: 0.45,
v100HourlyPrice: 2.48,
p100HourlyPrice: 1.46,
preemptibleT4HourlyPrice: 0.11,
preemptibleP4HourlyPrice: 0.216,
preemptibleK80HourlyPrice: 0.0375,
preemptibleV100HourlyPrice: 0.74,
preemptibleP100HourlyPrice: 0.43,
},
Expand All @@ -606,12 +560,10 @@ export const regionToPrices = [
preemptibleN1HourlyCpuPrice: 0.007986,
t4HourlyPrice: 0.41,
p4HourlyPrice: 0.72,
k80HourlyPrice: 0.54,
v100HourlyPrice: NaN,
p100HourlyPrice: NaN,
preemptibleT4HourlyPrice: 0.11,
preemptibleP4HourlyPrice: 0.2592,
preemptibleK80HourlyPrice: 0.162,
preemptibleV100HourlyPrice: NaN,
preemptibleP100HourlyPrice: NaN,
},
Expand All @@ -626,12 +578,10 @@ export const regionToPrices = [
preemptibleN1HourlyCpuPrice: 0.007986,
t4HourlyPrice: 0.41,
p4HourlyPrice: 0.72,
k80HourlyPrice: 0.54,
v100HourlyPrice: 2.976,
p100HourlyPrice: 1.752,
preemptibleT4HourlyPrice: 0.11,
preemptibleP4HourlyPrice: 0.2592,
preemptibleK80HourlyPrice: 0.162,
preemptibleV100HourlyPrice: 0.888,
preemptibleP100HourlyPrice: 0.516,
},
Expand All @@ -646,12 +596,10 @@ export const regionToPrices = [
preemptibleN1HourlyCpuPrice: 0.003391,
t4HourlyPrice: 0.37,
p4HourlyPrice: 0.6,
k80HourlyPrice: 0.48,
v100HourlyPrice: 2.48,
p100HourlyPrice: 1.46,
preemptibleT4HourlyPrice: 0.069841,
preemptibleP4HourlyPrice: 0.216,
preemptibleK80HourlyPrice: 0.135,
preemptibleV100HourlyPrice: 0.74,
preemptibleP100HourlyPrice: 0.43,
},
Expand Down
2 changes: 0 additions & 2 deletions src/analysis/utils/runtime-utils.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,10 @@ jest.mock('src/analysis/utils/gce-machines', () => {
preemptibleN1HourlyCpuPrice: 0.006655,
t4HourlyPrice: 0.35,
p4HourlyPrice: 0.6,
k80HourlyPrice: 0.45,
v100HourlyPrice: 2.48,
p100HourlyPrice: 1.46,
preemptibleT4HourlyPrice: 0.11,
preemptibleP4HourlyPrice: 0.216,
preemptibleK80HourlyPrice: 0.0375,
preemptibleV100HourlyPrice: 0.74,
preemptibleP100HourlyPrice: 0.43,
},
Expand Down
Loading

0 comments on commit 6925aa1

Please sign in to comment.