File tree 4 files changed +5
-5
lines changed 4 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ Serve models at scale.
15
15
max_replicas : <int> # maximum number of replicas (default: 100)
16
16
init_replicas : <int> # initial number of replicas (default: <min_replicas>)
17
17
target_cpu_utilization : <int> # CPU utilization threshold (as a percentage) to trigger scaling (default: 80)
18
- cpu : <string> # CPU request per replica (default: 200m )
18
+ cpu : <string> # CPU request per replica (default: 400m )
19
19
gpu : <string> # gpu request per replica (default: 0)
20
20
mem : <string> # memory request per replica (default: Null)
21
21
` ` `
Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ Train TensorFlow models at scale.
41
41
throttle_secs : <int> # do not re-evaluate unless the last evaluation was started at least this many seconds ago (default: 600)
42
42
43
43
compute : # Resources for training and evaluations steps (TensorFlow)
44
- cpu : <string> # CPU request (default: 200m )
44
+ cpu : <string> # CPU request (default: 400m )
45
45
mem : <string> # memory request (default: Null)
46
46
gpu : <string> # GPU request (default: 0)
47
47
Original file line number Diff line number Diff line change @@ -178,7 +178,7 @@ var tfComputeFieldValidation = &cr.StructFieldValidation{
178
178
{
179
179
StructField : "CPU" ,
180
180
StringValidation : & cr.StringValidation {
181
- Default : "200m " ,
181
+ Default : "400m " ,
182
182
},
183
183
Parser : QuantityParser (& QuantityValidation {
184
184
GreaterThan : k8sQuantityPtr (k8sresource .MustParse ("0" )),
@@ -269,7 +269,7 @@ var apiComputeFieldValidation = &cr.StructFieldValidation{
269
269
{
270
270
StructField : "CPU" ,
271
271
StringValidation : & cr.StringValidation {
272
- Default : "200m " ,
272
+ Default : "400m " ,
273
273
},
274
274
Parser : QuantityParser (& QuantityValidation {
275
275
GreaterThan : k8sQuantityPtr (k8sresource .MustParse ("0" )),
Original file line number Diff line number Diff line change @@ -522,7 +522,7 @@ func APIsBaseURL() (string, error) {
522
522
func APIPodComputeID (containers []corev1.Container ) string {
523
523
cpu , mem , gpu := APIPodCompute (containers )
524
524
if cpu == nil {
525
- cpu = & userconfig.Quantity {} // unexpected, since the default is 200m and 0 is disallowed
525
+ cpu = & userconfig.Quantity {} // unexpected, since 0 is disallowed
526
526
}
527
527
podAPICompute := userconfig.APICompute {
528
528
CPU : * cpu ,
You can’t perform that action at this time.
0 commit comments