From 7172836f813ac12f9d453f752d6661f49ca08277 Mon Sep 17 00:00:00 2001 From: atalman Date: Tue, 30 Jan 2024 07:11:34 -0800 Subject: [PATCH 1/3] Exclude pipy and poetry tests when USE_ONLY_DL_PYTORCH_ORG is set --- .github/workflows/validate-linux-binaries.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/validate-linux-binaries.yml b/.github/workflows/validate-linux-binaries.yml index 08507f64d..420ac5994 100644 --- a/.github/workflows/validate-linux-binaries.yml +++ b/.github/workflows/validate-linux-binaries.yml @@ -107,13 +107,17 @@ jobs: export ENV_NAME="conda-env-${{ github.run_id }}" export TORCH_ONLY=${{ inputs.torchonly }} export INCLUDE_TEST_OPS=${{ inputs.include-test-ops }} + export USE_ONLY_DL_PYTORCH_ORG = ${{ inputs.use-only-dl-pytorch-org }} export RELEASE_VERSION=${{ inputs.version }} export TARGET_OS="linux" eval "$(conda shell.bash hook)" printf '%s\n' ${{ toJson(inputs.release-matrix) }} > release_matrix.json # Special case PyPi installation package. And Install of PyPi package via poetry - if [[ ${MATRIX_PACKAGE_TYPE} == "manywheel" && ${MATRIX_GPU_ARCH_VERSION} == "12.1" && ${MATRIX_CHANNEL} == "release" ]]; then + if [[ ${MATRIX_PACKAGE_TYPE} == "manywheel" && + ${MATRIX_GPU_ARCH_VERSION} == "12.1" && + ${MATRIX_CHANNEL} == "release" && + ${USE_ONLY_DL_PYTORCH_ORG} == "false" ]]; then source ./.github/scripts/validate_pipy.sh source ./.github/scripts/validate_poetry.sh fi From 08721c1523ad2204ca671c4211308b8bdd4ee286 Mon Sep 17 00:00:00 2001 From: atalman Date: Tue, 30 Jan 2024 07:13:52 -0800 Subject: [PATCH 2/3] fix --- .github/workflows/validate-linux-binaries.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/validate-linux-binaries.yml b/.github/workflows/validate-linux-binaries.yml index 420ac5994..c5f342998 100644 --- a/.github/workflows/validate-linux-binaries.yml +++ b/.github/workflows/validate-linux-binaries.yml @@ -114,9 +114,9 @@ jobs: printf '%s\n' ${{ toJson(inputs.release-matrix) }} > release_matrix.json # Special case PyPi installation package. And Install of PyPi package via poetry - if [[ ${MATRIX_PACKAGE_TYPE} == "manywheel" && - ${MATRIX_GPU_ARCH_VERSION} == "12.1" && - ${MATRIX_CHANNEL} == "release" && + if [[ ${MATRIX_PACKAGE_TYPE} == "manywheel" && \ + ${MATRIX_GPU_ARCH_VERSION} == "12.1" && \ + ${MATRIX_CHANNEL} == "release" && \ ${USE_ONLY_DL_PYTORCH_ORG} == "false" ]]; then source ./.github/scripts/validate_pipy.sh source ./.github/scripts/validate_poetry.sh From 4af7a75b3e97ec27dff8f6cf92c736a5165c6499 Mon Sep 17 00:00:00 2001 From: atalman Date: Tue, 30 Jan 2024 07:17:58 -0800 Subject: [PATCH 3/3] fix --- .github/workflows/validate-linux-binaries.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/validate-linux-binaries.yml b/.github/workflows/validate-linux-binaries.yml index c5f342998..87c9f7cd8 100644 --- a/.github/workflows/validate-linux-binaries.yml +++ b/.github/workflows/validate-linux-binaries.yml @@ -107,7 +107,7 @@ jobs: export ENV_NAME="conda-env-${{ github.run_id }}" export TORCH_ONLY=${{ inputs.torchonly }} export INCLUDE_TEST_OPS=${{ inputs.include-test-ops }} - export USE_ONLY_DL_PYTORCH_ORG = ${{ inputs.use-only-dl-pytorch-org }} + export USE_ONLY_DL_PYTORCH_ORG=${{ inputs.use-only-dl-pytorch-org }} export RELEASE_VERSION=${{ inputs.version }} export TARGET_OS="linux" eval "$(conda shell.bash hook)"