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
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
name: Enflame-Build-And-Test
name: Enflame-GCU300-Build-And-Test

on:
push:
branches: [ "triton_v3.3.x" ]
branches: [ "triton_v3.3.x", "triton_v3.5.x" ]
pull_request:
branches: [ "triton_v3.3.x" ]
branches: [ "triton_v3.3.x" , "triton_v3.5.x"]

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true

jobs:
enflame-build-and-test:
runs-on: enflame
enflame-gcu300-build-and-test:
runs-on: enflame-gcu300
if: ${{ github.repository == 'FlagTree/flagtree' || github.repository == 'flagos-ai/flagtree' }}
steps:
- name: Setup environment
Expand Down Expand Up @@ -62,8 +62,8 @@ jobs:
id: check_files
uses: flagos-ai/FlagTree/.github/actions/check-docs-only@main

- name: FlagTree Build on Enflame
if: steps.check_files.outputs.only_docs_changed != 'true'
- 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' }}
shell: bash
run: |
set -x
Expand All @@ -73,6 +73,16 @@ jobs:
cd python
MAX_JOBS=32 python3 -m pip install . --no-build-isolation

- name: FlagTree Build on Enflame (triton_v3.5.x branch)
if: ${{ steps.check_files.outputs.only_docs_changed != 'true' && env.TARGET_BRANCH == 'triton_v3.5.x' }}
shell: bash
run: |
set -x
python3 -m pip uninstall -y triton
python3 -m pip uninstall -y triton_gcu
export FLAGTREE_BACKEND=enflame
MAX_JOBS=32 python3 -m pip install . --no-build-isolation

- name: FlagTree Test on Enflame
if: steps.check_files.outputs.only_docs_changed != 'true'
shell: bash
Expand Down
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -466,7 +466,7 @@ find_package(Threads REQUIRED)

add_subdirectory(third_party/f2reduce)

if(NOT FLAGTREE_BACKEND OR FLAGTREE_BACKEND MATCHES "^(aipu|tsingmicro)$")
if(NOT FLAGTREE_BACKEND OR FLAGTREE_BACKEND MATCHES "^(aipu|tsingmicro|enflame)$")
add_subdirectory(bin)
add_subdirectory(test)
endif()
Expand Down
Loading