Microsoft: We’re taking on Windows 10 PyTorch AI library from Facebook | ZDNet

Microsoft is now formally the maintainer of the Windows model of PyTorch, a well-liked open-source machine-learning library created by Facebook. 

Microsoft’s resolution to take a much bigger function within the upkeep of PyTorch for Windows is a part of an effort to enhance the library’s efficiency on Windows 10 PCs and the Windows Subsystem for Linux (WSL), which builders can use to run Linux distributions on Windows 10.  

Facebook open-sourced PyTorch in 2018, a few 12 months after launching it to assist builders construct cutting-edge AI fashions. 

Facebook has used PyTorch and deep-learning framework Caffe2 for Translate, an AI instrument that powers translations for the 48 mostly used languages on Facebook.  

PyTorch, because the identify suggests, is a bundle for the hugely popular Python programming language. It helps builders use machine-learning Python packages equivalent to NumPy and assists with GPU-accelerated computations for heavy-lifting data-science duties. PyTorch has also been one of the fastest-growing projects on Microsoft-owned GitHub

According to PyTorch maintainers, the rationale for the switch is that help for PyTorch on Windows 10 has lagged behind that supplied by Linux and macOS, despite the fact that Windows is the main OS developers use, based on Stack Overflow’s newest developer survey.

“Lack of test coverage resulted in unexpected issues popping up every now and then. Some of the core tutorials, meant for new users to learn and adopt PyTorch, would fail to run,” engineers at Facebook and Microsoft explain in a joint blogpost.   

“The installation experience was also not as smooth, with the lack of official PyPI support for PyTorch on Windows. Lastly, some of the PyTorch functionality was simply not available on the Windows platform, such as the TorchAudio domain library and distributed training support.

“To assist alleviate this ache, Microsoft is blissful to carry its Windows experience to the desk and produce PyTorch on Windows to its very best self.”

Moving PyTorch for Windows to Microsoft is related to the Redmond company’s efforts to improve the performance of WSL on Windows 10, which currently has preview support for GPU-accelerated machine-learning (ML) training

WSL users have been demanding better GPU compute support to speed up ML training times, and the preview opens the door for developers and data scientists to use Nvidia’s CUDA platform to accelerate training. 

Microsoft and Nvidia last month kicked off a preview of CUDA for WSL 2 with support for PyTorch via new graphics drivers for Windows that enabled CUDA in WSL 2. 

As PyTorch maintainers point out, the preview gives developers the flexibility to work with multiple  frameworks and Python packages that rely on Nvidia CUDA but only support Linux.

The preview means “WSL prospects utilizing the preview can run native Linux-based PyTorch functions on Windows unmodified with out the necessity for a conventional digital machine or a dual-boot setup”.


Please enter your comment!
Please enter your name here