Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 7 additions & 5 deletions .github/workflows/aipu-build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,14 @@ jobs:
with:
checkout_version: 'v6'

- name: Check if only docs files changed
id: check_files
uses: flagos-ai/FlagTree/.github/actions/check-docs-only@main
- name: Check if backend-relevant files changed
id: check_backend
uses: flagos-ai/FlagTree/.github/actions/check-backend-changed@main
with:
backend: aipu

- name: FlagTree Build on AIPU
if: steps.check_files.outputs.only_docs_changed != 'true'
if: steps.check_backend.outputs.should_skip != 'true'
shell: bash
run: |
set -x
Expand All @@ -42,7 +44,7 @@ jobs:
MAX_JOBS=32 python3.10 -m pip install . --no-build-isolation

- name: FlagTree Test on AIPU
if: steps.check_files.outputs.only_docs_changed != 'true'
if: steps.check_backend.outputs.should_skip != 'true'
shell: bash
run: |
set -x
Expand Down
12 changes: 7 additions & 5 deletions .github/workflows/enflame-gcu300-3.3-build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,11 @@ jobs:
with:
checkout_version: 'v6'

- name: Check if only docs files changed
id: check_files
uses: flagos-ai/FlagTree/.github/actions/check-docs-only@main
- name: Check if backend-relevant files changed
id: check_backend
uses: flagos-ai/FlagTree/.github/actions/check-backend-changed@main
with:
backend: enflame

- name: Detect Target Branch
shell: bash
Expand All @@ -43,7 +45,7 @@ jobs:
echo "TARGET_BRANCH=$TARGET_BRANCH"

- name: FlagTree Build on Enflame (triton_v3.3.x branch)
if: ${{ steps.check_files.outputs.only_docs_changed != 'true' && env.TARGET_BRANCH == 'triton_v3.3.x' }}
if: ${{ steps.check_backend.outputs.should_skip != 'true' && env.TARGET_BRANCH == 'triton_v3.3.x' }}
shell: bash
run: |
set -x
Expand All @@ -54,7 +56,7 @@ jobs:
MAX_JOBS=32 python3 -m pip install . --no-build-isolation

- name: FlagTree Test on Enflame
if: steps.check_files.outputs.only_docs_changed != 'true'
if: steps.check_backend.outputs.should_skip != 'true'
shell: bash
run: |
set -x
Expand Down
16 changes: 9 additions & 7 deletions .github/workflows/nv-build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,11 @@ jobs:
with:
checkout_version: 'v6'

- name: Check if only docs files changed
id: check_files
uses: flagos-ai/FlagTree/.github/actions/check-docs-only@main
- name: Check if backend-relevant files changed
id: check_backend
uses: flagos-ai/FlagTree/.github/actions/check-backend-changed@main
with:
backend: nvidia

- name: Detect Target Branch
shell: bash
Expand All @@ -45,7 +47,7 @@ jobs:
echo "TARGET_BRANCH=$TARGET_BRANCH"

- name: FlagTree Build on NVidia (main branch)
if: ${{ steps.check_files.outputs.only_docs_changed != 'true' && env.TARGET_BRANCH == 'main' }}
if: ${{ steps.check_backend.outputs.should_skip != 'true' && env.TARGET_BRANCH == 'main' }}
shell: bash
run: |
set -x
Expand All @@ -55,7 +57,7 @@ jobs:
MAX_JOBS=32 python3 -m pip install . --no-build-isolation

- name: FlagTree Build on NVidia (triton_v3.2.x branch)
if: ${{ steps.check_files.outputs.only_docs_changed != 'true' && env.TARGET_BRANCH == 'triton_v3.2.x' }}
if: ${{ steps.check_backend.outputs.should_skip != 'true' && env.TARGET_BRANCH == 'triton_v3.2.x' }}
shell: bash
run: |
set -x
Expand All @@ -65,7 +67,7 @@ jobs:
MAX_JOBS=32 python3 -m pip install . --no-build-isolation

- name: FlagTree Build on NVidia (triton_v3.3.x branch)
if: ${{ steps.check_files.outputs.only_docs_changed != 'true' && env.TARGET_BRANCH == 'triton_v3.3.x' }}
if: ${{ steps.check_backend.outputs.should_skip != 'true' && env.TARGET_BRANCH == 'triton_v3.3.x' }}
shell: bash
run: |
set -x
Expand All @@ -75,7 +77,7 @@ jobs:
MAX_JOBS=32 python3 -m pip install . --no-build-isolation

- name: FlagTree Test on NVidia
if: steps.check_files.outputs.only_docs_changed != 'true'
if: steps.check_backend.outputs.should_skip != 'true'
shell: bash
run: |
set -x
Expand Down
12 changes: 7 additions & 5 deletions .github/workflows/tsingmicro-build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,14 @@ jobs:
with:
checkout_version: 'v6'

- name: Check if only docs files changed
id: check_files
uses: flagos-ai/FlagTree/.github/actions/check-docs-only@main
- name: Check if backend-relevant files changed
id: check_backend
uses: flagos-ai/FlagTree/.github/actions/check-backend-changed@main
with:
backend: tsingmicro

- name: FlagTree Build on Tsingmicro
if: steps.check_files.outputs.only_docs_changed != 'true'
if: steps.check_backend.outputs.should_skip != 'true'
shell: bash
run: |
set -x
Expand All @@ -41,7 +43,7 @@ jobs:
python3 -m pip install . --no-build-isolation

- name: FlagTree Test on Tsingmicro
if: steps.check_files.outputs.only_docs_changed != 'true'
if: steps.check_backend.outputs.should_skip != 'true'
shell: bash
run: |
set -x
Expand Down
Loading