Unverified Commit 307ab53a authored by Yi Zhang's avatar Yi Zhang Committed by GitHub
Browse files

update cuda version in unittest_windows_gpu (#4475)



* update cuda ver in win cuda unittest

* add -c condaforge to download torch+cu111

* update comments
Co-authored-by: default avatarPrabhat Roy <prabhatroy@fb.com>
parent 011eedfb
......@@ -739,7 +739,7 @@ jobs:
executor:
name: windows-gpu
environment:
CUDA_VERSION: "10.2"
CUDA_VERSION: "11.1"
PYTHON_VERSION: << parameters.python_version >>
steps:
- checkout
......
......@@ -739,7 +739,7 @@ jobs:
executor:
name: windows-gpu
environment:
CUDA_VERSION: "10.2"
CUDA_VERSION: "11.1"
PYTHON_VERSION: << parameters.python_version >>
steps:
- checkout
......
......@@ -26,7 +26,8 @@ else
fi
printf "Installing PyTorch with %s\n" "${cudatoolkit}"
conda install -y -c "pytorch-${UPLOAD_CHANNEL}" "pytorch-${UPLOAD_CHANNEL}"::pytorch "${cudatoolkit}" pytest
# conda-forge channel is required for cudatoolkit 11.1 on Windows, see https://github.com/pytorch/vision/issues/4458
conda install -y -c "pytorch-${UPLOAD_CHANNEL}" -c conda-forge "pytorch-${UPLOAD_CHANNEL}"::pytorch "${cudatoolkit}" pytest
if [ $PYTHON_VERSION == "3.6" ]; then
printf "Installing minimal PILLOW version\n"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment