Skip to content

Commit 53a3db1

Browse files
authored
Merge branch 'main' into amyachev/issue4708
2 parents 007dc57 + 290cf4e commit 53a3db1

File tree

485 files changed

+20771
-14273
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

485 files changed

+20771
-14273
lines changed

.github/WINDOWS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ If you do not have a system Python installed at this step, you can install one w
5656
For example:
5757

5858
```
59-
choco install python --version=3.9.13
59+
choco install python --version=3.10.11
6060
```
6161

6262
### Git

.github/workflows/auto-update-translator-cid.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ jobs:
5959
- name: Install test dependencies
6060
if: ${{ env.TARGET_PRID == null }}
6161
run: |
62-
pip install pytest pytest-xdist 'pytest-rerunfailures<16' pytest-skip pytest-timeout expecttest
62+
pip install pytest pytest-xdist pytest-rerunfailures 'pytest-skip>=0.2.0' pytest-timeout expecttest
6363
pip install git+https://github.com/kwasd/[email protected]
6464
6565
- name: Get commit ID from Triton's spirv-llvm-translator.conf

.github/workflows/build-test-python.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,9 @@ jobs:
5858
id: matrix
5959
run: |
6060
if [[ -n "${{ inputs.runner_label }}" ]]; then
61-
matrix='{"python": ["3.9", "3.10", "3.11", "3.12", "3.13"]}'
61+
matrix='{"python": ["3.10", "3.11", "3.12", "3.13"]}'
6262
else
63-
matrix='{"python": ["3.9", "3.10", "3.11", "3.12", "3.13"], "driver": ["rolling", "lts"]}'
63+
matrix='{"python": ["3.10", "3.11", "3.12", "3.13"], "driver": ["rolling", "lts"]}'
6464
fi
6565
echo "matrix=$matrix" | tee -a $GITHUB_OUTPUT
6666

.github/workflows/build-test-reusable.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,7 @@ jobs:
196196
suite:
197197
- minicore
198198
- scaled_dot
199+
- gluon
199200
- rest
200201
- tutorial-fa-64
201202
- tutorial-fa-128-fwdfp8
@@ -306,11 +307,21 @@ jobs:
306307
run: |
307308
${{ env.TRITON_TEST_CMD }} --scaled-dot
308309
310+
- name: Run gluon tests
311+
if: matrix.suite == 'gluon' && inputs.driver_version == 'rolling'
312+
run: |
313+
${{ env.TRITON_TEST_CMD }} --gluon
314+
309315
- name: Run interpreter tests
310316
if: matrix.suite == 'rest'
311317
run: |
312318
${{ env.TRITON_TEST_CMD }} --interpreter
313319
320+
- name: Run triton kernels tests
321+
if: matrix.suite == 'rest'
322+
run: |
323+
${{ env.TRITON_TEST_CMD }} --triton-kernels
324+
314325
# FIXME: make sure new tutorials are added to one of the groups (scaled_dot, rest, tutorial-faX)
315326
- name: Select tutorials to run (scaled_dot)
316327
if: matrix.suite == 'scaled_dot'
@@ -331,7 +342,6 @@ jobs:
331342
07-extern-functions
332343
08-grouped-gemm
333344
10-experimental-block-pointer
334-
10i-experimental-block-pointer
335345
EOF
336346
337347
- name: Run Tutorials

.github/workflows/build-test-windows.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,20 @@ jobs:
148148
cd ${{ env.NEW_WORKSPACE }}
149149
${{ env.TRITON_TEST_CMD }} --core
150150
151+
- name: Run gluon tests
152+
run: |
153+
.venv\Scripts\activate.ps1
154+
Invoke-BatchFile "C:\Program Files (x86)\Intel\oneAPI\setvars.bat"
155+
cd ${{ env.NEW_WORKSPACE }}
156+
${{ env.TRITON_TEST_CMD }} --gluon
157+
158+
- name: Run triton kernels tests
159+
run: |
160+
.venv\Scripts\activate.ps1
161+
Invoke-BatchFile "C:\Program Files (x86)\Intel\oneAPI\setvars.bat"
162+
cd ${{ env.NEW_WORKSPACE }}
163+
${{ env.TRITON_TEST_CMD }} --triton-kernels
164+
151165
- name: Run interpreter tests
152166
run: |
153167
.venv\Scripts\activate.ps1

.github/workflows/e2e-accuracy.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,10 @@ on:
6464
description: Custom run name
6565
type: string
6666
default: "E2E accuracy"
67+
schedule:
68+
# twice a week, on Wednesday and Saturday
69+
- cron: "0 22 * * 3,6"
70+
6771

6872
permissions: read-all
6973

@@ -151,6 +155,7 @@ jobs:
151155
uses: actions/download-artifact@v5
152156
with:
153157
path: separate-reports
158+
merge-multiple: true
154159

155160
- name: Run aggregation script
156161
run: |
@@ -164,13 +169,14 @@ jobs:
164169
165170
- name: Upload aggregated results
166171
uses: actions/upload-artifact@v4
172+
if: ${{ !cancelled() }}
167173
with:
168174
name: aggregated-results-${{ github.run_id }}
169175
path: aggregated-results
170176
include-hidden-files: true
171177

172178
- name: Check results against reference
173-
if: ${{ inputs.models == 'all' && inputs.only_one_model == '' }}
179+
if: ${{ inputs.models == 'all' && inputs.only_one_model == '' && !cancelled()}}
174180
run: |
175181
PYTORCH_XPU_OPS_REF="$(<.github/pins/e2e_reference_torch-xpu-ops.txt)"
176182
git clone https://github.com/intel/torch-xpu-ops.git

.github/workflows/integration-tests-amd.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,11 +118,18 @@ jobs:
118118
echo "Could not find '${INSTRUMENTATION_LIB_DIR}'" ; exit -1
119119
fi
120120
121+
# Install hip-python
122+
pip install -i https://test.pypi.org/simple/ hip-python
123+
121124
# Test gluon
122125
pytest --capture=tee-sys -rfs -n 8 python/test/gluon/
123126
124127
pytest --capture=tee-sys -rfs python/tutorials/06-fused-attention.py
125-
pytest --capture=tee-sys -rfs third_party/amd/python/test/test_extract_slice_concat_op.py
128+
pytest --capture=tee-sys -rfs -n 8 third_party/amd/python/test/ \
129+
--ignore=third_party/amd/python/test/test_scalarize_packed_fops.py \
130+
--ignore=third_party/amd/python/test/test_address_sanitizer.py \
131+
--ignore=third_party/amd/python/test/test_gluon_gfx1250.py
132+
pytest --capture=tee-sys -rfs -n 8 third_party/amd/python/test/test_gluon_gfx1250.py -k "test_compile"
126133
TRITON_ALWAYS_COMPILE=1 pytest --capture=tee-sys -rfs third_party/amd/python/test/test_scalarize_packed_fops.py
127134
cd python/test/unit
128135
pytest --capture=tee-sys -rfs -n 12 \

.github/workflows/nightly-wheels.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ jobs:
3232
strategy:
3333
matrix:
3434
python:
35-
- "3.9"
3635
- "3.10"
3736
- "3.11"
3837
- "3.12"

.github/workflows/pip-test-windows.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,13 @@ jobs:
131131
cd ${{ env.NEW_WORKSPACE }}
132132
${{ env.TRITON_TEST_CMD }} --interpreter
133133
134+
- name: Run triton kernels tests
135+
run: |
136+
.venv\Scripts\activate.ps1
137+
Invoke-BatchFile "C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\Build\vcvarsall.bat" x64
138+
cd ${{ env.NEW_WORKSPACE }}
139+
${{ env.TRITON_TEST_CMD }} --triton-kernels
140+
134141
- name: Run tutorials
135142
run: |
136143
.venv\Scripts\activate.ps1

.github/workflows/pip-test.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,10 @@ jobs:
7171
run: |
7272
${{ env.TRITON_TEST_CMD }} --interpreter --skip-pip-install
7373
74+
- name: Run triton kernels tests
75+
run: |
76+
${{ env.TRITON_TEST_CMD }} --triton-kernels --skip-pip-install
77+
7478
- name: Run Tutorials
7579
run: |
7680
${{ env.TRITON_TEST_CMD }} --tutorial --skip-pip-install

0 commit comments

Comments
 (0)