Skip to content

Latest commit

 

History

History
27 lines (19 loc) · 776 Bytes

install-windows-gpu.md

File metadata and controls

27 lines (19 loc) · 776 Bytes

:::{note}

conda create -n myenv python=3.9 cudatoolkit=11.3 -y
conda activate myenv
  1. Install the proper GPU PyTorch version by following the PyTorch Install Documentation (Recommended). Alternatively, use the following command:
pip install torchvision~=0.15.1 --force-reinstall --extra-index-url https://download.pytorch.org/whl/cu118
  1. Sanity check that your installation is valid and can detect your GPU via testing in Python:
import torch
print(torch.cuda.is_available())  # Should be True
print(torch.cuda.device_count())  # Should be > 0
  1. Continue with the remaining installation steps using the conda environment created above

:::