Guest Logan Iyer, Distinguished Engineer, Windows Posted November 16, 2023 Posted November 16, 2023 With the latest Windows 11 update on Sept. 26 we released a host of developer features as the core component of the Windows OS with an intent to make every developer more productive on Windows. Today we are excited to announce Windows AI Studio, a new AI experience to help enterprises and developers jumpstart local AI development and deployment on Windows, along with new updates to Dev Home and new enterprise features in Windows Subsystem for Linux (WSL) that enhance security and simplify deployment. [HEADING=2]Windows AI Studio simplifies generative AI app development[/HEADING] Many developers and enterprises want to bring AI differentiated experiences to their apps and we have heard from these developers that they need an easier and trusted way to get started with local AI development. With many tools, frameworks and open-source models available it is difficult to pick the right set of tools to test, fine-tune and optimize the models or select the most trusted models that best fit diverse business needs. That’s why we are thrilled to announce Windows AI Studio, a new experience for developers, that extends the tooling of Azure AI Studio to jumpstart AI development locally on Windows. [HEADING=2]Getting started with AI development locally on Windows is easier and faster than ever[/HEADING] Windows AI Studio simplifies generative AI app development by bringing together cutting-edge AI development tools and models from Azure AI Studio and other catalogs like Hugging Face, enabling developers to fine-tune, customize and deploy state-of-the-art small language models, or SLMs, for local use in their Windows apps. This includes an e2e guided workspace setup that includes model configuration UI and guided walkthroughs to fine-tune popular SLMs like Phi. Developers can then rapidly test their fine-tuned model using the Prompt Flow and Gradio templates integrated into the workspace. Windows AI Studio brings us closer to supporting Hybrid Loop development patterns and enabling hybrid AI scenarios across Azure and client devices. This gives developers greater choice either to run their models on the cloud on Azure or on the edge locally on Windows (or across the two) to meet their needs. Prompt Flow makes it easier than ever to implement this hybrid pattern by switching between local SLMs and cloud LLMs. [ATTACH=full]42427[/ATTACH] The picture above shows a typical fine-tuning workflow. Developers will bring their own datasets for fine-tuning. See our fine-tuning guide for details on how to get started. Note that the fine-tuning + model evaluation steps will be iterative until the model meets the developers’ evaluation criteria. In the coming weeks developers can access Windows AI Studio as a VS Code Extension, a familiar and seamless interface to help you get started with AI development. The guided interface allows you to focus on what you do best, coding, while we do all the heavy lifting by setting your developer environment with all the tools needed. Learn more about Windows AI Studio. [ATTACH=full]42428[/ATTACH] [ATTACH=full]42429[/ATTACH] [ATTACH=full]42430[/ATTACH] [HEADING=2]Windows optimized state-of-the-art models[/HEADING] In addition to fine-tuning capabilities, Windows AI Studio will also highlight state-of-the-art (SOTA) models optimized specifically for Windows GPUs and NPUs in the future, starting with Llama 2-7B, Mistral-7B, Falcon-7B, and Stable Diffusion XL. Earlier this year, we talked about how ONNX Runtime is the gateway to Windows AI. DirectML is the native Windows machine learning API, and together they give developers access to a simplified yet highly performant AI development experience. With Olive, a powerful optimization tool for ONNX models, developers can ensure that their models run as performantly as possible with the DirectML+ONNX Runtime combo. At Inspire this year we shared details on how developers will be able to run Llama 2 with DirectML and the ONNX Runtime and we have been hard at work to make this a reality. We now have a sample showing our progress with Llama 2 7B; after an Olive optimization pass, our sample shows how developers can now run this versatile LLM locally and performantly on varied Windows hardware. We're excited about this milestone, and this is only a first peek. Stay tuned for future enhancements to support even larger models, fine-tuning and lower-precision data types. Learn more. Windows Subsystem for Linux (WSL) offers a robust platform for AI development on Windows by making it easy to run Windows and Linux workloads simultaneously. Developers can easily share files, GUI apps, GPU and more between environments with no additional setup. WSL is now enhanced to meet the enterprise grade security requirements so enterprise customers can confidently deploy WSL for their developers to take advantage of both Windows and Linux operating systems on the same Windows device and accelerate AI development efficiently. [HEADING=2]Windows Subsystem for Linux now offers new enterprise features that enhance security and simplify deployment [/HEADING] It’s now easier than ever to securely deploy WSL to your company with the latest enterprise features. These include: Microsoft Defender for Endpoint released a new plug-in for WSL that enables security teams to continuously monitor events in all running distributions – delivering unparalleled visibility into systems once considered a critical blind spot. Access to WSL and its key security settings are now controllable with Intune. Admins can configure access to WSL entirely, or dive into access to specific security settings like custom kernel, nested virtualization and more, to ensure security while using WSL. Advanced networking controls in WSL let you specify firewall rules that apply to the WSL virtual machine and improve network compatibility in complex enterprise environments. Learn more to get started with WSL today! We want to ensure Windows is optimized for developers and helps you be productive across any development you do – desktop, web, AI or cross-platform. That’s why we introduced Dev Home, your ultimate productivity companion, at Build 2023. Dev Home is a new experience for developers on Windows 11 that helps you get back in the zone and streamlines your workflows, boosting your productivity. Dev Home assists you in setting up your dev environment by downloading apps, packages or repositories, and lets you connect to your developer accounts and tools such as GitHub. Today, Dev Home is getting even better for you. [HEADING=2]Dev Home now has Azure DevOps extension so you can stay on top of your daily tasks[/HEADING] We are thrilled to release Dev Home v0.7 with Azure DevOps (ADO) support powered by the new Dev Home Azure extension. This extension allows you to easily clone your Azure repositories using Dev Home to get your machine to a code-ready state, manage your ADO projects and get productive right away from the Windows desktop. Additionally, you can pin ADO widgets to display query results and query tiles to provide easily glanceable information for the projects you care about most. Enterprises can take advantage of Dev Home to onboard new team members and projects faster and developers can stay on top of projects, queries and relevant tasks from Dev Home. With our focus on empowering every developer to be an AI developer and continued investments on developer productivity, we believe Windows now provides the best platform for you to jumpstart local AI development and create cutting edge experiences for your customers. We are humbled and excited to be on this journey with you. We love hearing from our developer community and want to continue working with you to build the experiences and features you want. Share your feedback with us by reaching out on our social channels @WindowsDev on LinkedIn, X (formerly known as Twitter), Facebook and Instagram. Editor’s note – Nov. 15, 2023 – This post was updated to more accurately reflect what an SLM is. Continue reading... Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.