Google Cloud Native is in preview. Google Cloud Classic is fully supported.
google-native.ml/v1.Job
Explore with Pulumi AI
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Creates a training or a batch prediction job. Auto-naming is currently not supported for this resource. Note - this resource’s API doesn’t support deletion. When deleted, the resource will persist on Google Cloud even though it will be deleted from Pulumi state.
Create Job Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Job(name: string, args: JobArgs, opts?: CustomResourceOptions);
@overload
def Job(resource_name: str,
args: JobArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Job(resource_name: str,
opts: Optional[ResourceOptions] = None,
job_id: Optional[str] = None,
etag: Optional[str] = None,
labels: Optional[Mapping[str, str]] = None,
prediction_input: Optional[GoogleCloudMlV1__PredictionInputArgs] = None,
prediction_output: Optional[GoogleCloudMlV1__PredictionOutputArgs] = None,
project: Optional[str] = None,
training_input: Optional[GoogleCloudMlV1__TrainingInputArgs] = None,
training_output: Optional[GoogleCloudMlV1__TrainingOutputArgs] = None)
func NewJob(ctx *Context, name string, args JobArgs, opts ...ResourceOption) (*Job, error)
public Job(string name, JobArgs args, CustomResourceOptions? opts = null)
type: google-native:ml/v1:Job
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args JobArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args JobArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args JobArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args JobArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args JobArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var examplejobResourceResourceFromMlv1 = new GoogleNative.Ml.V1.Job("examplejobResourceResourceFromMlv1", new()
{
JobId = "string",
Etag = "string",
Labels =
{
{ "string", "string" },
},
PredictionInput = new GoogleNative.Ml.V1.Inputs.GoogleCloudMlV1__PredictionInputArgs
{
DataFormat = GoogleNative.Ml.V1.GoogleCloudMlV1__PredictionInputDataFormat.DataFormatUnspecified,
InputPaths = new[]
{
"string",
},
OutputPath = "string",
Region = "string",
BatchSize = "string",
MaxWorkerCount = "string",
ModelName = "string",
OutputDataFormat = GoogleNative.Ml.V1.GoogleCloudMlV1__PredictionInputOutputDataFormat.DataFormatUnspecified,
RuntimeVersion = "string",
SignatureName = "string",
Uri = "string",
VersionName = "string",
},
PredictionOutput = new GoogleNative.Ml.V1.Inputs.GoogleCloudMlV1__PredictionOutputArgs
{
ErrorCount = "string",
NodeHours = 0,
OutputPath = "string",
PredictionCount = "string",
},
Project = "string",
TrainingInput = new GoogleNative.Ml.V1.Inputs.GoogleCloudMlV1__TrainingInputArgs
{
PackageUris = new[]
{
"string",
},
ScaleTier = GoogleNative.Ml.V1.GoogleCloudMlV1__TrainingInputScaleTier.Basic,
Region = "string",
PythonModule = "string",
ParameterServerConfig = new GoogleNative.Ml.V1.Inputs.GoogleCloudMlV1__ReplicaConfigArgs
{
AcceleratorConfig = new GoogleNative.Ml.V1.Inputs.GoogleCloudMlV1__AcceleratorConfigArgs
{
Count = "string",
Type = GoogleNative.Ml.V1.GoogleCloudMlV1__AcceleratorConfigType.AcceleratorTypeUnspecified,
},
ContainerArgs = new[]
{
"string",
},
ContainerCommand = new[]
{
"string",
},
DiskConfig = new GoogleNative.Ml.V1.Inputs.GoogleCloudMlV1__DiskConfigArgs
{
BootDiskSizeGb = 0,
BootDiskType = "string",
},
ImageUri = "string",
TpuTfVersion = "string",
},
EvaluatorConfig = new GoogleNative.Ml.V1.Inputs.GoogleCloudMlV1__ReplicaConfigArgs
{
AcceleratorConfig = new GoogleNative.Ml.V1.Inputs.GoogleCloudMlV1__AcceleratorConfigArgs
{
Count = "string",
Type = GoogleNative.Ml.V1.GoogleCloudMlV1__AcceleratorConfigType.AcceleratorTypeUnspecified,
},
ContainerArgs = new[]
{
"string",
},
ContainerCommand = new[]
{
"string",
},
DiskConfig = new GoogleNative.Ml.V1.Inputs.GoogleCloudMlV1__DiskConfigArgs
{
BootDiskSizeGb = 0,
BootDiskType = "string",
},
ImageUri = "string",
TpuTfVersion = "string",
},
Hyperparameters = new GoogleNative.Ml.V1.Inputs.GoogleCloudMlV1__HyperparameterSpecArgs
{
Goal = GoogleNative.Ml.V1.GoogleCloudMlV1__HyperparameterSpecGoal.GoalTypeUnspecified,
Params = new[]
{
new GoogleNative.Ml.V1.Inputs.GoogleCloudMlV1__ParameterSpecArgs
{
ParameterName = "string",
Type = GoogleNative.Ml.V1.GoogleCloudMlV1__ParameterSpecType.ParameterTypeUnspecified,
CategoricalValues = new[]
{
"string",
},
DiscreteValues = new[]
{
0,
},
MaxValue = 0,
MinValue = 0,
ScaleType = GoogleNative.Ml.V1.GoogleCloudMlV1__ParameterSpecScaleType.None,
},
},
Algorithm = GoogleNative.Ml.V1.GoogleCloudMlV1__HyperparameterSpecAlgorithm.AlgorithmUnspecified,
EnableTrialEarlyStopping = false,
HyperparameterMetricTag = "string",
MaxFailedTrials = 0,
MaxParallelTrials = 0,
MaxTrials = 0,
ResumePreviousJobId = "string",
},
JobDir = "string",
MasterConfig = new GoogleNative.Ml.V1.Inputs.GoogleCloudMlV1__ReplicaConfigArgs
{
AcceleratorConfig = new GoogleNative.Ml.V1.Inputs.GoogleCloudMlV1__AcceleratorConfigArgs
{
Count = "string",
Type = GoogleNative.Ml.V1.GoogleCloudMlV1__AcceleratorConfigType.AcceleratorTypeUnspecified,
},
ContainerArgs = new[]
{
"string",
},
ContainerCommand = new[]
{
"string",
},
DiskConfig = new GoogleNative.Ml.V1.Inputs.GoogleCloudMlV1__DiskConfigArgs
{
BootDiskSizeGb = 0,
BootDiskType = "string",
},
ImageUri = "string",
TpuTfVersion = "string",
},
MasterType = "string",
Network = "string",
EvaluatorCount = "string",
Args = new[]
{
"string",
},
ParameterServerCount = "string",
ParameterServerType = "string",
EvaluatorType = "string",
PythonVersion = "string",
EncryptionConfig = new GoogleNative.Ml.V1.Inputs.GoogleCloudMlV1__EncryptionConfigArgs
{
KmsKeyName = "string",
},
RuntimeVersion = "string",
EnableWebAccess = false,
Scheduling = new GoogleNative.Ml.V1.Inputs.GoogleCloudMlV1__SchedulingArgs
{
MaxRunningTime = "string",
MaxWaitTime = "string",
Priority = 0,
},
ServiceAccount = "string",
UseChiefInTfConfig = false,
WorkerConfig = new GoogleNative.Ml.V1.Inputs.GoogleCloudMlV1__ReplicaConfigArgs
{
AcceleratorConfig = new GoogleNative.Ml.V1.Inputs.GoogleCloudMlV1__AcceleratorConfigArgs
{
Count = "string",
Type = GoogleNative.Ml.V1.GoogleCloudMlV1__AcceleratorConfigType.AcceleratorTypeUnspecified,
},
ContainerArgs = new[]
{
"string",
},
ContainerCommand = new[]
{
"string",
},
DiskConfig = new GoogleNative.Ml.V1.Inputs.GoogleCloudMlV1__DiskConfigArgs
{
BootDiskSizeGb = 0,
BootDiskType = "string",
},
ImageUri = "string",
TpuTfVersion = "string",
},
WorkerCount = "string",
WorkerType = "string",
},
TrainingOutput = new GoogleNative.Ml.V1.Inputs.GoogleCloudMlV1__TrainingOutputArgs
{
BuiltInAlgorithmOutput = new GoogleNative.Ml.V1.Inputs.GoogleCloudMlV1__BuiltInAlgorithmOutputArgs
{
Framework = "string",
ModelPath = "string",
PythonVersion = "string",
RuntimeVersion = "string",
},
CompletedTrialCount = "string",
ConsumedMLUnits = 0,
HyperparameterMetricTag = "string",
IsBuiltInAlgorithmJob = false,
IsHyperparameterTuningJob = false,
Trials = new[]
{
new GoogleNative.Ml.V1.Inputs.GoogleCloudMlV1__HyperparameterOutputArgs
{
AllMetrics = new[]
{
new GoogleNative.Ml.V1.Inputs.GoogleCloudMlV1_HyperparameterOutput_HyperparameterMetricArgs
{
ObjectiveValue = 0,
TrainingStep = "string",
},
},
BuiltInAlgorithmOutput = new GoogleNative.Ml.V1.Inputs.GoogleCloudMlV1__BuiltInAlgorithmOutputArgs
{
Framework = "string",
ModelPath = "string",
PythonVersion = "string",
RuntimeVersion = "string",
},
FinalMetric = new GoogleNative.Ml.V1.Inputs.GoogleCloudMlV1_HyperparameterOutput_HyperparameterMetricArgs
{
ObjectiveValue = 0,
TrainingStep = "string",
},
Hyperparameters =
{
{ "string", "string" },
},
IsTrialStoppedEarly = false,
TrialId = "string",
WebAccessUris =
{
{ "string", "string" },
},
},
},
},
});
example, err := ml.NewJob(ctx, "examplejobResourceResourceFromMlv1", &ml.JobArgs{
JobId: pulumi.String("string"),
Etag: pulumi.String("string"),
Labels: pulumi.StringMap{
"string": pulumi.String("string"),
},
PredictionInput: &ml.GoogleCloudMlV1__PredictionInputArgs{
DataFormat: ml.GoogleCloudMlV1__PredictionInputDataFormatDataFormatUnspecified,
InputPaths: pulumi.StringArray{
pulumi.String("string"),
},
OutputPath: pulumi.String("string"),
Region: pulumi.String("string"),
BatchSize: pulumi.String("string"),
MaxWorkerCount: pulumi.String("string"),
ModelName: pulumi.String("string"),
OutputDataFormat: ml.GoogleCloudMlV1__PredictionInputOutputDataFormatDataFormatUnspecified,
RuntimeVersion: pulumi.String("string"),
SignatureName: pulumi.String("string"),
Uri: pulumi.String("string"),
VersionName: pulumi.String("string"),
},
PredictionOutput: ml.GoogleCloudMlV1__PredictionOutputArgs{
ErrorCount: pulumi.String("string"),
NodeHours: pulumi.Float64(0),
OutputPath: pulumi.String("string"),
PredictionCount: pulumi.String("string"),
},
Project: pulumi.String("string"),
TrainingInput: &ml.GoogleCloudMlV1__TrainingInputArgs{
PackageUris: pulumi.StringArray{
pulumi.String("string"),
},
ScaleTier: ml.GoogleCloudMlV1__TrainingInputScaleTierBasic,
Region: pulumi.String("string"),
PythonModule: pulumi.String("string"),
ParameterServerConfig: &ml.GoogleCloudMlV1__ReplicaConfigArgs{
AcceleratorConfig: &ml.GoogleCloudMlV1__AcceleratorConfigArgs{
Count: pulumi.String("string"),
Type: ml.GoogleCloudMlV1__AcceleratorConfigTypeAcceleratorTypeUnspecified,
},
ContainerArgs: pulumi.StringArray{
pulumi.String("string"),
},
ContainerCommand: pulumi.StringArray{
pulumi.String("string"),
},
DiskConfig: &ml.GoogleCloudMlV1__DiskConfigArgs{
BootDiskSizeGb: pulumi.Int(0),
BootDiskType: pulumi.String("string"),
},
ImageUri: pulumi.String("string"),
TpuTfVersion: pulumi.String("string"),
},
EvaluatorConfig: &ml.GoogleCloudMlV1__ReplicaConfigArgs{
AcceleratorConfig: &ml.GoogleCloudMlV1__AcceleratorConfigArgs{
Count: pulumi.String("string"),
Type: ml.GoogleCloudMlV1__AcceleratorConfigTypeAcceleratorTypeUnspecified,
},
ContainerArgs: pulumi.StringArray{
pulumi.String("string"),
},
ContainerCommand: pulumi.StringArray{
pulumi.String("string"),
},
DiskConfig: &ml.GoogleCloudMlV1__DiskConfigArgs{
BootDiskSizeGb: pulumi.Int(0),
BootDiskType: pulumi.String("string"),
},
ImageUri: pulumi.String("string"),
TpuTfVersion: pulumi.String("string"),
},
Hyperparameters: &ml.GoogleCloudMlV1__HyperparameterSpecArgs{
Goal: ml.GoogleCloudMlV1__HyperparameterSpecGoalGoalTypeUnspecified,
Params: ml.GoogleCloudMlV1__ParameterSpecArray{
&ml.GoogleCloudMlV1__ParameterSpecArgs{
ParameterName: pulumi.String("string"),
Type: ml.GoogleCloudMlV1__ParameterSpecTypeParameterTypeUnspecified,
CategoricalValues: pulumi.StringArray{
pulumi.String("string"),
},
DiscreteValues: pulumi.Float64Array{
pulumi.Float64(0),
},
MaxValue: pulumi.Float64(0),
MinValue: pulumi.Float64(0),
ScaleType: ml.GoogleCloudMlV1__ParameterSpecScaleTypeNone,
},
},
Algorithm: ml.GoogleCloudMlV1__HyperparameterSpecAlgorithmAlgorithmUnspecified,
EnableTrialEarlyStopping: pulumi.Bool(false),
HyperparameterMetricTag: pulumi.String("string"),
MaxFailedTrials: pulumi.Int(0),
MaxParallelTrials: pulumi.Int(0),
MaxTrials: pulumi.Int(0),
ResumePreviousJobId: pulumi.String("string"),
},
JobDir: pulumi.String("string"),
MasterConfig: &ml.GoogleCloudMlV1__ReplicaConfigArgs{
AcceleratorConfig: &ml.GoogleCloudMlV1__AcceleratorConfigArgs{
Count: pulumi.String("string"),
Type: ml.GoogleCloudMlV1__AcceleratorConfigTypeAcceleratorTypeUnspecified,
},
ContainerArgs: pulumi.StringArray{
pulumi.String("string"),
},
ContainerCommand: pulumi.StringArray{
pulumi.String("string"),
},
DiskConfig: &ml.GoogleCloudMlV1__DiskConfigArgs{
BootDiskSizeGb: pulumi.Int(0),
BootDiskType: pulumi.String("string"),
},
ImageUri: pulumi.String("string"),
TpuTfVersion: pulumi.String("string"),
},
MasterType: pulumi.String("string"),
Network: pulumi.String("string"),
EvaluatorCount: pulumi.String("string"),
Args: pulumi.StringArray{
pulumi.String("string"),
},
ParameterServerCount: pulumi.String("string"),
ParameterServerType: pulumi.String("string"),
EvaluatorType: pulumi.String("string"),
PythonVersion: pulumi.String("string"),
EncryptionConfig: &ml.GoogleCloudMlV1__EncryptionConfigArgs{
KmsKeyName: pulumi.String("string"),
},
RuntimeVersion: pulumi.String("string"),
EnableWebAccess: pulumi.Bool(false),
Scheduling: &ml.GoogleCloudMlV1__SchedulingArgs{
MaxRunningTime: pulumi.String("string"),
MaxWaitTime: pulumi.String("string"),
Priority: pulumi.Int(0),
},
ServiceAccount: pulumi.String("string"),
UseChiefInTfConfig: pulumi.Bool(false),
WorkerConfig: &ml.GoogleCloudMlV1__ReplicaConfigArgs{
AcceleratorConfig: &ml.GoogleCloudMlV1__AcceleratorConfigArgs{
Count: pulumi.String("string"),
Type: ml.GoogleCloudMlV1__AcceleratorConfigTypeAcceleratorTypeUnspecified,
},
ContainerArgs: pulumi.StringArray{
pulumi.String("string"),
},
ContainerCommand: pulumi.StringArray{
pulumi.String("string"),
},
DiskConfig: &ml.GoogleCloudMlV1__DiskConfigArgs{
BootDiskSizeGb: pulumi.Int(0),
BootDiskType: pulumi.String("string"),
},
ImageUri: pulumi.String("string"),
TpuTfVersion: pulumi.String("string"),
},
WorkerCount: pulumi.String("string"),
WorkerType: pulumi.String("string"),
},
TrainingOutput: ml.GoogleCloudMlV1__TrainingOutputArgs{
BuiltInAlgorithmOutput: ml.GoogleCloudMlV1__BuiltInAlgorithmOutputArgs{
Framework: pulumi.String("string"),
ModelPath: pulumi.String("string"),
PythonVersion: pulumi.String("string"),
RuntimeVersion: pulumi.String("string"),
},
CompletedTrialCount: pulumi.String("string"),
ConsumedMLUnits: pulumi.Float64(0),
HyperparameterMetricTag: pulumi.String("string"),
IsBuiltInAlgorithmJob: pulumi.Bool(false),
IsHyperparameterTuningJob: pulumi.Bool(false),
Trials: ml.GoogleCloudMlV1__HyperparameterOutputArray{
ml.GoogleCloudMlV1__HyperparameterOutputArgs{
AllMetrics: ml.GoogleCloudMlV1_HyperparameterOutput_HyperparameterMetricArray{
&ml.GoogleCloudMlV1_HyperparameterOutput_HyperparameterMetricArgs{
ObjectiveValue: pulumi.Float64(0),
TrainingStep: pulumi.String("string"),
},
},
BuiltInAlgorithmOutput: ml.GoogleCloudMlV1__BuiltInAlgorithmOutputArgs{
Framework: pulumi.String("string"),
ModelPath: pulumi.String("string"),
PythonVersion: pulumi.String("string"),
RuntimeVersion: pulumi.String("string"),
},
FinalMetric: &ml.GoogleCloudMlV1_HyperparameterOutput_HyperparameterMetricArgs{
ObjectiveValue: pulumi.Float64(0),
TrainingStep: pulumi.String("string"),
},
Hyperparameters: pulumi.StringMap{
"string": pulumi.String("string"),
},
IsTrialStoppedEarly: pulumi.Bool(false),
TrialId: pulumi.String("string"),
WebAccessUris: pulumi.StringMap{
"string": pulumi.String("string"),
},
},
},
},
})
var examplejobResourceResourceFromMlv1 = new Job("examplejobResourceResourceFromMlv1", JobArgs.builder()
.jobId("string")
.etag("string")
.labels(Map.of("string", "string"))
.predictionInput(GoogleCloudMlV1__PredictionInputArgs.builder()
.dataFormat("DATA_FORMAT_UNSPECIFIED")
.inputPaths("string")
.outputPath("string")
.region("string")
.batchSize("string")
.maxWorkerCount("string")
.modelName("string")
.outputDataFormat("DATA_FORMAT_UNSPECIFIED")
.runtimeVersion("string")
.signatureName("string")
.uri("string")
.versionName("string")
.build())
.predictionOutput(GoogleCloudMlV1__PredictionOutputArgs.builder()
.errorCount("string")
.nodeHours(0)
.outputPath("string")
.predictionCount("string")
.build())
.project("string")
.trainingInput(GoogleCloudMlV1__TrainingInputArgs.builder()
.packageUris("string")
.scaleTier("BASIC")
.region("string")
.pythonModule("string")
.parameterServerConfig(GoogleCloudMlV1__ReplicaConfigArgs.builder()
.acceleratorConfig(GoogleCloudMlV1__AcceleratorConfigArgs.builder()
.count("string")
.type("ACCELERATOR_TYPE_UNSPECIFIED")
.build())
.containerArgs("string")
.containerCommand("string")
.diskConfig(GoogleCloudMlV1__DiskConfigArgs.builder()
.bootDiskSizeGb(0)
.bootDiskType("string")
.build())
.imageUri("string")
.tpuTfVersion("string")
.build())
.evaluatorConfig(GoogleCloudMlV1__ReplicaConfigArgs.builder()
.acceleratorConfig(GoogleCloudMlV1__AcceleratorConfigArgs.builder()
.count("string")
.type("ACCELERATOR_TYPE_UNSPECIFIED")
.build())
.containerArgs("string")
.containerCommand("string")
.diskConfig(GoogleCloudMlV1__DiskConfigArgs.builder()
.bootDiskSizeGb(0)
.bootDiskType("string")
.build())
.imageUri("string")
.tpuTfVersion("string")
.build())
.hyperparameters(GoogleCloudMlV1__HyperparameterSpecArgs.builder()
.goal("GOAL_TYPE_UNSPECIFIED")
.params(GoogleCloudMlV1__ParameterSpecArgs.builder()
.parameterName("string")
.type("PARAMETER_TYPE_UNSPECIFIED")
.categoricalValues("string")
.discreteValues(0)
.maxValue(0)
.minValue(0)
.scaleType("NONE")
.build())
.algorithm("ALGORITHM_UNSPECIFIED")
.enableTrialEarlyStopping(false)
.hyperparameterMetricTag("string")
.maxFailedTrials(0)
.maxParallelTrials(0)
.maxTrials(0)
.resumePreviousJobId("string")
.build())
.jobDir("string")
.masterConfig(GoogleCloudMlV1__ReplicaConfigArgs.builder()
.acceleratorConfig(GoogleCloudMlV1__AcceleratorConfigArgs.builder()
.count("string")
.type("ACCELERATOR_TYPE_UNSPECIFIED")
.build())
.containerArgs("string")
.containerCommand("string")
.diskConfig(GoogleCloudMlV1__DiskConfigArgs.builder()
.bootDiskSizeGb(0)
.bootDiskType("string")
.build())
.imageUri("string")
.tpuTfVersion("string")
.build())
.masterType("string")
.network("string")
.evaluatorCount("string")
.args("string")
.parameterServerCount("string")
.parameterServerType("string")
.evaluatorType("string")
.pythonVersion("string")
.encryptionConfig(GoogleCloudMlV1__EncryptionConfigArgs.builder()
.kmsKeyName("string")
.build())
.runtimeVersion("string")
.enableWebAccess(false)
.scheduling(GoogleCloudMlV1__SchedulingArgs.builder()
.maxRunningTime("string")
.maxWaitTime("string")
.priority(0)
.build())
.serviceAccount("string")
.useChiefInTfConfig(false)
.workerConfig(GoogleCloudMlV1__ReplicaConfigArgs.builder()
.acceleratorConfig(GoogleCloudMlV1__AcceleratorConfigArgs.builder()
.count("string")
.type("ACCELERATOR_TYPE_UNSPECIFIED")
.build())
.containerArgs("string")
.containerCommand("string")
.diskConfig(GoogleCloudMlV1__DiskConfigArgs.builder()
.bootDiskSizeGb(0)
.bootDiskType("string")
.build())
.imageUri("string")
.tpuTfVersion("string")
.build())
.workerCount("string")
.workerType("string")
.build())
.trainingOutput(GoogleCloudMlV1__TrainingOutputArgs.builder()
.builtInAlgorithmOutput(GoogleCloudMlV1__BuiltInAlgorithmOutputArgs.builder()
.framework("string")
.modelPath("string")
.pythonVersion("string")
.runtimeVersion("string")
.build())
.completedTrialCount("string")
.consumedMLUnits(0)
.hyperparameterMetricTag("string")
.isBuiltInAlgorithmJob(false)
.isHyperparameterTuningJob(false)
.trials(GoogleCloudMlV1__HyperparameterOutputArgs.builder()
.allMetrics(GoogleCloudMlV1_HyperparameterOutput_HyperparameterMetricArgs.builder()
.objectiveValue(0)
.trainingStep("string")
.build())
.builtInAlgorithmOutput(GoogleCloudMlV1__BuiltInAlgorithmOutputArgs.builder()
.framework("string")
.modelPath("string")
.pythonVersion("string")
.runtimeVersion("string")
.build())
.finalMetric(GoogleCloudMlV1_HyperparameterOutput_HyperparameterMetricArgs.builder()
.objectiveValue(0)
.trainingStep("string")
.build())
.hyperparameters(Map.of("string", "string"))
.isTrialStoppedEarly(false)
.trialId("string")
.webAccessUris(Map.of("string", "string"))
.build())
.build())
.build());
examplejob_resource_resource_from_mlv1 = google_native.ml.v1.Job("examplejobResourceResourceFromMlv1",
job_id="string",
etag="string",
labels={
"string": "string",
},
prediction_input={
"data_format": google_native.ml.v1.GoogleCloudMlV1__PredictionInputDataFormat.DATA_FORMAT_UNSPECIFIED,
"input_paths": ["string"],
"output_path": "string",
"region": "string",
"batch_size": "string",
"max_worker_count": "string",
"model_name": "string",
"output_data_format": google_native.ml.v1.GoogleCloudMlV1__PredictionInputOutputDataFormat.DATA_FORMAT_UNSPECIFIED,
"runtime_version": "string",
"signature_name": "string",
"uri": "string",
"version_name": "string",
},
prediction_output={
"error_count": "string",
"node_hours": 0,
"output_path": "string",
"prediction_count": "string",
},
project="string",
training_input={
"package_uris": ["string"],
"scale_tier": google_native.ml.v1.GoogleCloudMlV1__TrainingInputScaleTier.BASIC,
"region": "string",
"python_module": "string",
"parameter_server_config": {
"accelerator_config": {
"count": "string",
"type": google_native.ml.v1.GoogleCloudMlV1__AcceleratorConfigType.ACCELERATOR_TYPE_UNSPECIFIED,
},
"container_args": ["string"],
"container_command": ["string"],
"disk_config": {
"boot_disk_size_gb": 0,
"boot_disk_type": "string",
},
"image_uri": "string",
"tpu_tf_version": "string",
},
"evaluator_config": {
"accelerator_config": {
"count": "string",
"type": google_native.ml.v1.GoogleCloudMlV1__AcceleratorConfigType.ACCELERATOR_TYPE_UNSPECIFIED,
},
"container_args": ["string"],
"container_command": ["string"],
"disk_config": {
"boot_disk_size_gb": 0,
"boot_disk_type": "string",
},
"image_uri": "string",
"tpu_tf_version": "string",
},
"hyperparameters": {
"goal": google_native.ml.v1.GoogleCloudMlV1__HyperparameterSpecGoal.GOAL_TYPE_UNSPECIFIED,
"params": [{
"parameter_name": "string",
"type": google_native.ml.v1.GoogleCloudMlV1__ParameterSpecType.PARAMETER_TYPE_UNSPECIFIED,
"categorical_values": ["string"],
"discrete_values": [0],
"max_value": 0,
"min_value": 0,
"scale_type": google_native.ml.v1.GoogleCloudMlV1__ParameterSpecScaleType.NONE,
}],
"algorithm": google_native.ml.v1.GoogleCloudMlV1__HyperparameterSpecAlgorithm.ALGORITHM_UNSPECIFIED,
"enable_trial_early_stopping": False,
"hyperparameter_metric_tag": "string",
"max_failed_trials": 0,
"max_parallel_trials": 0,
"max_trials": 0,
"resume_previous_job_id": "string",
},
"job_dir": "string",
"master_config": {
"accelerator_config": {
"count": "string",
"type": google_native.ml.v1.GoogleCloudMlV1__AcceleratorConfigType.ACCELERATOR_TYPE_UNSPECIFIED,
},
"container_args": ["string"],
"container_command": ["string"],
"disk_config": {
"boot_disk_size_gb": 0,
"boot_disk_type": "string",
},
"image_uri": "string",
"tpu_tf_version": "string",
},
"master_type": "string",
"network": "string",
"evaluator_count": "string",
"args": ["string"],
"parameter_server_count": "string",
"parameter_server_type": "string",
"evaluator_type": "string",
"python_version": "string",
"encryption_config": {
"kms_key_name": "string",
},
"runtime_version": "string",
"enable_web_access": False,
"scheduling": {
"max_running_time": "string",
"max_wait_time": "string",
"priority": 0,
},
"service_account": "string",
"use_chief_in_tf_config": False,
"worker_config": {
"accelerator_config": {
"count": "string",
"type": google_native.ml.v1.GoogleCloudMlV1__AcceleratorConfigType.ACCELERATOR_TYPE_UNSPECIFIED,
},
"container_args": ["string"],
"container_command": ["string"],
"disk_config": {
"boot_disk_size_gb": 0,
"boot_disk_type": "string",
},
"image_uri": "string",
"tpu_tf_version": "string",
},
"worker_count": "string",
"worker_type": "string",
},
training_output={
"built_in_algorithm_output": {
"framework": "string",
"model_path": "string",
"python_version": "string",
"runtime_version": "string",
},
"completed_trial_count": "string",
"consumed_ml_units": 0,
"hyperparameter_metric_tag": "string",
"is_built_in_algorithm_job": False,
"is_hyperparameter_tuning_job": False,
"trials": [{
"all_metrics": [{
"objective_value": 0,
"training_step": "string",
}],
"built_in_algorithm_output": {
"framework": "string",
"model_path": "string",
"python_version": "string",
"runtime_version": "string",
},
"final_metric": {
"objective_value": 0,
"training_step": "string",
},
"hyperparameters": {
"string": "string",
},
"is_trial_stopped_early": False,
"trial_id": "string",
"web_access_uris": {
"string": "string",
},
}],
})
const examplejobResourceResourceFromMlv1 = new google_native.ml.v1.Job("examplejobResourceResourceFromMlv1", {
jobId: "string",
etag: "string",
labels: {
string: "string",
},
predictionInput: {
dataFormat: google_native.ml.v1.GoogleCloudMlV1__PredictionInputDataFormat.DataFormatUnspecified,
inputPaths: ["string"],
outputPath: "string",
region: "string",
batchSize: "string",
maxWorkerCount: "string",
modelName: "string",
outputDataFormat: google_native.ml.v1.GoogleCloudMlV1__PredictionInputOutputDataFormat.DataFormatUnspecified,
runtimeVersion: "string",
signatureName: "string",
uri: "string",
versionName: "string",
},
predictionOutput: {
errorCount: "string",
nodeHours: 0,
outputPath: "string",
predictionCount: "string",
},
project: "string",
trainingInput: {
packageUris: ["string"],
scaleTier: google_native.ml.v1.GoogleCloudMlV1__TrainingInputScaleTier.Basic,
region: "string",
pythonModule: "string",
parameterServerConfig: {
acceleratorConfig: {
count: "string",
type: google_native.ml.v1.GoogleCloudMlV1__AcceleratorConfigType.AcceleratorTypeUnspecified,
},
containerArgs: ["string"],
containerCommand: ["string"],
diskConfig: {
bootDiskSizeGb: 0,
bootDiskType: "string",
},
imageUri: "string",
tpuTfVersion: "string",
},
evaluatorConfig: {
acceleratorConfig: {
count: "string",
type: google_native.ml.v1.GoogleCloudMlV1__AcceleratorConfigType.AcceleratorTypeUnspecified,
},
containerArgs: ["string"],
containerCommand: ["string"],
diskConfig: {
bootDiskSizeGb: 0,
bootDiskType: "string",
},
imageUri: "string",
tpuTfVersion: "string",
},
hyperparameters: {
goal: google_native.ml.v1.GoogleCloudMlV1__HyperparameterSpecGoal.GoalTypeUnspecified,
params: [{
parameterName: "string",
type: google_native.ml.v1.GoogleCloudMlV1__ParameterSpecType.ParameterTypeUnspecified,
categoricalValues: ["string"],
discreteValues: [0],
maxValue: 0,
minValue: 0,
scaleType: google_native.ml.v1.GoogleCloudMlV1__ParameterSpecScaleType.None,
}],
algorithm: google_native.ml.v1.GoogleCloudMlV1__HyperparameterSpecAlgorithm.AlgorithmUnspecified,
enableTrialEarlyStopping: false,
hyperparameterMetricTag: "string",
maxFailedTrials: 0,
maxParallelTrials: 0,
maxTrials: 0,
resumePreviousJobId: "string",
},
jobDir: "string",
masterConfig: {
acceleratorConfig: {
count: "string",
type: google_native.ml.v1.GoogleCloudMlV1__AcceleratorConfigType.AcceleratorTypeUnspecified,
},
containerArgs: ["string"],
containerCommand: ["string"],
diskConfig: {
bootDiskSizeGb: 0,
bootDiskType: "string",
},
imageUri: "string",
tpuTfVersion: "string",
},
masterType: "string",
network: "string",
evaluatorCount: "string",
args: ["string"],
parameterServerCount: "string",
parameterServerType: "string",
evaluatorType: "string",
pythonVersion: "string",
encryptionConfig: {
kmsKeyName: "string",
},
runtimeVersion: "string",
enableWebAccess: false,
scheduling: {
maxRunningTime: "string",
maxWaitTime: "string",
priority: 0,
},
serviceAccount: "string",
useChiefInTfConfig: false,
workerConfig: {
acceleratorConfig: {
count: "string",
type: google_native.ml.v1.GoogleCloudMlV1__AcceleratorConfigType.AcceleratorTypeUnspecified,
},
containerArgs: ["string"],
containerCommand: ["string"],
diskConfig: {
bootDiskSizeGb: 0,
bootDiskType: "string",
},
imageUri: "string",
tpuTfVersion: "string",
},
workerCount: "string",
workerType: "string",
},
trainingOutput: {
builtInAlgorithmOutput: {
framework: "string",
modelPath: "string",
pythonVersion: "string",
runtimeVersion: "string",
},
completedTrialCount: "string",
consumedMLUnits: 0,
hyperparameterMetricTag: "string",
isBuiltInAlgorithmJob: false,
isHyperparameterTuningJob: false,
trials: [{
allMetrics: [{
objectiveValue: 0,
trainingStep: "string",
}],
builtInAlgorithmOutput: {
framework: "string",
modelPath: "string",
pythonVersion: "string",
runtimeVersion: "string",
},
finalMetric: {
objectiveValue: 0,
trainingStep: "string",
},
hyperparameters: {
string: "string",
},
isTrialStoppedEarly: false,
trialId: "string",
webAccessUris: {
string: "string",
},
}],
},
});
type: google-native:ml/v1:Job
properties:
etag: string
jobId: string
labels:
string: string
predictionInput:
batchSize: string
dataFormat: DATA_FORMAT_UNSPECIFIED
inputPaths:
- string
maxWorkerCount: string
modelName: string
outputDataFormat: DATA_FORMAT_UNSPECIFIED
outputPath: string
region: string
runtimeVersion: string
signatureName: string
uri: string
versionName: string
predictionOutput:
errorCount: string
nodeHours: 0
outputPath: string
predictionCount: string
project: string
trainingInput:
args:
- string
enableWebAccess: false
encryptionConfig:
kmsKeyName: string
evaluatorConfig:
acceleratorConfig:
count: string
type: ACCELERATOR_TYPE_UNSPECIFIED
containerArgs:
- string
containerCommand:
- string
diskConfig:
bootDiskSizeGb: 0
bootDiskType: string
imageUri: string
tpuTfVersion: string
evaluatorCount: string
evaluatorType: string
hyperparameters:
algorithm: ALGORITHM_UNSPECIFIED
enableTrialEarlyStopping: false
goal: GOAL_TYPE_UNSPECIFIED
hyperparameterMetricTag: string
maxFailedTrials: 0
maxParallelTrials: 0
maxTrials: 0
params:
- categoricalValues:
- string
discreteValues:
- 0
maxValue: 0
minValue: 0
parameterName: string
scaleType: NONE
type: PARAMETER_TYPE_UNSPECIFIED
resumePreviousJobId: string
jobDir: string
masterConfig:
acceleratorConfig:
count: string
type: ACCELERATOR_TYPE_UNSPECIFIED
containerArgs:
- string
containerCommand:
- string
diskConfig:
bootDiskSizeGb: 0
bootDiskType: string
imageUri: string
tpuTfVersion: string
masterType: string
network: string
packageUris:
- string
parameterServerConfig:
acceleratorConfig:
count: string
type: ACCELERATOR_TYPE_UNSPECIFIED
containerArgs:
- string
containerCommand:
- string
diskConfig:
bootDiskSizeGb: 0
bootDiskType: string
imageUri: string
tpuTfVersion: string
parameterServerCount: string
parameterServerType: string
pythonModule: string
pythonVersion: string
region: string
runtimeVersion: string
scaleTier: BASIC
scheduling:
maxRunningTime: string
maxWaitTime: string
priority: 0
serviceAccount: string
useChiefInTfConfig: false
workerConfig:
acceleratorConfig:
count: string
type: ACCELERATOR_TYPE_UNSPECIFIED
containerArgs:
- string
containerCommand:
- string
diskConfig:
bootDiskSizeGb: 0
bootDiskType: string
imageUri: string
tpuTfVersion: string
workerCount: string
workerType: string
trainingOutput:
builtInAlgorithmOutput:
framework: string
modelPath: string
pythonVersion: string
runtimeVersion: string
completedTrialCount: string
consumedMLUnits: 0
hyperparameterMetricTag: string
isBuiltInAlgorithmJob: false
isHyperparameterTuningJob: false
trials:
- allMetrics:
- objectiveValue: 0
trainingStep: string
builtInAlgorithmOutput:
framework: string
modelPath: string
pythonVersion: string
runtimeVersion: string
finalMetric:
objectiveValue: 0
trainingStep: string
hyperparameters:
string: string
isTrialStoppedEarly: false
trialId: string
webAccessUris:
string: string
Job Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Job resource accepts the following input properties:
- Job
Id string - The user-specified id of the job.
- Etag string
etag
is used for optimistic concurrency control as a way to help prevent simultaneous updates of a job from overwriting each other. It is strongly suggested that systems make use of theetag
in the read-modify-write cycle to perform job updates in order to avoid race conditions: Anetag
is returned in the response toGetJob
, and systems are expected to put that etag in the request toUpdateJob
to ensure that their change will be applied to the same version of the job.- Labels Dictionary<string, string>
- Optional. One or more labels that you can add, to organize your jobs. Each label is a key-value pair, where both the key and the value are arbitrary strings that you supply. For more information, see the documentation on using labels.
- Prediction
Input Pulumi.Google Native. Ml. V1. Inputs. Google Cloud Ml V1__Prediction Input - Input parameters to create a prediction job.
- Prediction
Output Pulumi.Google Native. Ml. V1. Inputs. Google Cloud Ml V1__Prediction Output - The current prediction job result.
- Project string
- Training
Input Pulumi.Google Native. Ml. V1. Inputs. Google Cloud Ml V1__Training Input - Input parameters to create a training job.
- Training
Output Pulumi.Google Native. Ml. V1. Inputs. Google Cloud Ml V1__Training Output - The current training job result.
- Job
Id string - The user-specified id of the job.
- Etag string
etag
is used for optimistic concurrency control as a way to help prevent simultaneous updates of a job from overwriting each other. It is strongly suggested that systems make use of theetag
in the read-modify-write cycle to perform job updates in order to avoid race conditions: Anetag
is returned in the response toGetJob
, and systems are expected to put that etag in the request toUpdateJob
to ensure that their change will be applied to the same version of the job.- Labels map[string]string
- Optional. One or more labels that you can add, to organize your jobs. Each label is a key-value pair, where both the key and the value are arbitrary strings that you supply. For more information, see the documentation on using labels.
- Prediction
Input GoogleCloud Ml V1__Prediction Input Args - Input parameters to create a prediction job.
- Prediction
Output GoogleCloud Ml V1__Prediction Output Args - The current prediction job result.
- Project string
- Training
Input GoogleCloud Ml V1__Training Input Args - Input parameters to create a training job.
- Training
Output GoogleCloud Ml V1__Training Output Args - The current training job result.
- job
Id String - The user-specified id of the job.
- etag String
etag
is used for optimistic concurrency control as a way to help prevent simultaneous updates of a job from overwriting each other. It is strongly suggested that systems make use of theetag
in the read-modify-write cycle to perform job updates in order to avoid race conditions: Anetag
is returned in the response toGetJob
, and systems are expected to put that etag in the request toUpdateJob
to ensure that their change will be applied to the same version of the job.- labels Map<String,String>
- Optional. One or more labels that you can add, to organize your jobs. Each label is a key-value pair, where both the key and the value are arbitrary strings that you supply. For more information, see the documentation on using labels.
- prediction
Input GoogleCloud Ml V1__Prediction Input - Input parameters to create a prediction job.
- prediction
Output GoogleCloud Ml V1__Prediction Output - The current prediction job result.
- project String
- training
Input GoogleCloud Ml V1__Training Input - Input parameters to create a training job.
- training
Output GoogleCloud Ml V1__Training Output - The current training job result.
- job
Id string - The user-specified id of the job.
- etag string
etag
is used for optimistic concurrency control as a way to help prevent simultaneous updates of a job from overwriting each other. It is strongly suggested that systems make use of theetag
in the read-modify-write cycle to perform job updates in order to avoid race conditions: Anetag
is returned in the response toGetJob
, and systems are expected to put that etag in the request toUpdateJob
to ensure that their change will be applied to the same version of the job.- labels {[key: string]: string}
- Optional. One or more labels that you can add, to organize your jobs. Each label is a key-value pair, where both the key and the value are arbitrary strings that you supply. For more information, see the documentation on using labels.
- prediction
Input GoogleCloud Ml V1__Prediction Input - Input parameters to create a prediction job.
- prediction
Output GoogleCloud Ml V1__Prediction Output - The current prediction job result.
- project string
- training
Input GoogleCloud Ml V1__Training Input - Input parameters to create a training job.
- training
Output GoogleCloud Ml V1__Training Output - The current training job result.
- job_
id str - The user-specified id of the job.
- etag str
etag
is used for optimistic concurrency control as a way to help prevent simultaneous updates of a job from overwriting each other. It is strongly suggested that systems make use of theetag
in the read-modify-write cycle to perform job updates in order to avoid race conditions: Anetag
is returned in the response toGetJob
, and systems are expected to put that etag in the request toUpdateJob
to ensure that their change will be applied to the same version of the job.- labels Mapping[str, str]
- Optional. One or more labels that you can add, to organize your jobs. Each label is a key-value pair, where both the key and the value are arbitrary strings that you supply. For more information, see the documentation on using labels.
- prediction_
input GoogleCloud Ml V1Prediction Input Args - Input parameters to create a prediction job.
- prediction_
output GoogleCloud Ml V1Prediction Output Args - The current prediction job result.
- project str
- training_
input GoogleCloud Ml V1Training Input Args - Input parameters to create a training job.
- training_
output GoogleCloud Ml V1Training Output Args - The current training job result.
- job
Id String - The user-specified id of the job.
- etag String
etag
is used for optimistic concurrency control as a way to help prevent simultaneous updates of a job from overwriting each other. It is strongly suggested that systems make use of theetag
in the read-modify-write cycle to perform job updates in order to avoid race conditions: Anetag
is returned in the response toGetJob
, and systems are expected to put that etag in the request toUpdateJob
to ensure that their change will be applied to the same version of the job.- labels Map<String>
- Optional. One or more labels that you can add, to organize your jobs. Each label is a key-value pair, where both the key and the value are arbitrary strings that you supply. For more information, see the documentation on using labels.
- prediction
Input Property Map - Input parameters to create a prediction job.
- prediction
Output Property Map - The current prediction job result.
- project String
- training
Input Property Map - Input parameters to create a training job.
- training
Output Property Map - The current training job result.
Outputs
All input properties are implicitly available as output properties. Additionally, the Job resource produces the following output properties:
- Create
Time string - When the job was created.
- End
Time string - When the job processing was completed.
- Error
Message string - The details of a failure or a cancellation.
- Id string
- The provider-assigned unique ID for this managed resource.
- Job
Position string - It's only effect when the job is in QUEUED state. If it's positive, it indicates the job's position in the job scheduler. It's 0 when the job is already scheduled.
- Start
Time string - When the job processing was started.
- State string
- The detailed state of a job.
- Create
Time string - When the job was created.
- End
Time string - When the job processing was completed.
- Error
Message string - The details of a failure or a cancellation.
- Id string
- The provider-assigned unique ID for this managed resource.
- Job
Position string - It's only effect when the job is in QUEUED state. If it's positive, it indicates the job's position in the job scheduler. It's 0 when the job is already scheduled.
- Start
Time string - When the job processing was started.
- State string
- The detailed state of a job.
- create
Time String - When the job was created.
- end
Time String - When the job processing was completed.
- error
Message String - The details of a failure or a cancellation.
- id String
- The provider-assigned unique ID for this managed resource.
- job
Position String - It's only effect when the job is in QUEUED state. If it's positive, it indicates the job's position in the job scheduler. It's 0 when the job is already scheduled.
- start
Time String - When the job processing was started.
- state String
- The detailed state of a job.
- create
Time string - When the job was created.
- end
Time string - When the job processing was completed.
- error
Message string - The details of a failure or a cancellation.
- id string
- The provider-assigned unique ID for this managed resource.
- job
Position string - It's only effect when the job is in QUEUED state. If it's positive, it indicates the job's position in the job scheduler. It's 0 when the job is already scheduled.
- start
Time string - When the job processing was started.
- state string
- The detailed state of a job.
- create_
time str - When the job was created.
- end_
time str - When the job processing was completed.
- error_
message str - The details of a failure or a cancellation.
- id str
- The provider-assigned unique ID for this managed resource.
- job_
position str - It's only effect when the job is in QUEUED state. If it's positive, it indicates the job's position in the job scheduler. It's 0 when the job is already scheduled.
- start_
time str - When the job processing was started.
- state str
- The detailed state of a job.
- create
Time String - When the job was created.
- end
Time String - When the job processing was completed.
- error
Message String - The details of a failure or a cancellation.
- id String
- The provider-assigned unique ID for this managed resource.
- job
Position String - It's only effect when the job is in QUEUED state. If it's positive, it indicates the job's position in the job scheduler. It's 0 when the job is already scheduled.
- start
Time String - When the job processing was started.
- state String
- The detailed state of a job.
Supporting Types
GoogleCloudMlV1_HyperparameterOutput_HyperparameterMetric, GoogleCloudMlV1_HyperparameterOutput_HyperparameterMetricArgs
- Objective
Value double - The objective value at this training step.
- Training
Step string - The global training step for this metric.
- Objective
Value float64 - The objective value at this training step.
- Training
Step string - The global training step for this metric.
- objective
Value Double - The objective value at this training step.
- training
Step String - The global training step for this metric.
- objective
Value number - The objective value at this training step.
- training
Step string - The global training step for this metric.
- objective_
value float - The objective value at this training step.
- training_
step str - The global training step for this metric.
- objective
Value Number - The objective value at this training step.
- training
Step String - The global training step for this metric.
GoogleCloudMlV1_HyperparameterOutput_HyperparameterMetricResponse, GoogleCloudMlV1_HyperparameterOutput_HyperparameterMetricResponseArgs
- Objective
Value double - The objective value at this training step.
- Training
Step string - The global training step for this metric.
- Objective
Value float64 - The objective value at this training step.
- Training
Step string - The global training step for this metric.
- objective
Value Double - The objective value at this training step.
- training
Step String - The global training step for this metric.
- objective
Value number - The objective value at this training step.
- training
Step string - The global training step for this metric.
- objective_
value float - The objective value at this training step.
- training_
step str - The global training step for this metric.
- objective
Value Number - The objective value at this training step.
- training
Step String - The global training step for this metric.
GoogleCloudMlV1__AcceleratorConfig, GoogleCloudMlV1__AcceleratorConfigArgs
- Count string
- The number of accelerators to attach to each machine running the job.
- Type
Pulumi.
Google Native. Ml. V1. Google Cloud Ml V1__Accelerator Config Type - The type of accelerator to use.
- Count string
- The number of accelerators to attach to each machine running the job.
- Type
Google
Cloud Ml V1__Accelerator Config Type - The type of accelerator to use.
- count String
- The number of accelerators to attach to each machine running the job.
- type
Google
Cloud Ml V1__Accelerator Config Type - The type of accelerator to use.
- count string
- The number of accelerators to attach to each machine running the job.
- type
Google
Cloud Ml V1__Accelerator Config Type - The type of accelerator to use.
- count str
- The number of accelerators to attach to each machine running the job.
- type
Google
Cloud Ml V1Accelerator Config Type - The type of accelerator to use.
- count String
- The number of accelerators to attach to each machine running the job.
- type "ACCELERATOR_TYPE_UNSPECIFIED" | "NVIDIA_TESLA_K80" | "NVIDIA_TESLA_P100" | "NVIDIA_TESLA_V100" | "NVIDIA_TESLA_P4" | "NVIDIA_TESLA_T4" | "NVIDIA_TESLA_A100" | "TPU_V2" | "TPU_V3" | "TPU_V2_POD" | "TPU_V3_POD" | "TPU_V4_POD"
- The type of accelerator to use.
GoogleCloudMlV1__AcceleratorConfigResponse, GoogleCloudMlV1__AcceleratorConfigResponseArgs
GoogleCloudMlV1__AcceleratorConfigType, GoogleCloudMlV1__AcceleratorConfigTypeArgs
- Accelerator
Type Unspecified - ACCELERATOR_TYPE_UNSPECIFIEDUnspecified accelerator type. Default to no GPU.
- Nvidia
Tesla K80 - NVIDIA_TESLA_K80Nvidia Tesla K80 GPU.
- Nvidia
Tesla P100 - NVIDIA_TESLA_P100Nvidia Tesla P100 GPU.
- Nvidia
Tesla V100 - NVIDIA_TESLA_V100Nvidia V100 GPU.
- Nvidia
Tesla P4 - NVIDIA_TESLA_P4Nvidia Tesla P4 GPU.
- Nvidia
Tesla T4 - NVIDIA_TESLA_T4Nvidia T4 GPU.
- Nvidia
Tesla A100 - NVIDIA_TESLA_A100Nvidia A100 GPU.
- Tpu
V2 - TPU_V2TPU v2.
- Tpu
V3 - TPU_V3TPU v3.
- Tpu
V2Pod - TPU_V2_PODTPU v2 POD.
- Tpu
V3Pod - TPU_V3_PODTPU v3 POD.
- Tpu
V4Pod - TPU_V4_PODTPU v4 POD.
- Google
Cloud Ml V1__Accelerator Config Type Accelerator Type Unspecified - ACCELERATOR_TYPE_UNSPECIFIEDUnspecified accelerator type. Default to no GPU.
- Google
Cloud Ml V1__Accelerator Config Type Nvidia Tesla K80 - NVIDIA_TESLA_K80Nvidia Tesla K80 GPU.
- Google
Cloud Ml V1__Accelerator Config Type Nvidia Tesla P100 - NVIDIA_TESLA_P100Nvidia Tesla P100 GPU.
- Google
Cloud Ml V1__Accelerator Config Type Nvidia Tesla V100 - NVIDIA_TESLA_V100Nvidia V100 GPU.
- Google
Cloud Ml V1__Accelerator Config Type Nvidia Tesla P4 - NVIDIA_TESLA_P4Nvidia Tesla P4 GPU.
- Google
Cloud Ml V1__Accelerator Config Type Nvidia Tesla T4 - NVIDIA_TESLA_T4Nvidia T4 GPU.
- Google
Cloud Ml V1__Accelerator Config Type Nvidia Tesla A100 - NVIDIA_TESLA_A100Nvidia A100 GPU.
- Google
Cloud Ml V1__Accelerator Config Type Tpu V2 - TPU_V2TPU v2.
- Google
Cloud Ml V1__Accelerator Config Type Tpu V3 - TPU_V3TPU v3.
- Google
Cloud Ml V1__Accelerator Config Type Tpu V2Pod - TPU_V2_PODTPU v2 POD.
- Google
Cloud Ml V1__Accelerator Config Type Tpu V3Pod - TPU_V3_PODTPU v3 POD.
- Google
Cloud Ml V1__Accelerator Config Type Tpu V4Pod - TPU_V4_PODTPU v4 POD.
- Accelerator
Type Unspecified - ACCELERATOR_TYPE_UNSPECIFIEDUnspecified accelerator type. Default to no GPU.
- Nvidia
Tesla K80 - NVIDIA_TESLA_K80Nvidia Tesla K80 GPU.
- Nvidia
Tesla P100 - NVIDIA_TESLA_P100Nvidia Tesla P100 GPU.
- Nvidia
Tesla V100 - NVIDIA_TESLA_V100Nvidia V100 GPU.
- Nvidia
Tesla P4 - NVIDIA_TESLA_P4Nvidia Tesla P4 GPU.
- Nvidia
Tesla T4 - NVIDIA_TESLA_T4Nvidia T4 GPU.
- Nvidia
Tesla A100 - NVIDIA_TESLA_A100Nvidia A100 GPU.
- Tpu
V2 - TPU_V2TPU v2.
- Tpu
V3 - TPU_V3TPU v3.
- Tpu
V2Pod - TPU_V2_PODTPU v2 POD.
- Tpu
V3Pod - TPU_V3_PODTPU v3 POD.
- Tpu
V4Pod - TPU_V4_PODTPU v4 POD.
- Accelerator
Type Unspecified - ACCELERATOR_TYPE_UNSPECIFIEDUnspecified accelerator type. Default to no GPU.
- Nvidia
Tesla K80 - NVIDIA_TESLA_K80Nvidia Tesla K80 GPU.
- Nvidia
Tesla P100 - NVIDIA_TESLA_P100Nvidia Tesla P100 GPU.
- Nvidia
Tesla V100 - NVIDIA_TESLA_V100Nvidia V100 GPU.
- Nvidia
Tesla P4 - NVIDIA_TESLA_P4Nvidia Tesla P4 GPU.
- Nvidia
Tesla T4 - NVIDIA_TESLA_T4Nvidia T4 GPU.
- Nvidia
Tesla A100 - NVIDIA_TESLA_A100Nvidia A100 GPU.
- Tpu
V2 - TPU_V2TPU v2.
- Tpu
V3 - TPU_V3TPU v3.
- Tpu
V2Pod - TPU_V2_PODTPU v2 POD.
- Tpu
V3Pod - TPU_V3_PODTPU v3 POD.
- Tpu
V4Pod - TPU_V4_PODTPU v4 POD.
- ACCELERATOR_TYPE_UNSPECIFIED
- ACCELERATOR_TYPE_UNSPECIFIEDUnspecified accelerator type. Default to no GPU.
- NVIDIA_TESLA_K80
- NVIDIA_TESLA_K80Nvidia Tesla K80 GPU.
- NVIDIA_TESLA_P100
- NVIDIA_TESLA_P100Nvidia Tesla P100 GPU.
- NVIDIA_TESLA_V100
- NVIDIA_TESLA_V100Nvidia V100 GPU.
- NVIDIA_TESLA_P4
- NVIDIA_TESLA_P4Nvidia Tesla P4 GPU.
- NVIDIA_TESLA_T4
- NVIDIA_TESLA_T4Nvidia T4 GPU.
- NVIDIA_TESLA_A100
- NVIDIA_TESLA_A100Nvidia A100 GPU.
- TPU_V2
- TPU_V2TPU v2.
- TPU_V3
- TPU_V3TPU v3.
- TPU_V2_POD
- TPU_V2_PODTPU v2 POD.
- TPU_V3_POD
- TPU_V3_PODTPU v3 POD.
- TPU_V4_POD
- TPU_V4_PODTPU v4 POD.
- "ACCELERATOR_TYPE_UNSPECIFIED"
- ACCELERATOR_TYPE_UNSPECIFIEDUnspecified accelerator type. Default to no GPU.
- "NVIDIA_TESLA_K80"
- NVIDIA_TESLA_K80Nvidia Tesla K80 GPU.
- "NVIDIA_TESLA_P100"
- NVIDIA_TESLA_P100Nvidia Tesla P100 GPU.
- "NVIDIA_TESLA_V100"
- NVIDIA_TESLA_V100Nvidia V100 GPU.
- "NVIDIA_TESLA_P4"
- NVIDIA_TESLA_P4Nvidia Tesla P4 GPU.
- "NVIDIA_TESLA_T4"
- NVIDIA_TESLA_T4Nvidia T4 GPU.
- "NVIDIA_TESLA_A100"
- NVIDIA_TESLA_A100Nvidia A100 GPU.
- "TPU_V2"
- TPU_V2TPU v2.
- "TPU_V3"
- TPU_V3TPU v3.
- "TPU_V2_POD"
- TPU_V2_PODTPU v2 POD.
- "TPU_V3_POD"
- TPU_V3_PODTPU v3 POD.
- "TPU_V4_POD"
- TPU_V4_PODTPU v4 POD.
GoogleCloudMlV1__BuiltInAlgorithmOutput, GoogleCloudMlV1__BuiltInAlgorithmOutputArgs
- Framework string
- Framework on which the built-in algorithm was trained.
- Model
Path string - The Cloud Storage path to the
model/
directory where the training job saves the trained model. Only set for successful jobs that don't use hyperparameter tuning. - Python
Version string - Python version on which the built-in algorithm was trained.
- Runtime
Version string - AI Platform runtime version on which the built-in algorithm was trained.
- Framework string
- Framework on which the built-in algorithm was trained.
- Model
Path string - The Cloud Storage path to the
model/
directory where the training job saves the trained model. Only set for successful jobs that don't use hyperparameter tuning. - Python
Version string - Python version on which the built-in algorithm was trained.
- Runtime
Version string - AI Platform runtime version on which the built-in algorithm was trained.
- framework String
- Framework on which the built-in algorithm was trained.
- model
Path String - The Cloud Storage path to the
model/
directory where the training job saves the trained model. Only set for successful jobs that don't use hyperparameter tuning. - python
Version String - Python version on which the built-in algorithm was trained.
- runtime
Version String - AI Platform runtime version on which the built-in algorithm was trained.
- framework string
- Framework on which the built-in algorithm was trained.
- model
Path string - The Cloud Storage path to the
model/
directory where the training job saves the trained model. Only set for successful jobs that don't use hyperparameter tuning. - python
Version string - Python version on which the built-in algorithm was trained.
- runtime
Version string - AI Platform runtime version on which the built-in algorithm was trained.
- framework str
- Framework on which the built-in algorithm was trained.
- model_
path str - The Cloud Storage path to the
model/
directory where the training job saves the trained model. Only set for successful jobs that don't use hyperparameter tuning. - python_
version str - Python version on which the built-in algorithm was trained.
- runtime_
version str - AI Platform runtime version on which the built-in algorithm was trained.
- framework String
- Framework on which the built-in algorithm was trained.
- model
Path String - The Cloud Storage path to the
model/
directory where the training job saves the trained model. Only set for successful jobs that don't use hyperparameter tuning. - python
Version String - Python version on which the built-in algorithm was trained.
- runtime
Version String - AI Platform runtime version on which the built-in algorithm was trained.
GoogleCloudMlV1__BuiltInAlgorithmOutputResponse, GoogleCloudMlV1__BuiltInAlgorithmOutputResponseArgs
- Framework string
- Framework on which the built-in algorithm was trained.
- Model
Path string - The Cloud Storage path to the
model/
directory where the training job saves the trained model. Only set for successful jobs that don't use hyperparameter tuning. - Python
Version string - Python version on which the built-in algorithm was trained.
- Runtime
Version string - AI Platform runtime version on which the built-in algorithm was trained.
- Framework string
- Framework on which the built-in algorithm was trained.
- Model
Path string - The Cloud Storage path to the
model/
directory where the training job saves the trained model. Only set for successful jobs that don't use hyperparameter tuning. - Python
Version string - Python version on which the built-in algorithm was trained.
- Runtime
Version string - AI Platform runtime version on which the built-in algorithm was trained.
- framework String
- Framework on which the built-in algorithm was trained.
- model
Path String - The Cloud Storage path to the
model/
directory where the training job saves the trained model. Only set for successful jobs that don't use hyperparameter tuning. - python
Version String - Python version on which the built-in algorithm was trained.
- runtime
Version String - AI Platform runtime version on which the built-in algorithm was trained.
- framework string
- Framework on which the built-in algorithm was trained.
- model
Path string - The Cloud Storage path to the
model/
directory where the training job saves the trained model. Only set for successful jobs that don't use hyperparameter tuning. - python
Version string - Python version on which the built-in algorithm was trained.
- runtime
Version string - AI Platform runtime version on which the built-in algorithm was trained.
- framework str
- Framework on which the built-in algorithm was trained.
- model_
path str - The Cloud Storage path to the
model/
directory where the training job saves the trained model. Only set for successful jobs that don't use hyperparameter tuning. - python_
version str - Python version on which the built-in algorithm was trained.
- runtime_
version str - AI Platform runtime version on which the built-in algorithm was trained.
- framework String
- Framework on which the built-in algorithm was trained.
- model
Path String - The Cloud Storage path to the
model/
directory where the training job saves the trained model. Only set for successful jobs that don't use hyperparameter tuning. - python
Version String - Python version on which the built-in algorithm was trained.
- runtime
Version String - AI Platform runtime version on which the built-in algorithm was trained.
GoogleCloudMlV1__DiskConfig, GoogleCloudMlV1__DiskConfigArgs
- Boot
Disk intSize Gb - Size in GB of the boot disk (default is 100GB).
- Boot
Disk stringType - Type of the boot disk (default is "pd-ssd"). Valid values: "pd-ssd" (Persistent Disk Solid State Drive) or "pd-standard" (Persistent Disk Hard Disk Drive).
- Boot
Disk intSize Gb - Size in GB of the boot disk (default is 100GB).
- Boot
Disk stringType - Type of the boot disk (default is "pd-ssd"). Valid values: "pd-ssd" (Persistent Disk Solid State Drive) or "pd-standard" (Persistent Disk Hard Disk Drive).
- boot
Disk IntegerSize Gb - Size in GB of the boot disk (default is 100GB).
- boot
Disk StringType - Type of the boot disk (default is "pd-ssd"). Valid values: "pd-ssd" (Persistent Disk Solid State Drive) or "pd-standard" (Persistent Disk Hard Disk Drive).
- boot
Disk numberSize Gb - Size in GB of the boot disk (default is 100GB).
- boot
Disk stringType - Type of the boot disk (default is "pd-ssd"). Valid values: "pd-ssd" (Persistent Disk Solid State Drive) or "pd-standard" (Persistent Disk Hard Disk Drive).
- boot_
disk_ intsize_ gb - Size in GB of the boot disk (default is 100GB).
- boot_
disk_ strtype - Type of the boot disk (default is "pd-ssd"). Valid values: "pd-ssd" (Persistent Disk Solid State Drive) or "pd-standard" (Persistent Disk Hard Disk Drive).
- boot
Disk NumberSize Gb - Size in GB of the boot disk (default is 100GB).
- boot
Disk StringType - Type of the boot disk (default is "pd-ssd"). Valid values: "pd-ssd" (Persistent Disk Solid State Drive) or "pd-standard" (Persistent Disk Hard Disk Drive).
GoogleCloudMlV1__DiskConfigResponse, GoogleCloudMlV1__DiskConfigResponseArgs
- Boot
Disk intSize Gb - Size in GB of the boot disk (default is 100GB).
- Boot
Disk stringType - Type of the boot disk (default is "pd-ssd"). Valid values: "pd-ssd" (Persistent Disk Solid State Drive) or "pd-standard" (Persistent Disk Hard Disk Drive).
- Boot
Disk intSize Gb - Size in GB of the boot disk (default is 100GB).
- Boot
Disk stringType - Type of the boot disk (default is "pd-ssd"). Valid values: "pd-ssd" (Persistent Disk Solid State Drive) or "pd-standard" (Persistent Disk Hard Disk Drive).
- boot
Disk IntegerSize Gb - Size in GB of the boot disk (default is 100GB).
- boot
Disk StringType - Type of the boot disk (default is "pd-ssd"). Valid values: "pd-ssd" (Persistent Disk Solid State Drive) or "pd-standard" (Persistent Disk Hard Disk Drive).
- boot
Disk numberSize Gb - Size in GB of the boot disk (default is 100GB).
- boot
Disk stringType - Type of the boot disk (default is "pd-ssd"). Valid values: "pd-ssd" (Persistent Disk Solid State Drive) or "pd-standard" (Persistent Disk Hard Disk Drive).
- boot_
disk_ intsize_ gb - Size in GB of the boot disk (default is 100GB).
- boot_
disk_ strtype - Type of the boot disk (default is "pd-ssd"). Valid values: "pd-ssd" (Persistent Disk Solid State Drive) or "pd-standard" (Persistent Disk Hard Disk Drive).
- boot
Disk NumberSize Gb - Size in GB of the boot disk (default is 100GB).
- boot
Disk StringType - Type of the boot disk (default is "pd-ssd"). Valid values: "pd-ssd" (Persistent Disk Solid State Drive) or "pd-standard" (Persistent Disk Hard Disk Drive).
GoogleCloudMlV1__EncryptionConfig, GoogleCloudMlV1__EncryptionConfigArgs
- Kms
Key stringName - The Cloud KMS resource identifier of the customer-managed encryption key used to protect a resource, such as a training job. It has the following format:
projects/{PROJECT_ID}/locations/{REGION}/keyRings/{KEY_RING_NAME}/cryptoKeys/{KEY_NAME}
- Kms
Key stringName - The Cloud KMS resource identifier of the customer-managed encryption key used to protect a resource, such as a training job. It has the following format:
projects/{PROJECT_ID}/locations/{REGION}/keyRings/{KEY_RING_NAME}/cryptoKeys/{KEY_NAME}
- kms
Key StringName - The Cloud KMS resource identifier of the customer-managed encryption key used to protect a resource, such as a training job. It has the following format:
projects/{PROJECT_ID}/locations/{REGION}/keyRings/{KEY_RING_NAME}/cryptoKeys/{KEY_NAME}
- kms
Key stringName - The Cloud KMS resource identifier of the customer-managed encryption key used to protect a resource, such as a training job. It has the following format:
projects/{PROJECT_ID}/locations/{REGION}/keyRings/{KEY_RING_NAME}/cryptoKeys/{KEY_NAME}
- kms_
key_ strname - The Cloud KMS resource identifier of the customer-managed encryption key used to protect a resource, such as a training job. It has the following format:
projects/{PROJECT_ID}/locations/{REGION}/keyRings/{KEY_RING_NAME}/cryptoKeys/{KEY_NAME}
- kms
Key StringName - The Cloud KMS resource identifier of the customer-managed encryption key used to protect a resource, such as a training job. It has the following format:
projects/{PROJECT_ID}/locations/{REGION}/keyRings/{KEY_RING_NAME}/cryptoKeys/{KEY_NAME}
GoogleCloudMlV1__EncryptionConfigResponse, GoogleCloudMlV1__EncryptionConfigResponseArgs
- Kms
Key stringName - The Cloud KMS resource identifier of the customer-managed encryption key used to protect a resource, such as a training job. It has the following format:
projects/{PROJECT_ID}/locations/{REGION}/keyRings/{KEY_RING_NAME}/cryptoKeys/{KEY_NAME}
- Kms
Key stringName - The Cloud KMS resource identifier of the customer-managed encryption key used to protect a resource, such as a training job. It has the following format:
projects/{PROJECT_ID}/locations/{REGION}/keyRings/{KEY_RING_NAME}/cryptoKeys/{KEY_NAME}
- kms
Key StringName - The Cloud KMS resource identifier of the customer-managed encryption key used to protect a resource, such as a training job. It has the following format:
projects/{PROJECT_ID}/locations/{REGION}/keyRings/{KEY_RING_NAME}/cryptoKeys/{KEY_NAME}
- kms
Key stringName - The Cloud KMS resource identifier of the customer-managed encryption key used to protect a resource, such as a training job. It has the following format:
projects/{PROJECT_ID}/locations/{REGION}/keyRings/{KEY_RING_NAME}/cryptoKeys/{KEY_NAME}
- kms_
key_ strname - The Cloud KMS resource identifier of the customer-managed encryption key used to protect a resource, such as a training job. It has the following format:
projects/{PROJECT_ID}/locations/{REGION}/keyRings/{KEY_RING_NAME}/cryptoKeys/{KEY_NAME}
- kms
Key StringName - The Cloud KMS resource identifier of the customer-managed encryption key used to protect a resource, such as a training job. It has the following format:
projects/{PROJECT_ID}/locations/{REGION}/keyRings/{KEY_RING_NAME}/cryptoKeys/{KEY_NAME}
GoogleCloudMlV1__HyperparameterOutput, GoogleCloudMlV1__HyperparameterOutputArgs
- All
Metrics List<Pulumi.Google Native. Ml. V1. Inputs. Google Cloud Ml V1_Hyperparameter Output_Hyperparameter Metric> - All recorded object metrics for this trial. This field is not currently populated.
- Built
In Pulumi.Algorithm Output Google Native. Ml. V1. Inputs. Google Cloud Ml V1__Built In Algorithm Output - Details related to built-in algorithms jobs. Only set for trials of built-in algorithms jobs that have succeeded.
- Final
Metric Pulumi.Google Native. Ml. V1. Inputs. Google Cloud Ml V1_Hyperparameter Output_Hyperparameter Metric - The final objective metric seen for this trial.
- Hyperparameters Dictionary<string, string>
- The hyperparameters given to this trial.
- Is
Trial boolStopped Early - True if the trial is stopped early.
- Trial
Id string - The trial id for these results.
- Web
Access Dictionary<string, string>Uris - URIs for accessing interactive shells (one URI for each training node). Only available if this trial is part of a hyperparameter tuning job and the job's training_input.enable_web_access is
true
. The keys are names of each node in the training job; for example,master-replica-0
for the master node,worker-replica-0
for the first worker, andps-replica-0
for the first parameter server. The values are the URIs for each node's interactive shell.
- All
Metrics []GoogleCloud Ml V1_Hyperparameter Output_Hyperparameter Metric - All recorded object metrics for this trial. This field is not currently populated.
- Built
In GoogleAlgorithm Output Cloud Ml V1__Built In Algorithm Output - Details related to built-in algorithms jobs. Only set for trials of built-in algorithms jobs that have succeeded.
- Final
Metric GoogleCloud Ml V1_Hyperparameter Output_Hyperparameter Metric - The final objective metric seen for this trial.
- Hyperparameters map[string]string
- The hyperparameters given to this trial.
- Is
Trial boolStopped Early - True if the trial is stopped early.
- Trial
Id string - The trial id for these results.
- Web
Access map[string]stringUris - URIs for accessing interactive shells (one URI for each training node). Only available if this trial is part of a hyperparameter tuning job and the job's training_input.enable_web_access is
true
. The keys are names of each node in the training job; for example,master-replica-0
for the master node,worker-replica-0
for the first worker, andps-replica-0
for the first parameter server. The values are the URIs for each node's interactive shell.
- all
Metrics List<GoogleCloud Ml V1_Hyperparameter Output_Hyperparameter Metric> - All recorded object metrics for this trial. This field is not currently populated.
- built
In GoogleAlgorithm Output Cloud Ml V1__Built In Algorithm Output - Details related to built-in algorithms jobs. Only set for trials of built-in algorithms jobs that have succeeded.
- final
Metric GoogleCloud Ml V1_Hyperparameter Output_Hyperparameter Metric - The final objective metric seen for this trial.
- hyperparameters Map<String,String>
- The hyperparameters given to this trial.
- is
Trial BooleanStopped Early - True if the trial is stopped early.
- trial
Id String - The trial id for these results.
- web
Access Map<String,String>Uris - URIs for accessing interactive shells (one URI for each training node). Only available if this trial is part of a hyperparameter tuning job and the job's training_input.enable_web_access is
true
. The keys are names of each node in the training job; for example,master-replica-0
for the master node,worker-replica-0
for the first worker, andps-replica-0
for the first parameter server. The values are the URIs for each node's interactive shell.
- all
Metrics GoogleCloud Ml V1_Hyperparameter Output_Hyperparameter Metric[] - All recorded object metrics for this trial. This field is not currently populated.
- built
In GoogleAlgorithm Output Cloud Ml V1__Built In Algorithm Output - Details related to built-in algorithms jobs. Only set for trials of built-in algorithms jobs that have succeeded.
- final
Metric GoogleCloud Ml V1_Hyperparameter Output_Hyperparameter Metric - The final objective metric seen for this trial.
- hyperparameters {[key: string]: string}
- The hyperparameters given to this trial.
- is
Trial booleanStopped Early - True if the trial is stopped early.
- trial
Id string - The trial id for these results.
- web
Access {[key: string]: string}Uris - URIs for accessing interactive shells (one URI for each training node). Only available if this trial is part of a hyperparameter tuning job and the job's training_input.enable_web_access is
true
. The keys are names of each node in the training job; for example,master-replica-0
for the master node,worker-replica-0
for the first worker, andps-replica-0
for the first parameter server. The values are the URIs for each node's interactive shell.
- all_
metrics Sequence[GoogleCloud Ml V1Hyperparameter Output_Hyperparameter Metric] - All recorded object metrics for this trial. This field is not currently populated.
- built_
in_ Googlealgorithm_ output Cloud Ml V1Built In Algorithm Output - Details related to built-in algorithms jobs. Only set for trials of built-in algorithms jobs that have succeeded.
- final_
metric GoogleCloud Ml V1Hyperparameter Output_Hyperparameter Metric - The final objective metric seen for this trial.
- hyperparameters Mapping[str, str]
- The hyperparameters given to this trial.
- is_
trial_ boolstopped_ early - True if the trial is stopped early.
- trial_
id str - The trial id for these results.
- web_
access_ Mapping[str, str]uris - URIs for accessing interactive shells (one URI for each training node). Only available if this trial is part of a hyperparameter tuning job and the job's training_input.enable_web_access is
true
. The keys are names of each node in the training job; for example,master-replica-0
for the master node,worker-replica-0
for the first worker, andps-replica-0
for the first parameter server. The values are the URIs for each node's interactive shell.
- all
Metrics List<Property Map> - All recorded object metrics for this trial. This field is not currently populated.
- built
In Property MapAlgorithm Output - Details related to built-in algorithms jobs. Only set for trials of built-in algorithms jobs that have succeeded.
- final
Metric Property Map - The final objective metric seen for this trial.
- hyperparameters Map<String>
- The hyperparameters given to this trial.
- is
Trial BooleanStopped Early - True if the trial is stopped early.
- trial
Id String - The trial id for these results.
- web
Access Map<String>Uris - URIs for accessing interactive shells (one URI for each training node). Only available if this trial is part of a hyperparameter tuning job and the job's training_input.enable_web_access is
true
. The keys are names of each node in the training job; for example,master-replica-0
for the master node,worker-replica-0
for the first worker, andps-replica-0
for the first parameter server. The values are the URIs for each node's interactive shell.
GoogleCloudMlV1__HyperparameterOutputResponse, GoogleCloudMlV1__HyperparameterOutputResponseArgs
- All
Metrics List<Pulumi.Google Native. Ml. V1. Inputs. Google Cloud Ml V1_Hyperparameter Output_Hyperparameter Metric Response> - All recorded object metrics for this trial. This field is not currently populated.
- Built
In Pulumi.Algorithm Output Google Native. Ml. V1. Inputs. Google Cloud Ml V1__Built In Algorithm Output Response - Details related to built-in algorithms jobs. Only set for trials of built-in algorithms jobs that have succeeded.
- End
Time string - End time for the trial.
- Final
Metric Pulumi.Google Native. Ml. V1. Inputs. Google Cloud Ml V1_Hyperparameter Output_Hyperparameter Metric Response - The final objective metric seen for this trial.
- Hyperparameters Dictionary<string, string>
- The hyperparameters given to this trial.
- Is
Trial boolStopped Early - True if the trial is stopped early.
- Start
Time string - Start time for the trial.
- State string
- The detailed state of the trial.
- Trial
Id string - The trial id for these results.
- Web
Access Dictionary<string, string>Uris - URIs for accessing interactive shells (one URI for each training node). Only available if this trial is part of a hyperparameter tuning job and the job's training_input.enable_web_access is
true
. The keys are names of each node in the training job; for example,master-replica-0
for the master node,worker-replica-0
for the first worker, andps-replica-0
for the first parameter server. The values are the URIs for each node's interactive shell.
- All
Metrics []GoogleCloud Ml V1_Hyperparameter Output_Hyperparameter Metric Response - All recorded object metrics for this trial. This field is not currently populated.
- Built
In GoogleAlgorithm Output Cloud Ml V1__Built In Algorithm Output Response - Details related to built-in algorithms jobs. Only set for trials of built-in algorithms jobs that have succeeded.
- End
Time string - End time for the trial.
- Final
Metric GoogleCloud Ml V1_Hyperparameter Output_Hyperparameter Metric Response - The final objective metric seen for this trial.
- Hyperparameters map[string]string
- The hyperparameters given to this trial.
- Is
Trial boolStopped Early - True if the trial is stopped early.
- Start
Time string - Start time for the trial.
- State string
- The detailed state of the trial.
- Trial
Id string - The trial id for these results.
- Web
Access map[string]stringUris - URIs for accessing interactive shells (one URI for each training node). Only available if this trial is part of a hyperparameter tuning job and the job's training_input.enable_web_access is
true
. The keys are names of each node in the training job; for example,master-replica-0
for the master node,worker-replica-0
for the first worker, andps-replica-0
for the first parameter server. The values are the URIs for each node's interactive shell.
- all
Metrics List<GoogleCloud Ml V1_Hyperparameter Output_Hyperparameter Metric Response> - All recorded object metrics for this trial. This field is not currently populated.
- built
In GoogleAlgorithm Output Cloud Ml V1__Built In Algorithm Output Response - Details related to built-in algorithms jobs. Only set for trials of built-in algorithms jobs that have succeeded.
- end
Time String - End time for the trial.
- final
Metric GoogleCloud Ml V1_Hyperparameter Output_Hyperparameter Metric Response - The final objective metric seen for this trial.
- hyperparameters Map<String,String>
- The hyperparameters given to this trial.
- is
Trial BooleanStopped Early - True if the trial is stopped early.
- start
Time String - Start time for the trial.
- state String
- The detailed state of the trial.
- trial
Id String - The trial id for these results.
- web
Access Map<String,String>Uris - URIs for accessing interactive shells (one URI for each training node). Only available if this trial is part of a hyperparameter tuning job and the job's training_input.enable_web_access is
true
. The keys are names of each node in the training job; for example,master-replica-0
for the master node,worker-replica-0
for the first worker, andps-replica-0
for the first parameter server. The values are the URIs for each node's interactive shell.
- all
Metrics GoogleCloud Ml V1_Hyperparameter Output_Hyperparameter Metric Response[] - All recorded object metrics for this trial. This field is not currently populated.
- built
In GoogleAlgorithm Output Cloud Ml V1__Built In Algorithm Output Response - Details related to built-in algorithms jobs. Only set for trials of built-in algorithms jobs that have succeeded.
- end
Time string - End time for the trial.
- final
Metric GoogleCloud Ml V1_Hyperparameter Output_Hyperparameter Metric Response - The final objective metric seen for this trial.
- hyperparameters {[key: string]: string}
- The hyperparameters given to this trial.
- is
Trial booleanStopped Early - True if the trial is stopped early.
- start
Time string - Start time for the trial.
- state string
- The detailed state of the trial.
- trial
Id string - The trial id for these results.
- web
Access {[key: string]: string}Uris - URIs for accessing interactive shells (one URI for each training node). Only available if this trial is part of a hyperparameter tuning job and the job's training_input.enable_web_access is
true
. The keys are names of each node in the training job; for example,master-replica-0
for the master node,worker-replica-0
for the first worker, andps-replica-0
for the first parameter server. The values are the URIs for each node's interactive shell.
- all_
metrics Sequence[GoogleCloud Ml V1Hyperparameter Output_Hyperparameter Metric Response] - All recorded object metrics for this trial. This field is not currently populated.
- built_
in_ Googlealgorithm_ output Cloud Ml V1Built In Algorithm Output Response - Details related to built-in algorithms jobs. Only set for trials of built-in algorithms jobs that have succeeded.
- end_
time str - End time for the trial.
- final_
metric GoogleCloud Ml V1Hyperparameter Output_Hyperparameter Metric Response - The final objective metric seen for this trial.
- hyperparameters Mapping[str, str]
- The hyperparameters given to this trial.
- is_
trial_ boolstopped_ early - True if the trial is stopped early.
- start_
time str - Start time for the trial.
- state str
- The detailed state of the trial.
- trial_
id str - The trial id for these results.
- web_
access_ Mapping[str, str]uris - URIs for accessing interactive shells (one URI for each training node). Only available if this trial is part of a hyperparameter tuning job and the job's training_input.enable_web_access is
true
. The keys are names of each node in the training job; for example,master-replica-0
for the master node,worker-replica-0
for the first worker, andps-replica-0
for the first parameter server. The values are the URIs for each node's interactive shell.
- all
Metrics List<Property Map> - All recorded object metrics for this trial. This field is not currently populated.
- built
In Property MapAlgorithm Output - Details related to built-in algorithms jobs. Only set for trials of built-in algorithms jobs that have succeeded.
- end
Time String - End time for the trial.
- final
Metric Property Map - The final objective metric seen for this trial.
- hyperparameters Map<String>
- The hyperparameters given to this trial.
- is
Trial BooleanStopped Early - True if the trial is stopped early.
- start
Time String - Start time for the trial.
- state String
- The detailed state of the trial.
- trial
Id String - The trial id for these results.
- web
Access Map<String>Uris - URIs for accessing interactive shells (one URI for each training node). Only available if this trial is part of a hyperparameter tuning job and the job's training_input.enable_web_access is
true
. The keys are names of each node in the training job; for example,master-replica-0
for the master node,worker-replica-0
for the first worker, andps-replica-0
for the first parameter server. The values are the URIs for each node's interactive shell.
GoogleCloudMlV1__HyperparameterSpec, GoogleCloudMlV1__HyperparameterSpecArgs
- Goal
Pulumi.
Google Native. Ml. V1. Google Cloud Ml V1__Hyperparameter Spec Goal - The type of goal to use for tuning. Available types are
MAXIMIZE
andMINIMIZE
. Defaults toMAXIMIZE
. - Params
List<Pulumi.
Google Native. Ml. V1. Inputs. Google Cloud Ml V1__Parameter Spec> - The set of parameters to tune.
- Algorithm
Pulumi.
Google Native. Ml. V1. Google Cloud Ml V1__Hyperparameter Spec Algorithm - Optional. The search algorithm specified for the hyperparameter tuning job. Uses the default AI Platform hyperparameter tuning algorithm if unspecified.
- Enable
Trial boolEarly Stopping - Optional. Indicates if the hyperparameter tuning job enables auto trial early stopping.
- Hyperparameter
Metric stringTag - Optional. The TensorFlow summary tag name to use for optimizing trials. For current versions of TensorFlow, this tag name should exactly match what is shown in TensorBoard, including all scopes. For versions of TensorFlow prior to 0.12, this should be only the tag passed to tf.Summary. By default, "training/hptuning/metric" will be used.
- Max
Failed intTrials - Optional. The number of failed trials that need to be seen before failing the hyperparameter tuning job. You can specify this field to override the default failing criteria for AI Platform hyperparameter tuning jobs. Defaults to zero, which means the service decides when a hyperparameter job should fail.
- Max
Parallel intTrials - Optional. The number of training trials to run concurrently. You can reduce the time it takes to perform hyperparameter tuning by adding trials in parallel. However, each trail only benefits from the information gained in completed trials. That means that a trial does not get access to the results of trials running at the same time, which could reduce the quality of the overall optimization. Each trial will use the same scale tier and machine types. Defaults to one.
- Max
Trials int - Optional. How many training trials should be attempted to optimize the specified hyperparameters. Defaults to one.
- Resume
Previous stringJob Id - Optional. The prior hyperparameter tuning job id that users hope to continue with. The job id will be used to find the corresponding vizier study guid and resume the study.
- Goal
Google
Cloud Ml V1__Hyperparameter Spec Goal - The type of goal to use for tuning. Available types are
MAXIMIZE
andMINIMIZE
. Defaults toMAXIMIZE
. - Params
[]Google
Cloud Ml V1__Parameter Spec - The set of parameters to tune.
- Algorithm
Google
Cloud Ml V1__Hyperparameter Spec Algorithm - Optional. The search algorithm specified for the hyperparameter tuning job. Uses the default AI Platform hyperparameter tuning algorithm if unspecified.
- Enable
Trial boolEarly Stopping - Optional. Indicates if the hyperparameter tuning job enables auto trial early stopping.
- Hyperparameter
Metric stringTag - Optional. The TensorFlow summary tag name to use for optimizing trials. For current versions of TensorFlow, this tag name should exactly match what is shown in TensorBoard, including all scopes. For versions of TensorFlow prior to 0.12, this should be only the tag passed to tf.Summary. By default, "training/hptuning/metric" will be used.
- Max
Failed intTrials - Optional. The number of failed trials that need to be seen before failing the hyperparameter tuning job. You can specify this field to override the default failing criteria for AI Platform hyperparameter tuning jobs. Defaults to zero, which means the service decides when a hyperparameter job should fail.
- Max
Parallel intTrials - Optional. The number of training trials to run concurrently. You can reduce the time it takes to perform hyperparameter tuning by adding trials in parallel. However, each trail only benefits from the information gained in completed trials. That means that a trial does not get access to the results of trials running at the same time, which could reduce the quality of the overall optimization. Each trial will use the same scale tier and machine types. Defaults to one.
- Max
Trials int - Optional. How many training trials should be attempted to optimize the specified hyperparameters. Defaults to one.
- Resume
Previous stringJob Id - Optional. The prior hyperparameter tuning job id that users hope to continue with. The job id will be used to find the corresponding vizier study guid and resume the study.
- goal
Google
Cloud Ml V1__Hyperparameter Spec Goal - The type of goal to use for tuning. Available types are
MAXIMIZE
andMINIMIZE
. Defaults toMAXIMIZE
. - params
List<Google
Cloud Ml V1__Parameter Spec> - The set of parameters to tune.
- algorithm
Google
Cloud Ml V1__Hyperparameter Spec Algorithm - Optional. The search algorithm specified for the hyperparameter tuning job. Uses the default AI Platform hyperparameter tuning algorithm if unspecified.
- enable
Trial BooleanEarly Stopping - Optional. Indicates if the hyperparameter tuning job enables auto trial early stopping.
- hyperparameter
Metric StringTag - Optional. The TensorFlow summary tag name to use for optimizing trials. For current versions of TensorFlow, this tag name should exactly match what is shown in TensorBoard, including all scopes. For versions of TensorFlow prior to 0.12, this should be only the tag passed to tf.Summary. By default, "training/hptuning/metric" will be used.
- max
Failed IntegerTrials - Optional. The number of failed trials that need to be seen before failing the hyperparameter tuning job. You can specify this field to override the default failing criteria for AI Platform hyperparameter tuning jobs. Defaults to zero, which means the service decides when a hyperparameter job should fail.
- max
Parallel IntegerTrials - Optional. The number of training trials to run concurrently. You can reduce the time it takes to perform hyperparameter tuning by adding trials in parallel. However, each trail only benefits from the information gained in completed trials. That means that a trial does not get access to the results of trials running at the same time, which could reduce the quality of the overall optimization. Each trial will use the same scale tier and machine types. Defaults to one.
- max
Trials Integer - Optional. How many training trials should be attempted to optimize the specified hyperparameters. Defaults to one.
- resume
Previous StringJob Id - Optional. The prior hyperparameter tuning job id that users hope to continue with. The job id will be used to find the corresponding vizier study guid and resume the study.
- goal
Google
Cloud Ml V1__Hyperparameter Spec Goal - The type of goal to use for tuning. Available types are
MAXIMIZE
andMINIMIZE
. Defaults toMAXIMIZE
. - params
Google
Cloud Ml V1__Parameter Spec[] - The set of parameters to tune.
- algorithm
Google
Cloud Ml V1__Hyperparameter Spec Algorithm - Optional. The search algorithm specified for the hyperparameter tuning job. Uses the default AI Platform hyperparameter tuning algorithm if unspecified.
- enable
Trial booleanEarly Stopping - Optional. Indicates if the hyperparameter tuning job enables auto trial early stopping.
- hyperparameter
Metric stringTag - Optional. The TensorFlow summary tag name to use for optimizing trials. For current versions of TensorFlow, this tag name should exactly match what is shown in TensorBoard, including all scopes. For versions of TensorFlow prior to 0.12, this should be only the tag passed to tf.Summary. By default, "training/hptuning/metric" will be used.
- max
Failed numberTrials - Optional. The number of failed trials that need to be seen before failing the hyperparameter tuning job. You can specify this field to override the default failing criteria for AI Platform hyperparameter tuning jobs. Defaults to zero, which means the service decides when a hyperparameter job should fail.
- max
Parallel numberTrials - Optional. The number of training trials to run concurrently. You can reduce the time it takes to perform hyperparameter tuning by adding trials in parallel. However, each trail only benefits from the information gained in completed trials. That means that a trial does not get access to the results of trials running at the same time, which could reduce the quality of the overall optimization. Each trial will use the same scale tier and machine types. Defaults to one.
- max
Trials number - Optional. How many training trials should be attempted to optimize the specified hyperparameters. Defaults to one.
- resume
Previous stringJob Id - Optional. The prior hyperparameter tuning job id that users hope to continue with. The job id will be used to find the corresponding vizier study guid and resume the study.
- goal
Google
Cloud Ml V1Hyperparameter Spec Goal - The type of goal to use for tuning. Available types are
MAXIMIZE
andMINIMIZE
. Defaults toMAXIMIZE
. - params
Sequence[Google
Cloud Ml V1Parameter Spec] - The set of parameters to tune.
- algorithm
Google
Cloud Ml V1Hyperparameter Spec Algorithm - Optional. The search algorithm specified for the hyperparameter tuning job. Uses the default AI Platform hyperparameter tuning algorithm if unspecified.
- enable_
trial_ boolearly_ stopping - Optional. Indicates if the hyperparameter tuning job enables auto trial early stopping.
- hyperparameter_
metric_ strtag - Optional. The TensorFlow summary tag name to use for optimizing trials. For current versions of TensorFlow, this tag name should exactly match what is shown in TensorBoard, including all scopes. For versions of TensorFlow prior to 0.12, this should be only the tag passed to tf.Summary. By default, "training/hptuning/metric" will be used.
- max_
failed_ inttrials - Optional. The number of failed trials that need to be seen before failing the hyperparameter tuning job. You can specify this field to override the default failing criteria for AI Platform hyperparameter tuning jobs. Defaults to zero, which means the service decides when a hyperparameter job should fail.
- max_
parallel_ inttrials - Optional. The number of training trials to run concurrently. You can reduce the time it takes to perform hyperparameter tuning by adding trials in parallel. However, each trail only benefits from the information gained in completed trials. That means that a trial does not get access to the results of trials running at the same time, which could reduce the quality of the overall optimization. Each trial will use the same scale tier and machine types. Defaults to one.
- max_
trials int - Optional. How many training trials should be attempted to optimize the specified hyperparameters. Defaults to one.
- resume_
previous_ strjob_ id - Optional. The prior hyperparameter tuning job id that users hope to continue with. The job id will be used to find the corresponding vizier study guid and resume the study.
- goal "GOAL_TYPE_UNSPECIFIED" | "MAXIMIZE" | "MINIMIZE"
- The type of goal to use for tuning. Available types are
MAXIMIZE
andMINIMIZE
. Defaults toMAXIMIZE
. - params List<Property Map>
- The set of parameters to tune.
- algorithm "ALGORITHM_UNSPECIFIED" | "GRID_SEARCH" | "RANDOM_SEARCH"
- Optional. The search algorithm specified for the hyperparameter tuning job. Uses the default AI Platform hyperparameter tuning algorithm if unspecified.
- enable
Trial BooleanEarly Stopping - Optional. Indicates if the hyperparameter tuning job enables auto trial early stopping.
- hyperparameter
Metric StringTag - Optional. The TensorFlow summary tag name to use for optimizing trials. For current versions of TensorFlow, this tag name should exactly match what is shown in TensorBoard, including all scopes. For versions of TensorFlow prior to 0.12, this should be only the tag passed to tf.Summary. By default, "training/hptuning/metric" will be used.
- max
Failed NumberTrials - Optional. The number of failed trials that need to be seen before failing the hyperparameter tuning job. You can specify this field to override the default failing criteria for AI Platform hyperparameter tuning jobs. Defaults to zero, which means the service decides when a hyperparameter job should fail.
- max
Parallel NumberTrials - Optional. The number of training trials to run concurrently. You can reduce the time it takes to perform hyperparameter tuning by adding trials in parallel. However, each trail only benefits from the information gained in completed trials. That means that a trial does not get access to the results of trials running at the same time, which could reduce the quality of the overall optimization. Each trial will use the same scale tier and machine types. Defaults to one.
- max
Trials Number - Optional. How many training trials should be attempted to optimize the specified hyperparameters. Defaults to one.
- resume
Previous StringJob Id - Optional. The prior hyperparameter tuning job id that users hope to continue with. The job id will be used to find the corresponding vizier study guid and resume the study.
GoogleCloudMlV1__HyperparameterSpecAlgorithm, GoogleCloudMlV1__HyperparameterSpecAlgorithmArgs
- Algorithm
Unspecified - ALGORITHM_UNSPECIFIEDThe default algorithm used by the hyperparameter tuning service. This is a Bayesian optimization algorithm.
- Grid
Search - GRID_SEARCHSimple grid search within the feasible space. To use grid search, all parameters must be
INTEGER
,CATEGORICAL
, orDISCRETE
. - Random
Search - RANDOM_SEARCHSimple random search within the feasible space.
- Google
Cloud Ml V1__Hyperparameter Spec Algorithm Algorithm Unspecified - ALGORITHM_UNSPECIFIEDThe default algorithm used by the hyperparameter tuning service. This is a Bayesian optimization algorithm.
- Google
Cloud Ml V1__Hyperparameter Spec Algorithm Grid Search - GRID_SEARCHSimple grid search within the feasible space. To use grid search, all parameters must be
INTEGER
,CATEGORICAL
, orDISCRETE
. - Google
Cloud Ml V1__Hyperparameter Spec Algorithm Random Search - RANDOM_SEARCHSimple random search within the feasible space.
- Algorithm
Unspecified - ALGORITHM_UNSPECIFIEDThe default algorithm used by the hyperparameter tuning service. This is a Bayesian optimization algorithm.
- Grid
Search - GRID_SEARCHSimple grid search within the feasible space. To use grid search, all parameters must be
INTEGER
,CATEGORICAL
, orDISCRETE
. - Random
Search - RANDOM_SEARCHSimple random search within the feasible space.
- Algorithm
Unspecified - ALGORITHM_UNSPECIFIEDThe default algorithm used by the hyperparameter tuning service. This is a Bayesian optimization algorithm.
- Grid
Search - GRID_SEARCHSimple grid search within the feasible space. To use grid search, all parameters must be
INTEGER
,CATEGORICAL
, orDISCRETE
. - Random
Search - RANDOM_SEARCHSimple random search within the feasible space.
- ALGORITHM_UNSPECIFIED
- ALGORITHM_UNSPECIFIEDThe default algorithm used by the hyperparameter tuning service. This is a Bayesian optimization algorithm.
- GRID_SEARCH
- GRID_SEARCHSimple grid search within the feasible space. To use grid search, all parameters must be
INTEGER
,CATEGORICAL
, orDISCRETE
. - RANDOM_SEARCH
- RANDOM_SEARCHSimple random search within the feasible space.
- "ALGORITHM_UNSPECIFIED"
- ALGORITHM_UNSPECIFIEDThe default algorithm used by the hyperparameter tuning service. This is a Bayesian optimization algorithm.
- "GRID_SEARCH"
- GRID_SEARCHSimple grid search within the feasible space. To use grid search, all parameters must be
INTEGER
,CATEGORICAL
, orDISCRETE
. - "RANDOM_SEARCH"
- RANDOM_SEARCHSimple random search within the feasible space.
GoogleCloudMlV1__HyperparameterSpecGoal, GoogleCloudMlV1__HyperparameterSpecGoalArgs
- Goal
Type Unspecified - GOAL_TYPE_UNSPECIFIEDGoal Type will default to maximize.
- Maximize
- MAXIMIZEMaximize the goal metric.
- Minimize
- MINIMIZEMinimize the goal metric.
- Google
Cloud Ml V1__Hyperparameter Spec Goal Goal Type Unspecified - GOAL_TYPE_UNSPECIFIEDGoal Type will default to maximize.
- Google
Cloud Ml V1__Hyperparameter Spec Goal Maximize - MAXIMIZEMaximize the goal metric.
- Google
Cloud Ml V1__Hyperparameter Spec Goal Minimize - MINIMIZEMinimize the goal metric.
- Goal
Type Unspecified - GOAL_TYPE_UNSPECIFIEDGoal Type will default to maximize.
- Maximize
- MAXIMIZEMaximize the goal metric.
- Minimize
- MINIMIZEMinimize the goal metric.
- Goal
Type Unspecified - GOAL_TYPE_UNSPECIFIEDGoal Type will default to maximize.
- Maximize
- MAXIMIZEMaximize the goal metric.
- Minimize
- MINIMIZEMinimize the goal metric.
- GOAL_TYPE_UNSPECIFIED
- GOAL_TYPE_UNSPECIFIEDGoal Type will default to maximize.
- MAXIMIZE
- MAXIMIZEMaximize the goal metric.
- MINIMIZE
- MINIMIZEMinimize the goal metric.
- "GOAL_TYPE_UNSPECIFIED"
- GOAL_TYPE_UNSPECIFIEDGoal Type will default to maximize.
- "MAXIMIZE"
- MAXIMIZEMaximize the goal metric.
- "MINIMIZE"
- MINIMIZEMinimize the goal metric.
GoogleCloudMlV1__HyperparameterSpecResponse, GoogleCloudMlV1__HyperparameterSpecResponseArgs
- Algorithm string
- Optional. The search algorithm specified for the hyperparameter tuning job. Uses the default AI Platform hyperparameter tuning algorithm if unspecified.
- Enable
Trial boolEarly Stopping - Optional. Indicates if the hyperparameter tuning job enables auto trial early stopping.
- Goal string
- The type of goal to use for tuning. Available types are
MAXIMIZE
andMINIMIZE
. Defaults toMAXIMIZE
. - Hyperparameter
Metric stringTag - Optional. The TensorFlow summary tag name to use for optimizing trials. For current versions of TensorFlow, this tag name should exactly match what is shown in TensorBoard, including all scopes. For versions of TensorFlow prior to 0.12, this should be only the tag passed to tf.Summary. By default, "training/hptuning/metric" will be used.
- Max
Failed intTrials - Optional. The number of failed trials that need to be seen before failing the hyperparameter tuning job. You can specify this field to override the default failing criteria for AI Platform hyperparameter tuning jobs. Defaults to zero, which means the service decides when a hyperparameter job should fail.
- Max
Parallel intTrials - Optional. The number of training trials to run concurrently. You can reduce the time it takes to perform hyperparameter tuning by adding trials in parallel. However, each trail only benefits from the information gained in completed trials. That means that a trial does not get access to the results of trials running at the same time, which could reduce the quality of the overall optimization. Each trial will use the same scale tier and machine types. Defaults to one.
- Max
Trials int - Optional. How many training trials should be attempted to optimize the specified hyperparameters. Defaults to one.
- Params
List<Pulumi.
Google Native. Ml. V1. Inputs. Google Cloud Ml V1__Parameter Spec Response> - The set of parameters to tune.
- Resume
Previous stringJob Id - Optional. The prior hyperparameter tuning job id that users hope to continue with. The job id will be used to find the corresponding vizier study guid and resume the study.
- Algorithm string
- Optional. The search algorithm specified for the hyperparameter tuning job. Uses the default AI Platform hyperparameter tuning algorithm if unspecified.
- Enable
Trial boolEarly Stopping - Optional. Indicates if the hyperparameter tuning job enables auto trial early stopping.
- Goal string
- The type of goal to use for tuning. Available types are
MAXIMIZE
andMINIMIZE
. Defaults toMAXIMIZE
. - Hyperparameter
Metric stringTag - Optional. The TensorFlow summary tag name to use for optimizing trials. For current versions of TensorFlow, this tag name should exactly match what is shown in TensorBoard, including all scopes. For versions of TensorFlow prior to 0.12, this should be only the tag passed to tf.Summary. By default, "training/hptuning/metric" will be used.
- Max
Failed intTrials - Optional. The number of failed trials that need to be seen before failing the hyperparameter tuning job. You can specify this field to override the default failing criteria for AI Platform hyperparameter tuning jobs. Defaults to zero, which means the service decides when a hyperparameter job should fail.
- Max
Parallel intTrials - Optional. The number of training trials to run concurrently. You can reduce the time it takes to perform hyperparameter tuning by adding trials in parallel. However, each trail only benefits from the information gained in completed trials. That means that a trial does not get access to the results of trials running at the same time, which could reduce the quality of the overall optimization. Each trial will use the same scale tier and machine types. Defaults to one.
- Max
Trials int - Optional. How many training trials should be attempted to optimize the specified hyperparameters. Defaults to one.
- Params
[]Google
Cloud Ml V1__Parameter Spec Response - The set of parameters to tune.
- Resume
Previous stringJob Id - Optional. The prior hyperparameter tuning job id that users hope to continue with. The job id will be used to find the corresponding vizier study guid and resume the study.
- algorithm String
- Optional. The search algorithm specified for the hyperparameter tuning job. Uses the default AI Platform hyperparameter tuning algorithm if unspecified.
- enable
Trial BooleanEarly Stopping - Optional. Indicates if the hyperparameter tuning job enables auto trial early stopping.
- goal String
- The type of goal to use for tuning. Available types are
MAXIMIZE
andMINIMIZE
. Defaults toMAXIMIZE
. - hyperparameter
Metric StringTag - Optional. The TensorFlow summary tag name to use for optimizing trials. For current versions of TensorFlow, this tag name should exactly match what is shown in TensorBoard, including all scopes. For versions of TensorFlow prior to 0.12, this should be only the tag passed to tf.Summary. By default, "training/hptuning/metric" will be used.
- max
Failed IntegerTrials - Optional. The number of failed trials that need to be seen before failing the hyperparameter tuning job. You can specify this field to override the default failing criteria for AI Platform hyperparameter tuning jobs. Defaults to zero, which means the service decides when a hyperparameter job should fail.
- max
Parallel IntegerTrials - Optional. The number of training trials to run concurrently. You can reduce the time it takes to perform hyperparameter tuning by adding trials in parallel. However, each trail only benefits from the information gained in completed trials. That means that a trial does not get access to the results of trials running at the same time, which could reduce the quality of the overall optimization. Each trial will use the same scale tier and machine types. Defaults to one.
- max
Trials Integer - Optional. How many training trials should be attempted to optimize the specified hyperparameters. Defaults to one.
- params
List<Google
Cloud Ml V1__Parameter Spec Response> - The set of parameters to tune.
- resume
Previous StringJob Id - Optional. The prior hyperparameter tuning job id that users hope to continue with. The job id will be used to find the corresponding vizier study guid and resume the study.
- algorithm string
- Optional. The search algorithm specified for the hyperparameter tuning job. Uses the default AI Platform hyperparameter tuning algorithm if unspecified.
- enable
Trial booleanEarly Stopping - Optional. Indicates if the hyperparameter tuning job enables auto trial early stopping.
- goal string
- The type of goal to use for tuning. Available types are
MAXIMIZE
andMINIMIZE
. Defaults toMAXIMIZE
. - hyperparameter
Metric stringTag - Optional. The TensorFlow summary tag name to use for optimizing trials. For current versions of TensorFlow, this tag name should exactly match what is shown in TensorBoard, including all scopes. For versions of TensorFlow prior to 0.12, this should be only the tag passed to tf.Summary. By default, "training/hptuning/metric" will be used.
- max
Failed numberTrials - Optional. The number of failed trials that need to be seen before failing the hyperparameter tuning job. You can specify this field to override the default failing criteria for AI Platform hyperparameter tuning jobs. Defaults to zero, which means the service decides when a hyperparameter job should fail.
- max
Parallel numberTrials - Optional. The number of training trials to run concurrently. You can reduce the time it takes to perform hyperparameter tuning by adding trials in parallel. However, each trail only benefits from the information gained in completed trials. That means that a trial does not get access to the results of trials running at the same time, which could reduce the quality of the overall optimization. Each trial will use the same scale tier and machine types. Defaults to one.
- max
Trials number - Optional. How many training trials should be attempted to optimize the specified hyperparameters. Defaults to one.
- params
Google
Cloud Ml V1__Parameter Spec Response[] - The set of parameters to tune.
- resume
Previous stringJob Id - Optional. The prior hyperparameter tuning job id that users hope to continue with. The job id will be used to find the corresponding vizier study guid and resume the study.
- algorithm str
- Optional. The search algorithm specified for the hyperparameter tuning job. Uses the default AI Platform hyperparameter tuning algorithm if unspecified.
- enable_
trial_ boolearly_ stopping - Optional. Indicates if the hyperparameter tuning job enables auto trial early stopping.
- goal str
- The type of goal to use for tuning. Available types are
MAXIMIZE
andMINIMIZE
. Defaults toMAXIMIZE
. - hyperparameter_
metric_ strtag - Optional. The TensorFlow summary tag name to use for optimizing trials. For current versions of TensorFlow, this tag name should exactly match what is shown in TensorBoard, including all scopes. For versions of TensorFlow prior to 0.12, this should be only the tag passed to tf.Summary. By default, "training/hptuning/metric" will be used.
- max_
failed_ inttrials - Optional. The number of failed trials that need to be seen before failing the hyperparameter tuning job. You can specify this field to override the default failing criteria for AI Platform hyperparameter tuning jobs. Defaults to zero, which means the service decides when a hyperparameter job should fail.
- max_
parallel_ inttrials - Optional. The number of training trials to run concurrently. You can reduce the time it takes to perform hyperparameter tuning by adding trials in parallel. However, each trail only benefits from the information gained in completed trials. That means that a trial does not get access to the results of trials running at the same time, which could reduce the quality of the overall optimization. Each trial will use the same scale tier and machine types. Defaults to one.
- max_
trials int - Optional. How many training trials should be attempted to optimize the specified hyperparameters. Defaults to one.
- params
Sequence[Google
Cloud Ml V1Parameter Spec Response] - The set of parameters to tune.
- resume_
previous_ strjob_ id - Optional. The prior hyperparameter tuning job id that users hope to continue with. The job id will be used to find the corresponding vizier study guid and resume the study.
- algorithm String
- Optional. The search algorithm specified for the hyperparameter tuning job. Uses the default AI Platform hyperparameter tuning algorithm if unspecified.
- enable
Trial BooleanEarly Stopping - Optional. Indicates if the hyperparameter tuning job enables auto trial early stopping.
- goal String
- The type of goal to use for tuning. Available types are
MAXIMIZE
andMINIMIZE
. Defaults toMAXIMIZE
. - hyperparameter
Metric StringTag - Optional. The TensorFlow summary tag name to use for optimizing trials. For current versions of TensorFlow, this tag name should exactly match what is shown in TensorBoard, including all scopes. For versions of TensorFlow prior to 0.12, this should be only the tag passed to tf.Summary. By default, "training/hptuning/metric" will be used.
- max
Failed NumberTrials - Optional. The number of failed trials that need to be seen before failing the hyperparameter tuning job. You can specify this field to override the default failing criteria for AI Platform hyperparameter tuning jobs. Defaults to zero, which means the service decides when a hyperparameter job should fail.
- max
Parallel NumberTrials - Optional. The number of training trials to run concurrently. You can reduce the time it takes to perform hyperparameter tuning by adding trials in parallel. However, each trail only benefits from the information gained in completed trials. That means that a trial does not get access to the results of trials running at the same time, which could reduce the quality of the overall optimization. Each trial will use the same scale tier and machine types. Defaults to one.
- max
Trials Number - Optional. How many training trials should be attempted to optimize the specified hyperparameters. Defaults to one.
- params List<Property Map>
- The set of parameters to tune.
- resume
Previous StringJob Id - Optional. The prior hyperparameter tuning job id that users hope to continue with. The job id will be used to find the corresponding vizier study guid and resume the study.
GoogleCloudMlV1__ParameterSpec, GoogleCloudMlV1__ParameterSpecArgs
- Parameter
Name string - The parameter name must be unique amongst all ParameterConfigs in a HyperparameterSpec message. E.g., "learning_rate".
- Type
Pulumi.
Google Native. Ml. V1. Google Cloud Ml V1__Parameter Spec Type - The type of the parameter.
- Categorical
Values List<string> - Required if type is
CATEGORICAL
. The list of possible categories. - Discrete
Values List<double> - Required if type is
DISCRETE
. A list of feasible points. The list should be in strictly increasing order. For instance, this parameter might have possible settings of 1.5, 2.5, and 4.0. This list should not contain more than 1,000 values. - Max
Value double - Required if type is
DOUBLE
orINTEGER
. This field should be unset if type isCATEGORICAL
. This value should be integers if type isINTEGER
. - Min
Value double - Required if type is
DOUBLE
orINTEGER
. This field should be unset if type isCATEGORICAL
. This value should be integers if type is INTEGER. - Scale
Type Pulumi.Google Native. Ml. V1. Google Cloud Ml V1__Parameter Spec Scale Type - Optional. How the parameter should be scaled to the hypercube. Leave unset for categorical parameters. Some kind of scaling is strongly recommended for real or integral parameters (e.g.,
UNIT_LINEAR_SCALE
).
- Parameter
Name string - The parameter name must be unique amongst all ParameterConfigs in a HyperparameterSpec message. E.g., "learning_rate".
- Type
Google
Cloud Ml V1__Parameter Spec Type - The type of the parameter.
- Categorical
Values []string - Required if type is
CATEGORICAL
. The list of possible categories. - Discrete
Values []float64 - Required if type is
DISCRETE
. A list of feasible points. The list should be in strictly increasing order. For instance, this parameter might have possible settings of 1.5, 2.5, and 4.0. This list should not contain more than 1,000 values. - Max
Value float64 - Required if type is
DOUBLE
orINTEGER
. This field should be unset if type isCATEGORICAL
. This value should be integers if type isINTEGER
. - Min
Value float64 - Required if type is
DOUBLE
orINTEGER
. This field should be unset if type isCATEGORICAL
. This value should be integers if type is INTEGER. - Scale
Type GoogleCloud Ml V1__Parameter Spec Scale Type - Optional. How the parameter should be scaled to the hypercube. Leave unset for categorical parameters. Some kind of scaling is strongly recommended for real or integral parameters (e.g.,
UNIT_LINEAR_SCALE
).
- parameter
Name String - The parameter name must be unique amongst all ParameterConfigs in a HyperparameterSpec message. E.g., "learning_rate".
- type
Google
Cloud Ml V1__Parameter Spec Type - The type of the parameter.
- categorical
Values List<String> - Required if type is
CATEGORICAL
. The list of possible categories. - discrete
Values List<Double> - Required if type is
DISCRETE
. A list of feasible points. The list should be in strictly increasing order. For instance, this parameter might have possible settings of 1.5, 2.5, and 4.0. This list should not contain more than 1,000 values. - max
Value Double - Required if type is
DOUBLE
orINTEGER
. This field should be unset if type isCATEGORICAL
. This value should be integers if type isINTEGER
. - min
Value Double - Required if type is
DOUBLE
orINTEGER
. This field should be unset if type isCATEGORICAL
. This value should be integers if type is INTEGER. - scale
Type GoogleCloud Ml V1__Parameter Spec Scale Type - Optional. How the parameter should be scaled to the hypercube. Leave unset for categorical parameters. Some kind of scaling is strongly recommended for real or integral parameters (e.g.,
UNIT_LINEAR_SCALE
).
- parameter
Name string - The parameter name must be unique amongst all ParameterConfigs in a HyperparameterSpec message. E.g., "learning_rate".
- type
Google
Cloud Ml V1__Parameter Spec Type - The type of the parameter.
- categorical
Values string[] - Required if type is
CATEGORICAL
. The list of possible categories. - discrete
Values number[] - Required if type is
DISCRETE
. A list of feasible points. The list should be in strictly increasing order. For instance, this parameter might have possible settings of 1.5, 2.5, and 4.0. This list should not contain more than 1,000 values. - max
Value number - Required if type is
DOUBLE
orINTEGER
. This field should be unset if type isCATEGORICAL
. This value should be integers if type isINTEGER
. - min
Value number - Required if type is
DOUBLE
orINTEGER
. This field should be unset if type isCATEGORICAL
. This value should be integers if type is INTEGER. - scale
Type GoogleCloud Ml V1__Parameter Spec Scale Type - Optional. How the parameter should be scaled to the hypercube. Leave unset for categorical parameters. Some kind of scaling is strongly recommended for real or integral parameters (e.g.,
UNIT_LINEAR_SCALE
).
- parameter_
name str - The parameter name must be unique amongst all ParameterConfigs in a HyperparameterSpec message. E.g., "learning_rate".
- type
Google
Cloud Ml V1Parameter Spec Type - The type of the parameter.
- categorical_
values Sequence[str] - Required if type is
CATEGORICAL
. The list of possible categories. - discrete_
values Sequence[float] - Required if type is
DISCRETE
. A list of feasible points. The list should be in strictly increasing order. For instance, this parameter might have possible settings of 1.5, 2.5, and 4.0. This list should not contain more than 1,000 values. - max_
value float - Required if type is
DOUBLE
orINTEGER
. This field should be unset if type isCATEGORICAL
. This value should be integers if type isINTEGER
. - min_
value float - Required if type is
DOUBLE
orINTEGER
. This field should be unset if type isCATEGORICAL
. This value should be integers if type is INTEGER. - scale_
type GoogleCloud Ml V1Parameter Spec Scale Type - Optional. How the parameter should be scaled to the hypercube. Leave unset for categorical parameters. Some kind of scaling is strongly recommended for real or integral parameters (e.g.,
UNIT_LINEAR_SCALE
).
- parameter
Name String - The parameter name must be unique amongst all ParameterConfigs in a HyperparameterSpec message. E.g., "learning_rate".
- type "PARAMETER_TYPE_UNSPECIFIED" | "DOUBLE" | "INTEGER" | "CATEGORICAL" | "DISCRETE"
- The type of the parameter.
- categorical
Values List<String> - Required if type is
CATEGORICAL
. The list of possible categories. - discrete
Values List<Number> - Required if type is
DISCRETE
. A list of feasible points. The list should be in strictly increasing order. For instance, this parameter might have possible settings of 1.5, 2.5, and 4.0. This list should not contain more than 1,000 values. - max
Value Number - Required if type is
DOUBLE
orINTEGER
. This field should be unset if type isCATEGORICAL
. This value should be integers if type isINTEGER
. - min
Value Number - Required if type is
DOUBLE
orINTEGER
. This field should be unset if type isCATEGORICAL
. This value should be integers if type is INTEGER. - scale
Type "NONE" | "UNIT_LINEAR_SCALE" | "UNIT_LOG_SCALE" | "UNIT_REVERSE_LOG_SCALE" - Optional. How the parameter should be scaled to the hypercube. Leave unset for categorical parameters. Some kind of scaling is strongly recommended for real or integral parameters (e.g.,
UNIT_LINEAR_SCALE
).
GoogleCloudMlV1__ParameterSpecResponse, GoogleCloudMlV1__ParameterSpecResponseArgs
- Categorical
Values List<string> - Required if type is
CATEGORICAL
. The list of possible categories. - Discrete
Values List<double> - Required if type is
DISCRETE
. A list of feasible points. The list should be in strictly increasing order. For instance, this parameter might have possible settings of 1.5, 2.5, and 4.0. This list should not contain more than 1,000 values. - Max
Value double - Required if type is
DOUBLE
orINTEGER
. This field should be unset if type isCATEGORICAL
. This value should be integers if type isINTEGER
. - Min
Value double - Required if type is
DOUBLE
orINTEGER
. This field should be unset if type isCATEGORICAL
. This value should be integers if type is INTEGER. - Parameter
Name string - The parameter name must be unique amongst all ParameterConfigs in a HyperparameterSpec message. E.g., "learning_rate".
- Scale
Type string - Optional. How the parameter should be scaled to the hypercube. Leave unset for categorical parameters. Some kind of scaling is strongly recommended for real or integral parameters (e.g.,
UNIT_LINEAR_SCALE
). - Type string
- The type of the parameter.
- Categorical
Values []string - Required if type is
CATEGORICAL
. The list of possible categories. - Discrete
Values []float64 - Required if type is
DISCRETE
. A list of feasible points. The list should be in strictly increasing order. For instance, this parameter might have possible settings of 1.5, 2.5, and 4.0. This list should not contain more than 1,000 values. - Max
Value float64 - Required if type is
DOUBLE
orINTEGER
. This field should be unset if type isCATEGORICAL
. This value should be integers if type isINTEGER
. - Min
Value float64 - Required if type is
DOUBLE
orINTEGER
. This field should be unset if type isCATEGORICAL
. This value should be integers if type is INTEGER. - Parameter
Name string - The parameter name must be unique amongst all ParameterConfigs in a HyperparameterSpec message. E.g., "learning_rate".
- Scale
Type string - Optional. How the parameter should be scaled to the hypercube. Leave unset for categorical parameters. Some kind of scaling is strongly recommended for real or integral parameters (e.g.,
UNIT_LINEAR_SCALE
). - Type string
- The type of the parameter.
- categorical
Values List<String> - Required if type is
CATEGORICAL
. The list of possible categories. - discrete
Values List<Double> - Required if type is
DISCRETE
. A list of feasible points. The list should be in strictly increasing order. For instance, this parameter might have possible settings of 1.5, 2.5, and 4.0. This list should not contain more than 1,000 values. - max
Value Double - Required if type is
DOUBLE
orINTEGER
. This field should be unset if type isCATEGORICAL
. This value should be integers if type isINTEGER
. - min
Value Double - Required if type is
DOUBLE
orINTEGER
. This field should be unset if type isCATEGORICAL
. This value should be integers if type is INTEGER. - parameter
Name String - The parameter name must be unique amongst all ParameterConfigs in a HyperparameterSpec message. E.g., "learning_rate".
- scale
Type String - Optional. How the parameter should be scaled to the hypercube. Leave unset for categorical parameters. Some kind of scaling is strongly recommended for real or integral parameters (e.g.,
UNIT_LINEAR_SCALE
). - type String
- The type of the parameter.
- categorical
Values string[] - Required if type is
CATEGORICAL
. The list of possible categories. - discrete
Values number[] - Required if type is
DISCRETE
. A list of feasible points. The list should be in strictly increasing order. For instance, this parameter might have possible settings of 1.5, 2.5, and 4.0. This list should not contain more than 1,000 values. - max
Value number - Required if type is
DOUBLE
orINTEGER
. This field should be unset if type isCATEGORICAL
. This value should be integers if type isINTEGER
. - min
Value number - Required if type is
DOUBLE
orINTEGER
. This field should be unset if type isCATEGORICAL
. This value should be integers if type is INTEGER. - parameter
Name string - The parameter name must be unique amongst all ParameterConfigs in a HyperparameterSpec message. E.g., "learning_rate".
- scale
Type string - Optional. How the parameter should be scaled to the hypercube. Leave unset for categorical parameters. Some kind of scaling is strongly recommended for real or integral parameters (e.g.,
UNIT_LINEAR_SCALE
). - type string
- The type of the parameter.
- categorical_
values Sequence[str] - Required if type is
CATEGORICAL
. The list of possible categories. - discrete_
values Sequence[float] - Required if type is
DISCRETE
. A list of feasible points. The list should be in strictly increasing order. For instance, this parameter might have possible settings of 1.5, 2.5, and 4.0. This list should not contain more than 1,000 values. - max_
value float - Required if type is
DOUBLE
orINTEGER
. This field should be unset if type isCATEGORICAL
. This value should be integers if type isINTEGER
. - min_
value float - Required if type is
DOUBLE
orINTEGER
. This field should be unset if type isCATEGORICAL
. This value should be integers if type is INTEGER. - parameter_
name str - The parameter name must be unique amongst all ParameterConfigs in a HyperparameterSpec message. E.g., "learning_rate".
- scale_
type str - Optional. How the parameter should be scaled to the hypercube. Leave unset for categorical parameters. Some kind of scaling is strongly recommended for real or integral parameters (e.g.,
UNIT_LINEAR_SCALE
). - type str
- The type of the parameter.
- categorical
Values List<String> - Required if type is
CATEGORICAL
. The list of possible categories. - discrete
Values List<Number> - Required if type is
DISCRETE
. A list of feasible points. The list should be in strictly increasing order. For instance, this parameter might have possible settings of 1.5, 2.5, and 4.0. This list should not contain more than 1,000 values. - max
Value Number - Required if type is
DOUBLE
orINTEGER
. This field should be unset if type isCATEGORICAL
. This value should be integers if type isINTEGER
. - min
Value Number - Required if type is
DOUBLE
orINTEGER
. This field should be unset if type isCATEGORICAL
. This value should be integers if type is INTEGER. - parameter
Name String - The parameter name must be unique amongst all ParameterConfigs in a HyperparameterSpec message. E.g., "learning_rate".
- scale
Type String - Optional. How the parameter should be scaled to the hypercube. Leave unset for categorical parameters. Some kind of scaling is strongly recommended for real or integral parameters (e.g.,
UNIT_LINEAR_SCALE
). - type String
- The type of the parameter.
GoogleCloudMlV1__ParameterSpecScaleType, GoogleCloudMlV1__ParameterSpecScaleTypeArgs
- None
- NONEBy default, no scaling is applied.
- Unit
Linear Scale - UNIT_LINEAR_SCALEScales the feasible space to (0, 1) linearly.
- Unit
Log Scale - UNIT_LOG_SCALEScales the feasible space logarithmically to (0, 1). The entire feasible space must be strictly positive.
- Unit
Reverse Log Scale - UNIT_REVERSE_LOG_SCALEScales the feasible space "reverse" logarithmically to (0, 1). The result is that values close to the top of the feasible space are spread out more than points near the bottom. The entire feasible space must be strictly positive.
- Google
Cloud Ml V1__Parameter Spec Scale Type None - NONEBy default, no scaling is applied.
- Google
Cloud Ml V1__Parameter Spec Scale Type Unit Linear Scale - UNIT_LINEAR_SCALEScales the feasible space to (0, 1) linearly.
- Google
Cloud Ml V1__Parameter Spec Scale Type Unit Log Scale - UNIT_LOG_SCALEScales the feasible space logarithmically to (0, 1). The entire feasible space must be strictly positive.
- Google
Cloud Ml V1__Parameter Spec Scale Type Unit Reverse Log Scale - UNIT_REVERSE_LOG_SCALEScales the feasible space "reverse" logarithmically to (0, 1). The result is that values close to the top of the feasible space are spread out more than points near the bottom. The entire feasible space must be strictly positive.
- None
- NONEBy default, no scaling is applied.
- Unit
Linear Scale - UNIT_LINEAR_SCALEScales the feasible space to (0, 1) linearly.
- Unit
Log Scale - UNIT_LOG_SCALEScales the feasible space logarithmically to (0, 1). The entire feasible space must be strictly positive.
- Unit
Reverse Log Scale - UNIT_REVERSE_LOG_SCALEScales the feasible space "reverse" logarithmically to (0, 1). The result is that values close to the top of the feasible space are spread out more than points near the bottom. The entire feasible space must be strictly positive.
- None
- NONEBy default, no scaling is applied.
- Unit
Linear Scale - UNIT_LINEAR_SCALEScales the feasible space to (0, 1) linearly.
- Unit
Log Scale - UNIT_LOG_SCALEScales the feasible space logarithmically to (0, 1). The entire feasible space must be strictly positive.
- Unit
Reverse Log Scale - UNIT_REVERSE_LOG_SCALEScales the feasible space "reverse" logarithmically to (0, 1). The result is that values close to the top of the feasible space are spread out more than points near the bottom. The entire feasible space must be strictly positive.
- NONE
- NONEBy default, no scaling is applied.
- UNIT_LINEAR_SCALE
- UNIT_LINEAR_SCALEScales the feasible space to (0, 1) linearly.
- UNIT_LOG_SCALE
- UNIT_LOG_SCALEScales the feasible space logarithmically to (0, 1). The entire feasible space must be strictly positive.
- UNIT_REVERSE_LOG_SCALE
- UNIT_REVERSE_LOG_SCALEScales the feasible space "reverse" logarithmically to (0, 1). The result is that values close to the top of the feasible space are spread out more than points near the bottom. The entire feasible space must be strictly positive.
- "NONE"
- NONEBy default, no scaling is applied.
- "UNIT_LINEAR_SCALE"
- UNIT_LINEAR_SCALEScales the feasible space to (0, 1) linearly.
- "UNIT_LOG_SCALE"
- UNIT_LOG_SCALEScales the feasible space logarithmically to (0, 1). The entire feasible space must be strictly positive.
- "UNIT_REVERSE_LOG_SCALE"
- UNIT_REVERSE_LOG_SCALEScales the feasible space "reverse" logarithmically to (0, 1). The result is that values close to the top of the feasible space are spread out more than points near the bottom. The entire feasible space must be strictly positive.
GoogleCloudMlV1__ParameterSpecType, GoogleCloudMlV1__ParameterSpecTypeArgs
- Parameter
Type Unspecified - PARAMETER_TYPE_UNSPECIFIEDYou must specify a valid type. Using this unspecified type will result in an error.
- Double
- DOUBLEType for real-valued parameters.
- Integer
- INTEGERType for integral parameters.
- Categorical
- CATEGORICALThe parameter is categorical, with a value chosen from the categories field.
- Discrete
- DISCRETEThe parameter is real valued, with a fixed set of feasible points. If
type==DISCRETE
, feasible_points must be provided, and {min_value
,max_value
} will be ignored.
- Google
Cloud Ml V1__Parameter Spec Type Parameter Type Unspecified - PARAMETER_TYPE_UNSPECIFIEDYou must specify a valid type. Using this unspecified type will result in an error.
- Google
Cloud Ml V1__Parameter Spec Type Double - DOUBLEType for real-valued parameters.
- Google
Cloud Ml V1__Parameter Spec Type Integer - INTEGERType for integral parameters.
- Google
Cloud Ml V1__Parameter Spec Type Categorical - CATEGORICALThe parameter is categorical, with a value chosen from the categories field.
- Google
Cloud Ml V1__Parameter Spec Type Discrete - DISCRETEThe parameter is real valued, with a fixed set of feasible points. If
type==DISCRETE
, feasible_points must be provided, and {min_value
,max_value
} will be ignored.
- Parameter
Type Unspecified - PARAMETER_TYPE_UNSPECIFIEDYou must specify a valid type. Using this unspecified type will result in an error.
- Double
- DOUBLEType for real-valued parameters.
- Integer
- INTEGERType for integral parameters.
- Categorical
- CATEGORICALThe parameter is categorical, with a value chosen from the categories field.
- Discrete
- DISCRETEThe parameter is real valued, with a fixed set of feasible points. If
type==DISCRETE
, feasible_points must be provided, and {min_value
,max_value
} will be ignored.
- Parameter
Type Unspecified - PARAMETER_TYPE_UNSPECIFIEDYou must specify a valid type. Using this unspecified type will result in an error.
- Double
- DOUBLEType for real-valued parameters.
- Integer
- INTEGERType for integral parameters.
- Categorical
- CATEGORICALThe parameter is categorical, with a value chosen from the categories field.
- Discrete
- DISCRETEThe parameter is real valued, with a fixed set of feasible points. If
type==DISCRETE
, feasible_points must be provided, and {min_value
,max_value
} will be ignored.
- PARAMETER_TYPE_UNSPECIFIED
- PARAMETER_TYPE_UNSPECIFIEDYou must specify a valid type. Using this unspecified type will result in an error.
- DOUBLE
- DOUBLEType for real-valued parameters.
- INTEGER
- INTEGERType for integral parameters.
- CATEGORICAL
- CATEGORICALThe parameter is categorical, with a value chosen from the categories field.
- DISCRETE
- DISCRETEThe parameter is real valued, with a fixed set of feasible points. If
type==DISCRETE
, feasible_points must be provided, and {min_value
,max_value
} will be ignored.
- "PARAMETER_TYPE_UNSPECIFIED"
- PARAMETER_TYPE_UNSPECIFIEDYou must specify a valid type. Using this unspecified type will result in an error.
- "DOUBLE"
- DOUBLEType for real-valued parameters.
- "INTEGER"
- INTEGERType for integral parameters.
- "CATEGORICAL"
- CATEGORICALThe parameter is categorical, with a value chosen from the categories field.
- "DISCRETE"
- DISCRETEThe parameter is real valued, with a fixed set of feasible points. If
type==DISCRETE
, feasible_points must be provided, and {min_value
,max_value
} will be ignored.
GoogleCloudMlV1__PredictionInput, GoogleCloudMlV1__PredictionInputArgs
- Data
Format Pulumi.Google Native. Ml. V1. Google Cloud Ml V1__Prediction Input Data Format - The format of the input data files.
- Input
Paths List<string> - The Cloud Storage location of the input data files. May contain wildcards.
- Output
Path string - The output Google Cloud Storage location.
- Region string
- The Google Compute Engine region to run the prediction job in. See the available regions for AI Platform services.
- Batch
Size string - Optional. Number of records per batch, defaults to 64. The service will buffer batch_size number of records in memory before invoking one Tensorflow prediction call internally. So take the record size and memory available into consideration when setting this parameter.
- Max
Worker stringCount - Optional. The maximum number of workers to be used for parallel processing. Defaults to 10 if not specified.
- Model
Name string - Use this field if you want to use the default version for the specified model. The string must use the following format:
"projects/YOUR_PROJECT/models/YOUR_MODEL"
- Output
Data Pulumi.Format Google Native. Ml. V1. Google Cloud Ml V1__Prediction Input Output Data Format - Optional. Format of the output data files, defaults to JSON.
- Runtime
Version string - Optional. The AI Platform runtime version to use for this batch prediction. If not set, AI Platform will pick the runtime version used during the CreateVersion request for this model version, or choose the latest stable version when model version information is not available such as when the model is specified by uri.
- Signature
Name string - Optional. The name of the signature defined in the SavedModel to use for this job. Please refer to SavedModel for information about how to use signatures. Defaults to DEFAULT_SERVING_SIGNATURE_DEF_KEY , which is "serving_default".
- Uri string
- Use this field if you want to specify a Google Cloud Storage path for the model to use.
- Version
Name string - Use this field if you want to specify a version of the model to use. The string is formatted the same way as
model_version
, with the addition of the version information:"projects/YOUR_PROJECT/models/YOUR_MODEL/versions/YOUR_VERSION"
- Data
Format GoogleCloud Ml V1__Prediction Input Data Format - The format of the input data files.
- Input
Paths []string - The Cloud Storage location of the input data files. May contain wildcards.
- Output
Path string - The output Google Cloud Storage location.
- Region string
- The Google Compute Engine region to run the prediction job in. See the available regions for AI Platform services.
- Batch
Size string - Optional. Number of records per batch, defaults to 64. The service will buffer batch_size number of records in memory before invoking one Tensorflow prediction call internally. So take the record size and memory available into consideration when setting this parameter.
- Max
Worker stringCount - Optional. The maximum number of workers to be used for parallel processing. Defaults to 10 if not specified.
- Model
Name string - Use this field if you want to use the default version for the specified model. The string must use the following format:
"projects/YOUR_PROJECT/models/YOUR_MODEL"
- Output
Data GoogleFormat Cloud Ml V1__Prediction Input Output Data Format - Optional. Format of the output data files, defaults to JSON.
- Runtime
Version string - Optional. The AI Platform runtime version to use for this batch prediction. If not set, AI Platform will pick the runtime version used during the CreateVersion request for this model version, or choose the latest stable version when model version information is not available such as when the model is specified by uri.
- Signature
Name string - Optional. The name of the signature defined in the SavedModel to use for this job. Please refer to SavedModel for information about how to use signatures. Defaults to DEFAULT_SERVING_SIGNATURE_DEF_KEY , which is "serving_default".
- Uri string
- Use this field if you want to specify a Google Cloud Storage path for the model to use.
- Version
Name string - Use this field if you want to specify a version of the model to use. The string is formatted the same way as
model_version
, with the addition of the version information:"projects/YOUR_PROJECT/models/YOUR_MODEL/versions/YOUR_VERSION"
- data
Format GoogleCloud Ml V1__Prediction Input Data Format - The format of the input data files.
- input
Paths List<String> - The Cloud Storage location of the input data files. May contain wildcards.
- output
Path String - The output Google Cloud Storage location.
- region String
- The Google Compute Engine region to run the prediction job in. See the available regions for AI Platform services.
- batch
Size String - Optional. Number of records per batch, defaults to 64. The service will buffer batch_size number of records in memory before invoking one Tensorflow prediction call internally. So take the record size and memory available into consideration when setting this parameter.
- max
Worker StringCount - Optional. The maximum number of workers to be used for parallel processing. Defaults to 10 if not specified.
- model
Name String - Use this field if you want to use the default version for the specified model. The string must use the following format:
"projects/YOUR_PROJECT/models/YOUR_MODEL"
- output
Data GoogleFormat Cloud Ml V1__Prediction Input Output Data Format - Optional. Format of the output data files, defaults to JSON.
- runtime
Version String - Optional. The AI Platform runtime version to use for this batch prediction. If not set, AI Platform will pick the runtime version used during the CreateVersion request for this model version, or choose the latest stable version when model version information is not available such as when the model is specified by uri.
- signature
Name String - Optional. The name of the signature defined in the SavedModel to use for this job. Please refer to SavedModel for information about how to use signatures. Defaults to DEFAULT_SERVING_SIGNATURE_DEF_KEY , which is "serving_default".
- uri String
- Use this field if you want to specify a Google Cloud Storage path for the model to use.
- version
Name String - Use this field if you want to specify a version of the model to use. The string is formatted the same way as
model_version
, with the addition of the version information:"projects/YOUR_PROJECT/models/YOUR_MODEL/versions/YOUR_VERSION"
- data
Format GoogleCloud Ml V1__Prediction Input Data Format - The format of the input data files.
- input
Paths string[] - The Cloud Storage location of the input data files. May contain wildcards.
- output
Path string - The output Google Cloud Storage location.
- region string
- The Google Compute Engine region to run the prediction job in. See the available regions for AI Platform services.
- batch
Size string - Optional. Number of records per batch, defaults to 64. The service will buffer batch_size number of records in memory before invoking one Tensorflow prediction call internally. So take the record size and memory available into consideration when setting this parameter.
- max
Worker stringCount - Optional. The maximum number of workers to be used for parallel processing. Defaults to 10 if not specified.
- model
Name string - Use this field if you want to use the default version for the specified model. The string must use the following format:
"projects/YOUR_PROJECT/models/YOUR_MODEL"
- output
Data GoogleFormat Cloud Ml V1__Prediction Input Output Data Format - Optional. Format of the output data files, defaults to JSON.
- runtime
Version string - Optional. The AI Platform runtime version to use for this batch prediction. If not set, AI Platform will pick the runtime version used during the CreateVersion request for this model version, or choose the latest stable version when model version information is not available such as when the model is specified by uri.
- signature
Name string - Optional. The name of the signature defined in the SavedModel to use for this job. Please refer to SavedModel for information about how to use signatures. Defaults to DEFAULT_SERVING_SIGNATURE_DEF_KEY , which is "serving_default".
- uri string
- Use this field if you want to specify a Google Cloud Storage path for the model to use.
- version
Name string - Use this field if you want to specify a version of the model to use. The string is formatted the same way as
model_version
, with the addition of the version information:"projects/YOUR_PROJECT/models/YOUR_MODEL/versions/YOUR_VERSION"
- data_
format GoogleCloud Ml V1Prediction Input Data Format - The format of the input data files.
- input_
paths Sequence[str] - The Cloud Storage location of the input data files. May contain wildcards.
- output_
path str - The output Google Cloud Storage location.
- region str
- The Google Compute Engine region to run the prediction job in. See the available regions for AI Platform services.
- batch_
size str - Optional. Number of records per batch, defaults to 64. The service will buffer batch_size number of records in memory before invoking one Tensorflow prediction call internally. So take the record size and memory available into consideration when setting this parameter.
- max_
worker_ strcount - Optional. The maximum number of workers to be used for parallel processing. Defaults to 10 if not specified.
- model_
name str - Use this field if you want to use the default version for the specified model. The string must use the following format:
"projects/YOUR_PROJECT/models/YOUR_MODEL"
- output_
data_ Googleformat Cloud Ml V1Prediction Input Output Data Format - Optional. Format of the output data files, defaults to JSON.
- runtime_
version str - Optional. The AI Platform runtime version to use for this batch prediction. If not set, AI Platform will pick the runtime version used during the CreateVersion request for this model version, or choose the latest stable version when model version information is not available such as when the model is specified by uri.
- signature_
name str - Optional. The name of the signature defined in the SavedModel to use for this job. Please refer to SavedModel for information about how to use signatures. Defaults to DEFAULT_SERVING_SIGNATURE_DEF_KEY , which is "serving_default".
- uri str
- Use this field if you want to specify a Google Cloud Storage path for the model to use.
- version_
name str - Use this field if you want to specify a version of the model to use. The string is formatted the same way as
model_version
, with the addition of the version information:"projects/YOUR_PROJECT/models/YOUR_MODEL/versions/YOUR_VERSION"
- data
Format "DATA_FORMAT_UNSPECIFIED" | "JSON" | "TEXT" | "TF_RECORD" | "TF_RECORD_GZIP" | "CSV" - The format of the input data files.
- input
Paths List<String> - The Cloud Storage location of the input data files. May contain wildcards.
- output
Path String - The output Google Cloud Storage location.
- region String
- The Google Compute Engine region to run the prediction job in. See the available regions for AI Platform services.
- batch
Size String - Optional. Number of records per batch, defaults to 64. The service will buffer batch_size number of records in memory before invoking one Tensorflow prediction call internally. So take the record size and memory available into consideration when setting this parameter.
- max
Worker StringCount - Optional. The maximum number of workers to be used for parallel processing. Defaults to 10 if not specified.
- model
Name String - Use this field if you want to use the default version for the specified model. The string must use the following format:
"projects/YOUR_PROJECT/models/YOUR_MODEL"
- output
Data "DATA_FORMAT_UNSPECIFIED" | "JSON" | "TEXT" | "TF_RECORD" | "TF_RECORD_GZIP" | "CSV"Format - Optional. Format of the output data files, defaults to JSON.
- runtime
Version String - Optional. The AI Platform runtime version to use for this batch prediction. If not set, AI Platform will pick the runtime version used during the CreateVersion request for this model version, or choose the latest stable version when model version information is not available such as when the model is specified by uri.
- signature
Name String - Optional. The name of the signature defined in the SavedModel to use for this job. Please refer to SavedModel for information about how to use signatures. Defaults to DEFAULT_SERVING_SIGNATURE_DEF_KEY , which is "serving_default".
- uri String
- Use this field if you want to specify a Google Cloud Storage path for the model to use.
- version
Name String - Use this field if you want to specify a version of the model to use. The string is formatted the same way as
model_version
, with the addition of the version information:"projects/YOUR_PROJECT/models/YOUR_MODEL/versions/YOUR_VERSION"
GoogleCloudMlV1__PredictionInputDataFormat, GoogleCloudMlV1__PredictionInputDataFormatArgs
- Data
Format Unspecified - DATA_FORMAT_UNSPECIFIEDUnspecified format.
- Json
- JSONEach line of the file is a JSON dictionary representing one record.
- Text
- TEXTDeprecated. Use JSON instead.
- Tf
Record - TF_RECORDThe source file is a TFRecord file. Currently available only for input data.
- Tf
Record Gzip - TF_RECORD_GZIPThe source file is a GZIP-compressed TFRecord file. Currently available only for input data.
- Csv
- CSVValues are comma-separated rows, with keys in a separate file. Currently available only for output data.
- Google
Cloud Ml V1__Prediction Input Data Format Data Format Unspecified - DATA_FORMAT_UNSPECIFIEDUnspecified format.
- Google
Cloud Ml V1__Prediction Input Data Format Json - JSONEach line of the file is a JSON dictionary representing one record.
- Google
Cloud Ml V1__Prediction Input Data Format Text - TEXTDeprecated. Use JSON instead.
- Google
Cloud Ml V1__Prediction Input Data Format Tf Record - TF_RECORDThe source file is a TFRecord file. Currently available only for input data.
- Google
Cloud Ml V1__Prediction Input Data Format Tf Record Gzip - TF_RECORD_GZIPThe source file is a GZIP-compressed TFRecord file. Currently available only for input data.
- Google
Cloud Ml V1__Prediction Input Data Format Csv - CSVValues are comma-separated rows, with keys in a separate file. Currently available only for output data.
- Data
Format Unspecified - DATA_FORMAT_UNSPECIFIEDUnspecified format.
- Json
- JSONEach line of the file is a JSON dictionary representing one record.
- Text
- TEXTDeprecated. Use JSON instead.
- Tf
Record - TF_RECORDThe source file is a TFRecord file. Currently available only for input data.
- Tf
Record Gzip - TF_RECORD_GZIPThe source file is a GZIP-compressed TFRecord file. Currently available only for input data.
- Csv
- CSVValues are comma-separated rows, with keys in a separate file. Currently available only for output data.
- Data
Format Unspecified - DATA_FORMAT_UNSPECIFIEDUnspecified format.
- Json
- JSONEach line of the file is a JSON dictionary representing one record.
- Text
- TEXTDeprecated. Use JSON instead.
- Tf
Record - TF_RECORDThe source file is a TFRecord file. Currently available only for input data.
- Tf
Record Gzip - TF_RECORD_GZIPThe source file is a GZIP-compressed TFRecord file. Currently available only for input data.
- Csv
- CSVValues are comma-separated rows, with keys in a separate file. Currently available only for output data.
- DATA_FORMAT_UNSPECIFIED
- DATA_FORMAT_UNSPECIFIEDUnspecified format.
- JSON
- JSONEach line of the file is a JSON dictionary representing one record.
- TEXT
- TEXTDeprecated. Use JSON instead.
- TF_RECORD
- TF_RECORDThe source file is a TFRecord file. Currently available only for input data.
- TF_RECORD_GZIP
- TF_RECORD_GZIPThe source file is a GZIP-compressed TFRecord file. Currently available only for input data.
- CSV
- CSVValues are comma-separated rows, with keys in a separate file. Currently available only for output data.
- "DATA_FORMAT_UNSPECIFIED"
- DATA_FORMAT_UNSPECIFIEDUnspecified format.
- "JSON"
- JSONEach line of the file is a JSON dictionary representing one record.
- "TEXT"
- TEXTDeprecated. Use JSON instead.
- "TF_RECORD"
- TF_RECORDThe source file is a TFRecord file. Currently available only for input data.
- "TF_RECORD_GZIP"
- TF_RECORD_GZIPThe source file is a GZIP-compressed TFRecord file. Currently available only for input data.
- "CSV"
- CSVValues are comma-separated rows, with keys in a separate file. Currently available only for output data.
GoogleCloudMlV1__PredictionInputOutputDataFormat, GoogleCloudMlV1__PredictionInputOutputDataFormatArgs
- Data
Format Unspecified - DATA_FORMAT_UNSPECIFIEDUnspecified format.
- Json
- JSONEach line of the file is a JSON dictionary representing one record.
- Text
- TEXTDeprecated. Use JSON instead.
- Tf
Record - TF_RECORDThe source file is a TFRecord file. Currently available only for input data.
- Tf
Record Gzip - TF_RECORD_GZIPThe source file is a GZIP-compressed TFRecord file. Currently available only for input data.
- Csv
- CSVValues are comma-separated rows, with keys in a separate file. Currently available only for output data.
- Google
Cloud Ml V1__Prediction Input Output Data Format Data Format Unspecified - DATA_FORMAT_UNSPECIFIEDUnspecified format.
- Google
Cloud Ml V1__Prediction Input Output Data Format Json - JSONEach line of the file is a JSON dictionary representing one record.
- Google
Cloud Ml V1__Prediction Input Output Data Format Text - TEXTDeprecated. Use JSON instead.
- Google
Cloud Ml V1__Prediction Input Output Data Format Tf Record - TF_RECORDThe source file is a TFRecord file. Currently available only for input data.
- Google
Cloud Ml V1__Prediction Input Output Data Format Tf Record Gzip - TF_RECORD_GZIPThe source file is a GZIP-compressed TFRecord file. Currently available only for input data.
- Google
Cloud Ml V1__Prediction Input Output Data Format Csv - CSVValues are comma-separated rows, with keys in a separate file. Currently available only for output data.
- Data
Format Unspecified - DATA_FORMAT_UNSPECIFIEDUnspecified format.
- Json
- JSONEach line of the file is a JSON dictionary representing one record.
- Text
- TEXTDeprecated. Use JSON instead.
- Tf
Record - TF_RECORDThe source file is a TFRecord file. Currently available only for input data.
- Tf
Record Gzip - TF_RECORD_GZIPThe source file is a GZIP-compressed TFRecord file. Currently available only for input data.
- Csv
- CSVValues are comma-separated rows, with keys in a separate file. Currently available only for output data.
- Data
Format Unspecified - DATA_FORMAT_UNSPECIFIEDUnspecified format.
- Json
- JSONEach line of the file is a JSON dictionary representing one record.
- Text
- TEXTDeprecated. Use JSON instead.
- Tf
Record - TF_RECORDThe source file is a TFRecord file. Currently available only for input data.
- Tf
Record Gzip - TF_RECORD_GZIPThe source file is a GZIP-compressed TFRecord file. Currently available only for input data.
- Csv
- CSVValues are comma-separated rows, with keys in a separate file. Currently available only for output data.
- DATA_FORMAT_UNSPECIFIED
- DATA_FORMAT_UNSPECIFIEDUnspecified format.
- JSON
- JSONEach line of the file is a JSON dictionary representing one record.
- TEXT
- TEXTDeprecated. Use JSON instead.
- TF_RECORD
- TF_RECORDThe source file is a TFRecord file. Currently available only for input data.
- TF_RECORD_GZIP
- TF_RECORD_GZIPThe source file is a GZIP-compressed TFRecord file. Currently available only for input data.
- CSV
- CSVValues are comma-separated rows, with keys in a separate file. Currently available only for output data.
- "DATA_FORMAT_UNSPECIFIED"
- DATA_FORMAT_UNSPECIFIEDUnspecified format.
- "JSON"
- JSONEach line of the file is a JSON dictionary representing one record.
- "TEXT"
- TEXTDeprecated. Use JSON instead.
- "TF_RECORD"
- TF_RECORDThe source file is a TFRecord file. Currently available only for input data.
- "TF_RECORD_GZIP"
- TF_RECORD_GZIPThe source file is a GZIP-compressed TFRecord file. Currently available only for input data.
- "CSV"
- CSVValues are comma-separated rows, with keys in a separate file. Currently available only for output data.
GoogleCloudMlV1__PredictionInputResponse, GoogleCloudMlV1__PredictionInputResponseArgs
- Batch
Size string - Optional. Number of records per batch, defaults to 64. The service will buffer batch_size number of records in memory before invoking one Tensorflow prediction call internally. So take the record size and memory available into consideration when setting this parameter.
- Data
Format string - The format of the input data files.
- Input
Paths List<string> - The Cloud Storage location of the input data files. May contain wildcards.
- Max
Worker stringCount - Optional. The maximum number of workers to be used for parallel processing. Defaults to 10 if not specified.
- Model
Name string - Use this field if you want to use the default version for the specified model. The string must use the following format:
"projects/YOUR_PROJECT/models/YOUR_MODEL"
- Output
Data stringFormat - Optional. Format of the output data files, defaults to JSON.
- Output
Path string - The output Google Cloud Storage location.
- Region string
- The Google Compute Engine region to run the prediction job in. See the available regions for AI Platform services.
- Runtime
Version string - Optional. The AI Platform runtime version to use for this batch prediction. If not set, AI Platform will pick the runtime version used during the CreateVersion request for this model version, or choose the latest stable version when model version information is not available such as when the model is specified by uri.
- Signature
Name string - Optional. The name of the signature defined in the SavedModel to use for this job. Please refer to SavedModel for information about how to use signatures. Defaults to DEFAULT_SERVING_SIGNATURE_DEF_KEY , which is "serving_default".
- Uri string
- Use this field if you want to specify a Google Cloud Storage path for the model to use.
- Version
Name string - Use this field if you want to specify a version of the model to use. The string is formatted the same way as
model_version
, with the addition of the version information:"projects/YOUR_PROJECT/models/YOUR_MODEL/versions/YOUR_VERSION"
- Batch
Size string - Optional. Number of records per batch, defaults to 64. The service will buffer batch_size number of records in memory before invoking one Tensorflow prediction call internally. So take the record size and memory available into consideration when setting this parameter.
- Data
Format string - The format of the input data files.
- Input
Paths []string - The Cloud Storage location of the input data files. May contain wildcards.
- Max
Worker stringCount - Optional. The maximum number of workers to be used for parallel processing. Defaults to 10 if not specified.
- Model
Name string - Use this field if you want to use the default version for the specified model. The string must use the following format:
"projects/YOUR_PROJECT/models/YOUR_MODEL"
- Output
Data stringFormat - Optional. Format of the output data files, defaults to JSON.
- Output
Path string - The output Google Cloud Storage location.
- Region string
- The Google Compute Engine region to run the prediction job in. See the available regions for AI Platform services.
- Runtime
Version string - Optional. The AI Platform runtime version to use for this batch prediction. If not set, AI Platform will pick the runtime version used during the CreateVersion request for this model version, or choose the latest stable version when model version information is not available such as when the model is specified by uri.
- Signature
Name string - Optional. The name of the signature defined in the SavedModel to use for this job. Please refer to SavedModel for information about how to use signatures. Defaults to DEFAULT_SERVING_SIGNATURE_DEF_KEY , which is "serving_default".
- Uri string
- Use this field if you want to specify a Google Cloud Storage path for the model to use.
- Version
Name string - Use this field if you want to specify a version of the model to use. The string is formatted the same way as
model_version
, with the addition of the version information:"projects/YOUR_PROJECT/models/YOUR_MODEL/versions/YOUR_VERSION"
- batch
Size String - Optional. Number of records per batch, defaults to 64. The service will buffer batch_size number of records in memory before invoking one Tensorflow prediction call internally. So take the record size and memory available into consideration when setting this parameter.
- data
Format String - The format of the input data files.
- input
Paths List<String> - The Cloud Storage location of the input data files. May contain wildcards.
- max
Worker StringCount - Optional. The maximum number of workers to be used for parallel processing. Defaults to 10 if not specified.
- model
Name String - Use this field if you want to use the default version for the specified model. The string must use the following format:
"projects/YOUR_PROJECT/models/YOUR_MODEL"
- output
Data StringFormat - Optional. Format of the output data files, defaults to JSON.
- output
Path String - The output Google Cloud Storage location.
- region String
- The Google Compute Engine region to run the prediction job in. See the available regions for AI Platform services.
- runtime
Version String - Optional. The AI Platform runtime version to use for this batch prediction. If not set, AI Platform will pick the runtime version used during the CreateVersion request for this model version, or choose the latest stable version when model version information is not available such as when the model is specified by uri.
- signature
Name String - Optional. The name of the signature defined in the SavedModel to use for this job. Please refer to SavedModel for information about how to use signatures. Defaults to DEFAULT_SERVING_SIGNATURE_DEF_KEY , which is "serving_default".
- uri String
- Use this field if you want to specify a Google Cloud Storage path for the model to use.
- version
Name String - Use this field if you want to specify a version of the model to use. The string is formatted the same way as
model_version
, with the addition of the version information:"projects/YOUR_PROJECT/models/YOUR_MODEL/versions/YOUR_VERSION"
- batch
Size string - Optional. Number of records per batch, defaults to 64. The service will buffer batch_size number of records in memory before invoking one Tensorflow prediction call internally. So take the record size and memory available into consideration when setting this parameter.
- data
Format string - The format of the input data files.
- input
Paths string[] - The Cloud Storage location of the input data files. May contain wildcards.
- max
Worker stringCount - Optional. The maximum number of workers to be used for parallel processing. Defaults to 10 if not specified.
- model
Name string - Use this field if you want to use the default version for the specified model. The string must use the following format:
"projects/YOUR_PROJECT/models/YOUR_MODEL"
- output
Data stringFormat - Optional. Format of the output data files, defaults to JSON.
- output
Path string - The output Google Cloud Storage location.
- region string
- The Google Compute Engine region to run the prediction job in. See the available regions for AI Platform services.
- runtime
Version string - Optional. The AI Platform runtime version to use for this batch prediction. If not set, AI Platform will pick the runtime version used during the CreateVersion request for this model version, or choose the latest stable version when model version information is not available such as when the model is specified by uri.
- signature
Name string - Optional. The name of the signature defined in the SavedModel to use for this job. Please refer to SavedModel for information about how to use signatures. Defaults to DEFAULT_SERVING_SIGNATURE_DEF_KEY , which is "serving_default".
- uri string
- Use this field if you want to specify a Google Cloud Storage path for the model to use.
- version
Name string - Use this field if you want to specify a version of the model to use. The string is formatted the same way as
model_version
, with the addition of the version information:"projects/YOUR_PROJECT/models/YOUR_MODEL/versions/YOUR_VERSION"
- batch_
size str - Optional. Number of records per batch, defaults to 64. The service will buffer batch_size number of records in memory before invoking one Tensorflow prediction call internally. So take the record size and memory available into consideration when setting this parameter.
- data_
format str - The format of the input data files.
- input_
paths Sequence[str] - The Cloud Storage location of the input data files. May contain wildcards.
- max_
worker_ strcount - Optional. The maximum number of workers to be used for parallel processing. Defaults to 10 if not specified.
- model_
name str - Use this field if you want to use the default version for the specified model. The string must use the following format:
"projects/YOUR_PROJECT/models/YOUR_MODEL"
- output_
data_ strformat - Optional. Format of the output data files, defaults to JSON.
- output_
path str - The output Google Cloud Storage location.
- region str
- The Google Compute Engine region to run the prediction job in. See the available regions for AI Platform services.
- runtime_
version str - Optional. The AI Platform runtime version to use for this batch prediction. If not set, AI Platform will pick the runtime version used during the CreateVersion request for this model version, or choose the latest stable version when model version information is not available such as when the model is specified by uri.
- signature_
name str - Optional. The name of the signature defined in the SavedModel to use for this job. Please refer to SavedModel for information about how to use signatures. Defaults to DEFAULT_SERVING_SIGNATURE_DEF_KEY , which is "serving_default".
- uri str
- Use this field if you want to specify a Google Cloud Storage path for the model to use.
- version_
name str - Use this field if you want to specify a version of the model to use. The string is formatted the same way as
model_version
, with the addition of the version information:"projects/YOUR_PROJECT/models/YOUR_MODEL/versions/YOUR_VERSION"
- batch
Size String - Optional. Number of records per batch, defaults to 64. The service will buffer batch_size number of records in memory before invoking one Tensorflow prediction call internally. So take the record size and memory available into consideration when setting this parameter.
- data
Format String - The format of the input data files.
- input
Paths List<String> - The Cloud Storage location of the input data files. May contain wildcards.
- max
Worker StringCount - Optional. The maximum number of workers to be used for parallel processing. Defaults to 10 if not specified.
- model
Name String - Use this field if you want to use the default version for the specified model. The string must use the following format:
"projects/YOUR_PROJECT/models/YOUR_MODEL"
- output
Data StringFormat - Optional. Format of the output data files, defaults to JSON.
- output
Path String - The output Google Cloud Storage location.
- region String
- The Google Compute Engine region to run the prediction job in. See the available regions for AI Platform services.
- runtime
Version String - Optional. The AI Platform runtime version to use for this batch prediction. If not set, AI Platform will pick the runtime version used during the CreateVersion request for this model version, or choose the latest stable version when model version information is not available such as when the model is specified by uri.
- signature
Name String - Optional. The name of the signature defined in the SavedModel to use for this job. Please refer to SavedModel for information about how to use signatures. Defaults to DEFAULT_SERVING_SIGNATURE_DEF_KEY , which is "serving_default".
- uri String
- Use this field if you want to specify a Google Cloud Storage path for the model to use.
- version
Name String - Use this field if you want to specify a version of the model to use. The string is formatted the same way as
model_version
, with the addition of the version information:"projects/YOUR_PROJECT/models/YOUR_MODEL/versions/YOUR_VERSION"
GoogleCloudMlV1__PredictionOutput, GoogleCloudMlV1__PredictionOutputArgs
- Error
Count string - The number of data instances which resulted in errors.
- Node
Hours double - Node hours used by the batch prediction job.
- Output
Path string - The output Google Cloud Storage location provided at the job creation time.
- Prediction
Count string - The number of generated predictions.
- Error
Count string - The number of data instances which resulted in errors.
- Node
Hours float64 - Node hours used by the batch prediction job.
- Output
Path string - The output Google Cloud Storage location provided at the job creation time.
- Prediction
Count string - The number of generated predictions.
- error
Count String - The number of data instances which resulted in errors.
- node
Hours Double - Node hours used by the batch prediction job.
- output
Path String - The output Google Cloud Storage location provided at the job creation time.
- prediction
Count String - The number of generated predictions.
- error
Count string - The number of data instances which resulted in errors.
- node
Hours number - Node hours used by the batch prediction job.
- output
Path string - The output Google Cloud Storage location provided at the job creation time.
- prediction
Count string - The number of generated predictions.
- error_
count str - The number of data instances which resulted in errors.
- node_
hours float - Node hours used by the batch prediction job.
- output_
path str - The output Google Cloud Storage location provided at the job creation time.
- prediction_
count str - The number of generated predictions.
- error
Count String - The number of data instances which resulted in errors.
- node
Hours Number - Node hours used by the batch prediction job.
- output
Path String - The output Google Cloud Storage location provided at the job creation time.
- prediction
Count String - The number of generated predictions.
GoogleCloudMlV1__PredictionOutputResponse, GoogleCloudMlV1__PredictionOutputResponseArgs
- Error
Count string - The number of data instances which resulted in errors.
- Node
Hours double - Node hours used by the batch prediction job.
- Output
Path string - The output Google Cloud Storage location provided at the job creation time.
- Prediction
Count string - The number of generated predictions.
- Error
Count string - The number of data instances which resulted in errors.
- Node
Hours float64 - Node hours used by the batch prediction job.
- Output
Path string - The output Google Cloud Storage location provided at the job creation time.
- Prediction
Count string - The number of generated predictions.
- error
Count String - The number of data instances which resulted in errors.
- node
Hours Double - Node hours used by the batch prediction job.
- output
Path String - The output Google Cloud Storage location provided at the job creation time.
- prediction
Count String - The number of generated predictions.
- error
Count string - The number of data instances which resulted in errors.
- node
Hours number - Node hours used by the batch prediction job.
- output
Path string - The output Google Cloud Storage location provided at the job creation time.
- prediction
Count string - The number of generated predictions.
- error_
count str - The number of data instances which resulted in errors.
- node_
hours float - Node hours used by the batch prediction job.
- output_
path str - The output Google Cloud Storage location provided at the job creation time.
- prediction_
count str - The number of generated predictions.
- error
Count String - The number of data instances which resulted in errors.
- node
Hours Number - Node hours used by the batch prediction job.
- output
Path String - The output Google Cloud Storage location provided at the job creation time.
- prediction
Count String - The number of generated predictions.
GoogleCloudMlV1__ReplicaConfig, GoogleCloudMlV1__ReplicaConfigArgs
- Accelerator
Config Pulumi.Google Native. Ml. V1. Inputs. Google Cloud Ml V1__Accelerator Config - Represents the type and number of accelerators used by the replica. Learn about restrictions on accelerator configurations for training.
- Container
Args List<string> - Arguments to the entrypoint command. The following rules apply for container_command and container_args: - If you do not supply command or args: The defaults defined in the Docker image are used. - If you supply a command but no args: The default EntryPoint and the default Cmd defined in the Docker image are ignored. Your command is run without any arguments. - If you supply only args: The default Entrypoint defined in the Docker image is run with the args that you supplied. - If you supply a command and args: The default Entrypoint and the default Cmd defined in the Docker image are ignored. Your command is run with your args. It cannot be set if custom container image is not provided. Note that this field and [TrainingInput.args] are mutually exclusive, i.e., both cannot be set at the same time.
- Container
Command List<string> - The command with which the replica's custom container is run. If provided, it will override default ENTRYPOINT of the docker image. If not provided, the docker image's ENTRYPOINT is used. It cannot be set if custom container image is not provided. Note that this field and [TrainingInput.args] are mutually exclusive, i.e., both cannot be set at the same time.
- Disk
Config Pulumi.Google Native. Ml. V1. Inputs. Google Cloud Ml V1__Disk Config - Represents the configuration of disk options.
- Image
Uri string - The Docker image to run on the replica. This image must be in Container Registry. Learn more about configuring custom containers.
- Tpu
Tf stringVersion - The AI Platform runtime version that includes a TensorFlow version matching the one used in the custom container. This field is required if the replica is a TPU worker that uses a custom container. Otherwise, do not specify this field. This must be a runtime version that currently supports training with TPUs. Note that the version of TensorFlow included in a runtime version may differ from the numbering of the runtime version itself, because it may have a different patch version. In this field, you must specify the runtime version (TensorFlow minor version). For example, if your custom container runs TensorFlow
1.x.y
, specify1.x
.
- Accelerator
Config GoogleCloud Ml V1__Accelerator Config - Represents the type and number of accelerators used by the replica. Learn about restrictions on accelerator configurations for training.
- Container
Args []string - Arguments to the entrypoint command. The following rules apply for container_command and container_args: - If you do not supply command or args: The defaults defined in the Docker image are used. - If you supply a command but no args: The default EntryPoint and the default Cmd defined in the Docker image are ignored. Your command is run without any arguments. - If you supply only args: The default Entrypoint defined in the Docker image is run with the args that you supplied. - If you supply a command and args: The default Entrypoint and the default Cmd defined in the Docker image are ignored. Your command is run with your args. It cannot be set if custom container image is not provided. Note that this field and [TrainingInput.args] are mutually exclusive, i.e., both cannot be set at the same time.
- Container
Command []string - The command with which the replica's custom container is run. If provided, it will override default ENTRYPOINT of the docker image. If not provided, the docker image's ENTRYPOINT is used. It cannot be set if custom container image is not provided. Note that this field and [TrainingInput.args] are mutually exclusive, i.e., both cannot be set at the same time.
- Disk
Config GoogleCloud Ml V1__Disk Config - Represents the configuration of disk options.
- Image
Uri string - The Docker image to run on the replica. This image must be in Container Registry. Learn more about configuring custom containers.
- Tpu
Tf stringVersion - The AI Platform runtime version that includes a TensorFlow version matching the one used in the custom container. This field is required if the replica is a TPU worker that uses a custom container. Otherwise, do not specify this field. This must be a runtime version that currently supports training with TPUs. Note that the version of TensorFlow included in a runtime version may differ from the numbering of the runtime version itself, because it may have a different patch version. In this field, you must specify the runtime version (TensorFlow minor version). For example, if your custom container runs TensorFlow
1.x.y
, specify1.x
.
- accelerator
Config GoogleCloud Ml V1__Accelerator Config - Represents the type and number of accelerators used by the replica. Learn about restrictions on accelerator configurations for training.
- container
Args List<String> - Arguments to the entrypoint command. The following rules apply for container_command and container_args: - If you do not supply command or args: The defaults defined in the Docker image are used. - If you supply a command but no args: The default EntryPoint and the default Cmd defined in the Docker image are ignored. Your command is run without any arguments. - If you supply only args: The default Entrypoint defined in the Docker image is run with the args that you supplied. - If you supply a command and args: The default Entrypoint and the default Cmd defined in the Docker image are ignored. Your command is run with your args. It cannot be set if custom container image is not provided. Note that this field and [TrainingInput.args] are mutually exclusive, i.e., both cannot be set at the same time.
- container
Command List<String> - The command with which the replica's custom container is run. If provided, it will override default ENTRYPOINT of the docker image. If not provided, the docker image's ENTRYPOINT is used. It cannot be set if custom container image is not provided. Note that this field and [TrainingInput.args] are mutually exclusive, i.e., both cannot be set at the same time.
- disk
Config GoogleCloud Ml V1__Disk Config - Represents the configuration of disk options.
- image
Uri String - The Docker image to run on the replica. This image must be in Container Registry. Learn more about configuring custom containers.
- tpu
Tf StringVersion - The AI Platform runtime version that includes a TensorFlow version matching the one used in the custom container. This field is required if the replica is a TPU worker that uses a custom container. Otherwise, do not specify this field. This must be a runtime version that currently supports training with TPUs. Note that the version of TensorFlow included in a runtime version may differ from the numbering of the runtime version itself, because it may have a different patch version. In this field, you must specify the runtime version (TensorFlow minor version). For example, if your custom container runs TensorFlow
1.x.y
, specify1.x
.
- accelerator
Config GoogleCloud Ml V1__Accelerator Config - Represents the type and number of accelerators used by the replica. Learn about restrictions on accelerator configurations for training.
- container
Args string[] - Arguments to the entrypoint command. The following rules apply for container_command and container_args: - If you do not supply command or args: The defaults defined in the Docker image are used. - If you supply a command but no args: The default EntryPoint and the default Cmd defined in the Docker image are ignored. Your command is run without any arguments. - If you supply only args: The default Entrypoint defined in the Docker image is run with the args that you supplied. - If you supply a command and args: The default Entrypoint and the default Cmd defined in the Docker image are ignored. Your command is run with your args. It cannot be set if custom container image is not provided. Note that this field and [TrainingInput.args] are mutually exclusive, i.e., both cannot be set at the same time.
- container
Command string[] - The command with which the replica's custom container is run. If provided, it will override default ENTRYPOINT of the docker image. If not provided, the docker image's ENTRYPOINT is used. It cannot be set if custom container image is not provided. Note that this field and [TrainingInput.args] are mutually exclusive, i.e., both cannot be set at the same time.
- disk
Config GoogleCloud Ml V1__Disk Config - Represents the configuration of disk options.
- image
Uri string - The Docker image to run on the replica. This image must be in Container Registry. Learn more about configuring custom containers.
- tpu
Tf stringVersion - The AI Platform runtime version that includes a TensorFlow version matching the one used in the custom container. This field is required if the replica is a TPU worker that uses a custom container. Otherwise, do not specify this field. This must be a runtime version that currently supports training with TPUs. Note that the version of TensorFlow included in a runtime version may differ from the numbering of the runtime version itself, because it may have a different patch version. In this field, you must specify the runtime version (TensorFlow minor version). For example, if your custom container runs TensorFlow
1.x.y
, specify1.x
.
- accelerator_
config GoogleCloud Ml V1Accelerator Config - Represents the type and number of accelerators used by the replica. Learn about restrictions on accelerator configurations for training.
- container_
args Sequence[str] - Arguments to the entrypoint command. The following rules apply for container_command and container_args: - If you do not supply command or args: The defaults defined in the Docker image are used. - If you supply a command but no args: The default EntryPoint and the default Cmd defined in the Docker image are ignored. Your command is run without any arguments. - If you supply only args: The default Entrypoint defined in the Docker image is run with the args that you supplied. - If you supply a command and args: The default Entrypoint and the default Cmd defined in the Docker image are ignored. Your command is run with your args. It cannot be set if custom container image is not provided. Note that this field and [TrainingInput.args] are mutually exclusive, i.e., both cannot be set at the same time.
- container_
command Sequence[str] - The command with which the replica's custom container is run. If provided, it will override default ENTRYPOINT of the docker image. If not provided, the docker image's ENTRYPOINT is used. It cannot be set if custom container image is not provided. Note that this field and [TrainingInput.args] are mutually exclusive, i.e., both cannot be set at the same time.
- disk_
config GoogleCloud Ml V1Disk Config - Represents the configuration of disk options.
- image_
uri str - The Docker image to run on the replica. This image must be in Container Registry. Learn more about configuring custom containers.
- tpu_
tf_ strversion - The AI Platform runtime version that includes a TensorFlow version matching the one used in the custom container. This field is required if the replica is a TPU worker that uses a custom container. Otherwise, do not specify this field. This must be a runtime version that currently supports training with TPUs. Note that the version of TensorFlow included in a runtime version may differ from the numbering of the runtime version itself, because it may have a different patch version. In this field, you must specify the runtime version (TensorFlow minor version). For example, if your custom container runs TensorFlow
1.x.y
, specify1.x
.
- accelerator
Config Property Map - Represents the type and number of accelerators used by the replica. Learn about restrictions on accelerator configurations for training.
- container
Args List<String> - Arguments to the entrypoint command. The following rules apply for container_command and container_args: - If you do not supply command or args: The defaults defined in the Docker image are used. - If you supply a command but no args: The default EntryPoint and the default Cmd defined in the Docker image are ignored. Your command is run without any arguments. - If you supply only args: The default Entrypoint defined in the Docker image is run with the args that you supplied. - If you supply a command and args: The default Entrypoint and the default Cmd defined in the Docker image are ignored. Your command is run with your args. It cannot be set if custom container image is not provided. Note that this field and [TrainingInput.args] are mutually exclusive, i.e., both cannot be set at the same time.
- container
Command List<String> - The command with which the replica's custom container is run. If provided, it will override default ENTRYPOINT of the docker image. If not provided, the docker image's ENTRYPOINT is used. It cannot be set if custom container image is not provided. Note that this field and [TrainingInput.args] are mutually exclusive, i.e., both cannot be set at the same time.
- disk
Config Property Map - Represents the configuration of disk options.
- image
Uri String - The Docker image to run on the replica. This image must be in Container Registry. Learn more about configuring custom containers.
- tpu
Tf StringVersion - The AI Platform runtime version that includes a TensorFlow version matching the one used in the custom container. This field is required if the replica is a TPU worker that uses a custom container. Otherwise, do not specify this field. This must be a runtime version that currently supports training with TPUs. Note that the version of TensorFlow included in a runtime version may differ from the numbering of the runtime version itself, because it may have a different patch version. In this field, you must specify the runtime version (TensorFlow minor version). For example, if your custom container runs TensorFlow
1.x.y
, specify1.x
.
GoogleCloudMlV1__ReplicaConfigResponse, GoogleCloudMlV1__ReplicaConfigResponseArgs
- Accelerator
Config Pulumi.Google Native. Ml. V1. Inputs. Google Cloud Ml V1__Accelerator Config Response - Represents the type and number of accelerators used by the replica. Learn about restrictions on accelerator configurations for training.
- Container
Args List<string> - Arguments to the entrypoint command. The following rules apply for container_command and container_args: - If you do not supply command or args: The defaults defined in the Docker image are used. - If you supply a command but no args: The default EntryPoint and the default Cmd defined in the Docker image are ignored. Your command is run without any arguments. - If you supply only args: The default Entrypoint defined in the Docker image is run with the args that you supplied. - If you supply a command and args: The default Entrypoint and the default Cmd defined in the Docker image are ignored. Your command is run with your args. It cannot be set if custom container image is not provided. Note that this field and [TrainingInput.args] are mutually exclusive, i.e., both cannot be set at the same time.
- Container
Command List<string> - The command with which the replica's custom container is run. If provided, it will override default ENTRYPOINT of the docker image. If not provided, the docker image's ENTRYPOINT is used. It cannot be set if custom container image is not provided. Note that this field and [TrainingInput.args] are mutually exclusive, i.e., both cannot be set at the same time.
- Disk
Config Pulumi.Google Native. Ml. V1. Inputs. Google Cloud Ml V1__Disk Config Response - Represents the configuration of disk options.
- Image
Uri string - The Docker image to run on the replica. This image must be in Container Registry. Learn more about configuring custom containers.
- Tpu
Tf stringVersion - The AI Platform runtime version that includes a TensorFlow version matching the one used in the custom container. This field is required if the replica is a TPU worker that uses a custom container. Otherwise, do not specify this field. This must be a runtime version that currently supports training with TPUs. Note that the version of TensorFlow included in a runtime version may differ from the numbering of the runtime version itself, because it may have a different patch version. In this field, you must specify the runtime version (TensorFlow minor version). For example, if your custom container runs TensorFlow
1.x.y
, specify1.x
.
- Accelerator
Config GoogleCloud Ml V1__Accelerator Config Response - Represents the type and number of accelerators used by the replica. Learn about restrictions on accelerator configurations for training.
- Container
Args []string - Arguments to the entrypoint command. The following rules apply for container_command and container_args: - If you do not supply command or args: The defaults defined in the Docker image are used. - If you supply a command but no args: The default EntryPoint and the default Cmd defined in the Docker image are ignored. Your command is run without any arguments. - If you supply only args: The default Entrypoint defined in the Docker image is run with the args that you supplied. - If you supply a command and args: The default Entrypoint and the default Cmd defined in the Docker image are ignored. Your command is run with your args. It cannot be set if custom container image is not provided. Note that this field and [TrainingInput.args] are mutually exclusive, i.e., both cannot be set at the same time.
- Container
Command []string - The command with which the replica's custom container is run. If provided, it will override default ENTRYPOINT of the docker image. If not provided, the docker image's ENTRYPOINT is used. It cannot be set if custom container image is not provided. Note that this field and [TrainingInput.args] are mutually exclusive, i.e., both cannot be set at the same time.
- Disk
Config GoogleCloud Ml V1__Disk Config Response - Represents the configuration of disk options.
- Image
Uri string - The Docker image to run on the replica. This image must be in Container Registry. Learn more about configuring custom containers.
- Tpu
Tf stringVersion - The AI Platform runtime version that includes a TensorFlow version matching the one used in the custom container. This field is required if the replica is a TPU worker that uses a custom container. Otherwise, do not specify this field. This must be a runtime version that currently supports training with TPUs. Note that the version of TensorFlow included in a runtime version may differ from the numbering of the runtime version itself, because it may have a different patch version. In this field, you must specify the runtime version (TensorFlow minor version). For example, if your custom container runs TensorFlow
1.x.y
, specify1.x
.
- accelerator
Config GoogleCloud Ml V1__Accelerator Config Response - Represents the type and number of accelerators used by the replica. Learn about restrictions on accelerator configurations for training.
- container
Args List<String> - Arguments to the entrypoint command. The following rules apply for container_command and container_args: - If you do not supply command or args: The defaults defined in the Docker image are used. - If you supply a command but no args: The default EntryPoint and the default Cmd defined in the Docker image are ignored. Your command is run without any arguments. - If you supply only args: The default Entrypoint defined in the Docker image is run with the args that you supplied. - If you supply a command and args: The default Entrypoint and the default Cmd defined in the Docker image are ignored. Your command is run with your args. It cannot be set if custom container image is not provided. Note that this field and [TrainingInput.args] are mutually exclusive, i.e., both cannot be set at the same time.
- container
Command List<String> - The command with which the replica's custom container is run. If provided, it will override default ENTRYPOINT of the docker image. If not provided, the docker image's ENTRYPOINT is used. It cannot be set if custom container image is not provided. Note that this field and [TrainingInput.args] are mutually exclusive, i.e., both cannot be set at the same time.
- disk
Config GoogleCloud Ml V1__Disk Config Response - Represents the configuration of disk options.
- image
Uri String - The Docker image to run on the replica. This image must be in Container Registry. Learn more about configuring custom containers.
- tpu
Tf StringVersion - The AI Platform runtime version that includes a TensorFlow version matching the one used in the custom container. This field is required if the replica is a TPU worker that uses a custom container. Otherwise, do not specify this field. This must be a runtime version that currently supports training with TPUs. Note that the version of TensorFlow included in a runtime version may differ from the numbering of the runtime version itself, because it may have a different patch version. In this field, you must specify the runtime version (TensorFlow minor version). For example, if your custom container runs TensorFlow
1.x.y
, specify1.x
.
- accelerator
Config GoogleCloud Ml V1__Accelerator Config Response - Represents the type and number of accelerators used by the replica. Learn about restrictions on accelerator configurations for training.
- container
Args string[] - Arguments to the entrypoint command. The following rules apply for container_command and container_args: - If you do not supply command or args: The defaults defined in the Docker image are used. - If you supply a command but no args: The default EntryPoint and the default Cmd defined in the Docker image are ignored. Your command is run without any arguments. - If you supply only args: The default Entrypoint defined in the Docker image is run with the args that you supplied. - If you supply a command and args: The default Entrypoint and the default Cmd defined in the Docker image are ignored. Your command is run with your args. It cannot be set if custom container image is not provided. Note that this field and [TrainingInput.args] are mutually exclusive, i.e., both cannot be set at the same time.
- container
Command string[] - The command with which the replica's custom container is run. If provided, it will override default ENTRYPOINT of the docker image. If not provided, the docker image's ENTRYPOINT is used. It cannot be set if custom container image is not provided. Note that this field and [TrainingInput.args] are mutually exclusive, i.e., both cannot be set at the same time.
- disk
Config GoogleCloud Ml V1__Disk Config Response - Represents the configuration of disk options.
- image
Uri string - The Docker image to run on the replica. This image must be in Container Registry. Learn more about configuring custom containers.
- tpu
Tf stringVersion - The AI Platform runtime version that includes a TensorFlow version matching the one used in the custom container. This field is required if the replica is a TPU worker that uses a custom container. Otherwise, do not specify this field. This must be a runtime version that currently supports training with TPUs. Note that the version of TensorFlow included in a runtime version may differ from the numbering of the runtime version itself, because it may have a different patch version. In this field, you must specify the runtime version (TensorFlow minor version). For example, if your custom container runs TensorFlow
1.x.y
, specify1.x
.
- accelerator_
config GoogleCloud Ml V1Accelerator Config Response - Represents the type and number of accelerators used by the replica. Learn about restrictions on accelerator configurations for training.
- container_
args Sequence[str] - Arguments to the entrypoint command. The following rules apply for container_command and container_args: - If you do not supply command or args: The defaults defined in the Docker image are used. - If you supply a command but no args: The default EntryPoint and the default Cmd defined in the Docker image are ignored. Your command is run without any arguments. - If you supply only args: The default Entrypoint defined in the Docker image is run with the args that you supplied. - If you supply a command and args: The default Entrypoint and the default Cmd defined in the Docker image are ignored. Your command is run with your args. It cannot be set if custom container image is not provided. Note that this field and [TrainingInput.args] are mutually exclusive, i.e., both cannot be set at the same time.
- container_
command Sequence[str] - The command with which the replica's custom container is run. If provided, it will override default ENTRYPOINT of the docker image. If not provided, the docker image's ENTRYPOINT is used. It cannot be set if custom container image is not provided. Note that this field and [TrainingInput.args] are mutually exclusive, i.e., both cannot be set at the same time.
- disk_
config GoogleCloud Ml V1Disk Config Response - Represents the configuration of disk options.
- image_
uri str - The Docker image to run on the replica. This image must be in Container Registry. Learn more about configuring custom containers.
- tpu_
tf_ strversion - The AI Platform runtime version that includes a TensorFlow version matching the one used in the custom container. This field is required if the replica is a TPU worker that uses a custom container. Otherwise, do not specify this field. This must be a runtime version that currently supports training with TPUs. Note that the version of TensorFlow included in a runtime version may differ from the numbering of the runtime version itself, because it may have a different patch version. In this field, you must specify the runtime version (TensorFlow minor version). For example, if your custom container runs TensorFlow
1.x.y
, specify1.x
.
- accelerator
Config Property Map - Represents the type and number of accelerators used by the replica. Learn about restrictions on accelerator configurations for training.
- container
Args List<String> - Arguments to the entrypoint command. The following rules apply for container_command and container_args: - If you do not supply command or args: The defaults defined in the Docker image are used. - If you supply a command but no args: The default EntryPoint and the default Cmd defined in the Docker image are ignored. Your command is run without any arguments. - If you supply only args: The default Entrypoint defined in the Docker image is run with the args that you supplied. - If you supply a command and args: The default Entrypoint and the default Cmd defined in the Docker image are ignored. Your command is run with your args. It cannot be set if custom container image is not provided. Note that this field and [TrainingInput.args] are mutually exclusive, i.e., both cannot be set at the same time.
- container
Command List<String> - The command with which the replica's custom container is run. If provided, it will override default ENTRYPOINT of the docker image. If not provided, the docker image's ENTRYPOINT is used. It cannot be set if custom container image is not provided. Note that this field and [TrainingInput.args] are mutually exclusive, i.e., both cannot be set at the same time.
- disk
Config Property Map - Represents the configuration of disk options.
- image
Uri String - The Docker image to run on the replica. This image must be in Container Registry. Learn more about configuring custom containers.
- tpu
Tf StringVersion - The AI Platform runtime version that includes a TensorFlow version matching the one used in the custom container. This field is required if the replica is a TPU worker that uses a custom container. Otherwise, do not specify this field. This must be a runtime version that currently supports training with TPUs. Note that the version of TensorFlow included in a runtime version may differ from the numbering of the runtime version itself, because it may have a different patch version. In this field, you must specify the runtime version (TensorFlow minor version). For example, if your custom container runs TensorFlow
1.x.y
, specify1.x
.
GoogleCloudMlV1__Scheduling, GoogleCloudMlV1__SchedulingArgs
- Max
Running stringTime - Optional. The maximum job running time, expressed in seconds. The field can contain up to nine fractional digits, terminated by
s
. If not specified, this field defaults to604800s
(seven days). If the training job is still running after this duration, AI Platform Training cancels it. The duration is measured from when the job enters theRUNNING
state; therefore it does not overlap with the duration limited by Scheduling.max_wait_time. For example, if you want to ensure your job runs for no more than 2 hours, set this field to7200s
(2 hours * 60 minutes / hour * 60 seconds / minute). If you submit your training job using thegcloud
tool, you can specify this field in aconfig.yaml
file. For example:yaml trainingInput: scheduling: maxRunningTime: 7200s
- Max
Wait stringTime - Optional. The maximum job wait time, expressed in seconds. The field can contain up to nine fractional digits, terminated by
s
. If not specified, there is no limit to the wait time. The minimum for this field is1800s
(30 minutes). If the training job has not entered theRUNNING
state after this duration, AI Platform Training cancels it. After the job begins running, it can no longer be cancelled due to the maximum wait time. Therefore the duration limited by this field does not overlap with the duration limited by Scheduling.max_running_time. For example, if the job temporarily stops running and retries due to a VM restart, this cannot lead to a maximum wait time cancellation. However, independently of this constraint, AI Platform Training might stop a job if there are too many retries due to exhausted resources in a region. The following example describes how you might use this field: To cancel your job if it doesn't start running within 1 hour, set this field to3600s
(1 hour * 60 minutes / hour * 60 seconds / minute). If the job is still in theQUEUED
orPREPARING
state after an hour of waiting, AI Platform Training cancels the job. If you submit your training job using thegcloud
tool, you can specify this field in aconfig.yaml
file. For example:yaml trainingInput: scheduling: maxWaitTime: 3600s
- Priority int
- Optional. Job scheduling will be based on this priority, which in the range [0, 1000]. The bigger the number, the higher the priority. Default to 0 if not set. If there are multiple jobs requesting same type of accelerators, the high priority job will be scheduled prior to ones with low priority.
- Max
Running stringTime - Optional. The maximum job running time, expressed in seconds. The field can contain up to nine fractional digits, terminated by
s
. If not specified, this field defaults to604800s
(seven days). If the training job is still running after this duration, AI Platform Training cancels it. The duration is measured from when the job enters theRUNNING
state; therefore it does not overlap with the duration limited by Scheduling.max_wait_time. For example, if you want to ensure your job runs for no more than 2 hours, set this field to7200s
(2 hours * 60 minutes / hour * 60 seconds / minute). If you submit your training job using thegcloud
tool, you can specify this field in aconfig.yaml
file. For example:yaml trainingInput: scheduling: maxRunningTime: 7200s
- Max
Wait stringTime - Optional. The maximum job wait time, expressed in seconds. The field can contain up to nine fractional digits, terminated by
s
. If not specified, there is no limit to the wait time. The minimum for this field is1800s
(30 minutes). If the training job has not entered theRUNNING
state after this duration, AI Platform Training cancels it. After the job begins running, it can no longer be cancelled due to the maximum wait time. Therefore the duration limited by this field does not overlap with the duration limited by Scheduling.max_running_time. For example, if the job temporarily stops running and retries due to a VM restart, this cannot lead to a maximum wait time cancellation. However, independently of this constraint, AI Platform Training might stop a job if there are too many retries due to exhausted resources in a region. The following example describes how you might use this field: To cancel your job if it doesn't start running within 1 hour, set this field to3600s
(1 hour * 60 minutes / hour * 60 seconds / minute). If the job is still in theQUEUED
orPREPARING
state after an hour of waiting, AI Platform Training cancels the job. If you submit your training job using thegcloud
tool, you can specify this field in aconfig.yaml
file. For example:yaml trainingInput: scheduling: maxWaitTime: 3600s
- Priority int
- Optional. Job scheduling will be based on this priority, which in the range [0, 1000]. The bigger the number, the higher the priority. Default to 0 if not set. If there are multiple jobs requesting same type of accelerators, the high priority job will be scheduled prior to ones with low priority.
- max
Running StringTime - Optional. The maximum job running time, expressed in seconds. The field can contain up to nine fractional digits, terminated by
s
. If not specified, this field defaults to604800s
(seven days). If the training job is still running after this duration, AI Platform Training cancels it. The duration is measured from when the job enters theRUNNING
state; therefore it does not overlap with the duration limited by Scheduling.max_wait_time. For example, if you want to ensure your job runs for no more than 2 hours, set this field to7200s
(2 hours * 60 minutes / hour * 60 seconds / minute). If you submit your training job using thegcloud
tool, you can specify this field in aconfig.yaml
file. For example:yaml trainingInput: scheduling: maxRunningTime: 7200s
- max
Wait StringTime - Optional. The maximum job wait time, expressed in seconds. The field can contain up to nine fractional digits, terminated by
s
. If not specified, there is no limit to the wait time. The minimum for this field is1800s
(30 minutes). If the training job has not entered theRUNNING
state after this duration, AI Platform Training cancels it. After the job begins running, it can no longer be cancelled due to the maximum wait time. Therefore the duration limited by this field does not overlap with the duration limited by Scheduling.max_running_time. For example, if the job temporarily stops running and retries due to a VM restart, this cannot lead to a maximum wait time cancellation. However, independently of this constraint, AI Platform Training might stop a job if there are too many retries due to exhausted resources in a region. The following example describes how you might use this field: To cancel your job if it doesn't start running within 1 hour, set this field to3600s
(1 hour * 60 minutes / hour * 60 seconds / minute). If the job is still in theQUEUED
orPREPARING
state after an hour of waiting, AI Platform Training cancels the job. If you submit your training job using thegcloud
tool, you can specify this field in aconfig.yaml
file. For example:yaml trainingInput: scheduling: maxWaitTime: 3600s
- priority Integer
- Optional. Job scheduling will be based on this priority, which in the range [0, 1000]. The bigger the number, the higher the priority. Default to 0 if not set. If there are multiple jobs requesting same type of accelerators, the high priority job will be scheduled prior to ones with low priority.
- max
Running stringTime - Optional. The maximum job running time, expressed in seconds. The field can contain up to nine fractional digits, terminated by
s
. If not specified, this field defaults to604800s
(seven days). If the training job is still running after this duration, AI Platform Training cancels it. The duration is measured from when the job enters theRUNNING
state; therefore it does not overlap with the duration limited by Scheduling.max_wait_time. For example, if you want to ensure your job runs for no more than 2 hours, set this field to7200s
(2 hours * 60 minutes / hour * 60 seconds / minute). If you submit your training job using thegcloud
tool, you can specify this field in aconfig.yaml
file. For example:yaml trainingInput: scheduling: maxRunningTime: 7200s
- max
Wait stringTime - Optional. The maximum job wait time, expressed in seconds. The field can contain up to nine fractional digits, terminated by
s
. If not specified, there is no limit to the wait time. The minimum for this field is1800s
(30 minutes). If the training job has not entered theRUNNING
state after this duration, AI Platform Training cancels it. After the job begins running, it can no longer be cancelled due to the maximum wait time. Therefore the duration limited by this field does not overlap with the duration limited by Scheduling.max_running_time. For example, if the job temporarily stops running and retries due to a VM restart, this cannot lead to a maximum wait time cancellation. However, independently of this constraint, AI Platform Training might stop a job if there are too many retries due to exhausted resources in a region. The following example describes how you might use this field: To cancel your job if it doesn't start running within 1 hour, set this field to3600s
(1 hour * 60 minutes / hour * 60 seconds / minute). If the job is still in theQUEUED
orPREPARING
state after an hour of waiting, AI Platform Training cancels the job. If you submit your training job using thegcloud
tool, you can specify this field in aconfig.yaml
file. For example:yaml trainingInput: scheduling: maxWaitTime: 3600s
- priority number
- Optional. Job scheduling will be based on this priority, which in the range [0, 1000]. The bigger the number, the higher the priority. Default to 0 if not set. If there are multiple jobs requesting same type of accelerators, the high priority job will be scheduled prior to ones with low priority.
- max_
running_ strtime - Optional. The maximum job running time, expressed in seconds. The field can contain up to nine fractional digits, terminated by
s
. If not specified, this field defaults to604800s
(seven days). If the training job is still running after this duration, AI Platform Training cancels it. The duration is measured from when the job enters theRUNNING
state; therefore it does not overlap with the duration limited by Scheduling.max_wait_time. For example, if you want to ensure your job runs for no more than 2 hours, set this field to7200s
(2 hours * 60 minutes / hour * 60 seconds / minute). If you submit your training job using thegcloud
tool, you can specify this field in aconfig.yaml
file. For example:yaml trainingInput: scheduling: maxRunningTime: 7200s
- max_
wait_ strtime - Optional. The maximum job wait time, expressed in seconds. The field can contain up to nine fractional digits, terminated by
s
. If not specified, there is no limit to the wait time. The minimum for this field is1800s
(30 minutes). If the training job has not entered theRUNNING
state after this duration, AI Platform Training cancels it. After the job begins running, it can no longer be cancelled due to the maximum wait time. Therefore the duration limited by this field does not overlap with the duration limited by Scheduling.max_running_time. For example, if the job temporarily stops running and retries due to a VM restart, this cannot lead to a maximum wait time cancellation. However, independently of this constraint, AI Platform Training might stop a job if there are too many retries due to exhausted resources in a region. The following example describes how you might use this field: To cancel your job if it doesn't start running within 1 hour, set this field to3600s
(1 hour * 60 minutes / hour * 60 seconds / minute). If the job is still in theQUEUED
orPREPARING
state after an hour of waiting, AI Platform Training cancels the job. If you submit your training job using thegcloud
tool, you can specify this field in aconfig.yaml
file. For example:yaml trainingInput: scheduling: maxWaitTime: 3600s
- priority int
- Optional. Job scheduling will be based on this priority, which in the range [0, 1000]. The bigger the number, the higher the priority. Default to 0 if not set. If there are multiple jobs requesting same type of accelerators, the high priority job will be scheduled prior to ones with low priority.
- max
Running StringTime - Optional. The maximum job running time, expressed in seconds. The field can contain up to nine fractional digits, terminated by
s
. If not specified, this field defaults to604800s
(seven days). If the training job is still running after this duration, AI Platform Training cancels it. The duration is measured from when the job enters theRUNNING
state; therefore it does not overlap with the duration limited by Scheduling.max_wait_time. For example, if you want to ensure your job runs for no more than 2 hours, set this field to7200s
(2 hours * 60 minutes / hour * 60 seconds / minute). If you submit your training job using thegcloud
tool, you can specify this field in aconfig.yaml
file. For example:yaml trainingInput: scheduling: maxRunningTime: 7200s
- max
Wait StringTime - Optional. The maximum job wait time, expressed in seconds. The field can contain up to nine fractional digits, terminated by
s
. If not specified, there is no limit to the wait time. The minimum for this field is1800s
(30 minutes). If the training job has not entered theRUNNING
state after this duration, AI Platform Training cancels it. After the job begins running, it can no longer be cancelled due to the maximum wait time. Therefore the duration limited by this field does not overlap with the duration limited by Scheduling.max_running_time. For example, if the job temporarily stops running and retries due to a VM restart, this cannot lead to a maximum wait time cancellation. However, independently of this constraint, AI Platform Training might stop a job if there are too many retries due to exhausted resources in a region. The following example describes how you might use this field: To cancel your job if it doesn't start running within 1 hour, set this field to3600s
(1 hour * 60 minutes / hour * 60 seconds / minute). If the job is still in theQUEUED
orPREPARING
state after an hour of waiting, AI Platform Training cancels the job. If you submit your training job using thegcloud
tool, you can specify this field in aconfig.yaml
file. For example:yaml trainingInput: scheduling: maxWaitTime: 3600s
- priority Number
- Optional. Job scheduling will be based on this priority, which in the range [0, 1000]. The bigger the number, the higher the priority. Default to 0 if not set. If there are multiple jobs requesting same type of accelerators, the high priority job will be scheduled prior to ones with low priority.
GoogleCloudMlV1__SchedulingResponse, GoogleCloudMlV1__SchedulingResponseArgs
- Max
Running stringTime - Optional. The maximum job running time, expressed in seconds. The field can contain up to nine fractional digits, terminated by
s
. If not specified, this field defaults to604800s
(seven days). If the training job is still running after this duration, AI Platform Training cancels it. The duration is measured from when the job enters theRUNNING
state; therefore it does not overlap with the duration limited by Scheduling.max_wait_time. For example, if you want to ensure your job runs for no more than 2 hours, set this field to7200s
(2 hours * 60 minutes / hour * 60 seconds / minute). If you submit your training job using thegcloud
tool, you can specify this field in aconfig.yaml
file. For example:yaml trainingInput: scheduling: maxRunningTime: 7200s
- Max
Wait stringTime - Optional. The maximum job wait time, expressed in seconds. The field can contain up to nine fractional digits, terminated by
s
. If not specified, there is no limit to the wait time. The minimum for this field is1800s
(30 minutes). If the training job has not entered theRUNNING
state after this duration, AI Platform Training cancels it. After the job begins running, it can no longer be cancelled due to the maximum wait time. Therefore the duration limited by this field does not overlap with the duration limited by Scheduling.max_running_time. For example, if the job temporarily stops running and retries due to a VM restart, this cannot lead to a maximum wait time cancellation. However, independently of this constraint, AI Platform Training might stop a job if there are too many retries due to exhausted resources in a region. The following example describes how you might use this field: To cancel your job if it doesn't start running within 1 hour, set this field to3600s
(1 hour * 60 minutes / hour * 60 seconds / minute). If the job is still in theQUEUED
orPREPARING
state after an hour of waiting, AI Platform Training cancels the job. If you submit your training job using thegcloud
tool, you can specify this field in aconfig.yaml
file. For example:yaml trainingInput: scheduling: maxWaitTime: 3600s
- Priority int
- Optional. Job scheduling will be based on this priority, which in the range [0, 1000]. The bigger the number, the higher the priority. Default to 0 if not set. If there are multiple jobs requesting same type of accelerators, the high priority job will be scheduled prior to ones with low priority.
- Max
Running stringTime - Optional. The maximum job running time, expressed in seconds. The field can contain up to nine fractional digits, terminated by
s
. If not specified, this field defaults to604800s
(seven days). If the training job is still running after this duration, AI Platform Training cancels it. The duration is measured from when the job enters theRUNNING
state; therefore it does not overlap with the duration limited by Scheduling.max_wait_time. For example, if you want to ensure your job runs for no more than 2 hours, set this field to7200s
(2 hours * 60 minutes / hour * 60 seconds / minute). If you submit your training job using thegcloud
tool, you can specify this field in aconfig.yaml
file. For example:yaml trainingInput: scheduling: maxRunningTime: 7200s
- Max
Wait stringTime - Optional. The maximum job wait time, expressed in seconds. The field can contain up to nine fractional digits, terminated by
s
. If not specified, there is no limit to the wait time. The minimum for this field is1800s
(30 minutes). If the training job has not entered theRUNNING
state after this duration, AI Platform Training cancels it. After the job begins running, it can no longer be cancelled due to the maximum wait time. Therefore the duration limited by this field does not overlap with the duration limited by Scheduling.max_running_time. For example, if the job temporarily stops running and retries due to a VM restart, this cannot lead to a maximum wait time cancellation. However, independently of this constraint, AI Platform Training might stop a job if there are too many retries due to exhausted resources in a region. The following example describes how you might use this field: To cancel your job if it doesn't start running within 1 hour, set this field to3600s
(1 hour * 60 minutes / hour * 60 seconds / minute). If the job is still in theQUEUED
orPREPARING
state after an hour of waiting, AI Platform Training cancels the job. If you submit your training job using thegcloud
tool, you can specify this field in aconfig.yaml
file. For example:yaml trainingInput: scheduling: maxWaitTime: 3600s
- Priority int
- Optional. Job scheduling will be based on this priority, which in the range [0, 1000]. The bigger the number, the higher the priority. Default to 0 if not set. If there are multiple jobs requesting same type of accelerators, the high priority job will be scheduled prior to ones with low priority.
- max
Running StringTime - Optional. The maximum job running time, expressed in seconds. The field can contain up to nine fractional digits, terminated by
s
. If not specified, this field defaults to604800s
(seven days). If the training job is still running after this duration, AI Platform Training cancels it. The duration is measured from when the job enters theRUNNING
state; therefore it does not overlap with the duration limited by Scheduling.max_wait_time. For example, if you want to ensure your job runs for no more than 2 hours, set this field to7200s
(2 hours * 60 minutes / hour * 60 seconds / minute). If you submit your training job using thegcloud
tool, you can specify this field in aconfig.yaml
file. For example:yaml trainingInput: scheduling: maxRunningTime: 7200s
- max
Wait StringTime - Optional. The maximum job wait time, expressed in seconds. The field can contain up to nine fractional digits, terminated by
s
. If not specified, there is no limit to the wait time. The minimum for this field is1800s
(30 minutes). If the training job has not entered theRUNNING
state after this duration, AI Platform Training cancels it. After the job begins running, it can no longer be cancelled due to the maximum wait time. Therefore the duration limited by this field does not overlap with the duration limited by Scheduling.max_running_time. For example, if the job temporarily stops running and retries due to a VM restart, this cannot lead to a maximum wait time cancellation. However, independently of this constraint, AI Platform Training might stop a job if there are too many retries due to exhausted resources in a region. The following example describes how you might use this field: To cancel your job if it doesn't start running within 1 hour, set this field to3600s
(1 hour * 60 minutes / hour * 60 seconds / minute). If the job is still in theQUEUED
orPREPARING
state after an hour of waiting, AI Platform Training cancels the job. If you submit your training job using thegcloud
tool, you can specify this field in aconfig.yaml
file. For example:yaml trainingInput: scheduling: maxWaitTime: 3600s
- priority Integer
- Optional. Job scheduling will be based on this priority, which in the range [0, 1000]. The bigger the number, the higher the priority. Default to 0 if not set. If there are multiple jobs requesting same type of accelerators, the high priority job will be scheduled prior to ones with low priority.
- max
Running stringTime - Optional. The maximum job running time, expressed in seconds. The field can contain up to nine fractional digits, terminated by
s
. If not specified, this field defaults to604800s
(seven days). If the training job is still running after this duration, AI Platform Training cancels it. The duration is measured from when the job enters theRUNNING
state; therefore it does not overlap with the duration limited by Scheduling.max_wait_time. For example, if you want to ensure your job runs for no more than 2 hours, set this field to7200s
(2 hours * 60 minutes / hour * 60 seconds / minute). If you submit your training job using thegcloud
tool, you can specify this field in aconfig.yaml
file. For example:yaml trainingInput: scheduling: maxRunningTime: 7200s
- max
Wait stringTime - Optional. The maximum job wait time, expressed in seconds. The field can contain up to nine fractional digits, terminated by
s
. If not specified, there is no limit to the wait time. The minimum for this field is1800s
(30 minutes). If the training job has not entered theRUNNING
state after this duration, AI Platform Training cancels it. After the job begins running, it can no longer be cancelled due to the maximum wait time. Therefore the duration limited by this field does not overlap with the duration limited by Scheduling.max_running_time. For example, if the job temporarily stops running and retries due to a VM restart, this cannot lead to a maximum wait time cancellation. However, independently of this constraint, AI Platform Training might stop a job if there are too many retries due to exhausted resources in a region. The following example describes how you might use this field: To cancel your job if it doesn't start running within 1 hour, set this field to3600s
(1 hour * 60 minutes / hour * 60 seconds / minute). If the job is still in theQUEUED
orPREPARING
state after an hour of waiting, AI Platform Training cancels the job. If you submit your training job using thegcloud
tool, you can specify this field in aconfig.yaml
file. For example:yaml trainingInput: scheduling: maxWaitTime: 3600s
- priority number
- Optional. Job scheduling will be based on this priority, which in the range [0, 1000]. The bigger the number, the higher the priority. Default to 0 if not set. If there are multiple jobs requesting same type of accelerators, the high priority job will be scheduled prior to ones with low priority.
- max_
running_ strtime - Optional. The maximum job running time, expressed in seconds. The field can contain up to nine fractional digits, terminated by
s
. If not specified, this field defaults to604800s
(seven days). If the training job is still running after this duration, AI Platform Training cancels it. The duration is measured from when the job enters theRUNNING
state; therefore it does not overlap with the duration limited by Scheduling.max_wait_time. For example, if you want to ensure your job runs for no more than 2 hours, set this field to7200s
(2 hours * 60 minutes / hour * 60 seconds / minute). If you submit your training job using thegcloud
tool, you can specify this field in aconfig.yaml
file. For example:yaml trainingInput: scheduling: maxRunningTime: 7200s
- max_
wait_ strtime - Optional. The maximum job wait time, expressed in seconds. The field can contain up to nine fractional digits, terminated by
s
. If not specified, there is no limit to the wait time. The minimum for this field is1800s
(30 minutes). If the training job has not entered theRUNNING
state after this duration, AI Platform Training cancels it. After the job begins running, it can no longer be cancelled due to the maximum wait time. Therefore the duration limited by this field does not overlap with the duration limited by Scheduling.max_running_time. For example, if the job temporarily stops running and retries due to a VM restart, this cannot lead to a maximum wait time cancellation. However, independently of this constraint, AI Platform Training might stop a job if there are too many retries due to exhausted resources in a region. The following example describes how you might use this field: To cancel your job if it doesn't start running within 1 hour, set this field to3600s
(1 hour * 60 minutes / hour * 60 seconds / minute). If the job is still in theQUEUED
orPREPARING
state after an hour of waiting, AI Platform Training cancels the job. If you submit your training job using thegcloud
tool, you can specify this field in aconfig.yaml
file. For example:yaml trainingInput: scheduling: maxWaitTime: 3600s
- priority int
- Optional. Job scheduling will be based on this priority, which in the range [0, 1000]. The bigger the number, the higher the priority. Default to 0 if not set. If there are multiple jobs requesting same type of accelerators, the high priority job will be scheduled prior to ones with low priority.
- max
Running StringTime - Optional. The maximum job running time, expressed in seconds. The field can contain up to nine fractional digits, terminated by
s
. If not specified, this field defaults to604800s
(seven days). If the training job is still running after this duration, AI Platform Training cancels it. The duration is measured from when the job enters theRUNNING
state; therefore it does not overlap with the duration limited by Scheduling.max_wait_time. For example, if you want to ensure your job runs for no more than 2 hours, set this field to7200s
(2 hours * 60 minutes / hour * 60 seconds / minute). If you submit your training job using thegcloud
tool, you can specify this field in aconfig.yaml
file. For example:yaml trainingInput: scheduling: maxRunningTime: 7200s
- max
Wait StringTime - Optional. The maximum job wait time, expressed in seconds. The field can contain up to nine fractional digits, terminated by
s
. If not specified, there is no limit to the wait time. The minimum for this field is1800s
(30 minutes). If the training job has not entered theRUNNING
state after this duration, AI Platform Training cancels it. After the job begins running, it can no longer be cancelled due to the maximum wait time. Therefore the duration limited by this field does not overlap with the duration limited by Scheduling.max_running_time. For example, if the job temporarily stops running and retries due to a VM restart, this cannot lead to a maximum wait time cancellation. However, independently of this constraint, AI Platform Training might stop a job if there are too many retries due to exhausted resources in a region. The following example describes how you might use this field: To cancel your job if it doesn't start running within 1 hour, set this field to3600s
(1 hour * 60 minutes / hour * 60 seconds / minute). If the job is still in theQUEUED
orPREPARING
state after an hour of waiting, AI Platform Training cancels the job. If you submit your training job using thegcloud
tool, you can specify this field in aconfig.yaml
file. For example:yaml trainingInput: scheduling: maxWaitTime: 3600s
- priority Number
- Optional. Job scheduling will be based on this priority, which in the range [0, 1000]. The bigger the number, the higher the priority. Default to 0 if not set. If there are multiple jobs requesting same type of accelerators, the high priority job will be scheduled prior to ones with low priority.
GoogleCloudMlV1__TrainingInput, GoogleCloudMlV1__TrainingInputArgs
- Package
Uris List<string> - The Google Cloud Storage location of the packages with the training program and any additional dependencies. The maximum number of package URIs is 100.
- Python
Module string - The Python module name to run after installing the packages.
- Region string
- The region to run the training job in. See the available regions for AI Platform Training.
- Scale
Tier Pulumi.Google Native. Ml. V1. Google Cloud Ml V1__Training Input Scale Tier - Specifies the machine types, the number of replicas for workers and parameter servers.
- Args List<string>
- Optional. Command-line arguments passed to the training application when it starts. If your job uses a custom container, then the arguments are passed to the container's
ENTRYPOINT
command. - Enable
Web boolAccess - Optional. Whether you want AI Platform Training to enable interactive shell access to training containers. If set to
true
, you can access interactive shells at the URIs given by TrainingOutput.web_access_uris or HyperparameterOutput.web_access_uris (within TrainingOutput.trials). - Encryption
Config Pulumi.Google Native. Ml. V1. Inputs. Google Cloud Ml V1__Encryption Config - Optional. Options for using customer-managed encryption keys (CMEK) to protect resources created by a training job, instead of using Google's default encryption. If this is set, then all resources created by the training job will be encrypted with the customer-managed encryption key that you specify. Learn how and when to use CMEK with AI Platform Training.
- Evaluator
Config Pulumi.Google Native. Ml. V1. Inputs. Google Cloud Ml V1__Replica Config - Optional. The configuration for evaluators. You should only set
evaluatorConfig.acceleratorConfig
ifevaluatorType
is set to a Compute Engine machine type. Learn about restrictions on accelerator configurations for training. SetevaluatorConfig.imageUri
only if you build a custom image for your evaluator. IfevaluatorConfig.imageUri
has not been set, AI Platform uses the value ofmasterConfig.imageUri
. Learn more about configuring custom containers. - Evaluator
Count string - Optional. The number of evaluator replicas to use for the training job. Each replica in the cluster will be of the type specified in
evaluator_type
. This value can only be used whenscale_tier
is set toCUSTOM
. If you set this value, you must also setevaluator_type
. The default value is zero. - Evaluator
Type string - Optional. Specifies the type of virtual machine to use for your training job's evaluator nodes. The supported values are the same as those described in the entry for
masterType
. This value must be consistent with the category of machine type thatmasterType
uses. In other words, both must be Compute Engine machine types or both must be legacy machine types. This value must be present whenscaleTier
is set toCUSTOM
andevaluatorCount
is greater than zero. - Hyperparameters
Pulumi.
Google Native. Ml. V1. Inputs. Google Cloud Ml V1__Hyperparameter Spec - Optional. The set of Hyperparameters to tune.
- Job
Dir string - Optional. A Google Cloud Storage path in which to store training outputs and other data needed for training. This path is passed to your TensorFlow program as the '--job-dir' command-line argument. The benefit of specifying this field is that Cloud ML validates the path for use in training.
- Master
Config Pulumi.Google Native. Ml. V1. Inputs. Google Cloud Ml V1__Replica Config - Optional. The configuration for your master worker. You should only set
masterConfig.acceleratorConfig
ifmasterType
is set to a Compute Engine machine type. Learn about restrictions on accelerator configurations for training. SetmasterConfig.imageUri
only if you build a custom image. Only one ofmasterConfig.imageUri
andruntimeVersion
should be set. Learn more about configuring custom containers. - Master
Type string - Optional. Specifies the type of virtual machine to use for your training job's master worker. You must specify this field when
scaleTier
is set toCUSTOM
. You can use certain Compute Engine machine types directly in this field. See the list of compatible Compute Engine machine types. Alternatively, you can use the certain legacy machine types in this field. See the list of legacy machine types. Finally, if you want to use a TPU for training, specifycloud_tpu
in this field. Learn more about the special configuration options for training with TPUs. - Network string
- Optional. The full name of the Compute Engine network to which the Job is peered. For example,
projects/12345/global/networks/myVPC
. The format of this field isprojects/{project}/global/networks/{network}
, where {project} is a project number (like12345
) and {network} is network name. Private services access must already be configured for the network. If left unspecified, the Job is not peered with any network. Learn about using VPC Network Peering.. - Parameter
Server Pulumi.Config Google Native. Ml. V1. Inputs. Google Cloud Ml V1__Replica Config - Optional. The configuration for parameter servers. You should only set
parameterServerConfig.acceleratorConfig
ifparameterServerType
is set to a Compute Engine machine type. Learn about restrictions on accelerator configurations for training. SetparameterServerConfig.imageUri
only if you build a custom image for your parameter server. IfparameterServerConfig.imageUri
has not been set, AI Platform uses the value ofmasterConfig.imageUri
. Learn more about configuring custom containers. - Parameter
Server stringCount - Optional. The number of parameter server replicas to use for the training job. Each replica in the cluster will be of the type specified in
parameter_server_type
. This value can only be used whenscale_tier
is set toCUSTOM
. If you set this value, you must also setparameter_server_type
. The default value is zero. - Parameter
Server stringType - Optional. Specifies the type of virtual machine to use for your training job's parameter server. The supported values are the same as those described in the entry for
master_type
. This value must be consistent with the category of machine type thatmasterType
uses. In other words, both must be Compute Engine machine types or both must be legacy machine types. This value must be present whenscaleTier
is set toCUSTOM
andparameter_server_count
is greater than zero. - Python
Version string - Optional. The version of Python used in training. You must either specify this field or specify
masterConfig.imageUri
. The following Python versions are available: * Python '3.7' is available whenruntime_version
is set to '1.15' or later. * Python '3.5' is available whenruntime_version
is set to a version from '1.4' to '1.14'. * Python '2.7' is available whenruntime_version
is set to '1.15' or earlier. Read more about the Python versions available for each runtime version. - Runtime
Version string - Optional. The AI Platform runtime version to use for training. You must either specify this field or specify
masterConfig.imageUri
. For more information, see the runtime version list and learn how to manage runtime versions. - Scheduling
Pulumi.
Google Native. Ml. V1. Inputs. Google Cloud Ml V1__Scheduling - Optional. Scheduling options for a training job.
- Service
Account string - Optional. The email address of a service account to use when running the training appplication. You must have the
iam.serviceAccounts.actAs
permission for the specified service account. In addition, the AI Platform Training Google-managed service account must have theroles/iam.serviceAccountAdmin
role for the specified service account. Learn more about configuring a service account. If not specified, the AI Platform Training Google-managed service account is used by default. - Use
Chief boolIn Tf Config - Optional. Use
chief
instead ofmaster
in theTF_CONFIG
environment variable when training with a custom container. Defaults tofalse
. Learn more about this field. This field has no effect for training jobs that don't use a custom container. - Worker
Config Pulumi.Google Native. Ml. V1. Inputs. Google Cloud Ml V1__Replica Config - Optional. The configuration for workers. You should only set
workerConfig.acceleratorConfig
ifworkerType
is set to a Compute Engine machine type. Learn about restrictions on accelerator configurations for training. SetworkerConfig.imageUri
only if you build a custom image for your worker. IfworkerConfig.imageUri
has not been set, AI Platform uses the value ofmasterConfig.imageUri
. Learn more about configuring custom containers. - Worker
Count string - Optional. The number of worker replicas to use for the training job. Each replica in the cluster will be of the type specified in
worker_type
. This value can only be used whenscale_tier
is set toCUSTOM
. If you set this value, you must also setworker_type
. The default value is zero. - Worker
Type string - Optional. Specifies the type of virtual machine to use for your training job's worker nodes. The supported values are the same as those described in the entry for
masterType
. This value must be consistent with the category of machine type thatmasterType
uses. In other words, both must be Compute Engine machine types or both must be legacy machine types. If you usecloud_tpu
for this value, see special instructions for configuring a custom TPU machine. This value must be present whenscaleTier
is set toCUSTOM
andworkerCount
is greater than zero.
- Package
Uris []string - The Google Cloud Storage location of the packages with the training program and any additional dependencies. The maximum number of package URIs is 100.
- Python
Module string - The Python module name to run after installing the packages.
- Region string
- The region to run the training job in. See the available regions for AI Platform Training.
- Scale
Tier GoogleCloud Ml V1__Training Input Scale Tier - Specifies the machine types, the number of replicas for workers and parameter servers.
- Args []string
- Optional. Command-line arguments passed to the training application when it starts. If your job uses a custom container, then the arguments are passed to the container's
ENTRYPOINT
command. - Enable
Web boolAccess - Optional. Whether you want AI Platform Training to enable interactive shell access to training containers. If set to
true
, you can access interactive shells at the URIs given by TrainingOutput.web_access_uris or HyperparameterOutput.web_access_uris (within TrainingOutput.trials). - Encryption
Config GoogleCloud Ml V1__Encryption Config - Optional. Options for using customer-managed encryption keys (CMEK) to protect resources created by a training job, instead of using Google's default encryption. If this is set, then all resources created by the training job will be encrypted with the customer-managed encryption key that you specify. Learn how and when to use CMEK with AI Platform Training.
- Evaluator
Config GoogleCloud Ml V1__Replica Config - Optional. The configuration for evaluators. You should only set
evaluatorConfig.acceleratorConfig
ifevaluatorType
is set to a Compute Engine machine type. Learn about restrictions on accelerator configurations for training. SetevaluatorConfig.imageUri
only if you build a custom image for your evaluator. IfevaluatorConfig.imageUri
has not been set, AI Platform uses the value ofmasterConfig.imageUri
. Learn more about configuring custom containers. - Evaluator
Count string - Optional. The number of evaluator replicas to use for the training job. Each replica in the cluster will be of the type specified in
evaluator_type
. This value can only be used whenscale_tier
is set toCUSTOM
. If you set this value, you must also setevaluator_type
. The default value is zero. - Evaluator
Type string - Optional. Specifies the type of virtual machine to use for your training job's evaluator nodes. The supported values are the same as those described in the entry for
masterType
. This value must be consistent with the category of machine type thatmasterType
uses. In other words, both must be Compute Engine machine types or both must be legacy machine types. This value must be present whenscaleTier
is set toCUSTOM
andevaluatorCount
is greater than zero. - Hyperparameters
Google
Cloud Ml V1__Hyperparameter Spec - Optional. The set of Hyperparameters to tune.
- Job
Dir string - Optional. A Google Cloud Storage path in which to store training outputs and other data needed for training. This path is passed to your TensorFlow program as the '--job-dir' command-line argument. The benefit of specifying this field is that Cloud ML validates the path for use in training.
- Master
Config GoogleCloud Ml V1__Replica Config - Optional. The configuration for your master worker. You should only set
masterConfig.acceleratorConfig
ifmasterType
is set to a Compute Engine machine type. Learn about restrictions on accelerator configurations for training. SetmasterConfig.imageUri
only if you build a custom image. Only one ofmasterConfig.imageUri
andruntimeVersion
should be set. Learn more about configuring custom containers. - Master
Type string - Optional. Specifies the type of virtual machine to use for your training job's master worker. You must specify this field when
scaleTier
is set toCUSTOM
. You can use certain Compute Engine machine types directly in this field. See the list of compatible Compute Engine machine types. Alternatively, you can use the certain legacy machine types in this field. See the list of legacy machine types. Finally, if you want to use a TPU for training, specifycloud_tpu
in this field. Learn more about the special configuration options for training with TPUs. - Network string
- Optional. The full name of the Compute Engine network to which the Job is peered. For example,
projects/12345/global/networks/myVPC
. The format of this field isprojects/{project}/global/networks/{network}
, where {project} is a project number (like12345
) and {network} is network name. Private services access must already be configured for the network. If left unspecified, the Job is not peered with any network. Learn about using VPC Network Peering.. - Parameter
Server GoogleConfig Cloud Ml V1__Replica Config - Optional. The configuration for parameter servers. You should only set
parameterServerConfig.acceleratorConfig
ifparameterServerType
is set to a Compute Engine machine type. Learn about restrictions on accelerator configurations for training. SetparameterServerConfig.imageUri
only if you build a custom image for your parameter server. IfparameterServerConfig.imageUri
has not been set, AI Platform uses the value ofmasterConfig.imageUri
. Learn more about configuring custom containers. - Parameter
Server stringCount - Optional. The number of parameter server replicas to use for the training job. Each replica in the cluster will be of the type specified in
parameter_server_type
. This value can only be used whenscale_tier
is set toCUSTOM
. If you set this value, you must also setparameter_server_type
. The default value is zero. - Parameter
Server stringType - Optional. Specifies the type of virtual machine to use for your training job's parameter server. The supported values are the same as those described in the entry for
master_type
. This value must be consistent with the category of machine type thatmasterType
uses. In other words, both must be Compute Engine machine types or both must be legacy machine types. This value must be present whenscaleTier
is set toCUSTOM
andparameter_server_count
is greater than zero. - Python
Version string - Optional. The version of Python used in training. You must either specify this field or specify
masterConfig.imageUri
. The following Python versions are available: * Python '3.7' is available whenruntime_version
is set to '1.15' or later. * Python '3.5' is available whenruntime_version
is set to a version from '1.4' to '1.14'. * Python '2.7' is available whenruntime_version
is set to '1.15' or earlier. Read more about the Python versions available for each runtime version. - Runtime
Version string - Optional. The AI Platform runtime version to use for training. You must either specify this field or specify
masterConfig.imageUri
. For more information, see the runtime version list and learn how to manage runtime versions. - Scheduling
Google
Cloud Ml V1__Scheduling - Optional. Scheduling options for a training job.
- Service
Account string - Optional. The email address of a service account to use when running the training appplication. You must have the
iam.serviceAccounts.actAs
permission for the specified service account. In addition, the AI Platform Training Google-managed service account must have theroles/iam.serviceAccountAdmin
role for the specified service account. Learn more about configuring a service account. If not specified, the AI Platform Training Google-managed service account is used by default. - Use
Chief boolIn Tf Config - Optional. Use
chief
instead ofmaster
in theTF_CONFIG
environment variable when training with a custom container. Defaults tofalse
. Learn more about this field. This field has no effect for training jobs that don't use a custom container. - Worker
Config GoogleCloud Ml V1__Replica Config - Optional. The configuration for workers. You should only set
workerConfig.acceleratorConfig
ifworkerType
is set to a Compute Engine machine type. Learn about restrictions on accelerator configurations for training. SetworkerConfig.imageUri
only if you build a custom image for your worker. IfworkerConfig.imageUri
has not been set, AI Platform uses the value ofmasterConfig.imageUri
. Learn more about configuring custom containers. - Worker
Count string - Optional. The number of worker replicas to use for the training job. Each replica in the cluster will be of the type specified in
worker_type
. This value can only be used whenscale_tier
is set toCUSTOM
. If you set this value, you must also setworker_type
. The default value is zero. - Worker
Type string - Optional. Specifies the type of virtual machine to use for your training job's worker nodes. The supported values are the same as those described in the entry for
masterType
. This value must be consistent with the category of machine type thatmasterType
uses. In other words, both must be Compute Engine machine types or both must be legacy machine types. If you usecloud_tpu
for this value, see special instructions for configuring a custom TPU machine. This value must be present whenscaleTier
is set toCUSTOM
andworkerCount
is greater than zero.
- package
Uris List<String> - The Google Cloud Storage location of the packages with the training program and any additional dependencies. The maximum number of package URIs is 100.
- python
Module String - The Python module name to run after installing the packages.
- region String
- The region to run the training job in. See the available regions for AI Platform Training.
- scale
Tier GoogleCloud Ml V1__Training Input Scale Tier - Specifies the machine types, the number of replicas for workers and parameter servers.
- args List<String>
- Optional. Command-line arguments passed to the training application when it starts. If your job uses a custom container, then the arguments are passed to the container's
ENTRYPOINT
command. - enable
Web BooleanAccess - Optional. Whether you want AI Platform Training to enable interactive shell access to training containers. If set to
true
, you can access interactive shells at the URIs given by TrainingOutput.web_access_uris or HyperparameterOutput.web_access_uris (within TrainingOutput.trials). - encryption
Config GoogleCloud Ml V1__Encryption Config - Optional. Options for using customer-managed encryption keys (CMEK) to protect resources created by a training job, instead of using Google's default encryption. If this is set, then all resources created by the training job will be encrypted with the customer-managed encryption key that you specify. Learn how and when to use CMEK with AI Platform Training.
- evaluator
Config GoogleCloud Ml V1__Replica Config - Optional. The configuration for evaluators. You should only set
evaluatorConfig.acceleratorConfig
ifevaluatorType
is set to a Compute Engine machine type. Learn about restrictions on accelerator configurations for training. SetevaluatorConfig.imageUri
only if you build a custom image for your evaluator. IfevaluatorConfig.imageUri
has not been set, AI Platform uses the value ofmasterConfig.imageUri
. Learn more about configuring custom containers. - evaluator
Count String - Optional. The number of evaluator replicas to use for the training job. Each replica in the cluster will be of the type specified in
evaluator_type
. This value can only be used whenscale_tier
is set toCUSTOM
. If you set this value, you must also setevaluator_type
. The default value is zero. - evaluator
Type String - Optional. Specifies the type of virtual machine to use for your training job's evaluator nodes. The supported values are the same as those described in the entry for
masterType
. This value must be consistent with the category of machine type thatmasterType
uses. In other words, both must be Compute Engine machine types or both must be legacy machine types. This value must be present whenscaleTier
is set toCUSTOM
andevaluatorCount
is greater than zero. - hyperparameters
Google
Cloud Ml V1__Hyperparameter Spec - Optional. The set of Hyperparameters to tune.
- job
Dir String - Optional. A Google Cloud Storage path in which to store training outputs and other data needed for training. This path is passed to your TensorFlow program as the '--job-dir' command-line argument. The benefit of specifying this field is that Cloud ML validates the path for use in training.
- master
Config GoogleCloud Ml V1__Replica Config - Optional. The configuration for your master worker. You should only set
masterConfig.acceleratorConfig
ifmasterType
is set to a Compute Engine machine type. Learn about restrictions on accelerator configurations for training. SetmasterConfig.imageUri
only if you build a custom image. Only one ofmasterConfig.imageUri
andruntimeVersion
should be set. Learn more about configuring custom containers. - master
Type String - Optional. Specifies the type of virtual machine to use for your training job's master worker. You must specify this field when
scaleTier
is set toCUSTOM
. You can use certain Compute Engine machine types directly in this field. See the list of compatible Compute Engine machine types. Alternatively, you can use the certain legacy machine types in this field. See the list of legacy machine types. Finally, if you want to use a TPU for training, specifycloud_tpu
in this field. Learn more about the special configuration options for training with TPUs. - network String
- Optional. The full name of the Compute Engine network to which the Job is peered. For example,
projects/12345/global/networks/myVPC
. The format of this field isprojects/{project}/global/networks/{network}
, where {project} is a project number (like12345
) and {network} is network name. Private services access must already be configured for the network. If left unspecified, the Job is not peered with any network. Learn about using VPC Network Peering.. - parameter
Server GoogleConfig Cloud Ml V1__Replica Config - Optional. The configuration for parameter servers. You should only set
parameterServerConfig.acceleratorConfig
ifparameterServerType
is set to a Compute Engine machine type. Learn about restrictions on accelerator configurations for training. SetparameterServerConfig.imageUri
only if you build a custom image for your parameter server. IfparameterServerConfig.imageUri
has not been set, AI Platform uses the value ofmasterConfig.imageUri
. Learn more about configuring custom containers. - parameter
Server StringCount - Optional. The number of parameter server replicas to use for the training job. Each replica in the cluster will be of the type specified in
parameter_server_type
. This value can only be used whenscale_tier
is set toCUSTOM
. If you set this value, you must also setparameter_server_type
. The default value is zero. - parameter
Server StringType - Optional. Specifies the type of virtual machine to use for your training job's parameter server. The supported values are the same as those described in the entry for
master_type
. This value must be consistent with the category of machine type thatmasterType
uses. In other words, both must be Compute Engine machine types or both must be legacy machine types. This value must be present whenscaleTier
is set toCUSTOM
andparameter_server_count
is greater than zero. - python
Version String - Optional. The version of Python used in training. You must either specify this field or specify
masterConfig.imageUri
. The following Python versions are available: * Python '3.7' is available whenruntime_version
is set to '1.15' or later. * Python '3.5' is available whenruntime_version
is set to a version from '1.4' to '1.14'. * Python '2.7' is available whenruntime_version
is set to '1.15' or earlier. Read more about the Python versions available for each runtime version. - runtime
Version String - Optional. The AI Platform runtime version to use for training. You must either specify this field or specify
masterConfig.imageUri
. For more information, see the runtime version list and learn how to manage runtime versions. - scheduling
Google
Cloud Ml V1__Scheduling - Optional. Scheduling options for a training job.
- service
Account String - Optional. The email address of a service account to use when running the training appplication. You must have the
iam.serviceAccounts.actAs
permission for the specified service account. In addition, the AI Platform Training Google-managed service account must have theroles/iam.serviceAccountAdmin
role for the specified service account. Learn more about configuring a service account. If not specified, the AI Platform Training Google-managed service account is used by default. - use
Chief BooleanIn Tf Config - Optional. Use
chief
instead ofmaster
in theTF_CONFIG
environment variable when training with a custom container. Defaults tofalse
. Learn more about this field. This field has no effect for training jobs that don't use a custom container. - worker
Config GoogleCloud Ml V1__Replica Config - Optional. The configuration for workers. You should only set
workerConfig.acceleratorConfig
ifworkerType
is set to a Compute Engine machine type. Learn about restrictions on accelerator configurations for training. SetworkerConfig.imageUri
only if you build a custom image for your worker. IfworkerConfig.imageUri
has not been set, AI Platform uses the value ofmasterConfig.imageUri
. Learn more about configuring custom containers. - worker
Count String - Optional. The number of worker replicas to use for the training job. Each replica in the cluster will be of the type specified in
worker_type
. This value can only be used whenscale_tier
is set toCUSTOM
. If you set this value, you must also setworker_type
. The default value is zero. - worker
Type String - Optional. Specifies the type of virtual machine to use for your training job's worker nodes. The supported values are the same as those described in the entry for
masterType
. This value must be consistent with the category of machine type thatmasterType
uses. In other words, both must be Compute Engine machine types or both must be legacy machine types. If you usecloud_tpu
for this value, see special instructions for configuring a custom TPU machine. This value must be present whenscaleTier
is set toCUSTOM
andworkerCount
is greater than zero.
- package
Uris string[] - The Google Cloud Storage location of the packages with the training program and any additional dependencies. The maximum number of package URIs is 100.
- python
Module string - The Python module name to run after installing the packages.
- region string
- The region to run the training job in. See the available regions for AI Platform Training.
- scale
Tier GoogleCloud Ml V1__Training Input Scale Tier - Specifies the machine types, the number of replicas for workers and parameter servers.
- args string[]
- Optional. Command-line arguments passed to the training application when it starts. If your job uses a custom container, then the arguments are passed to the container's
ENTRYPOINT
command. - enable
Web booleanAccess - Optional. Whether you want AI Platform Training to enable interactive shell access to training containers. If set to
true
, you can access interactive shells at the URIs given by TrainingOutput.web_access_uris or HyperparameterOutput.web_access_uris (within TrainingOutput.trials). - encryption
Config GoogleCloud Ml V1__Encryption Config - Optional. Options for using customer-managed encryption keys (CMEK) to protect resources created by a training job, instead of using Google's default encryption. If this is set, then all resources created by the training job will be encrypted with the customer-managed encryption key that you specify. Learn how and when to use CMEK with AI Platform Training.
- evaluator
Config GoogleCloud Ml V1__Replica Config - Optional. The configuration for evaluators. You should only set
evaluatorConfig.acceleratorConfig
ifevaluatorType
is set to a Compute Engine machine type. Learn about restrictions on accelerator configurations for training. SetevaluatorConfig.imageUri
only if you build a custom image for your evaluator. IfevaluatorConfig.imageUri
has not been set, AI Platform uses the value ofmasterConfig.imageUri
. Learn more about configuring custom containers. - evaluator
Count string - Optional. The number of evaluator replicas to use for the training job. Each replica in the cluster will be of the type specified in
evaluator_type
. This value can only be used whenscale_tier
is set toCUSTOM
. If you set this value, you must also setevaluator_type
. The default value is zero. - evaluator
Type string - Optional. Specifies the type of virtual machine to use for your training job's evaluator nodes. The supported values are the same as those described in the entry for
masterType
. This value must be consistent with the category of machine type thatmasterType
uses. In other words, both must be Compute Engine machine types or both must be legacy machine types. This value must be present whenscaleTier
is set toCUSTOM
andevaluatorCount
is greater than zero. - hyperparameters
Google
Cloud Ml V1__Hyperparameter Spec - Optional. The set of Hyperparameters to tune.
- job
Dir string - Optional. A Google Cloud Storage path in which to store training outputs and other data needed for training. This path is passed to your TensorFlow program as the '--job-dir' command-line argument. The benefit of specifying this field is that Cloud ML validates the path for use in training.
- master
Config GoogleCloud Ml V1__Replica Config - Optional. The configuration for your master worker. You should only set
masterConfig.acceleratorConfig
ifmasterType
is set to a Compute Engine machine type. Learn about restrictions on accelerator configurations for training. SetmasterConfig.imageUri
only if you build a custom image. Only one ofmasterConfig.imageUri
andruntimeVersion
should be set. Learn more about configuring custom containers. - master
Type string - Optional. Specifies the type of virtual machine to use for your training job's master worker. You must specify this field when
scaleTier
is set toCUSTOM
. You can use certain Compute Engine machine types directly in this field. See the list of compatible Compute Engine machine types. Alternatively, you can use the certain legacy machine types in this field. See the list of legacy machine types. Finally, if you want to use a TPU for training, specifycloud_tpu
in this field. Learn more about the special configuration options for training with TPUs. - network string
- Optional. The full name of the Compute Engine network to which the Job is peered. For example,
projects/12345/global/networks/myVPC
. The format of this field isprojects/{project}/global/networks/{network}
, where {project} is a project number (like12345
) and {network} is network name. Private services access must already be configured for the network. If left unspecified, the Job is not peered with any network. Learn about using VPC Network Peering.. - parameter
Server GoogleConfig Cloud Ml V1__Replica Config - Optional. The configuration for parameter servers. You should only set
parameterServerConfig.acceleratorConfig
ifparameterServerType
is set to a Compute Engine machine type. Learn about restrictions on accelerator configurations for training. SetparameterServerConfig.imageUri
only if you build a custom image for your parameter server. IfparameterServerConfig.imageUri
has not been set, AI Platform uses the value ofmasterConfig.imageUri
. Learn more about configuring custom containers. - parameter
Server stringCount - Optional. The number of parameter server replicas to use for the training job. Each replica in the cluster will be of the type specified in
parameter_server_type
. This value can only be used whenscale_tier
is set toCUSTOM
. If you set this value, you must also setparameter_server_type
. The default value is zero. - parameter
Server stringType - Optional. Specifies the type of virtual machine to use for your training job's parameter server. The supported values are the same as those described in the entry for
master_type
. This value must be consistent with the category of machine type thatmasterType
uses. In other words, both must be Compute Engine machine types or both must be legacy machine types. This value must be present whenscaleTier
is set toCUSTOM
andparameter_server_count
is greater than zero. - python
Version string - Optional. The version of Python used in training. You must either specify this field or specify
masterConfig.imageUri
. The following Python versions are available: * Python '3.7' is available whenruntime_version
is set to '1.15' or later. * Python '3.5' is available whenruntime_version
is set to a version from '1.4' to '1.14'. * Python '2.7' is available whenruntime_version
is set to '1.15' or earlier. Read more about the Python versions available for each runtime version. - runtime
Version string - Optional. The AI Platform runtime version to use for training. You must either specify this field or specify
masterConfig.imageUri
. For more information, see the runtime version list and learn how to manage runtime versions. - scheduling
Google
Cloud Ml V1__Scheduling - Optional. Scheduling options for a training job.
- service
Account string - Optional. The email address of a service account to use when running the training appplication. You must have the
iam.serviceAccounts.actAs
permission for the specified service account. In addition, the AI Platform Training Google-managed service account must have theroles/iam.serviceAccountAdmin
role for the specified service account. Learn more about configuring a service account. If not specified, the AI Platform Training Google-managed service account is used by default. - use
Chief booleanIn Tf Config - Optional. Use
chief
instead ofmaster
in theTF_CONFIG
environment variable when training with a custom container. Defaults tofalse
. Learn more about this field. This field has no effect for training jobs that don't use a custom container. - worker
Config GoogleCloud Ml V1__Replica Config - Optional. The configuration for workers. You should only set
workerConfig.acceleratorConfig
ifworkerType
is set to a Compute Engine machine type. Learn about restrictions on accelerator configurations for training. SetworkerConfig.imageUri
only if you build a custom image for your worker. IfworkerConfig.imageUri
has not been set, AI Platform uses the value ofmasterConfig.imageUri
. Learn more about configuring custom containers. - worker
Count string - Optional. The number of worker replicas to use for the training job. Each replica in the cluster will be of the type specified in
worker_type
. This value can only be used whenscale_tier
is set toCUSTOM
. If you set this value, you must also setworker_type
. The default value is zero. - worker
Type string - Optional. Specifies the type of virtual machine to use for your training job's worker nodes. The supported values are the same as those described in the entry for
masterType
. This value must be consistent with the category of machine type thatmasterType
uses. In other words, both must be Compute Engine machine types or both must be legacy machine types. If you usecloud_tpu
for this value, see special instructions for configuring a custom TPU machine. This value must be present whenscaleTier
is set toCUSTOM
andworkerCount
is greater than zero.
- package_
uris Sequence[str] - The Google Cloud Storage location of the packages with the training program and any additional dependencies. The maximum number of package URIs is 100.
- python_
module str - The Python module name to run after installing the packages.
- region str
- The region to run the training job in. See the available regions for AI Platform Training.
- scale_
tier GoogleCloud Ml V1Training Input Scale Tier - Specifies the machine types, the number of replicas for workers and parameter servers.
- args Sequence[str]
- Optional. Command-line arguments passed to the training application when it starts. If your job uses a custom container, then the arguments are passed to the container's
ENTRYPOINT
command. - enable_
web_ boolaccess - Optional. Whether you want AI Platform Training to enable interactive shell access to training containers. If set to
true
, you can access interactive shells at the URIs given by TrainingOutput.web_access_uris or HyperparameterOutput.web_access_uris (within TrainingOutput.trials). - encryption_
config GoogleCloud Ml V1Encryption Config - Optional. Options for using customer-managed encryption keys (CMEK) to protect resources created by a training job, instead of using Google's default encryption. If this is set, then all resources created by the training job will be encrypted with the customer-managed encryption key that you specify. Learn how and when to use CMEK with AI Platform Training.
- evaluator_
config GoogleCloud Ml V1Replica Config - Optional. The configuration for evaluators. You should only set
evaluatorConfig.acceleratorConfig
ifevaluatorType
is set to a Compute Engine machine type. Learn about restrictions on accelerator configurations for training. SetevaluatorConfig.imageUri
only if you build a custom image for your evaluator. IfevaluatorConfig.imageUri
has not been set, AI Platform uses the value ofmasterConfig.imageUri
. Learn more about configuring custom containers. - evaluator_
count str - Optional. The number of evaluator replicas to use for the training job. Each replica in the cluster will be of the type specified in
evaluator_type
. This value can only be used whenscale_tier
is set toCUSTOM
. If you set this value, you must also setevaluator_type
. The default value is zero. - evaluator_
type str - Optional. Specifies the type of virtual machine to use for your training job's evaluator nodes. The supported values are the same as those described in the entry for
masterType
. This value must be consistent with the category of machine type thatmasterType
uses. In other words, both must be Compute Engine machine types or both must be legacy machine types. This value must be present whenscaleTier
is set toCUSTOM
andevaluatorCount
is greater than zero. - hyperparameters
Google
Cloud Ml V1Hyperparameter Spec - Optional. The set of Hyperparameters to tune.
- job_
dir str - Optional. A Google Cloud Storage path in which to store training outputs and other data needed for training. This path is passed to your TensorFlow program as the '--job-dir' command-line argument. The benefit of specifying this field is that Cloud ML validates the path for use in training.
- master_
config GoogleCloud Ml V1Replica Config - Optional. The configuration for your master worker. You should only set
masterConfig.acceleratorConfig
ifmasterType
is set to a Compute Engine machine type. Learn about restrictions on accelerator configurations for training. SetmasterConfig.imageUri
only if you build a custom image. Only one ofmasterConfig.imageUri
andruntimeVersion
should be set. Learn more about configuring custom containers. - master_
type str - Optional. Specifies the type of virtual machine to use for your training job's master worker. You must specify this field when
scaleTier
is set toCUSTOM
. You can use certain Compute Engine machine types directly in this field. See the list of compatible Compute Engine machine types. Alternatively, you can use the certain legacy machine types in this field. See the list of legacy machine types. Finally, if you want to use a TPU for training, specifycloud_tpu
in this field. Learn more about the special configuration options for training with TPUs. - network str
- Optional. The full name of the Compute Engine network to which the Job is peered. For example,
projects/12345/global/networks/myVPC
. The format of this field isprojects/{project}/global/networks/{network}
, where {project} is a project number (like12345
) and {network} is network name. Private services access must already be configured for the network. If left unspecified, the Job is not peered with any network. Learn about using VPC Network Peering.. - parameter_
server_ Googleconfig Cloud Ml V1Replica Config - Optional. The configuration for parameter servers. You should only set
parameterServerConfig.acceleratorConfig
ifparameterServerType
is set to a Compute Engine machine type. Learn about restrictions on accelerator configurations for training. SetparameterServerConfig.imageUri
only if you build a custom image for your parameter server. IfparameterServerConfig.imageUri
has not been set, AI Platform uses the value ofmasterConfig.imageUri
. Learn more about configuring custom containers. - parameter_
server_ strcount - Optional. The number of parameter server replicas to use for the training job. Each replica in the cluster will be of the type specified in
parameter_server_type
. This value can only be used whenscale_tier
is set toCUSTOM
. If you set this value, you must also setparameter_server_type
. The default value is zero. - parameter_
server_ strtype - Optional. Specifies the type of virtual machine to use for your training job's parameter server. The supported values are the same as those described in the entry for
master_type
. This value must be consistent with the category of machine type thatmasterType
uses. In other words, both must be Compute Engine machine types or both must be legacy machine types. This value must be present whenscaleTier
is set toCUSTOM
andparameter_server_count
is greater than zero. - python_
version str - Optional. The version of Python used in training. You must either specify this field or specify
masterConfig.imageUri
. The following Python versions are available: * Python '3.7' is available whenruntime_version
is set to '1.15' or later. * Python '3.5' is available whenruntime_version
is set to a version from '1.4' to '1.14'. * Python '2.7' is available whenruntime_version
is set to '1.15' or earlier. Read more about the Python versions available for each runtime version. - runtime_
version str - Optional. The AI Platform runtime version to use for training. You must either specify this field or specify
masterConfig.imageUri
. For more information, see the runtime version list and learn how to manage runtime versions. - scheduling
Google
Cloud Ml V1Scheduling - Optional. Scheduling options for a training job.
- service_
account str - Optional. The email address of a service account to use when running the training appplication. You must have the
iam.serviceAccounts.actAs
permission for the specified service account. In addition, the AI Platform Training Google-managed service account must have theroles/iam.serviceAccountAdmin
role for the specified service account. Learn more about configuring a service account. If not specified, the AI Platform Training Google-managed service account is used by default. - use_
chief_ boolin_ tf_ config - Optional. Use
chief
instead ofmaster
in theTF_CONFIG
environment variable when training with a custom container. Defaults tofalse
. Learn more about this field. This field has no effect for training jobs that don't use a custom container. - worker_
config GoogleCloud Ml V1Replica Config - Optional. The configuration for workers. You should only set
workerConfig.acceleratorConfig
ifworkerType
is set to a Compute Engine machine type. Learn about restrictions on accelerator configurations for training. SetworkerConfig.imageUri
only if you build a custom image for your worker. IfworkerConfig.imageUri
has not been set, AI Platform uses the value ofmasterConfig.imageUri
. Learn more about configuring custom containers. - worker_
count str - Optional. The number of worker replicas to use for the training job. Each replica in the cluster will be of the type specified in
worker_type
. This value can only be used whenscale_tier
is set toCUSTOM
. If you set this value, you must also setworker_type
. The default value is zero. - worker_
type str - Optional. Specifies the type of virtual machine to use for your training job's worker nodes. The supported values are the same as those described in the entry for
masterType
. This value must be consistent with the category of machine type thatmasterType
uses. In other words, both must be Compute Engine machine types or both must be legacy machine types. If you usecloud_tpu
for this value, see special instructions for configuring a custom TPU machine. This value must be present whenscaleTier
is set toCUSTOM
andworkerCount
is greater than zero.
- package
Uris List<String> - The Google Cloud Storage location of the packages with the training program and any additional dependencies. The maximum number of package URIs is 100.
- python
Module String - The Python module name to run after installing the packages.
- region String
- The region to run the training job in. See the available regions for AI Platform Training.
- scale
Tier "BASIC" | "STANDARD_1" | "PREMIUM_1" | "BASIC_GPU" | "BASIC_TPU" | "CUSTOM" - Specifies the machine types, the number of replicas for workers and parameter servers.
- args List<String>
- Optional. Command-line arguments passed to the training application when it starts. If your job uses a custom container, then the arguments are passed to the container's
ENTRYPOINT
command. - enable
Web BooleanAccess - Optional. Whether you want AI Platform Training to enable interactive shell access to training containers. If set to
true
, you can access interactive shells at the URIs given by TrainingOutput.web_access_uris or HyperparameterOutput.web_access_uris (within TrainingOutput.trials). - encryption
Config Property Map - Optional. Options for using customer-managed encryption keys (CMEK) to protect resources created by a training job, instead of using Google's default encryption. If this is set, then all resources created by the training job will be encrypted with the customer-managed encryption key that you specify. Learn how and when to use CMEK with AI Platform Training.
- evaluator
Config Property Map - Optional. The configuration for evaluators. You should only set
evaluatorConfig.acceleratorConfig
ifevaluatorType
is set to a Compute Engine machine type. Learn about restrictions on accelerator configurations for training. SetevaluatorConfig.imageUri
only if you build a custom image for your evaluator. IfevaluatorConfig.imageUri
has not been set, AI Platform uses the value ofmasterConfig.imageUri
. Learn more about configuring custom containers. - evaluator
Count String - Optional. The number of evaluator replicas to use for the training job. Each replica in the cluster will be of the type specified in
evaluator_type
. This value can only be used whenscale_tier
is set toCUSTOM
. If you set this value, you must also setevaluator_type
. The default value is zero. - evaluator
Type String - Optional. Specifies the type of virtual machine to use for your training job's evaluator nodes. The supported values are the same as those described in the entry for
masterType
. This value must be consistent with the category of machine type thatmasterType
uses. In other words, both must be Compute Engine machine types or both must be legacy machine types. This value must be present whenscaleTier
is set toCUSTOM
andevaluatorCount
is greater than zero. - hyperparameters Property Map
- Optional. The set of Hyperparameters to tune.
- job
Dir String - Optional. A Google Cloud Storage path in which to store training outputs and other data needed for training. This path is passed to your TensorFlow program as the '--job-dir' command-line argument. The benefit of specifying this field is that Cloud ML validates the path for use in training.
- master
Config Property Map - Optional. The configuration for your master worker. You should only set
masterConfig.acceleratorConfig
ifmasterType
is set to a Compute Engine machine type. Learn about restrictions on accelerator configurations for training. SetmasterConfig.imageUri
only if you build a custom image. Only one ofmasterConfig.imageUri
andruntimeVersion
should be set. Learn more about configuring custom containers. - master
Type String - Optional. Specifies the type of virtual machine to use for your training job's master worker. You must specify this field when
scaleTier
is set toCUSTOM
. You can use certain Compute Engine machine types directly in this field. See the list of compatible Compute Engine machine types. Alternatively, you can use the certain legacy machine types in this field. See the list of legacy machine types. Finally, if you want to use a TPU for training, specifycloud_tpu
in this field. Learn more about the special configuration options for training with TPUs. - network String
- Optional. The full name of the Compute Engine network to which the Job is peered. For example,
projects/12345/global/networks/myVPC
. The format of this field isprojects/{project}/global/networks/{network}
, where {project} is a project number (like12345
) and {network} is network name. Private services access must already be configured for the network. If left unspecified, the Job is not peered with any network. Learn about using VPC Network Peering.. - parameter
Server Property MapConfig - Optional. The configuration for parameter servers. You should only set
parameterServerConfig.acceleratorConfig
ifparameterServerType
is set to a Compute Engine machine type. Learn about restrictions on accelerator configurations for training. SetparameterServerConfig.imageUri
only if you build a custom image for your parameter server. IfparameterServerConfig.imageUri
has not been set, AI Platform uses the value ofmasterConfig.imageUri
. Learn more about configuring custom containers. - parameter
Server StringCount - Optional. The number of parameter server replicas to use for the training job. Each replica in the cluster will be of the type specified in
parameter_server_type
. This value can only be used whenscale_tier
is set toCUSTOM
. If you set this value, you must also setparameter_server_type
. The default value is zero. - parameter
Server StringType - Optional. Specifies the type of virtual machine to use for your training job's parameter server. The supported values are the same as those described in the entry for
master_type
. This value must be consistent with the category of machine type thatmasterType
uses. In other words, both must be Compute Engine machine types or both must be legacy machine types. This value must be present whenscaleTier
is set toCUSTOM
andparameter_server_count
is greater than zero. - python
Version String - Optional. The version of Python used in training. You must either specify this field or specify
masterConfig.imageUri
. The following Python versions are available: * Python '3.7' is available whenruntime_version
is set to '1.15' or later. * Python '3.5' is available whenruntime_version
is set to a version from '1.4' to '1.14'. * Python '2.7' is available whenruntime_version
is set to '1.15' or earlier. Read more about the Python versions available for each runtime version. - runtime
Version String - Optional. The AI Platform runtime version to use for training. You must either specify this field or specify
masterConfig.imageUri
. For more information, see the runtime version list and learn how to manage runtime versions. - scheduling Property Map
- Optional. Scheduling options for a training job.
- service
Account String - Optional. The email address of a service account to use when running the training appplication. You must have the
iam.serviceAccounts.actAs
permission for the specified service account. In addition, the AI Platform Training Google-managed service account must have theroles/iam.serviceAccountAdmin
role for the specified service account. Learn more about configuring a service account. If not specified, the AI Platform Training Google-managed service account is used by default. - use
Chief BooleanIn Tf Config - Optional. Use
chief
instead ofmaster
in theTF_CONFIG
environment variable when training with a custom container. Defaults tofalse
. Learn more about this field. This field has no effect for training jobs that don't use a custom container. - worker
Config Property Map - Optional. The configuration for workers. You should only set
workerConfig.acceleratorConfig
ifworkerType
is set to a Compute Engine machine type. Learn about restrictions on accelerator configurations for training. SetworkerConfig.imageUri
only if you build a custom image for your worker. IfworkerConfig.imageUri
has not been set, AI Platform uses the value ofmasterConfig.imageUri
. Learn more about configuring custom containers. - worker
Count String - Optional. The number of worker replicas to use for the training job. Each replica in the cluster will be of the type specified in
worker_type
. This value can only be used whenscale_tier
is set toCUSTOM
. If you set this value, you must also setworker_type
. The default value is zero. - worker
Type String - Optional. Specifies the type of virtual machine to use for your training job's worker nodes. The supported values are the same as those described in the entry for
masterType
. This value must be consistent with the category of machine type thatmasterType
uses. In other words, both must be Compute Engine machine types or both must be legacy machine types. If you usecloud_tpu
for this value, see special instructions for configuring a custom TPU machine. This value must be present whenscaleTier
is set toCUSTOM
andworkerCount
is greater than zero.
GoogleCloudMlV1__TrainingInputResponse, GoogleCloudMlV1__TrainingInputResponseArgs
- Args List<string>
- Optional. Command-line arguments passed to the training application when it starts. If your job uses a custom container, then the arguments are passed to the container's
ENTRYPOINT
command. - Enable
Web boolAccess - Optional. Whether you want AI Platform Training to enable interactive shell access to training containers. If set to
true
, you can access interactive shells at the URIs given by TrainingOutput.web_access_uris or HyperparameterOutput.web_access_uris (within TrainingOutput.trials). - Encryption
Config Pulumi.Google Native. Ml. V1. Inputs. Google Cloud Ml V1__Encryption Config Response - Optional. Options for using customer-managed encryption keys (CMEK) to protect resources created by a training job, instead of using Google's default encryption. If this is set, then all resources created by the training job will be encrypted with the customer-managed encryption key that you specify. Learn how and when to use CMEK with AI Platform Training.
- Evaluator
Config Pulumi.Google Native. Ml. V1. Inputs. Google Cloud Ml V1__Replica Config Response - Optional. The configuration for evaluators. You should only set
evaluatorConfig.acceleratorConfig
ifevaluatorType
is set to a Compute Engine machine type. Learn about restrictions on accelerator configurations for training. SetevaluatorConfig.imageUri
only if you build a custom image for your evaluator. IfevaluatorConfig.imageUri
has not been set, AI Platform uses the value ofmasterConfig.imageUri
. Learn more about configuring custom containers. - Evaluator
Count string - Optional. The number of evaluator replicas to use for the training job. Each replica in the cluster will be of the type specified in
evaluator_type
. This value can only be used whenscale_tier
is set toCUSTOM
. If you set this value, you must also setevaluator_type
. The default value is zero. - Evaluator
Type string - Optional. Specifies the type of virtual machine to use for your training job's evaluator nodes. The supported values are the same as those described in the entry for
masterType
. This value must be consistent with the category of machine type thatmasterType
uses. In other words, both must be Compute Engine machine types or both must be legacy machine types. This value must be present whenscaleTier
is set toCUSTOM
andevaluatorCount
is greater than zero. - Hyperparameters
Pulumi.
Google Native. Ml. V1. Inputs. Google Cloud Ml V1__Hyperparameter Spec Response - Optional. The set of Hyperparameters to tune.
- Job
Dir string - Optional. A Google Cloud Storage path in which to store training outputs and other data needed for training. This path is passed to your TensorFlow program as the '--job-dir' command-line argument. The benefit of specifying this field is that Cloud ML validates the path for use in training.
- Master
Config Pulumi.Google Native. Ml. V1. Inputs. Google Cloud Ml V1__Replica Config Response - Optional. The configuration for your master worker. You should only set
masterConfig.acceleratorConfig
ifmasterType
is set to a Compute Engine machine type. Learn about restrictions on accelerator configurations for training. SetmasterConfig.imageUri
only if you build a custom image. Only one ofmasterConfig.imageUri
andruntimeVersion
should be set. Learn more about configuring custom containers. - Master
Type string - Optional. Specifies the type of virtual machine to use for your training job's master worker. You must specify this field when
scaleTier
is set toCUSTOM
. You can use certain Compute Engine machine types directly in this field. See the list of compatible Compute Engine machine types. Alternatively, you can use the certain legacy machine types in this field. See the list of legacy machine types. Finally, if you want to use a TPU for training, specifycloud_tpu
in this field. Learn more about the special configuration options for training with TPUs. - Network string
- Optional. The full name of the Compute Engine network to which the Job is peered. For example,
projects/12345/global/networks/myVPC
. The format of this field isprojects/{project}/global/networks/{network}
, where {project} is a project number (like12345
) and {network} is network name. Private services access must already be configured for the network. If left unspecified, the Job is not peered with any network. Learn about using VPC Network Peering.. - Package
Uris List<string> - The Google Cloud Storage location of the packages with the training program and any additional dependencies. The maximum number of package URIs is 100.
- Parameter
Server Pulumi.Config Google Native. Ml. V1. Inputs. Google Cloud Ml V1__Replica Config Response - Optional. The configuration for parameter servers. You should only set
parameterServerConfig.acceleratorConfig
ifparameterServerType
is set to a Compute Engine machine type. Learn about restrictions on accelerator configurations for training. SetparameterServerConfig.imageUri
only if you build a custom image for your parameter server. IfparameterServerConfig.imageUri
has not been set, AI Platform uses the value ofmasterConfig.imageUri
. Learn more about configuring custom containers. - Parameter
Server stringCount - Optional. The number of parameter server replicas to use for the training job. Each replica in the cluster will be of the type specified in
parameter_server_type
. This value can only be used whenscale_tier
is set toCUSTOM
. If you set this value, you must also setparameter_server_type
. The default value is zero. - Parameter
Server stringType - Optional. Specifies the type of virtual machine to use for your training job's parameter server. The supported values are the same as those described in the entry for
master_type
. This value must be consistent with the category of machine type thatmasterType
uses. In other words, both must be Compute Engine machine types or both must be legacy machine types. This value must be present whenscaleTier
is set toCUSTOM
andparameter_server_count
is greater than zero. - Python
Module string - The Python module name to run after installing the packages.
- Python
Version string - Optional. The version of Python used in training. You must either specify this field or specify
masterConfig.imageUri
. The following Python versions are available: * Python '3.7' is available whenruntime_version
is set to '1.15' or later. * Python '3.5' is available whenruntime_version
is set to a version from '1.4' to '1.14'. * Python '2.7' is available whenruntime_version
is set to '1.15' or earlier. Read more about the Python versions available for each runtime version. - Region string
- The region to run the training job in. See the available regions for AI Platform Training.
- Runtime
Version string - Optional. The AI Platform runtime version to use for training. You must either specify this field or specify
masterConfig.imageUri
. For more information, see the runtime version list and learn how to manage runtime versions. - Scale
Tier string - Specifies the machine types, the number of replicas for workers and parameter servers.
- Scheduling
Pulumi.
Google Native. Ml. V1. Inputs. Google Cloud Ml V1__Scheduling Response - Optional. Scheduling options for a training job.
- Service
Account string - Optional. The email address of a service account to use when running the training appplication. You must have the
iam.serviceAccounts.actAs
permission for the specified service account. In addition, the AI Platform Training Google-managed service account must have theroles/iam.serviceAccountAdmin
role for the specified service account. Learn more about configuring a service account. If not specified, the AI Platform Training Google-managed service account is used by default. - Use
Chief boolIn Tf Config - Optional. Use
chief
instead ofmaster
in theTF_CONFIG
environment variable when training with a custom container. Defaults tofalse
. Learn more about this field. This field has no effect for training jobs that don't use a custom container. - Worker
Config Pulumi.Google Native. Ml. V1. Inputs. Google Cloud Ml V1__Replica Config Response - Optional. The configuration for workers. You should only set
workerConfig.acceleratorConfig
ifworkerType
is set to a Compute Engine machine type. Learn about restrictions on accelerator configurations for training. SetworkerConfig.imageUri
only if you build a custom image for your worker. IfworkerConfig.imageUri
has not been set, AI Platform uses the value ofmasterConfig.imageUri
. Learn more about configuring custom containers. - Worker
Count string - Optional. The number of worker replicas to use for the training job. Each replica in the cluster will be of the type specified in
worker_type
. This value can only be used whenscale_tier
is set toCUSTOM
. If you set this value, you must also setworker_type
. The default value is zero. - Worker
Type string - Optional. Specifies the type of virtual machine to use for your training job's worker nodes. The supported values are the same as those described in the entry for
masterType
. This value must be consistent with the category of machine type thatmasterType
uses. In other words, both must be Compute Engine machine types or both must be legacy machine types. If you usecloud_tpu
for this value, see special instructions for configuring a custom TPU machine. This value must be present whenscaleTier
is set toCUSTOM
andworkerCount
is greater than zero.
- Args []string
- Optional. Command-line arguments passed to the training application when it starts. If your job uses a custom container, then the arguments are passed to the container's
ENTRYPOINT
command. - Enable
Web boolAccess - Optional. Whether you want AI Platform Training to enable interactive shell access to training containers. If set to
true
, you can access interactive shells at the URIs given by TrainingOutput.web_access_uris or HyperparameterOutput.web_access_uris (within TrainingOutput.trials). - Encryption
Config GoogleCloud Ml V1__Encryption Config Response - Optional. Options for using customer-managed encryption keys (CMEK) to protect resources created by a training job, instead of using Google's default encryption. If this is set, then all resources created by the training job will be encrypted with the customer-managed encryption key that you specify. Learn how and when to use CMEK with AI Platform Training.
- Evaluator
Config GoogleCloud Ml V1__Replica Config Response - Optional. The configuration for evaluators. You should only set
evaluatorConfig.acceleratorConfig
ifevaluatorType
is set to a Compute Engine machine type. Learn about restrictions on accelerator configurations for training. SetevaluatorConfig.imageUri
only if you build a custom image for your evaluator. IfevaluatorConfig.imageUri
has not been set, AI Platform uses the value ofmasterConfig.imageUri
. Learn more about configuring custom containers. - Evaluator
Count string - Optional. The number of evaluator replicas to use for the training job. Each replica in the cluster will be of the type specified in
evaluator_type
. This value can only be used whenscale_tier
is set toCUSTOM
. If you set this value, you must also setevaluator_type
. The default value is zero. - Evaluator
Type string - Optional. Specifies the type of virtual machine to use for your training job's evaluator nodes. The supported values are the same as those described in the entry for
masterType
. This value must be consistent with the category of machine type thatmasterType
uses. In other words, both must be Compute Engine machine types or both must be legacy machine types. This value must be present whenscaleTier
is set toCUSTOM
andevaluatorCount
is greater than zero. - Hyperparameters
Google
Cloud Ml V1__Hyperparameter Spec Response - Optional. The set of Hyperparameters to tune.
- Job
Dir string - Optional. A Google Cloud Storage path in which to store training outputs and other data needed for training. This path is passed to your TensorFlow program as the '--job-dir' command-line argument. The benefit of specifying this field is that Cloud ML validates the path for use in training.
- Master
Config GoogleCloud Ml V1__Replica Config Response - Optional. The configuration for your master worker. You should only set
masterConfig.acceleratorConfig
ifmasterType
is set to a Compute Engine machine type. Learn about restrictions on accelerator configurations for training. SetmasterConfig.imageUri
only if you build a custom image. Only one ofmasterConfig.imageUri
andruntimeVersion
should be set. Learn more about configuring custom containers. - Master
Type string - Optional. Specifies the type of virtual machine to use for your training job's master worker. You must specify this field when
scaleTier
is set toCUSTOM
. You can use certain Compute Engine machine types directly in this field. See the list of compatible Compute Engine machine types. Alternatively, you can use the certain legacy machine types in this field. See the list of legacy machine types. Finally, if you want to use a TPU for training, specifycloud_tpu
in this field. Learn more about the special configuration options for training with TPUs. - Network string
- Optional. The full name of the Compute Engine network to which the Job is peered. For example,
projects/12345/global/networks/myVPC
. The format of this field isprojects/{project}/global/networks/{network}
, where {project} is a project number (like12345
) and {network} is network name. Private services access must already be configured for the network. If left unspecified, the Job is not peered with any network. Learn about using VPC Network Peering.. - Package
Uris []string - The Google Cloud Storage location of the packages with the training program and any additional dependencies. The maximum number of package URIs is 100.
- Parameter
Server GoogleConfig Cloud Ml V1__Replica Config Response - Optional. The configuration for parameter servers. You should only set
parameterServerConfig.acceleratorConfig
ifparameterServerType
is set to a Compute Engine machine type. Learn about restrictions on accelerator configurations for training. SetparameterServerConfig.imageUri
only if you build a custom image for your parameter server. IfparameterServerConfig.imageUri
has not been set, AI Platform uses the value ofmasterConfig.imageUri
. Learn more about configuring custom containers. - Parameter
Server stringCount - Optional. The number of parameter server replicas to use for the training job. Each replica in the cluster will be of the type specified in
parameter_server_type
. This value can only be used whenscale_tier
is set toCUSTOM
. If you set this value, you must also setparameter_server_type
. The default value is zero. - Parameter
Server stringType - Optional. Specifies the type of virtual machine to use for your training job's parameter server. The supported values are the same as those described in the entry for
master_type
. This value must be consistent with the category of machine type thatmasterType
uses. In other words, both must be Compute Engine machine types or both must be legacy machine types. This value must be present whenscaleTier
is set toCUSTOM
andparameter_server_count
is greater than zero. - Python
Module string - The Python module name to run after installing the packages.
- Python
Version string - Optional. The version of Python used in training. You must either specify this field or specify
masterConfig.imageUri
. The following Python versions are available: * Python '3.7' is available whenruntime_version
is set to '1.15' or later. * Python '3.5' is available whenruntime_version
is set to a version from '1.4' to '1.14'. * Python '2.7' is available whenruntime_version
is set to '1.15' or earlier. Read more about the Python versions available for each runtime version. - Region string
- The region to run the training job in. See the available regions for AI Platform Training.
- Runtime
Version string - Optional. The AI Platform runtime version to use for training. You must either specify this field or specify
masterConfig.imageUri
. For more information, see the runtime version list and learn how to manage runtime versions. - Scale
Tier string - Specifies the machine types, the number of replicas for workers and parameter servers.
- Scheduling
Google
Cloud Ml V1__Scheduling Response - Optional. Scheduling options for a training job.
- Service
Account string - Optional. The email address of a service account to use when running the training appplication. You must have the
iam.serviceAccounts.actAs
permission for the specified service account. In addition, the AI Platform Training Google-managed service account must have theroles/iam.serviceAccountAdmin
role for the specified service account. Learn more about configuring a service account. If not specified, the AI Platform Training Google-managed service account is used by default. - Use
Chief boolIn Tf Config - Optional. Use
chief
instead ofmaster
in theTF_CONFIG
environment variable when training with a custom container. Defaults tofalse
. Learn more about this field. This field has no effect for training jobs that don't use a custom container. - Worker
Config GoogleCloud Ml V1__Replica Config Response - Optional. The configuration for workers. You should only set
workerConfig.acceleratorConfig
ifworkerType
is set to a Compute Engine machine type. Learn about restrictions on accelerator configurations for training. SetworkerConfig.imageUri
only if you build a custom image for your worker. IfworkerConfig.imageUri
has not been set, AI Platform uses the value ofmasterConfig.imageUri
. Learn more about configuring custom containers. - Worker
Count string - Optional. The number of worker replicas to use for the training job. Each replica in the cluster will be of the type specified in
worker_type
. This value can only be used whenscale_tier
is set toCUSTOM
. If you set this value, you must also setworker_type
. The default value is zero. - Worker
Type string - Optional. Specifies the type of virtual machine to use for your training job's worker nodes. The supported values are the same as those described in the entry for
masterType
. This value must be consistent with the category of machine type thatmasterType
uses. In other words, both must be Compute Engine machine types or both must be legacy machine types. If you usecloud_tpu
for this value, see special instructions for configuring a custom TPU machine. This value must be present whenscaleTier
is set toCUSTOM
andworkerCount
is greater than zero.
- args List<String>
- Optional. Command-line arguments passed to the training application when it starts. If your job uses a custom container, then the arguments are passed to the container's
ENTRYPOINT
command. - enable
Web BooleanAccess - Optional. Whether you want AI Platform Training to enable interactive shell access to training containers. If set to
true
, you can access interactive shells at the URIs given by TrainingOutput.web_access_uris or HyperparameterOutput.web_access_uris (within TrainingOutput.trials). - encryption
Config GoogleCloud Ml V1__Encryption Config Response - Optional. Options for using customer-managed encryption keys (CMEK) to protect resources created by a training job, instead of using Google's default encryption. If this is set, then all resources created by the training job will be encrypted with the customer-managed encryption key that you specify. Learn how and when to use CMEK with AI Platform Training.
- evaluator
Config GoogleCloud Ml V1__Replica Config Response - Optional. The configuration for evaluators. You should only set
evaluatorConfig.acceleratorConfig
ifevaluatorType
is set to a Compute Engine machine type. Learn about restrictions on accelerator configurations for training. SetevaluatorConfig.imageUri
only if you build a custom image for your evaluator. IfevaluatorConfig.imageUri
has not been set, AI Platform uses the value ofmasterConfig.imageUri
. Learn more about configuring custom containers. - evaluator
Count String - Optional. The number of evaluator replicas to use for the training job. Each replica in the cluster will be of the type specified in
evaluator_type
. This value can only be used whenscale_tier
is set toCUSTOM
. If you set this value, you must also setevaluator_type
. The default value is zero. - evaluator
Type String - Optional. Specifies the type of virtual machine to use for your training job's evaluator nodes. The supported values are the same as those described in the entry for
masterType
. This value must be consistent with the category of machine type thatmasterType
uses. In other words, both must be Compute Engine machine types or both must be legacy machine types. This value must be present whenscaleTier
is set toCUSTOM
andevaluatorCount
is greater than zero. - hyperparameters
Google
Cloud Ml V1__Hyperparameter Spec Response - Optional. The set of Hyperparameters to tune.
- job
Dir String - Optional. A Google Cloud Storage path in which to store training outputs and other data needed for training. This path is passed to your TensorFlow program as the '--job-dir' command-line argument. The benefit of specifying this field is that Cloud ML validates the path for use in training.
- master
Config GoogleCloud Ml V1__Replica Config Response - Optional. The configuration for your master worker. You should only set
masterConfig.acceleratorConfig
ifmasterType
is set to a Compute Engine machine type. Learn about restrictions on accelerator configurations for training. SetmasterConfig.imageUri
only if you build a custom image. Only one ofmasterConfig.imageUri
andruntimeVersion
should be set. Learn more about configuring custom containers. - master
Type String - Optional. Specifies the type of virtual machine to use for your training job's master worker. You must specify this field when
scaleTier
is set toCUSTOM
. You can use certain Compute Engine machine types directly in this field. See the list of compatible Compute Engine machine types. Alternatively, you can use the certain legacy machine types in this field. See the list of legacy machine types. Finally, if you want to use a TPU for training, specifycloud_tpu
in this field. Learn more about the special configuration options for training with TPUs. - network String
- Optional. The full name of the Compute Engine network to which the Job is peered. For example,
projects/12345/global/networks/myVPC
. The format of this field isprojects/{project}/global/networks/{network}
, where {project} is a project number (like12345
) and {network} is network name. Private services access must already be configured for the network. If left unspecified, the Job is not peered with any network. Learn about using VPC Network Peering.. - package
Uris List<String> - The Google Cloud Storage location of the packages with the training program and any additional dependencies. The maximum number of package URIs is 100.
- parameter
Server GoogleConfig Cloud Ml V1__Replica Config Response - Optional. The configuration for parameter servers. You should only set
parameterServerConfig.acceleratorConfig
ifparameterServerType
is set to a Compute Engine machine type. Learn about restrictions on accelerator configurations for training. SetparameterServerConfig.imageUri
only if you build a custom image for your parameter server. IfparameterServerConfig.imageUri
has not been set, AI Platform uses the value ofmasterConfig.imageUri
. Learn more about configuring custom containers. - parameter
Server StringCount - Optional. The number of parameter server replicas to use for the training job. Each replica in the cluster will be of the type specified in
parameter_server_type
. This value can only be used whenscale_tier
is set toCUSTOM
. If you set this value, you must also setparameter_server_type
. The default value is zero. - parameter
Server StringType - Optional. Specifies the type of virtual machine to use for your training job's parameter server. The supported values are the same as those described in the entry for
master_type
. This value must be consistent with the category of machine type thatmasterType
uses. In other words, both must be Compute Engine machine types or both must be legacy machine types. This value must be present whenscaleTier
is set toCUSTOM
andparameter_server_count
is greater than zero. - python
Module String - The Python module name to run after installing the packages.
- python
Version String - Optional. The version of Python used in training. You must either specify this field or specify
masterConfig.imageUri
. The following Python versions are available: * Python '3.7' is available whenruntime_version
is set to '1.15' or later. * Python '3.5' is available whenruntime_version
is set to a version from '1.4' to '1.14'. * Python '2.7' is available whenruntime_version
is set to '1.15' or earlier. Read more about the Python versions available for each runtime version. - region String
- The region to run the training job in. See the available regions for AI Platform Training.
- runtime
Version String - Optional. The AI Platform runtime version to use for training. You must either specify this field or specify
masterConfig.imageUri
. For more information, see the runtime version list and learn how to manage runtime versions. - scale
Tier String - Specifies the machine types, the number of replicas for workers and parameter servers.
- scheduling
Google
Cloud Ml V1__Scheduling Response - Optional. Scheduling options for a training job.
- service
Account String - Optional. The email address of a service account to use when running the training appplication. You must have the
iam.serviceAccounts.actAs
permission for the specified service account. In addition, the AI Platform Training Google-managed service account must have theroles/iam.serviceAccountAdmin
role for the specified service account. Learn more about configuring a service account. If not specified, the AI Platform Training Google-managed service account is used by default. - use
Chief BooleanIn Tf Config - Optional. Use
chief
instead ofmaster
in theTF_CONFIG
environment variable when training with a custom container. Defaults tofalse
. Learn more about this field. This field has no effect for training jobs that don't use a custom container. - worker
Config GoogleCloud Ml V1__Replica Config Response - Optional. The configuration for workers. You should only set
workerConfig.acceleratorConfig
ifworkerType
is set to a Compute Engine machine type. Learn about restrictions on accelerator configurations for training. SetworkerConfig.imageUri
only if you build a custom image for your worker. IfworkerConfig.imageUri
has not been set, AI Platform uses the value ofmasterConfig.imageUri
. Learn more about configuring custom containers. - worker
Count String - Optional. The number of worker replicas to use for the training job. Each replica in the cluster will be of the type specified in
worker_type
. This value can only be used whenscale_tier
is set toCUSTOM
. If you set this value, you must also setworker_type
. The default value is zero. - worker
Type String - Optional. Specifies the type of virtual machine to use for your training job's worker nodes. The supported values are the same as those described in the entry for
masterType
. This value must be consistent with the category of machine type thatmasterType
uses. In other words, both must be Compute Engine machine types or both must be legacy machine types. If you usecloud_tpu
for this value, see special instructions for configuring a custom TPU machine. This value must be present whenscaleTier
is set toCUSTOM
andworkerCount
is greater than zero.
- args string[]
- Optional. Command-line arguments passed to the training application when it starts. If your job uses a custom container, then the arguments are passed to the container's
ENTRYPOINT
command. - enable
Web booleanAccess - Optional. Whether you want AI Platform Training to enable interactive shell access to training containers. If set to
true
, you can access interactive shells at the URIs given by TrainingOutput.web_access_uris or HyperparameterOutput.web_access_uris (within TrainingOutput.trials). - encryption
Config GoogleCloud Ml V1__Encryption Config Response - Optional. Options for using customer-managed encryption keys (CMEK) to protect resources created by a training job, instead of using Google's default encryption. If this is set, then all resources created by the training job will be encrypted with the customer-managed encryption key that you specify. Learn how and when to use CMEK with AI Platform Training.
- evaluator
Config GoogleCloud Ml V1__Replica Config Response - Optional. The configuration for evaluators. You should only set
evaluatorConfig.acceleratorConfig
ifevaluatorType
is set to a Compute Engine machine type. Learn about restrictions on accelerator configurations for training. SetevaluatorConfig.imageUri
only if you build a custom image for your evaluator. IfevaluatorConfig.imageUri
has not been set, AI Platform uses the value ofmasterConfig.imageUri
. Learn more about configuring custom containers. - evaluator
Count string - Optional. The number of evaluator replicas to use for the training job. Each replica in the cluster will be of the type specified in
evaluator_type
. This value can only be used whenscale_tier
is set toCUSTOM
. If you set this value, you must also setevaluator_type
. The default value is zero. - evaluator
Type string - Optional. Specifies the type of virtual machine to use for your training job's evaluator nodes. The supported values are the same as those described in the entry for
masterType
. This value must be consistent with the category of machine type thatmasterType
uses. In other words, both must be Compute Engine machine types or both must be legacy machine types. This value must be present whenscaleTier
is set toCUSTOM
andevaluatorCount
is greater than zero. - hyperparameters
Google
Cloud Ml V1__Hyperparameter Spec Response - Optional. The set of Hyperparameters to tune.
- job
Dir string - Optional. A Google Cloud Storage path in which to store training outputs and other data needed for training. This path is passed to your TensorFlow program as the '--job-dir' command-line argument. The benefit of specifying this field is that Cloud ML validates the path for use in training.
- master
Config GoogleCloud Ml V1__Replica Config Response - Optional. The configuration for your master worker. You should only set
masterConfig.acceleratorConfig
ifmasterType
is set to a Compute Engine machine type. Learn about restrictions on accelerator configurations for training. SetmasterConfig.imageUri
only if you build a custom image. Only one ofmasterConfig.imageUri
andruntimeVersion
should be set. Learn more about configuring custom containers. - master
Type string - Optional. Specifies the type of virtual machine to use for your training job's master worker. You must specify this field when
scaleTier
is set toCUSTOM
. You can use certain Compute Engine machine types directly in this field. See the list of compatible Compute Engine machine types. Alternatively, you can use the certain legacy machine types in this field. See the list of legacy machine types. Finally, if you want to use a TPU for training, specifycloud_tpu
in this field. Learn more about the special configuration options for training with TPUs. - network string
- Optional. The full name of the Compute Engine network to which the Job is peered. For example,
projects/12345/global/networks/myVPC
. The format of this field isprojects/{project}/global/networks/{network}
, where {project} is a project number (like12345
) and {network} is network name. Private services access must already be configured for the network. If left unspecified, the Job is not peered with any network. Learn about using VPC Network Peering.. - package
Uris string[] - The Google Cloud Storage location of the packages with the training program and any additional dependencies. The maximum number of package URIs is 100.
- parameter
Server GoogleConfig Cloud Ml V1__Replica Config Response - Optional. The configuration for parameter servers. You should only set
parameterServerConfig.acceleratorConfig
ifparameterServerType
is set to a Compute Engine machine type. Learn about restrictions on accelerator configurations for training. SetparameterServerConfig.imageUri
only if you build a custom image for your parameter server. IfparameterServerConfig.imageUri
has not been set, AI Platform uses the value ofmasterConfig.imageUri
. Learn more about configuring custom containers. - parameter
Server stringCount - Optional. The number of parameter server replicas to use for the training job. Each replica in the cluster will be of the type specified in
parameter_server_type
. This value can only be used whenscale_tier
is set toCUSTOM
. If you set this value, you must also setparameter_server_type
. The default value is zero. - parameter
Server stringType - Optional. Specifies the type of virtual machine to use for your training job's parameter server. The supported values are the same as those described in the entry for
master_type
. This value must be consistent with the category of machine type thatmasterType
uses. In other words, both must be Compute Engine machine types or both must be legacy machine types. This value must be present whenscaleTier
is set toCUSTOM
andparameter_server_count
is greater than zero. - python
Module string - The Python module name to run after installing the packages.
- python
Version string - Optional. The version of Python used in training. You must either specify this field or specify
masterConfig.imageUri
. The following Python versions are available: * Python '3.7' is available whenruntime_version
is set to '1.15' or later. * Python '3.5' is available whenruntime_version
is set to a version from '1.4' to '1.14'. * Python '2.7' is available whenruntime_version
is set to '1.15' or earlier. Read more about the Python versions available for each runtime version. - region string
- The region to run the training job in. See the available regions for AI Platform Training.
- runtime
Version string - Optional. The AI Platform runtime version to use for training. You must either specify this field or specify
masterConfig.imageUri
. For more information, see the runtime version list and learn how to manage runtime versions. - scale
Tier string - Specifies the machine types, the number of replicas for workers and parameter servers.
- scheduling
Google
Cloud Ml V1__Scheduling Response - Optional. Scheduling options for a training job.
- service
Account string - Optional. The email address of a service account to use when running the training appplication. You must have the
iam.serviceAccounts.actAs
permission for the specified service account. In addition, the AI Platform Training Google-managed service account must have theroles/iam.serviceAccountAdmin
role for the specified service account. Learn more about configuring a service account. If not specified, the AI Platform Training Google-managed service account is used by default. - use
Chief booleanIn Tf Config - Optional. Use
chief
instead ofmaster
in theTF_CONFIG
environment variable when training with a custom container. Defaults tofalse
. Learn more about this field. This field has no effect for training jobs that don't use a custom container. - worker
Config GoogleCloud Ml V1__Replica Config Response - Optional. The configuration for workers. You should only set
workerConfig.acceleratorConfig
ifworkerType
is set to a Compute Engine machine type. Learn about restrictions on accelerator configurations for training. SetworkerConfig.imageUri
only if you build a custom image for your worker. IfworkerConfig.imageUri
has not been set, AI Platform uses the value ofmasterConfig.imageUri
. Learn more about configuring custom containers. - worker
Count string - Optional. The number of worker replicas to use for the training job. Each replica in the cluster will be of the type specified in
worker_type
. This value can only be used whenscale_tier
is set toCUSTOM
. If you set this value, you must also setworker_type
. The default value is zero. - worker
Type string - Optional. Specifies the type of virtual machine to use for your training job's worker nodes. The supported values are the same as those described in the entry for
masterType
. This value must be consistent with the category of machine type thatmasterType
uses. In other words, both must be Compute Engine machine types or both must be legacy machine types. If you usecloud_tpu
for this value, see special instructions for configuring a custom TPU machine. This value must be present whenscaleTier
is set toCUSTOM
andworkerCount
is greater than zero.
- args Sequence[str]
- Optional. Command-line arguments passed to the training application when it starts. If your job uses a custom container, then the arguments are passed to the container's
ENTRYPOINT
command. - enable_
web_ boolaccess - Optional. Whether you want AI Platform Training to enable interactive shell access to training containers. If set to
true
, you can access interactive shells at the URIs given by TrainingOutput.web_access_uris or HyperparameterOutput.web_access_uris (within TrainingOutput.trials). - encryption_
config GoogleCloud Ml V1Encryption Config Response - Optional. Options for using customer-managed encryption keys (CMEK) to protect resources created by a training job, instead of using Google's default encryption. If this is set, then all resources created by the training job will be encrypted with the customer-managed encryption key that you specify. Learn how and when to use CMEK with AI Platform Training.
- evaluator_
config GoogleCloud Ml V1Replica Config Response - Optional. The configuration for evaluators. You should only set
evaluatorConfig.acceleratorConfig
ifevaluatorType
is set to a Compute Engine machine type. Learn about restrictions on accelerator configurations for training. SetevaluatorConfig.imageUri
only if you build a custom image for your evaluator. IfevaluatorConfig.imageUri
has not been set, AI Platform uses the value ofmasterConfig.imageUri
. Learn more about configuring custom containers. - evaluator_
count str - Optional. The number of evaluator replicas to use for the training job. Each replica in the cluster will be of the type specified in
evaluator_type
. This value can only be used whenscale_tier
is set toCUSTOM
. If you set this value, you must also setevaluator_type
. The default value is zero. - evaluator_
type str - Optional. Specifies the type of virtual machine to use for your training job's evaluator nodes. The supported values are the same as those described in the entry for
masterType
. This value must be consistent with the category of machine type thatmasterType
uses. In other words, both must be Compute Engine machine types or both must be legacy machine types. This value must be present whenscaleTier
is set toCUSTOM
andevaluatorCount
is greater than zero. - hyperparameters
Google
Cloud Ml V1Hyperparameter Spec Response - Optional. The set of Hyperparameters to tune.
- job_
dir str - Optional. A Google Cloud Storage path in which to store training outputs and other data needed for training. This path is passed to your TensorFlow program as the '--job-dir' command-line argument. The benefit of specifying this field is that Cloud ML validates the path for use in training.
- master_
config GoogleCloud Ml V1Replica Config Response - Optional. The configuration for your master worker. You should only set
masterConfig.acceleratorConfig
ifmasterType
is set to a Compute Engine machine type. Learn about restrictions on accelerator configurations for training. SetmasterConfig.imageUri
only if you build a custom image. Only one ofmasterConfig.imageUri
andruntimeVersion
should be set. Learn more about configuring custom containers. - master_
type str - Optional. Specifies the type of virtual machine to use for your training job's master worker. You must specify this field when
scaleTier
is set toCUSTOM
. You can use certain Compute Engine machine types directly in this field. See the list of compatible Compute Engine machine types. Alternatively, you can use the certain legacy machine types in this field. See the list of legacy machine types. Finally, if you want to use a TPU for training, specifycloud_tpu
in this field. Learn more about the special configuration options for training with TPUs. - network str
- Optional. The full name of the Compute Engine network to which the Job is peered. For example,
projects/12345/global/networks/myVPC
. The format of this field isprojects/{project}/global/networks/{network}
, where {project} is a project number (like12345
) and {network} is network name. Private services access must already be configured for the network. If left unspecified, the Job is not peered with any network. Learn about using VPC Network Peering.. - package_
uris Sequence[str] - The Google Cloud Storage location of the packages with the training program and any additional dependencies. The maximum number of package URIs is 100.
- parameter_
server_ Googleconfig Cloud Ml V1Replica Config Response - Optional. The configuration for parameter servers. You should only set
parameterServerConfig.acceleratorConfig
ifparameterServerType
is set to a Compute Engine machine type. Learn about restrictions on accelerator configurations for training. SetparameterServerConfig.imageUri
only if you build a custom image for your parameter server. IfparameterServerConfig.imageUri
has not been set, AI Platform uses the value ofmasterConfig.imageUri
. Learn more about configuring custom containers. - parameter_
server_ strcount - Optional. The number of parameter server replicas to use for the training job. Each replica in the cluster will be of the type specified in
parameter_server_type
. This value can only be used whenscale_tier
is set toCUSTOM
. If you set this value, you must also setparameter_server_type
. The default value is zero. - parameter_
server_ strtype - Optional. Specifies the type of virtual machine to use for your training job's parameter server. The supported values are the same as those described in the entry for
master_type
. This value must be consistent with the category of machine type thatmasterType
uses. In other words, both must be Compute Engine machine types or both must be legacy machine types. This value must be present whenscaleTier
is set toCUSTOM
andparameter_server_count
is greater than zero. - python_
module str - The Python module name to run after installing the packages.
- python_
version str - Optional. The version of Python used in training. You must either specify this field or specify
masterConfig.imageUri
. The following Python versions are available: * Python '3.7' is available whenruntime_version
is set to '1.15' or later. * Python '3.5' is available whenruntime_version
is set to a version from '1.4' to '1.14'. * Python '2.7' is available whenruntime_version
is set to '1.15' or earlier. Read more about the Python versions available for each runtime version. - region str
- The region to run the training job in. See the available regions for AI Platform Training.
- runtime_
version str - Optional. The AI Platform runtime version to use for training. You must either specify this field or specify
masterConfig.imageUri
. For more information, see the runtime version list and learn how to manage runtime versions. - scale_
tier str - Specifies the machine types, the number of replicas for workers and parameter servers.
- scheduling
Google
Cloud Ml V1Scheduling Response - Optional. Scheduling options for a training job.
- service_
account str - Optional. The email address of a service account to use when running the training appplication. You must have the
iam.serviceAccounts.actAs
permission for the specified service account. In addition, the AI Platform Training Google-managed service account must have theroles/iam.serviceAccountAdmin
role for the specified service account. Learn more about configuring a service account. If not specified, the AI Platform Training Google-managed service account is used by default. - use_
chief_ boolin_ tf_ config - Optional. Use
chief
instead ofmaster
in theTF_CONFIG
environment variable when training with a custom container. Defaults tofalse
. Learn more about this field. This field has no effect for training jobs that don't use a custom container. - worker_
config GoogleCloud Ml V1Replica Config Response - Optional. The configuration for workers. You should only set
workerConfig.acceleratorConfig
ifworkerType
is set to a Compute Engine machine type. Learn about restrictions on accelerator configurations for training. SetworkerConfig.imageUri
only if you build a custom image for your worker. IfworkerConfig.imageUri
has not been set, AI Platform uses the value ofmasterConfig.imageUri
. Learn more about configuring custom containers. - worker_
count str - Optional. The number of worker replicas to use for the training job. Each replica in the cluster will be of the type specified in
worker_type
. This value can only be used whenscale_tier
is set toCUSTOM
. If you set this value, you must also setworker_type
. The default value is zero. - worker_
type str - Optional. Specifies the type of virtual machine to use for your training job's worker nodes. The supported values are the same as those described in the entry for
masterType
. This value must be consistent with the category of machine type thatmasterType
uses. In other words, both must be Compute Engine machine types or both must be legacy machine types. If you usecloud_tpu
for this value, see special instructions for configuring a custom TPU machine. This value must be present whenscaleTier
is set toCUSTOM
andworkerCount
is greater than zero.
- args List<String>
- Optional. Command-line arguments passed to the training application when it starts. If your job uses a custom container, then the arguments are passed to the container's
ENTRYPOINT
command. - enable
Web BooleanAccess - Optional. Whether you want AI Platform Training to enable interactive shell access to training containers. If set to
true
, you can access interactive shells at the URIs given by TrainingOutput.web_access_uris or HyperparameterOutput.web_access_uris (within TrainingOutput.trials). - encryption
Config Property Map - Optional. Options for using customer-managed encryption keys (CMEK) to protect resources created by a training job, instead of using Google's default encryption. If this is set, then all resources created by the training job will be encrypted with the customer-managed encryption key that you specify. Learn how and when to use CMEK with AI Platform Training.
- evaluator
Config Property Map - Optional. The configuration for evaluators. You should only set
evaluatorConfig.acceleratorConfig
ifevaluatorType
is set to a Compute Engine machine type. Learn about restrictions on accelerator configurations for training. SetevaluatorConfig.imageUri
only if you build a custom image for your evaluator. IfevaluatorConfig.imageUri
has not been set, AI Platform uses the value ofmasterConfig.imageUri
. Learn more about configuring custom containers. - evaluator
Count String - Optional. The number of evaluator replicas to use for the training job. Each replica in the cluster will be of the type specified in
evaluator_type
. This value can only be used whenscale_tier
is set toCUSTOM
. If you set this value, you must also setevaluator_type
. The default value is zero. - evaluator
Type String - Optional. Specifies the type of virtual machine to use for your training job's evaluator nodes. The supported values are the same as those described in the entry for
masterType
. This value must be consistent with the category of machine type thatmasterType
uses. In other words, both must be Compute Engine machine types or both must be legacy machine types. This value must be present whenscaleTier
is set toCUSTOM
andevaluatorCount
is greater than zero. - hyperparameters Property Map
- Optional. The set of Hyperparameters to tune.
- job
Dir String - Optional. A Google Cloud Storage path in which to store training outputs and other data needed for training. This path is passed to your TensorFlow program as the '--job-dir' command-line argument. The benefit of specifying this field is that Cloud ML validates the path for use in training.
- master
Config Property Map - Optional. The configuration for your master worker. You should only set
masterConfig.acceleratorConfig
ifmasterType
is set to a Compute Engine machine type. Learn about restrictions on accelerator configurations for training. SetmasterConfig.imageUri
only if you build a custom image. Only one ofmasterConfig.imageUri
andruntimeVersion
should be set. Learn more about configuring custom containers. - master
Type String - Optional. Specifies the type of virtual machine to use for your training job's master worker. You must specify this field when
scaleTier
is set toCUSTOM
. You can use certain Compute Engine machine types directly in this field. See the list of compatible Compute Engine machine types. Alternatively, you can use the certain legacy machine types in this field. See the list of legacy machine types. Finally, if you want to use a TPU for training, specifycloud_tpu
in this field. Learn more about the special configuration options for training with TPUs. - network String
- Optional. The full name of the Compute Engine network to which the Job is peered. For example,
projects/12345/global/networks/myVPC
. The format of this field isprojects/{project}/global/networks/{network}
, where {project} is a project number (like12345
) and {network} is network name. Private services access must already be configured for the network. If left unspecified, the Job is not peered with any network. Learn about using VPC Network Peering.. - package
Uris List<String> - The Google Cloud Storage location of the packages with the training program and any additional dependencies. The maximum number of package URIs is 100.
- parameter
Server Property MapConfig - Optional. The configuration for parameter servers. You should only set
parameterServerConfig.acceleratorConfig
ifparameterServerType
is set to a Compute Engine machine type. Learn about restrictions on accelerator configurations for training. SetparameterServerConfig.imageUri
only if you build a custom image for your parameter server. IfparameterServerConfig.imageUri
has not been set, AI Platform uses the value ofmasterConfig.imageUri
. Learn more about configuring custom containers. - parameter
Server StringCount - Optional. The number of parameter server replicas to use for the training job. Each replica in the cluster will be of the type specified in
parameter_server_type
. This value can only be used whenscale_tier
is set toCUSTOM
. If you set this value, you must also setparameter_server_type
. The default value is zero. - parameter
Server StringType - Optional. Specifies the type of virtual machine to use for your training job's parameter server. The supported values are the same as those described in the entry for
master_type
. This value must be consistent with the category of machine type thatmasterType
uses. In other words, both must be Compute Engine machine types or both must be legacy machine types. This value must be present whenscaleTier
is set toCUSTOM
andparameter_server_count
is greater than zero. - python
Module String - The Python module name to run after installing the packages.
- python
Version String - Optional. The version of Python used in training. You must either specify this field or specify
masterConfig.imageUri
. The following Python versions are available: * Python '3.7' is available whenruntime_version
is set to '1.15' or later. * Python '3.5' is available whenruntime_version
is set to a version from '1.4' to '1.14'. * Python '2.7' is available whenruntime_version
is set to '1.15' or earlier. Read more about the Python versions available for each runtime version. - region String
- The region to run the training job in. See the available regions for AI Platform Training.
- runtime
Version String - Optional. The AI Platform runtime version to use for training. You must either specify this field or specify
masterConfig.imageUri
. For more information, see the runtime version list and learn how to manage runtime versions. - scale
Tier String - Specifies the machine types, the number of replicas for workers and parameter servers.
- scheduling Property Map
- Optional. Scheduling options for a training job.
- service
Account String - Optional. The email address of a service account to use when running the training appplication. You must have the
iam.serviceAccounts.actAs
permission for the specified service account. In addition, the AI Platform Training Google-managed service account must have theroles/iam.serviceAccountAdmin
role for the specified service account. Learn more about configuring a service account. If not specified, the AI Platform Training Google-managed service account is used by default. - use
Chief BooleanIn Tf Config - Optional. Use
chief
instead ofmaster
in theTF_CONFIG
environment variable when training with a custom container. Defaults tofalse
. Learn more about this field. This field has no effect for training jobs that don't use a custom container. - worker
Config Property Map - Optional. The configuration for workers. You should only set
workerConfig.acceleratorConfig
ifworkerType
is set to a Compute Engine machine type. Learn about restrictions on accelerator configurations for training. SetworkerConfig.imageUri
only if you build a custom image for your worker. IfworkerConfig.imageUri
has not been set, AI Platform uses the value ofmasterConfig.imageUri
. Learn more about configuring custom containers. - worker
Count String - Optional. The number of worker replicas to use for the training job. Each replica in the cluster will be of the type specified in
worker_type
. This value can only be used whenscale_tier
is set toCUSTOM
. If you set this value, you must also setworker_type
. The default value is zero. - worker
Type String - Optional. Specifies the type of virtual machine to use for your training job's worker nodes. The supported values are the same as those described in the entry for
masterType
. This value must be consistent with the category of machine type thatmasterType
uses. In other words, both must be Compute Engine machine types or both must be legacy machine types. If you usecloud_tpu
for this value, see special instructions for configuring a custom TPU machine. This value must be present whenscaleTier
is set toCUSTOM
andworkerCount
is greater than zero.
GoogleCloudMlV1__TrainingInputScaleTier, GoogleCloudMlV1__TrainingInputScaleTierArgs
- Basic
- BASICA single worker instance. This tier is suitable for learning how to use Cloud ML, and for experimenting with new models using small datasets.
- Standard1
- STANDARD_1Many workers and a few parameter servers.
- Premium1
- PREMIUM_1A large number of workers with many parameter servers.
- Basic
Gpu - BASIC_GPUA single worker instance with a GPU.
- Basic
Tpu - BASIC_TPUA single worker instance with a Cloud TPU.
- Custom
- CUSTOMThe CUSTOM tier is not a set tier, but rather enables you to use your own cluster specification. When you use this tier, set values to configure your processing cluster according to these guidelines: * You must set
TrainingInput.masterType
to specify the type of machine to use for your master node. This is the only required setting. * You may setTrainingInput.workerCount
to specify the number of workers to use. If you specify one or more workers, you must also setTrainingInput.workerType
to specify the type of machine to use for your worker nodes. * You may setTrainingInput.parameterServerCount
to specify the number of parameter servers to use. If you specify one or more parameter servers, you must also setTrainingInput.parameterServerType
to specify the type of machine to use for your parameter servers. Note that all of your workers must use the same machine type, which can be different from your parameter server type and master type. Your parameter servers must likewise use the same machine type, which can be different from your worker type and master type.
- Google
Cloud Ml V1__Training Input Scale Tier Basic - BASICA single worker instance. This tier is suitable for learning how to use Cloud ML, and for experimenting with new models using small datasets.
- Google
Cloud Ml V1__Training Input Scale Tier Standard1 - STANDARD_1Many workers and a few parameter servers.
- Google
Cloud Ml V1__Training Input Scale Tier Premium1 - PREMIUM_1A large number of workers with many parameter servers.
- Google
Cloud Ml V1__Training Input Scale Tier Basic Gpu - BASIC_GPUA single worker instance with a GPU.
- Google
Cloud Ml V1__Training Input Scale Tier Basic Tpu - BASIC_TPUA single worker instance with a Cloud TPU.
- Google
Cloud Ml V1__Training Input Scale Tier Custom - CUSTOMThe CUSTOM tier is not a set tier, but rather enables you to use your own cluster specification. When you use this tier, set values to configure your processing cluster according to these guidelines: * You must set
TrainingInput.masterType
to specify the type of machine to use for your master node. This is the only required setting. * You may setTrainingInput.workerCount
to specify the number of workers to use. If you specify one or more workers, you must also setTrainingInput.workerType
to specify the type of machine to use for your worker nodes. * You may setTrainingInput.parameterServerCount
to specify the number of parameter servers to use. If you specify one or more parameter servers, you must also setTrainingInput.parameterServerType
to specify the type of machine to use for your parameter servers. Note that all of your workers must use the same machine type, which can be different from your parameter server type and master type. Your parameter servers must likewise use the same machine type, which can be different from your worker type and master type.
- Basic
- BASICA single worker instance. This tier is suitable for learning how to use Cloud ML, and for experimenting with new models using small datasets.
- Standard1
- STANDARD_1Many workers and a few parameter servers.
- Premium1
- PREMIUM_1A large number of workers with many parameter servers.
- Basic
Gpu - BASIC_GPUA single worker instance with a GPU.
- Basic
Tpu - BASIC_TPUA single worker instance with a Cloud TPU.
- Custom
- CUSTOMThe CUSTOM tier is not a set tier, but rather enables you to use your own cluster specification. When you use this tier, set values to configure your processing cluster according to these guidelines: * You must set
TrainingInput.masterType
to specify the type of machine to use for your master node. This is the only required setting. * You may setTrainingInput.workerCount
to specify the number of workers to use. If you specify one or more workers, you must also setTrainingInput.workerType
to specify the type of machine to use for your worker nodes. * You may setTrainingInput.parameterServerCount
to specify the number of parameter servers to use. If you specify one or more parameter servers, you must also setTrainingInput.parameterServerType
to specify the type of machine to use for your parameter servers. Note that all of your workers must use the same machine type, which can be different from your parameter server type and master type. Your parameter servers must likewise use the same machine type, which can be different from your worker type and master type.
- Basic
- BASICA single worker instance. This tier is suitable for learning how to use Cloud ML, and for experimenting with new models using small datasets.
- Standard1
- STANDARD_1Many workers and a few parameter servers.
- Premium1
- PREMIUM_1A large number of workers with many parameter servers.
- Basic
Gpu - BASIC_GPUA single worker instance with a GPU.
- Basic
Tpu - BASIC_TPUA single worker instance with a Cloud TPU.
- Custom
- CUSTOMThe CUSTOM tier is not a set tier, but rather enables you to use your own cluster specification. When you use this tier, set values to configure your processing cluster according to these guidelines: * You must set
TrainingInput.masterType
to specify the type of machine to use for your master node. This is the only required setting. * You may setTrainingInput.workerCount
to specify the number of workers to use. If you specify one or more workers, you must also setTrainingInput.workerType
to specify the type of machine to use for your worker nodes. * You may setTrainingInput.parameterServerCount
to specify the number of parameter servers to use. If you specify one or more parameter servers, you must also setTrainingInput.parameterServerType
to specify the type of machine to use for your parameter servers. Note that all of your workers must use the same machine type, which can be different from your parameter server type and master type. Your parameter servers must likewise use the same machine type, which can be different from your worker type and master type.
- BASIC
- BASICA single worker instance. This tier is suitable for learning how to use Cloud ML, and for experimenting with new models using small datasets.
- STANDARD1
- STANDARD_1Many workers and a few parameter servers.
- PREMIUM1
- PREMIUM_1A large number of workers with many parameter servers.
- BASIC_GPU
- BASIC_GPUA single worker instance with a GPU.
- BASIC_TPU
- BASIC_TPUA single worker instance with a Cloud TPU.
- CUSTOM
- CUSTOMThe CUSTOM tier is not a set tier, but rather enables you to use your own cluster specification. When you use this tier, set values to configure your processing cluster according to these guidelines: * You must set
TrainingInput.masterType
to specify the type of machine to use for your master node. This is the only required setting. * You may setTrainingInput.workerCount
to specify the number of workers to use. If you specify one or more workers, you must also setTrainingInput.workerType
to specify the type of machine to use for your worker nodes. * You may setTrainingInput.parameterServerCount
to specify the number of parameter servers to use. If you specify one or more parameter servers, you must also setTrainingInput.parameterServerType
to specify the type of machine to use for your parameter servers. Note that all of your workers must use the same machine type, which can be different from your parameter server type and master type. Your parameter servers must likewise use the same machine type, which can be different from your worker type and master type.
- "BASIC"
- BASICA single worker instance. This tier is suitable for learning how to use Cloud ML, and for experimenting with new models using small datasets.
- "STANDARD_1"
- STANDARD_1Many workers and a few parameter servers.
- "PREMIUM_1"
- PREMIUM_1A large number of workers with many parameter servers.
- "BASIC_GPU"
- BASIC_GPUA single worker instance with a GPU.
- "BASIC_TPU"
- BASIC_TPUA single worker instance with a Cloud TPU.
- "CUSTOM"
- CUSTOMThe CUSTOM tier is not a set tier, but rather enables you to use your own cluster specification. When you use this tier, set values to configure your processing cluster according to these guidelines: * You must set
TrainingInput.masterType
to specify the type of machine to use for your master node. This is the only required setting. * You may setTrainingInput.workerCount
to specify the number of workers to use. If you specify one or more workers, you must also setTrainingInput.workerType
to specify the type of machine to use for your worker nodes. * You may setTrainingInput.parameterServerCount
to specify the number of parameter servers to use. If you specify one or more parameter servers, you must also setTrainingInput.parameterServerType
to specify the type of machine to use for your parameter servers. Note that all of your workers must use the same machine type, which can be different from your parameter server type and master type. Your parameter servers must likewise use the same machine type, which can be different from your worker type and master type.
GoogleCloudMlV1__TrainingOutput, GoogleCloudMlV1__TrainingOutputArgs
- Built
In Pulumi.Algorithm Output Google Native. Ml. V1. Inputs. Google Cloud Ml V1__Built In Algorithm Output - Details related to built-in algorithms jobs. Only set for built-in algorithms jobs.
- Completed
Trial stringCount - The number of hyperparameter tuning trials that completed successfully. Only set for hyperparameter tuning jobs.
- Consumed
MLUnits double - The amount of ML units consumed by the job.
- Hyperparameter
Metric stringTag - The TensorFlow summary tag name used for optimizing hyperparameter tuning trials. See
HyperparameterSpec.hyperparameterMetricTag
for more information. Only set for hyperparameter tuning jobs. - Is
Built boolIn Algorithm Job - Whether this job is a built-in Algorithm job.
- Is
Hyperparameter boolTuning Job - Whether this job is a hyperparameter tuning job.
- Trials
List<Pulumi.
Google Native. Ml. V1. Inputs. Google Cloud Ml V1__Hyperparameter Output> - Results for individual Hyperparameter trials. Only set for hyperparameter tuning jobs.
- Built
In GoogleAlgorithm Output Cloud Ml V1__Built In Algorithm Output - Details related to built-in algorithms jobs. Only set for built-in algorithms jobs.
- Completed
Trial stringCount - The number of hyperparameter tuning trials that completed successfully. Only set for hyperparameter tuning jobs.
- Consumed
MLUnits float64 - The amount of ML units consumed by the job.
- Hyperparameter
Metric stringTag - The TensorFlow summary tag name used for optimizing hyperparameter tuning trials. See
HyperparameterSpec.hyperparameterMetricTag
for more information. Only set for hyperparameter tuning jobs. - Is
Built boolIn Algorithm Job - Whether this job is a built-in Algorithm job.
- Is
Hyperparameter boolTuning Job - Whether this job is a hyperparameter tuning job.
- Trials
[]Google
Cloud Ml V1__Hyperparameter Output - Results for individual Hyperparameter trials. Only set for hyperparameter tuning jobs.
- built
In GoogleAlgorithm Output Cloud Ml V1__Built In Algorithm Output - Details related to built-in algorithms jobs. Only set for built-in algorithms jobs.
- completed
Trial StringCount - The number of hyperparameter tuning trials that completed successfully. Only set for hyperparameter tuning jobs.
- consumed
MLUnits Double - The amount of ML units consumed by the job.
- hyperparameter
Metric StringTag - The TensorFlow summary tag name used for optimizing hyperparameter tuning trials. See
HyperparameterSpec.hyperparameterMetricTag
for more information. Only set for hyperparameter tuning jobs. - is
Built BooleanIn Algorithm Job - Whether this job is a built-in Algorithm job.
- is
Hyperparameter BooleanTuning Job - Whether this job is a hyperparameter tuning job.
- trials
List<Google
Cloud Ml V1__Hyperparameter Output> - Results for individual Hyperparameter trials. Only set for hyperparameter tuning jobs.
- built
In GoogleAlgorithm Output Cloud Ml V1__Built In Algorithm Output - Details related to built-in algorithms jobs. Only set for built-in algorithms jobs.
- completed
Trial stringCount - The number of hyperparameter tuning trials that completed successfully. Only set for hyperparameter tuning jobs.
- consumed
MLUnits number - The amount of ML units consumed by the job.
- hyperparameter
Metric stringTag - The TensorFlow summary tag name used for optimizing hyperparameter tuning trials. See
HyperparameterSpec.hyperparameterMetricTag
for more information. Only set for hyperparameter tuning jobs. - is
Built booleanIn Algorithm Job - Whether this job is a built-in Algorithm job.
- is
Hyperparameter booleanTuning Job - Whether this job is a hyperparameter tuning job.
- trials
Google
Cloud Ml V1__Hyperparameter Output[] - Results for individual Hyperparameter trials. Only set for hyperparameter tuning jobs.
- built_
in_ Googlealgorithm_ output Cloud Ml V1Built In Algorithm Output - Details related to built-in algorithms jobs. Only set for built-in algorithms jobs.
- completed_
trial_ strcount - The number of hyperparameter tuning trials that completed successfully. Only set for hyperparameter tuning jobs.
- consumed_
ml_ floatunits - The amount of ML units consumed by the job.
- hyperparameter_
metric_ strtag - The TensorFlow summary tag name used for optimizing hyperparameter tuning trials. See
HyperparameterSpec.hyperparameterMetricTag
for more information. Only set for hyperparameter tuning jobs. - is_
built_ boolin_ algorithm_ job - Whether this job is a built-in Algorithm job.
- is_
hyperparameter_ booltuning_ job - Whether this job is a hyperparameter tuning job.
- trials
Sequence[Google
Cloud Ml V1Hyperparameter Output] - Results for individual Hyperparameter trials. Only set for hyperparameter tuning jobs.
- built
In Property MapAlgorithm Output - Details related to built-in algorithms jobs. Only set for built-in algorithms jobs.
- completed
Trial StringCount - The number of hyperparameter tuning trials that completed successfully. Only set for hyperparameter tuning jobs.
- consumed
MLUnits Number - The amount of ML units consumed by the job.
- hyperparameter
Metric StringTag - The TensorFlow summary tag name used for optimizing hyperparameter tuning trials. See
HyperparameterSpec.hyperparameterMetricTag
for more information. Only set for hyperparameter tuning jobs. - is
Built BooleanIn Algorithm Job - Whether this job is a built-in Algorithm job.
- is
Hyperparameter BooleanTuning Job - Whether this job is a hyperparameter tuning job.
- trials List<Property Map>
- Results for individual Hyperparameter trials. Only set for hyperparameter tuning jobs.
GoogleCloudMlV1__TrainingOutputResponse, GoogleCloudMlV1__TrainingOutputResponseArgs
- Built
In Pulumi.Algorithm Output Google Native. Ml. V1. Inputs. Google Cloud Ml V1__Built In Algorithm Output Response - Details related to built-in algorithms jobs. Only set for built-in algorithms jobs.
- Completed
Trial stringCount - The number of hyperparameter tuning trials that completed successfully. Only set for hyperparameter tuning jobs.
- Consumed
MLUnits double - The amount of ML units consumed by the job.
- Hyperparameter
Metric stringTag - The TensorFlow summary tag name used for optimizing hyperparameter tuning trials. See
HyperparameterSpec.hyperparameterMetricTag
for more information. Only set for hyperparameter tuning jobs. - Is
Built boolIn Algorithm Job - Whether this job is a built-in Algorithm job.
- Is
Hyperparameter boolTuning Job - Whether this job is a hyperparameter tuning job.
- Trials
List<Pulumi.
Google Native. Ml. V1. Inputs. Google Cloud Ml V1__Hyperparameter Output Response> - Results for individual Hyperparameter trials. Only set for hyperparameter tuning jobs.
- Web
Access Dictionary<string, string>Uris - URIs for accessing interactive shells (one URI for each training node). Only available if training_input.enable_web_access is
true
. The keys are names of each node in the training job; for example,master-replica-0
for the master node,worker-replica-0
for the first worker, andps-replica-0
for the first parameter server. The values are the URIs for each node's interactive shell.
- Built
In GoogleAlgorithm Output Cloud Ml V1__Built In Algorithm Output Response - Details related to built-in algorithms jobs. Only set for built-in algorithms jobs.
- Completed
Trial stringCount - The number of hyperparameter tuning trials that completed successfully. Only set for hyperparameter tuning jobs.
- Consumed
MLUnits float64 - The amount of ML units consumed by the job.
- Hyperparameter
Metric stringTag - The TensorFlow summary tag name used for optimizing hyperparameter tuning trials. See
HyperparameterSpec.hyperparameterMetricTag
for more information. Only set for hyperparameter tuning jobs. - Is
Built boolIn Algorithm Job - Whether this job is a built-in Algorithm job.
- Is
Hyperparameter boolTuning Job - Whether this job is a hyperparameter tuning job.
- Trials
[]Google
Cloud Ml V1__Hyperparameter Output Response - Results for individual Hyperparameter trials. Only set for hyperparameter tuning jobs.
- Web
Access map[string]stringUris - URIs for accessing interactive shells (one URI for each training node). Only available if training_input.enable_web_access is
true
. The keys are names of each node in the training job; for example,master-replica-0
for the master node,worker-replica-0
for the first worker, andps-replica-0
for the first parameter server. The values are the URIs for each node's interactive shell.
- built
In GoogleAlgorithm Output Cloud Ml V1__Built In Algorithm Output Response - Details related to built-in algorithms jobs. Only set for built-in algorithms jobs.
- completed
Trial StringCount - The number of hyperparameter tuning trials that completed successfully. Only set for hyperparameter tuning jobs.
- consumed
MLUnits Double - The amount of ML units consumed by the job.
- hyperparameter
Metric StringTag - The TensorFlow summary tag name used for optimizing hyperparameter tuning trials. See
HyperparameterSpec.hyperparameterMetricTag
for more information. Only set for hyperparameter tuning jobs. - is
Built BooleanIn Algorithm Job - Whether this job is a built-in Algorithm job.
- is
Hyperparameter BooleanTuning Job - Whether this job is a hyperparameter tuning job.
- trials
List<Google
Cloud Ml V1__Hyperparameter Output Response> - Results for individual Hyperparameter trials. Only set for hyperparameter tuning jobs.
- web
Access Map<String,String>Uris - URIs for accessing interactive shells (one URI for each training node). Only available if training_input.enable_web_access is
true
. The keys are names of each node in the training job; for example,master-replica-0
for the master node,worker-replica-0
for the first worker, andps-replica-0
for the first parameter server. The values are the URIs for each node's interactive shell.
- built
In GoogleAlgorithm Output Cloud Ml V1__Built In Algorithm Output Response - Details related to built-in algorithms jobs. Only set for built-in algorithms jobs.
- completed
Trial stringCount - The number of hyperparameter tuning trials that completed successfully. Only set for hyperparameter tuning jobs.
- consumed
MLUnits number - The amount of ML units consumed by the job.
- hyperparameter
Metric stringTag - The TensorFlow summary tag name used for optimizing hyperparameter tuning trials. See
HyperparameterSpec.hyperparameterMetricTag
for more information. Only set for hyperparameter tuning jobs. - is
Built booleanIn Algorithm Job - Whether this job is a built-in Algorithm job.
- is
Hyperparameter booleanTuning Job - Whether this job is a hyperparameter tuning job.
- trials
Google
Cloud Ml V1__Hyperparameter Output Response[] - Results for individual Hyperparameter trials. Only set for hyperparameter tuning jobs.
- web
Access {[key: string]: string}Uris - URIs for accessing interactive shells (one URI for each training node). Only available if training_input.enable_web_access is
true
. The keys are names of each node in the training job; for example,master-replica-0
for the master node,worker-replica-0
for the first worker, andps-replica-0
for the first parameter server. The values are the URIs for each node's interactive shell.
- built_
in_ Googlealgorithm_ output Cloud Ml V1Built In Algorithm Output Response - Details related to built-in algorithms jobs. Only set for built-in algorithms jobs.
- completed_
trial_ strcount - The number of hyperparameter tuning trials that completed successfully. Only set for hyperparameter tuning jobs.
- consumed_
ml_ floatunits - The amount of ML units consumed by the job.
- hyperparameter_
metric_ strtag - The TensorFlow summary tag name used for optimizing hyperparameter tuning trials. See
HyperparameterSpec.hyperparameterMetricTag
for more information. Only set for hyperparameter tuning jobs. - is_
built_ boolin_ algorithm_ job - Whether this job is a built-in Algorithm job.
- is_
hyperparameter_ booltuning_ job - Whether this job is a hyperparameter tuning job.
- trials
Sequence[Google
Cloud Ml V1Hyperparameter Output Response] - Results for individual Hyperparameter trials. Only set for hyperparameter tuning jobs.
- web_
access_ Mapping[str, str]uris - URIs for accessing interactive shells (one URI for each training node). Only available if training_input.enable_web_access is
true
. The keys are names of each node in the training job; for example,master-replica-0
for the master node,worker-replica-0
for the first worker, andps-replica-0
for the first parameter server. The values are the URIs for each node's interactive shell.
- built
In Property MapAlgorithm Output - Details related to built-in algorithms jobs. Only set for built-in algorithms jobs.
- completed
Trial StringCount - The number of hyperparameter tuning trials that completed successfully. Only set for hyperparameter tuning jobs.
- consumed
MLUnits Number - The amount of ML units consumed by the job.
- hyperparameter
Metric StringTag - The TensorFlow summary tag name used for optimizing hyperparameter tuning trials. See
HyperparameterSpec.hyperparameterMetricTag
for more information. Only set for hyperparameter tuning jobs. - is
Built BooleanIn Algorithm Job - Whether this job is a built-in Algorithm job.
- is
Hyperparameter BooleanTuning Job - Whether this job is a hyperparameter tuning job.
- trials List<Property Map>
- Results for individual Hyperparameter trials. Only set for hyperparameter tuning jobs.
- web
Access Map<String>Uris - URIs for accessing interactive shells (one URI for each training node). Only available if training_input.enable_web_access is
true
. The keys are names of each node in the training job; for example,master-replica-0
for the master node,worker-replica-0
for the first worker, andps-replica-0
for the first parameter server. The values are the URIs for each node's interactive shell.
Package Details
- Repository
- Google Cloud Native pulumi/pulumi-google-native
- License
- Apache-2.0
Google Cloud Native is in preview. Google Cloud Classic is fully supported.