azure_ml_sdk.services.asset.compute¶
Classes¶
Class for creating or updating a compute cluster on Azure Machine Learning Workspace. |
Module Contents¶
- class azure_ml_sdk.services.asset.compute.ComputeManager(ml_client: azure.ai.ml.MLClient)¶
Bases:
altametris.azure_ml_sdk.services.asset.base.BaseAssetManagerClass for creating or updating a compute cluster on Azure Machine Learning Workspace.
- abstract list_versions(_: str)¶
Not implemented for computes.
- abstract get_latest_version(_: str)¶
Not implemented for computes.
- create(compute_name: str, compute_size: str, min_nodes: int, max_nodes: int, priority: str) azure.ai.ml.entities.AmlCompute¶
Create or update a compute cluster.
- Parameters:
compute_name (str) – Name of the compute cluster.
compute_size (str) – Size of the compute cluster. For example, Standard_NC6s_v3.
min_nodes (int) – Minimum nodes of the cluster.
max_nodes (int) – Maximum nodes of the cluster.
priority (str) – The VM priority tier to use for the cluster. dedicated or low_priority.
- Returns:
the created compute cluster.
- Return type:
AmlCompute