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 .

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.
You should read it
- The difference between AI, machine learning and deep learning
- [Infographic] AI and Machine Learning in the enterprise
- Deep Learning - new cybersecurity tool?
- Entertainment on Neural Networks, Artificial Intelligence and Machine Learning
- 6 steps to start learning artificial intelligence programming (AI)
- 7 best websites to help kids learn about AI and Machine Learning
- Google researchers for gaming AI to improve enhanced learning ability
- AI can now help write the biographical pages on Wikipedia
May be interested
- 5 Linux Lite tips for Windows usersit's not easy to switch from windows to linux. although linux lite is designed to make the transition easier, it's not uncommon to have some questions about how linux works.
- 3.3 million PCs in South Korea are about to abandon Windows, move to Linuxthere are two main reasons behind this transition.
- 6 reasons why users turn away from Linuxlinux is becoming the real rival of windows. however, when comparing market share, 'penguin' is still far below the super product of microsoft.
- Bring the best of Linux to Windows with CASHwindows command prompt is like an annoying mess, rather than an indispensable part of the operating system. in contrast, linux is designed to be very elegant, while helping users easily work efficiently.
- Intel Compute Stick CS125: The Windows 10 computer is just as small as a USB driveintel compute stick cs125 is a desktop computer that is more portable than any laptop on the planet because it is about the size of a usb drive.
- 8 main differences between Windows and Linuxis linux and windows the same? linux is different from windows? that is the question that many people wonder when they first come into contact with the linux operating system. in this article we will help you answer that question.
- Snapdragon 8cx: The world's first 7nm chipset for PC, supports Windows 10 Enterprise, connects 2 4K monitorsat its snapdragon tech summit, qualcomm surprised the tech industry by releasing the world's first 7nm processor for windows pc, snapdragon 8cx compute platform.
- How to Run Linux GUI Applications with WSL2 on Windowswindows 11 has a lot of new features, but one particularly welcome feature is the windows subsystem for linux or wsl. wsl users can now run graphical linux applications as well as standard command line programs.
- Why is MX Linux a desirable Windows alternative?if you're looking for an alternative to windows but don't like linux, mx linux may be the solution you're waiting for.
- Why You Won't Regret Leaving Windows for Linuxif you have the courage to leave, you will find that linux is a pretty good alternative. after leaving windows for linux, many people have found it to be a wise choice.