Skip to content

Commit 78b0526

Browse files
mattwojoCarlos Niheltonzaochihthiruma0203Horsevad
authored
Main > Live 2 (#2067)
* Final editorial review update (#2063) Fix oobe delete user path Rename best practices to recommendations Minor writing style updates * Fix backtick in build-custom-distro.md (#2062) * Remove the duplicate `feedback_product_url` value (#2040) * Update troubleshooting.md (#2034) Azure virtual machine does support Nested Virtualization, but cannot use with Trusted Launch. Hence proposing minor correction. * Update networking.md (#2033) Updated that the hostname takes a lowercase -i as the address flag. This can be seen by running hostname --help. also made the "under the hood" section more verbose with the full length ip-address command. * Add the information about the --pre-release option (#2031) * Add note for blocked Microsoft Store (#2030) * Add note for blocked Microsoft Store * Editorial update --------- Co-authored-by: Matt Wojciakowski <mattwoj@microsoft.com> * Add rule to ignore service account's contribute (#2039) * Update WSL shutdown instructions for clarity by specifying PowerShell should be run as administrator before executing the shutdown command. (#2028) * Update WSL shutdown instructions for clarity by specifying PowerShell should be run as administrator before executing the shutdown command. * Add Docker Desktop error recommendation --------- Co-authored-by: Matt Wojciakowski <mattwoj@microsoft.com> * Fix warnings (#2065) * Fix pytorch directml install command (#2066) Resolves #2044 --------- Co-authored-by: Carlos Nihelton <carlosnsoliveira@gmail.com> Co-authored-by: Caozhi Li <git@licaoz.com> Co-authored-by: thiruma0203 <thiruma.msft@hotmail.com> Co-authored-by: Horsevad <Horsevad@users.noreply.github.com> Co-authored-by: Carlos Rafael Ramirez <crramirez@users.noreply.github.com> Co-authored-by: Chunyao Chan <24861096+Civon@users.noreply.github.com>
1 parent 66074a6 commit 78b0526

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

WSL/tutorials/gpu-compute.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: GPU accelerated ML training in WSL
33
description: Learn how to setup the Windows Subsystem for Linux with NVIDIA CUDA, TensorFlow-DirectML, and PyTorch-DirectML. Read about using GPU acceleration with WSL to support machine learning training scenarios.
4-
ms.date: 05/03/2022
4+
ms.date: 11/19/2024
55
ms.topic: article
66
---
77

@@ -21,7 +21,7 @@ This guide will show how to set up:
2121
* Ensure you are running [Windows 11](https://microsoft.com/software-download/windows11) or [Windows 10, version 21H2](https://microsoft.com/software-download/windows10) or higher.
2222
* [Install WSL and set up a username and password for your Linux distribution](/windows/wsl/install).
2323

24-
## Setting up NVIDIA CUDA with Docker
24+
## Set up NVIDIA CUDA with Docker
2525

2626
1. [Download and install the latest driver for your NVIDIA GPU](https://www.nvidia.com/Download/index.aspx)
2727
2. Install [Docker Desktop](/windows/wsl/tutorials/wsl-containers#install-docker-desktop) or install the Docker engine directly in WSL by running the following command
@@ -85,7 +85,7 @@ This guide will show how to set up:
8585

8686
Additional ways to get setup and utilize NVIDIA CUDA can be found in the [NVIDIA CUDA on WSL User Guide](https://docs.nvidia.com/cuda/wsl-user-guide/index.html#getting-started-with-cuda-on-wsl).
8787

88-
## Setting up TensorFlow-DirectML or PyTorch-DirectML
88+
## Set up TensorFlow-DirectML or PyTorch-DirectML
8989

9090
1. Download and install the latest driver from your GPU vendors website: [AMD](https://www.amd.com/en/support), [Intel](https://www.intel.com/content/www/us/en/download/19344/intel-graphics-windows-dch-drivers.html), or [NVIDIA](https://www.nvidia.com/Download/index.aspx).
9191

@@ -124,7 +124,7 @@ Additional ways to get setup and utilize NVIDIA CUDA can be found in the [NVIDIA
124124
```
125125

126126
```bash
127-
pip install pytorch-directml
127+
pip install torch-directml
128128
```
129129

130130
4. Run a quick addition sample in an interactive Python session for [TensorFlow-DirectML](/windows/ai/directml/gpu-tensorflow-wsl#install-the-tensorflow-with-directml-package) or [PyTorch-DirectML](/windows/ai/directml/gpu-pytorch-wsl#install-the-pytorch-with-directml-package) to make sure everything is working.

0 commit comments

Comments
 (0)