@@ -39,11 +39,7 @@ commands:
3939 - run:
4040 name: adding UPLOAD_CHANNEL to BASH_ENV
4141 command: |
42- our_upload_channel=nightly
43- # On tags upload to test instead
44- if [[ -n "${CIRCLE_TAG}" ]]; then
45- our_upload_channel=test
46- fi
42+ our_upload_channel=test
4743 echo "export UPLOAD_CHANNEL=${our_upload_channel}" >> ${BASH_ENV}
4844
4945 brew_update:
@@ -146,7 +142,7 @@ commands:
146142 default: true
147143 steps:
148144 - pip_install:
149- args: --pre torch --extra-index-url https://download.pytorch.org/whl/nightly /cpu
145+ args: --pre torch -f https://download.pytorch.org/whl/test /cpu/torch_test.html
150146 descr: Install PyTorch from nightly releases
151147 - pip_install:
152148 args: --no-build-isolation <<# parameters.editable >> --editable <</ parameters.editable >> .
@@ -194,11 +190,11 @@ binary_common: &binary_common
194190 build_version:
195191 description: "version number of release binary; by default, build a nightly"
196192 type: string
197- default: ""
193+ default: "0.15.0 "
198194 pytorch_version:
199195 description: "PyTorch version to build against; by default, use a nightly"
200196 type: string
201- default: ""
197+ default: "2.0.0 "
202198 # Don't edit these
203199 python_version:
204200 description: "Python version to build against (e.g., 3.8)"
@@ -645,7 +641,7 @@ jobs:
645641 set -x
646642 source /usr/local/etc/profile.d/conda.sh && conda activate python${PYTHON_VERSION}
647643 - pip_install:
648- args: $(ls ~/workspace/torchvision*.whl) --pre -f https://download.pytorch.org/whl/nightly/torch_nightly .html
644+ args: $(ls ~/workspace/torchvision*.whl) --pre -f https://download.pytorch.org/whl/test/torch_test .html
649645 - run:
650646 name: smoke test
651647 command: |
@@ -714,7 +710,7 @@ jobs:
714710 conda create -yn python${PYTHON_VERSION} python=${PYTHON_VERSION}
715711 conda activate python${PYTHON_VERSION}
716712 - pip_install:
717- args: $(ls ~/workspace/torchvision*.whl) --pre -f https://download.pytorch.org/whl/nightly/torch_nightly .html
713+ args: $(ls ~/workspace/torchvision*.whl) --pre -f https://download.pytorch.org/whl/test/torch_test .html
718714 - run:
719715 name: smoke test
720716 command: |
0 commit comments