File tree Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Expand file tree Collapse file tree 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.
1515 max_replicas : <int> # maximum number of replicas (default: 100)
1616 init_replicas : <int> # initial number of replicas (default: <min_replicas>)
1717 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 )
1919 gpu : <string> # gpu request per replica (default: 0)
2020 mem : <string> # memory request per replica (default: Null)
2121` ` `
Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ Train TensorFlow models at scale.
4141 throttle_secs : <int> # do not re-evaluate unless the last evaluation was started at least this many seconds ago (default: 600)
4242
4343 compute : # Resources for training and evaluations steps (TensorFlow)
44- cpu : <string> # CPU request (default: 200m )
44+ cpu : <string> # CPU request (default: 400m )
4545 mem : <string> # memory request (default: Null)
4646 gpu : <string> # GPU request (default: 0)
4747
Original file line number Diff line number Diff line change @@ -178,7 +178,7 @@ var tfComputeFieldValidation = &cr.StructFieldValidation{
178178 {
179179 StructField : "CPU" ,
180180 StringValidation : & cr.StringValidation {
181- Default : "200m " ,
181+ Default : "400m " ,
182182 },
183183 Parser : QuantityParser (& QuantityValidation {
184184 GreaterThan : k8sQuantityPtr (k8sresource .MustParse ("0" )),
@@ -269,7 +269,7 @@ var apiComputeFieldValidation = &cr.StructFieldValidation{
269269 {
270270 StructField : "CPU" ,
271271 StringValidation : & cr.StringValidation {
272- Default : "200m " ,
272+ Default : "400m " ,
273273 },
274274 Parser : QuantityParser (& QuantityValidation {
275275 GreaterThan : k8sQuantityPtr (k8sresource .MustParse ("0" )),
Original file line number Diff line number Diff line change @@ -522,7 +522,7 @@ func APIsBaseURL() (string, error) {
522522func APIPodComputeID (containers []corev1.Container ) string {
523523 cpu , mem , gpu := APIPodCompute (containers )
524524 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
526526 }
527527 podAPICompute := userconfig.APICompute {
528528 CPU : * cpu ,
You can’t perform that action at this time.
0 commit comments