Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
atalman committed Dec 10, 2024
1 parent 17f4dab commit 6c5f104
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/validate-aarch64-linux-binaries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -159,4 +159,4 @@ jobs:
unset LD_LIBRARY_PATH
# Standard case: Validate binaries
source ./.github/scripts/validate_binaries.sh
source ./test-infra/.github/scripts/validate_binaries.sh
14 changes: 6 additions & 8 deletions .github/workflows/validate-linux-binaries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -118,9 +118,9 @@ on:

jobs:
generate-linux-matrix:
uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@main
uses: ./test-infra/.github/workflows/generate_binary_build_matrix.yml
with:
package-type: wheel,libtorch # We stopped producing conda nightlies
package-type: wheel,libtorch
os: linux
channel: ${{ inputs.channel }}
use-only-dl-pytorch-org: ${{ inputs.use-only-dl-pytorch-org }}
Expand All @@ -132,7 +132,7 @@ jobs:
strategy:
matrix: ${{ fromJson(needs.generate-linux-matrix.outputs.matrix) }}
fail-fast: false
uses: pytorch/test-infra/.github/workflows/linux_job.yml@main
uses: ./test-infra/.github/workflows/linux_job.yml
name: ${{ matrix.build_name }}
with:
runner: ${{ matrix.validation_runner }}
Expand All @@ -144,8 +144,6 @@ jobs:
timeout: 180
script: |
set -ex
pwd
ls -las
export ENV_NAME="conda-env-${{ github.run_id }}"
export TORCH_ONLY=${{ inputs.torchonly }}
export INCLUDE_TEST_OPS=${{ inputs.include-test-ops }}
Expand Down Expand Up @@ -173,9 +171,9 @@ jobs:
${MATRIX_GPU_ARCH_VERSION} == "12.4" && \
${MATRIX_CHANNEL} == "release" && \
${USE_ONLY_DL_PYTORCH_ORG} == "false" ]]; then
source test-infra/.github/scripts/validate_pipy.sh
source test-infra/.github/scripts/validate_poetry.sh
source ./test-infra/.github/scripts/validate_pipy.sh
source ./test-infra/.github/scripts/validate_poetry.sh
fi
# Standart case: Validate binaries
source test-infra/.github/scripts/validate_binaries.sh
source ./test-infra/.github/scripts/validate_binaries.sh
4 changes: 3 additions & 1 deletion .github/workflows/validate-macos-arm64-binaries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,8 @@ jobs:
binary-matrix: ${{ toJSON(matrix) }}
script: |
set -ex
pwd
ls -las
export ENV_NAME="conda-env-${{ github.run_id }}"
export TARGET_OS="macos-arm64"
export TORCH_ONLY=${{ inputs.torchonly }}
Expand All @@ -137,4 +139,4 @@ jobs:
fi
printf '%s\n' ${{ toJson(inputs.release-matrix) }} > release_matrix.json
source test-infra/.github/scripts/validate_binaries.sh
source ./test-infra/.github/scripts/validate_binaries.sh
2 changes: 1 addition & 1 deletion .github/workflows/validate-windows-binaries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -141,4 +141,4 @@ jobs:
export CUDA_VERSION=xpu
./windows/internal/xpu_install.bat
fi
source test-infra/.github/scripts/validate_binaries.sh
source ./test-infra/.github/scripts/validate_binaries.sh

0 comments on commit 6c5f104

Please sign in to comment.