-
Notifications
You must be signed in to change notification settings - Fork 180
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Create Readme_SetupWSL&ML_forWindowsOS.txt
Adding how-to setup WSL and prepare machine for ML.
- Loading branch information
Staffan Luong
committed
Nov 4, 2023
1 parent
4046530
commit d421d12
Showing
1 changed file
with
11 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
WSL runs linux commands in windows OS. | ||
|
||
1. Run wsl --install in powershell. Restart computer. | ||
2. Run wsl.exe --install -d ubuntu. Create Linux user and pw. | ||
3. Install Windows Terminal https://learn.microsoft.com/en-us/windows/terminal/get-started | ||
|
||
GPU acceleration: | ||
1. Update Nvidia drivers | ||
2. Download and install docker: https://desktop.docker.com/win/main/amd64/Docker%20Desktop%20Installer.exe | ||
3. Run in bash to test ML: docker run --gpus all -it --shm-size=1g --ulimit memlock=-1 --ulimit stack=67108864 nvcr.io/nvidia/tensorflow:20.03-tf2-py3 | ||
Continue ML tutorial here: https://learn.microsoft.com/en-us/windows/wsl/tutorials/gpu-compute |