Share via

Azure machine learning VS with CLI 1.0

Eain Stearns 0 Reputation points
2023-10-24T21:29:53.86+00:00

Hola, I am exploring azure machine learning service in Visual studio code. As we have some limitations with our company, I must use cli 1.0.

I know this feature is not GA, but still think about anyone know how to make it with CLI

Azure Machine Learning
0 comments No comments

1 answer

Sort by: Most helpful
  1. YutongTie-9091 54,026 Reputation points Moderator
    2023-10-24T21:47:36.54+00:00

    @Eain Stearns

    Thanks for reaching out to us, I think you are mentioning Visual Studio Code desktop with the Azure Machine Learning extension.

    Yes, this feature is still under preview, but it does support CLI 1.0.

    The Azure Machine Learning VS Code extension uses the CLI (v2) by default. To switch to the 1.0 CLI, set the azureML.CLI Compatibility Mode setting in Visual Studio Code to 1.0. For more information on modifying your settings in Visual Studio, see the user and workspace settings documentation.

    To choose your default workspace, select the Set Azure Machine Learning Workspace button on the Visual Studio Code status bar and follow the prompts to set your workspace.

    Alternatively, use the > Azure ML: Set Default Workspace command in the command palette and follow the prompts to set your workspace.

    I hope this helps, please refer to the document here for more guidance - https://learn.microsoft.com/en-us/azure/machine-learning/how-to-setup-vs-code?view=azureml-api-2

    Regards,

    Yutong

    -Please kindly accept the answer if you feel helpful to support the community, thanks a lot.

    Was this answer helpful?

    0 comments No comments

Your answer

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