MMLBaseEstimatorRunConfig Class
Abstract base class for all Estimator run configs.
DEPRECATED. Use the RunConfiguration class.
Initialize the MMLBaseEstimatorRunConfig.
- Inheritance
-
MMLBaseEstimatorRunConfig
Constructor
MMLBaseEstimatorRunConfig(compute_target, vm_size=None, vm_priority=None, entry_script=None, script_params=None, node_count=None, process_count_per_node=None, distributed_backend=None, use_gpu=None, use_docker=None, custom_docker_base_image=None, custom_docker_image=None, image_registry_details=None, user_managed=False, conda_packages=None, pip_packages=None, environment_definition=None, inputs=None, source_directory_data_store=None, shm_size=None)
Parameters
Name | Description |
---|---|
compute_target
Required
|
The compute target where training will happen. This can either be an object or the string "local". |
vm_size
|
The VM size of the compute target that will be created for the training. Supported values: Any Azure VM size. default value: None
|
vm_priority
|
The VM priority of the compute target that will be created for the training. If not specified, 'dedicated' is used. Supported values: 'dedicated' and 'lowpriority'. This takes effect only when the default value: None
|
entry_script
|
The relative path to the file used to start training. default value: None
|
script_params
|
A dictionary containing parameters that will be passed as arguments to the default value: None
|
node_count
|
The number of nodes in the compute target used for training. Only the
the AmlCompute target is supported for distributed training ( default value: None
|
process_count_per_node
|
When using MPI as an execution backend, the number of processes per node. default value: None
|
distributed_backend
|
The communication backend for distributed training. Supported values: 'mpi' and 'ps'. 'mpi': MPI/Horovod 'ps': parameter server This parameter is required when any of When default value: None
|
use_gpu
|
Specifies whether the environment to run the experiment should support GPUs.
If true, a GPU-based default Docker image will be used in the environment. If false, a CPU-based
image will be used. Default Docker images (CPU or GPU) will be used only if the default value: None
|
use_docker
|
Specifies whether the environment to run the experiment should be Docker-based. default value: None
|
custom_docker_base_image
|
The name of the Docker image from which the image to use for training will be built. DEPRECATED. Use the If not set, a default CPU-based image will be used as the base image. default value: None
|
custom_docker_image
|
The name of the Docker image from which the image to use for training will be built. If not set, a default CPU-based image will be used as the base image. default value: None
|
image_registry_details
|
The details of the Docker image registry. default value: None
|
user_managed
|
Specifies whether Azure ML reuses an existing Python environment. If false, a Python environment is created based on the conda dependencies specification. default value: False
|
conda_packages
|
List of strings representing conda packages to be added to the Python environment for the experiment. default value: None
|
pip_packages
|
A list of strings representing pip packages to be added to the Python environment for the experiment. default value: None
|
environment_definition
|
The environment definition for the experiment. It includes
PythonSection, DockerSection, and environment variables. Any environment option not directly
exposed through other parameters to the Estimator construction can be set using this
parameter. If this parameter is specified, it will take precedence over other environment related
parameters like default value: None
|
inputs
|
A list of DataReference or DatasetConsumptionConfig objects to use as input. default value: None
|
source_directory_data_store
|
The backing data store for the project share. default value: None
|
shm_size
|
The size of the Docker container's shared memory block. For more information, see Docker run reference. If not set, the default azureml.core.environment._DEFAULT_SHM_SIZE is used. default value: None
|
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for