Windows 11 and later updates of Windows 10 support running existing ML tools, libraries, and popular frameworks that use NVIDIA CUDA for GPU hardware acceleration inside a Windows Subsystem for Linux (WSL) instance. This includes PyTorch and TensorFlow as well as all the Docker and NVIDIA Container Toolkit support available in a native Linux environment.
Download and install the NVIDIA CUDA enabled driver for WSL to use with your existing CUDA ML workflows. For more info about which driver to install, see:
Once you've installed the above driver, ensure you enable WSL and install a glibc-based distribution, such as Ubuntu or Debian. Ensure you have the latest kernel by selecting Check for updates in the Windows Update section of the Settings app.
참고
Ensure you have Receive updates for other Microsoft products enabled. You can find it in Advanced options within the Windows Update section of the Settings app.
For these features, you need a kernel version of 5.10.43.3 or higher. You can check the version number by running the following command in PowerShell.
이 모듈에서는 VS Code(Visual Studio Code)와 함께 WSL(Linux용 Windows 하위 시스템)을 사용하는 방법을 알아봅니다. 설치 프로세스와 WSL 사용의 기본 사항을 살펴봅니다. 또한 Visual Studio Code WSL 확장을 설치하고 활용합니다. 마지막으로 WSL 환경 내 VS Code에서 Python 코드를 디버깅하고 실행하는 방법을 보여 줍니다.