@@ -14,7 +14,7 @@ concurrency:
1414
1515jobs :
1616 nv-build-and-test :
17- runs-on : nv-jiuding
17+ runs-on : flagtree-nvidia
1818 if : ${{ github.repository == 'FlagTree/flagtree' || github.repository == 'flagos-ai/flagtree' }}
1919 steps :
2020 - name : Setup environment
2626 - name : Checkout code (attempt 1)
2727 id : checkout1
2828 uses : actions/checkout@v6
29+ with :
30+ fetch-depth : 0
2931 continue-on-error : true
3032
3133 - name : Sleep before checkout2
3840 id : checkout2
3941 if : steps.checkout1.outcome == 'failure'
4042 uses : actions/checkout@v6
43+ with :
44+ fetch-depth : 0
4145 continue-on-error : true
4246
4347 - name : Sleep before final checkout
4953 - name : Checkout code (final attempt)
5054 if : steps.checkout1.outcome == 'failure' && steps.checkout2.outcome == 'failure'
5155 uses : actions/checkout@v6
56+ with :
57+ fetch-depth : 0
5258
5359 - name : Verify checkout success
5460 if : success()
7884 pip uninstall -y triton
7985 source ~/env.sh
8086 cd python
81- MAX_JOBS=32 python3.11 -m pip install . --no-build-isolation
87+ MAX_JOBS=32 python3 -m pip install . --no-build-isolation
8288
8389 - name : FlagTree Build on NVidia (triton_v3.2.x branch)
8490 if : ${{ steps.check_files.outputs.only_docs_changed != 'true' && env.TARGET_BRANCH == 'triton_v3.2.x' }}
8894 pip uninstall -y triton
8995 source ~/env-3.2.sh
9096 cd python
91- MAX_JOBS=32 python3.11 -m pip install . --no-build-isolation
97+ MAX_JOBS=32 python3 -m pip install . --no-build-isolation
9298
9399 - name : FlagTree Build on NVidia (triton_v3.3.x branch)
94100 if : ${{ steps.check_files.outputs.only_docs_changed != 'true' && env.TARGET_BRANCH == 'triton_v3.3.x' }}
@@ -98,14 +104,15 @@ jobs:
98104 pip uninstall -y triton
99105 source ~/env-3.3.sh
100106 cd python
101- MAX_JOBS=32 python3.11 -m pip install . --no-build-isolation
107+ MAX_JOBS=32 python3 -m pip install . --no-build-isolation
102108
103109 - name : FlagTree Test on NVidia
104110 if : steps.check_files.outputs.only_docs_changed != 'true'
105111 shell : bash
106112 run : |
107113 set -x
108- python3.11 -m pytest -s python/test/unit
114+ python3 -m pytest -s python/test/unit \
115+ --ignore=python/test/unit/language/test_line_info.py
109116 if [ -d "python/test/operators" ]; then
110- python3.11 -m pytest -s python/test/operators
117+ python3 -m pytest -s python/test/operators
111118 fi
0 commit comments