Re-enable torchdeploy oss tests and move to per-PR cuda11 job (#58872)

Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/58872

Test Plan: verify tests running on CI as expected

Reviewed By: suo

Differential Revision: D28646660

fbshipit-source-id: eb7d784844fb7bc447b4232e2f1e479d4d5aa72f
This commit is contained in:
Will Constable 2021-05-25 10:04:17 -07:00 committed by Facebook GitHub Bot
parent 19bcbfc5cf
commit bf269fdc98
2 changed files with 2 additions and 2 deletions

View file

@ -24,7 +24,7 @@ if [[ "$BUILD_ENVIRONMENT" == *-mobile-code-analysis* ]]; then
exec "$(dirname "${BASH_SOURCE[0]}")/build-mobile-code-analysis.sh" "$@"
fi
if [[ "$BUILD_ENVIRONMENT" == pytorch-linux-xenial-cuda10.2-cudnn7-py3-gcc7* ]]; then
if [[ "$BUILD_ENVIRONMENT" == pytorch-linux-xenial-cuda11.1-cudnn8-py3-gcc7* ]]; then
# Enabling DEPLOY build (embedded torch python interpreter, experimental)
# only on one config for now, can expand later
export USE_DEPLOY=ON

View file

@ -452,7 +452,7 @@ elif [[ "${BUILD_ENVIRONMENT}" == *libtorch* ]]; then
# TODO: run some C++ tests
echo "no-op at the moment"
elif [[ "${BUILD_ENVIRONMENT}" == *-test1 || "${JOB_BASE_NAME}" == *-test1 ]]; then
if [[ "${BUILD_ENVIRONMENT}" == pytorch-linux-xenial-cuda10.2-cudnn7-py3-gcc7-test1 ]]; then
if [[ "${BUILD_ENVIRONMENT}" == pytorch-linux-xenial-cuda11.1-cudnn8-py3-gcc7-test1 ]]; then
test_torch_deploy
fi
test_without_numpy