How to add on-premises computers to Azure Machine Learning Compute

Takayoshi Enomoto 40 Reputation points
2024-10-01T05:50:17.5933333+00:00

I want to use an on-premises computer as a Compute in Azure Machine Learning Workspace.

I was unable to add it from Attached computes in Machine Learning Studio.

Of course, on-premises computers do not have a resource ID, so

it seemed that I could not add it with the AZ CLI "az ml compute attach" command.

When I tried using "RemoteCompute.attach" from the Azure Machine Learning SDK, I got the error "This method is DEPRECATED."

When I tried using "RemoteCompute.attach_configuration", the address was ignored and an error occurred saying that there was no resource ID for compute_name.

The explanation of the RemoteCompute class says "The remote resource can be an Azure VM, a remote server in your organization, or on-premises, as long as the resource is accessible to Azure Machine Learning." But I don't know how to do that.

Azure Machine Learning
Azure Machine Learning
An Azure machine learning service for building and deploying models.
2,955 questions
{count} votes

1 answer

Sort by: Most helpful
  1. AshokPeddakotla-MSFT 34,611 Reputation points
    2024-10-01T07:09:26.86+00:00

    Takayoshi Enomoto Greetings!

    I believe you are referring to RemoteCompute Class.

    Note that, You can use any of the following resources for a training compute target for most jobs. Not all resources can be used for automated machine learning, machine learning pipelines, or designer. see the below list for details.

    User's image

    When I tried using "RemoteCompute.attach" from the Azure Machine Learning SDK, I got the error "This method is DEPRECATED."

    This could be due to v1 reference in notebook. See here

    The explanation of the RemoteCompute class says "The remote resource can be an Azure VM, a remote server in your organization, or on-premises, as long as the resource is accessible to Azure Machine Learning." But I don't know how to do that.

    As mentioned here, Azure Machine Learning doesn't manage an unmanaged compute target. You create this type of compute target outside Azure Machine Learning and then attach it to your workspace. Unmanaged compute resources can require extra steps for you to maintain or to improve performance for machine learning workloads.

    Azure Machine Learning supports the following unmanaged compute types:

    • Remote virtual machines
    • Azure HDInsight
    • Azure Databricks
    • Azure Data Lake Analytics
    • Kubernetes

    For more information, see Manage compute resources.

    Do let me know if that helps or have any further queries.

    1 person found this answer helpful.

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.