Skip to content

[BUILD] Update build ascend backend #5

[BUILD] Update build ascend backend

[BUILD] Update build ascend backend #5

name: Ascend-Build-And-Test
on:
push:
branches: [ "triton_v3.2.x" ]
pull_request:
branches: [ "triton_v3.2.x" ]
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
ascend-build-and-test:
runs-on: ascend
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: FlagTree Build on Ascend
shell: bash
run: |
source ~/env.sh
cd python
MAX_JOBS=32 python3.9 -m pip install . --no-build-isolation
- name: FlagTree Test on Ascend
shell: bash
run: |
source /usr/local/Ascend/ascend-toolkit/set_env.sh
python3.9 third_party/ascend/python/tutorials/01-vector-add.py