Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
atalman committed May 28, 2024
1 parent c705173 commit 0873e57
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/build_wheels_linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -220,12 +220,13 @@ jobs:
PACKAGE_NAME: ${{ inputs.package-name }}
SMOKE_TEST_SCRIPT: ${{ inputs.smoke-test-script }}
run: |
set -euxo pipefail
set uxo pipefail
source "${BUILD_ENV_FILE}"
WHEEL_NAME=$(ls "${{ inputs.repository }}/dist/")
echo "$WHEEL_NAME"
export TORCHINDUCTOR_COMPILE_THREADS=1
export TORCH_LOGS=output_code
${CONDA_RUN} pip install "${{ inputs.repository }}/dist/$WHEEL_NAME"
# Checking that we have a pinned version of torch in our dependency tree
(
Expand All @@ -249,6 +250,7 @@ jobs:
echo "${{ inputs.repository }}/${SMOKE_TEST_SCRIPT} found"
${CONDA_RUN} python "${{ inputs.repository }}/${SMOKE_TEST_SCRIPT}"
fi
cat /tmp/torchinductor_root/tt/cttmh7vyic6svkvlu2hcuw4luorlu3r2nantzcwl4y23rlv3oqsp.py
# NB: Only upload to GitHub after passing smoke tests
- name: Upload wheel to GitHub
continue-on-error: true
Expand Down

0 comments on commit 0873e57

Please sign in to comment.