@@ -4514,7 +4514,7 @@ def run(
45144514 training_filter_split : Optional [str ] = None ,
45154515 validation_filter_split : Optional [str ] = None ,
45164516 test_filter_split : Optional [str ] = None ,
4517- budget_milli_node_hours : int = 1000 ,
4517+ budget_milli_node_hours : Optional [ int ] = None ,
45184518 model_display_name : Optional [str ] = None ,
45194519 model_labels : Optional [Dict [str , str ]] = None ,
45204520 disable_early_stopping : bool = False ,
@@ -4580,18 +4580,26 @@ def run(
45804580 single DataItem is matched by more than one of the FilterSplit filters,
45814581 then it is assigned to the first set that applies to it in the training,
45824582 validation, test order. This is ignored if Dataset is not provided.
4583- budget_milli_node_hours: int = 1000
4583+ budget_milli_node_hours ( int):
45844584 Optional. The train budget of creating this Model, expressed in milli node
45854585 hours i.e. 1,000 value in this field means 1 node hour.
4586+
4587+ Defaults by `prediction_type`:
4588+
4589+ `classification` - For Cloud models the budget must be: 8,000 - 800,000
4590+ milli node hours (inclusive). The default value is 192,000 which
4591+ represents one day in wall time, assuming 8 nodes are used.
4592+ `object_detection` - For Cloud models the budget must be: 20,000 - 900,000
4593+ milli node hours (inclusive). The default value is 216,000 which represents
4594+ one day in wall time, assuming 9 nodes are used.
4595+
45864596 The training cost of the model will not exceed this budget. The final
45874597 cost will be attempted to be close to the budget, though may end up
45884598 being (even) noticeably smaller - at the backend's discretion. This
45894599 especially may happen when further model training ceases to provide
4590- any improvements.
4591- If the budget is set to a value known to be insufficient to train a
4592- Model for the given training set, the training won't be attempted and
4600+ any improvements. If the budget is set to a value known to be insufficient to
4601+ train a Model for the given training set, the training won't be attempted and
45934602 will error.
4594- The minimum value is 1000 and the maximum is 72000.
45954603 model_display_name (str):
45964604 Optional. The display name of the managed Vertex AI Model. The name
45974605 can be up to 128 characters long and can be consist of any UTF-8
0 commit comments