3.5 million WSL users can now use GPU Compute from Linux right on Windows

Windows Subsystem for Linux (WSL) is a utility developed by Microsoft to support Windows users running native Linux command-line tools that have not been modified directly on the Windows environment. No need to use any other middleware. WSL has been around for more than 4 years, at Microsoft Build 2016, and according to Microsoft, it now has more than 3.5 million active devices monthly.

WSL already has version 2 (WSL 2), but there is still a way to continue the problem unchanged, allowing users to run Linux on Windows 10 as well as support seamless, direct connection of Windows applications. 10 with WSL2 applications through localhost. But especially to mention is a series of advanced tweaks, including the ability to fully support the kernel (Linux) in the distribution installed on the system.

Recently, Redmond Company has continued to announce a feature that has long been expected by the user community: GPU compute, which can be used in Machine Learning tasks, on WSL 2 .

3.5 million WSL users can now use GPU Compute from Linux right on Windows Picture 1

A preview of GPU compute is now available in WSL 2 for Windows Insiders (Build 20150 and above). This preview will support artificial intelligence (AI) and machine learning (ML) workflows. Specifically, it allows AI professionals and students to train their ML models across the GPU in the Windows ecosystem.

NVIDIA CUDA

The ability to support NVIDIA CUDA has been on Windows for years. However, there are many CUDA computation applications that run only in the native Linux environment. To overcome this problem, Microsoft has partnered with NVIDIA to add support for CUDA right in WSL 2. As such, WSL 2 now includes support for ML tools, libraries, and universal frameworks. Existing variables, including PyTorch and TensorFlow, as well as all Docker and NVIDIA Container Toolkit available in the native Linux environment, allowing GPU-related workloads designed to run on Linux can now run normally in WSL 2.

DirectML

Over the past few years, the demand for AI and ML courses has been increasing, with online learning platforms playing a major role in educating the workforce as well as students in computer science. Prior to that fact, Microsoft will also soon release the TensorFlow preview package with the DirectML backend. Students and beginners can use TensorFlow's tutorial models or illustrative examples to start building the foundation for their future.

In addition, Microsoft also plans to open source code base TensorFlow that works with DirectML in the coming months. AMD, Intel and NVIDIA are also releasing drivers that allow this DirectML TensorFlow package to run on Windows and within WSL.

4 ★ | 1 Vote

May be interested

  • The most popular Linux versions todayPhoto of The most popular Linux versions today
    when you learn about linux, you will immediately be overwhelmed by the number of versions, too many variations and not sure which one to choose for yourself. software tips will introduce you to the most popular linux versions today.
  • How to find ulimit for users on LinuxPhoto of How to find ulimit for users on Linux
    how can you find the ulimit value for a user account or a process on a linux system?
  • What is the difference between Linux distributions?Photo of What is the difference between Linux distributions?
    the following article points out the differences between linux distributions like ubuntu, fedora, linux mint, debian, opensuse and many others. why are there so many linux distributions and what are the differences between them?
  • Create bootable USB with Linux Mint 19.3Photo of Create bootable USB with Linux Mint 19.3
    in today's article, tipsmake.com will show you how to upgrade from the latest linux mint 17.3 to the existing linux mint 19.3. here is a step by step guide to doing this!
  • How to check all services running in LinuxPhoto of How to check all services running in Linux
    need to know all the services running on the system. in this article, tipsmake.com will show you all possible ways to list the services running on linux computers.
  • How to install and optimize Minecraft on LinuxPhoto of How to install and optimize Minecraft on Linux
    minecraft usually runs well, but lower specification systems may occasionally experience performance issues. whether you have a top gaming pc or an old laptop, these minecraft optimization tips will help the game run smoother.