News

Azure Machine Learning Experience Improved in VS Code

Microsoft dev teams for Azure Machine Learning (Azure ML) and Visual Studio Code have improved the developer experience in the super-popular, open source-based, cross-platform code editor.

An update improves the experience for developers using compute instances (which provide a cloud-based, optimized ML development environment in Azure ML) and notebooks such as Jupyter, JupyterLab or Azure ML notebooks.

Affected are users working with compute instances who want to run notebooks against more powerful machines without having to use SSH and connect to remote servers. Microsoft provided that ability last year, baking in authentication instead of having to rely on SSH. However, that ability came with some loss of functionality concerning VS Code features such as the remote terminal, debugger and language server.

Users were frustrated that they had to work in a single Notebook file, couldn't view files on a remote server and couldn't use some favorite extensions.

Hence the update announced last month by Sid Unnithan, who said, "Learning from prior releases and talking to users led the Azure ML and VS Code teams to build a complete VS Code experience for compute instances without using SSH."

Working with Azure ML in VS Code in Animated Action
[Click on image for larger, animated GIF view.] Working with Azure ML in VS Code in Animated Action (source: Microsoft).

Now, users in the Azure ML Studio UI (a web portal with low-code and no-code options for project authoring and asset management) have links -- "Edit in VS Code (preview)" -- to hop into VS Code, which can be clicked from Compute Instance and Notebook tabs. The improved Azure ML/VS Code integration provides these features and benefits:

  • Full integration with Azure ML file share and notebooks: All file operations in VS Code are fully synced with the Azure ML Studio. For example, if a user drags and drops files from their local machine into VS Code connected to Azure ML, all files will be synced and appear in the Azure ML Studio.
  • Git UI Experiences: Fully manage Git repos in Azure ML with the rich VS Code source control UI.
  • Notebook Editor: Seamlessly click out from the Azure ML notebooks and continue to work on notebooks in the new native VS code editor.
  • Debugging: Use the native debugging in VS Code to debug any training script before submitting it to an Azure ML cluster for batch training.
  • VS Code Terminal: Work in the VS Code terminal that is fully connected to the compute instance.
  • VS Code Extension Support: All VS Code extensions are fully supported in VS Code connected to the compute instance.
  • Enterprise Support: Work with VS Code securely in private endpoints without additional, complicated SSH and networking configuration. AAD credentials and RBAC are used to establish a secure connection to VNET/private link enabled Azure ML workspaces.

"It is now easier than ever to work directly on your Azure ML compute instances from within Visual Studio Code, and with full access to a remote terminal, your favorite VS Code extensions, Git source control UI and a debugger," Unnithan said.

The Azure Machine Learning for Visual Studio Code extension available in the VS Code Marketplace, still in preview, has been installed more than 210,000 times.

About the Author

David Ramel is an editor and writer for Converge360.

comments powered by Disqus

Featured

  • AI for GitHub Collaboration? Maybe Not So Much

    No doubt GitHub Copilot has been a boon for developers, but AI might not be the best tool for collaboration, according to developers weighing in on a recent social media post from the GitHub team.

  • Visual Studio 2022 Getting VS Code 'Command Palette' Equivalent

    As any Visual Studio Code user knows, the editor's command palette is a powerful tool for getting things done quickly, without having to navigate through menus and dialogs. Now, we learn how an equivalent is coming for Microsoft's flagship Visual Studio IDE, invoked by the same familiar Ctrl+Shift+P keyboard shortcut.

  • .NET 9 Preview 3: 'I've Been Waiting 9 Years for This API!'

    Microsoft's third preview of .NET 9 sees a lot of minor tweaks and fixes with no earth-shaking new functionality, but little things can be important to individual developers.

  • Data Anomaly Detection Using a Neural Autoencoder with C#

    Dr. James McCaffrey of Microsoft Research tackles the process of examining a set of source data to find data items that are different in some way from the majority of the source items.

  • What's New for Python, Java in Visual Studio Code

    Microsoft announced March 2024 updates to its Python and Java extensions for Visual Studio Code, the open source-based, cross-platform code editor that has repeatedly been named the No. 1 tool in major development surveys.

Subscribe on YouTube