azure_ml_sdk.services.asset.compute =================================== .. py:module:: azure_ml_sdk.services.asset.compute Classes ------- .. autoapisummary:: azure_ml_sdk.services.asset.compute.ComputeManager Module Contents --------------- .. py:class:: ComputeManager(ml_client: azure.ai.ml.MLClient) Bases: :py:obj:`altametris.azure_ml_sdk.services.asset.base.BaseAssetManager` Class for creating or updating a compute cluster on Azure Machine Learning Workspace. .. py:method:: list_versions(_: str) :abstractmethod: Not implemented for computes. .. py:method:: get_latest_version(_: str) :abstractmethod: Not implemented for computes. .. py:method:: 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. :param compute_name: Name of the compute cluster. :type compute_name: str :param compute_size: Size of the compute cluster. For example, `Standard_NC6s_v3`. :type compute_size: str :param min_nodes: Minimum nodes of the cluster. :type min_nodes: int :param max_nodes: Maximum nodes of the cluster. :type max_nodes: int :param priority: The VM priority tier to use for the cluster. `dedicated` or `low_priority`. :type priority: str :returns: the created compute cluster. :rtype: AmlCompute