manual_batch_tuning_parameters.proto 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. // Copyright 2022 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. syntax = "proto3";
  15. package google.cloud.aiplatform.v1;
  16. import "google/api/field_behavior.proto";
  17. option csharp_namespace = "Google.Cloud.AIPlatform.V1";
  18. option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1;aiplatform";
  19. option java_multiple_files = true;
  20. option java_outer_classname = "ManualBatchTuningParametersProto";
  21. option java_package = "com.google.cloud.aiplatform.v1";
  22. option php_namespace = "Google\\Cloud\\AIPlatform\\V1";
  23. option ruby_package = "Google::Cloud::AIPlatform::V1";
  24. // Manual batch tuning parameters.
  25. message ManualBatchTuningParameters {
  26. // Immutable. The number of the records (e.g. instances) of the operation given in
  27. // each batch to a machine replica. Machine type, and size of a single
  28. // record should be considered when setting this parameter, higher value
  29. // speeds up the batch operation's execution, but too high value will result
  30. // in a whole batch not fitting in a machine's memory, and the whole
  31. // operation will fail.
  32. // The default value is 64.
  33. int32 batch_size = 1 [(google.api.field_behavior) = IMMUTABLE];
  34. }