1// Copyright 2023 Google LLC 2// 3// Licensed under the Apache License, Version 2.0 (the "License"); 4// you may not use this file except in compliance with the License. 5// You may obtain a copy of the License at 6// 7// http://www.apache.org/licenses/LICENSE-2.0 8// 9// Unless required by applicable law or agreed to in writing, software 10// distributed under the License is distributed on an "AS IS" BASIS, 11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12// See the License for the specific language governing permissions and 13// limitations under the License. 14 15syntax = "proto3"; 16 17package google.cloud.aiplatform.v1beta1; 18 19import "google/api/field_behavior.proto"; 20 21option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1"; 22option go_package = "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb;aiplatformpb"; 23option java_multiple_files = true; 24option java_outer_classname = "ManualBatchTuningParametersProto"; 25option java_package = "com.google.cloud.aiplatform.v1beta1"; 26option php_namespace = "Google\\Cloud\\AIPlatform\\V1beta1"; 27option ruby_package = "Google::Cloud::AIPlatform::V1beta1"; 28 29// Manual batch tuning parameters. 30message ManualBatchTuningParameters { 31 // Immutable. The number of the records (e.g. instances) of the operation 32 // given in each batch to a machine replica. Machine type, and size of a 33 // single record should be considered when setting this parameter, higher 34 // value speeds up the batch operation's execution, but too high value will 35 // result in a whole batch not fitting in a machine's memory, and the whole 36 // operation will fail. 37 // The default value is 64. 38 int32 batch_size = 1 [(google.api.field_behavior) = IMMUTABLE]; 39} 40