Unverified Commit b8402baa authored by moto's avatar moto Committed by GitHub
Browse files

Cherry-pick 'Use PyTorch RC for unittest (#953)' (#963)

parent ba00419a
...@@ -391,6 +391,7 @@ jobs: ...@@ -391,6 +391,7 @@ jobs:
- checkout - checkout
- attach_workspace: - attach_workspace:
at: third_party at: third_party
- designate_upload_channel
- generate_cache_key - generate_cache_key
- restore_cache: - restore_cache:
...@@ -433,6 +434,7 @@ jobs: ...@@ -433,6 +434,7 @@ jobs:
- checkout - checkout
- attach_workspace: - attach_workspace:
at: third_party at: third_party
- designate_upload_channel
- generate_cache_key - generate_cache_key
- restore_cache: - restore_cache:
...@@ -470,6 +472,7 @@ jobs: ...@@ -470,6 +472,7 @@ jobs:
name: windows-cpu name: windows-cpu
steps: steps:
- checkout - checkout
- designate_upload_channel
- generate_cache_key - generate_cache_key
- restore_cache: - restore_cache:
...@@ -506,6 +509,7 @@ jobs: ...@@ -506,6 +509,7 @@ jobs:
CUDA_VERSION: "10.1" CUDA_VERSION: "10.1"
steps: steps:
- checkout - checkout
- designate_upload_channel
- generate_cache_key - generate_cache_key
- restore_cache: - restore_cache:
...@@ -544,6 +548,7 @@ jobs: ...@@ -544,6 +548,7 @@ jobs:
- install_build_tools_macos - install_build_tools_macos
- attach_workspace: - attach_workspace:
at: third_party at: third_party
- designate_upload_channel
- generate_cache_key - generate_cache_key
- restore_cache: - restore_cache:
...@@ -582,6 +587,7 @@ jobs: ...@@ -582,6 +587,7 @@ jobs:
resource_class: medium resource_class: medium
steps: steps:
- checkout - checkout
- designate_upload_channel
- generate_cache_key - generate_cache_key
- restore_cache: - restore_cache:
......
...@@ -391,6 +391,7 @@ jobs: ...@@ -391,6 +391,7 @@ jobs:
- checkout - checkout
- attach_workspace: - attach_workspace:
at: third_party at: third_party
- designate_upload_channel
- generate_cache_key - generate_cache_key
- restore_cache: - restore_cache:
{% raw %} {% raw %}
...@@ -433,6 +434,7 @@ jobs: ...@@ -433,6 +434,7 @@ jobs:
- checkout - checkout
- attach_workspace: - attach_workspace:
at: third_party at: third_party
- designate_upload_channel
- generate_cache_key - generate_cache_key
- restore_cache: - restore_cache:
{% raw %} {% raw %}
...@@ -470,6 +472,7 @@ jobs: ...@@ -470,6 +472,7 @@ jobs:
name: windows-cpu name: windows-cpu
steps: steps:
- checkout - checkout
- designate_upload_channel
- generate_cache_key - generate_cache_key
- restore_cache: - restore_cache:
{% raw %} {% raw %}
...@@ -506,6 +509,7 @@ jobs: ...@@ -506,6 +509,7 @@ jobs:
CUDA_VERSION: "10.1" CUDA_VERSION: "10.1"
steps: steps:
- checkout - checkout
- designate_upload_channel
- generate_cache_key - generate_cache_key
- restore_cache: - restore_cache:
{% raw %} {% raw %}
...@@ -544,6 +548,7 @@ jobs: ...@@ -544,6 +548,7 @@ jobs:
- install_build_tools_macos - install_build_tools_macos
- attach_workspace: - attach_workspace:
at: third_party at: third_party
- designate_upload_channel
- generate_cache_key - generate_cache_key
- restore_cache: - restore_cache:
{% raw %} {% raw %}
...@@ -582,6 +587,7 @@ jobs: ...@@ -582,6 +587,7 @@ jobs:
resource_class: medium resource_class: medium
steps: steps:
- checkout - checkout
- designate_upload_channel
- generate_cache_key - generate_cache_key
- restore_cache: - restore_cache:
{% raw %} {% raw %}
......
...@@ -17,7 +17,7 @@ else ...@@ -17,7 +17,7 @@ else
cudatoolkit="cudatoolkit=${version}" cudatoolkit="cudatoolkit=${version}"
fi fi
printf "Installing PyTorch with %s\n" "${cudatoolkit}" printf "Installing PyTorch with %s\n" "${cudatoolkit}"
conda install -y -c pytorch-nightly pytorch "${cudatoolkit}" conda install -y -c "pytorch-${UPLOAD_CHANNEL}" pytorch "${cudatoolkit}"
printf "* Installing torchaudio\n" printf "* Installing torchaudio\n"
BUILD_SOX=1 python setup.py install BUILD_SOX=1 python setup.py install
...@@ -17,7 +17,7 @@ else ...@@ -17,7 +17,7 @@ else
cudatoolkit="cudatoolkit=${version}" cudatoolkit="cudatoolkit=${version}"
fi fi
printf "Installing PyTorch with %s\n" "${cudatoolkit}" printf "Installing PyTorch with %s\n" "${cudatoolkit}"
conda install -y -c pytorch-nightly pytorch "${cudatoolkit}" conda install -y -c "pytorch-${UPLOAD_CHANNEL}" pytorch "${cudatoolkit}"
printf "* Installing torchaudio\n" printf "* Installing torchaudio\n"
python setup.py install python setup.py install
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