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
48 changes: 0 additions & 48 deletions .github/ISSUE_TEMPLATE/bug.yml

This file was deleted.

5 changes: 0 additions & 5 deletions .github/ISSUE_TEMPLATE/config.yml

This file was deleted.

29 changes: 0 additions & 29 deletions .github/ISSUE_TEMPLATE/feature-request.yml

This file was deleted.

44 changes: 0 additions & 44 deletions .github/ISSUE_TEMPLATE/performance.yml

This file was deleted.

53 changes: 0 additions & 53 deletions .github/actions/check-docs-only/action.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/aipu-build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ jobs:

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

- name: FlagTree Build on AIPU
if: steps.check_files.outputs.only_docs_changed != 'true'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/enflame-build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ jobs:

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

- name: FlagTree Build on Enflame
if: steps.check_files.outputs.only_docs_changed != 'true'
Expand Down
21 changes: 14 additions & 7 deletions .github/workflows/nv-build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ concurrency:

jobs:
nv-build-and-test:
runs-on: nv-jiuding
runs-on: flagtree-nvidia
if: ${{ github.repository == 'FlagTree/flagtree' || github.repository == 'flagos-ai/flagtree' }}
steps:
- name: Setup environment
Expand All @@ -26,6 +26,8 @@ jobs:
- name: Checkout code (attempt 1)
id: checkout1
uses: actions/checkout@v6
with:
fetch-depth: 0
continue-on-error: true

- name: Sleep before checkout2
Expand All @@ -38,6 +40,8 @@ jobs:
id: checkout2
if: steps.checkout1.outcome == 'failure'
uses: actions/checkout@v6
with:
fetch-depth: 0
continue-on-error: true

- name: Sleep before final checkout
Expand All @@ -49,14 +53,16 @@ jobs:
- name: Checkout code (final attempt)
if: steps.checkout1.outcome == 'failure' && steps.checkout2.outcome == 'failure'
uses: actions/checkout@v6
with:
fetch-depth: 0

- name: Verify checkout success
if: success()
run: echo "Checkout completed successfully"

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

- name: Detect Target Branch
shell: bash
Expand All @@ -78,7 +84,7 @@ jobs:
pip uninstall -y triton
source ~/env.sh
cd python
MAX_JOBS=32 python3.11 -m pip install . --no-build-isolation
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' }}
Expand All @@ -88,7 +94,7 @@ jobs:
pip uninstall -y triton
source ~/env-3.2.sh
cd python
MAX_JOBS=32 python3.11 -m pip install . --no-build-isolation
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' }}
Expand All @@ -98,14 +104,15 @@ jobs:
pip uninstall -y triton
source ~/env-3.3.sh
cd python
MAX_JOBS=32 python3.11 -m pip install . --no-build-isolation
MAX_JOBS=32 python3 -m pip install . --no-build-isolation

- name: FlagTree Test on NVidia
if: steps.check_files.outputs.only_docs_changed != 'true'
shell: bash
run: |
set -x
python3.11 -m pytest -s python/test/unit
python3 -m pytest -s python/test/unit \
--ignore=python/test/unit/language/test_line_info.py
if [ -d "python/test/operators" ]; then
python3.11 -m pytest -s python/test/operators
python3 -m pytest -s python/test/operators
fi
2 changes: 1 addition & 1 deletion .github/workflows/tsingmicro-build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ jobs:

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

- name: FlagTree Build on Tsingmicro
if: steps.check_files.outputs.only_docs_changed != 'true'
Expand Down