Skip to content

Commit

Permalink
add autocompare ci for ascend
Browse files Browse the repository at this point in the history
  • Loading branch information
NeosZhang committed Mar 28, 2024
1 parent c70316f commit 2d99d15
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -353,6 +353,21 @@ jobs:
source scripts/ci/ascend/ci_ascend_env.sh
bash scripts/ci/ascend/ci_ascend_script.sh build_dipu \
|| ( cd ${DEEPLINK_PATH}/${GITHUB_RUN_NUMBER}/ && rm -rf ${GITHUB_JOB} && exit 1 )
Build-Ascend-910b-with-autocompare:
name: Build-dipu-ascend-910b
needs: [Build-PyTorch-For-Ascend-910b]
runs-on: tps-ascend-ci-910b
steps:
- name: Build dipu
run: |
set -ex
export USE_COVERAGE=ON
export USE_AUTOCOMPARE=ON
cd ${DEEPLINK_PATH}/${GITHUB_RUN_NUMBER}/ && rm -rf ${GITHUB_JOB} && cp -R source ${GITHUB_JOB} && cd ${GITHUB_JOB}/dipu
source scripts/ci/ascend/ci_ascend_env.sh
bash scripts/ci/ascend/ci_ascend_script.sh build_dipu \
|| ( cd ${DEEPLINK_PATH}/${GITHUB_RUN_NUMBER}/ && rm -rf ${GITHUB_JOB} && exit 1 )
Test-Ascend-910b:
name: Test-dipu-ascend-910b
Expand Down

0 comments on commit 2d99d15

Please sign in to comment.