Skip to content

Commit 49bc3b9

Browse files
authored
fix(aiplatform): Update NVIDIA_TESLA_K80 to NVIDIA_TESLA_T4 (GoogleCloudPlatform#9342)
1 parent aa6d755 commit 49bc3b9

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

aiplatform/src/main/java/aiplatform/CreateBatchPredictionJobSample.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ static void createBatchPredictionJobSample(
9191
MachineSpec machineSpec =
9292
MachineSpec.newBuilder()
9393
.setMachineType("n1-standard-2")
94-
.setAcceleratorType(AcceleratorType.NVIDIA_TESLA_K80)
94+
.setAcceleratorType(AcceleratorType.NVIDIA_TESLA_T4)
9595
.setAcceleratorCount(1)
9696
.build();
9797
BatchDedicatedResources dedicatedResources =

aiplatform/src/main/java/aiplatform/CreateCustomJobSample.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ static void createCustomJobSample(String project, String displayName, String con
5959
MachineSpec machineSpec =
6060
MachineSpec.newBuilder()
6161
.setMachineType("n1-standard-4")
62-
.setAcceleratorType(AcceleratorType.NVIDIA_TESLA_K80)
62+
.setAcceleratorType(AcceleratorType.NVIDIA_TESLA_T4)
6363
.setAcceleratorCount(1)
6464
.build();
6565

aiplatform/src/main/java/aiplatform/CreateHyperparameterTuningJobPythonPackageSample.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ static void createHyperparameterTuningJobPythonPackageSample(
127127
MachineSpec machineSpec =
128128
MachineSpec.newBuilder()
129129
.setMachineType("n1-standard-4")
130-
.setAcceleratorType(AcceleratorType.NVIDIA_TESLA_K80)
130+
.setAcceleratorType(AcceleratorType.NVIDIA_TESLA_T4)
131131
.setAcceleratorCount(1)
132132
.build();
133133

aiplatform/src/main/java/aiplatform/CreateHyperparameterTuningJobSample.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ static void createHyperparameterTuningJobSample(
7272
MachineSpec machineSpec =
7373
MachineSpec.newBuilder()
7474
.setMachineType("n1-standard-4")
75-
.setAcceleratorType(AcceleratorType.NVIDIA_TESLA_K80)
75+
.setAcceleratorType(AcceleratorType.NVIDIA_TESLA_T4)
7676
.setAcceleratorCount(1)
7777
.build();
7878
ContainerSpec containerSpec =

0 commit comments

Comments
 (0)