mirror of
https://github.com/zebrajr/pytorch.git
synced 2025-12-06 12:20:52 +01:00
[release/1.6] .jenkins: Install torch from test channel (#40706)
We're on a test branch so we should install from the test channel Signed-off-by: Eli Uriegas <eliuriegas@fb.com>
This commit is contained in:
parent
ea1b0dba18
commit
bdfcbfa18c
|
|
@ -289,7 +289,7 @@ test_backward_compatibility() {
|
|||
pushd test/backward_compatibility
|
||||
python dump_all_function_schemas.py --filename new_schemas.txt
|
||||
pip_uninstall torch
|
||||
pip_install --pre torch -f https://download.pytorch.org/whl/nightly/cpu/torch_nightly.html
|
||||
pip_install --pre torch -f https://download.pytorch.org/whl/test/cpu/torch_test.html
|
||||
python check_backward_compatibility.py --new-schemas new_schemas.txt
|
||||
popd
|
||||
set +x
|
||||
|
|
@ -341,8 +341,8 @@ elif [[ "${BUILD_ENVIRONMENT}" == *-test2 || "${JOB_BASE_NAME}" == *-test2 ]]; t
|
|||
elif [[ "${BUILD_ENVIRONMENT}" == *-bazel-* ]]; then
|
||||
test_bazel
|
||||
elif [[ "${BUILD_ENVIRONMENT}" == pytorch-linux-xenial-cuda9.2-cudnn7-py3-gcc5.4* ]]; then
|
||||
# test cpp extension for xenial + cuda 9.2 + gcc 5.4 to make sure
|
||||
# cpp extension can be built correctly under this old env
|
||||
# test cpp extension for xenial + cuda 9.2 + gcc 5.4 to make sure
|
||||
# cpp extension can be built correctly under this old env
|
||||
test_cpp_extensions
|
||||
else
|
||||
test_torchvision
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user