@@ -278,90 +278,11 @@ jobs:
278278 run : |
279279 echo "TRITON_TEST_CMD=${{ needs.build.outputs.test-triton-command }}" | tee -a $GITHUB_ENV
280280
281- - name : Run Proton tests
282- if : matrix.suite == 'rest' && inputs.driver_version == 'rolling' && inputs.device == 'max1100'
283- run : |
284- cd third_party/proton/test
285- pytest test_api.py test_lib.py test_profile.py test_viewer.py test_record.py -s -v
286- cd ..
287-
288- - name : Run minicore tests
289- if : matrix.suite == 'minicore'
290- run : |
291- ${{ env.TRITON_TEST_CMD }} --minicore
292-
293- - name : Run mxfp tests
294- if : matrix.suite == 'mxfp'
295- run : |
296- ${{ env.TRITON_TEST_CMD }} --mxfp
297-
298281 - name : Run scaled_dot tests
299282 if : matrix.suite == 'scaled_dot'
300283 run : |
301284 ${{ env.TRITON_TEST_CMD }} --scaled-dot
302285
303- - name : Run interpreter tests
304- if : matrix.suite == 'rest'
305- run : |
306- ${{ env.TRITON_TEST_CMD }} --interpreter
307-
308- # FIXME: make sure new tutorials are added to one of the groups (mxfp, scaled_dot, rest)
309-
310- - name : Select tutorials to run (mxfp)
311- if : matrix.suite == 'mxfp'
312- run : |
313- cat <<EOF | tee tutorials.txt
314- 09-persistent-matmul
315- EOF
316-
317- - name : Select tutorials to run (scaled_dot)
318- if : matrix.suite == 'scaled_dot'
319- run : |
320- cat <<EOF | tee tutorials.txt
321- 06-fused-attention
322- EOF
323-
324- - name : Select tutorials to run (rest)
325- if : matrix.suite == 'rest'
326- run : |
327- cat <<EOF | tee tutorials.txt
328- 01-vector-add
329- 02-fused-softmax
330- 03-matrix-multiplication
331- 04-low-memory-dropout
332- 05-layer-norm
333- 07-extern-functions
334- 08-grouped-gemm
335- 10-experimental-block-pointer
336- 10i-experimental-block-pointer
337- EOF
338-
339- - name : Run Tutorials
340- if : matrix.suite == 'mxfp' || matrix.suite == 'scaled_dot' || matrix.suite == 'rest'
341- run : |
342- ${{ env.TRITON_TEST_CMD }} --select-from-file tutorials.txt --tutorial
343-
344- - name : Get transformers version
345- if : matrix.suite == 'rest'
346- run : |
347- cd pytorch
348- TRANSFORMERS_VERSION="$(<.ci/docker/ci_commit_pins/huggingface.txt)"
349- echo "TRANSFORMERS_VERSION=$TRANSFORMERS_VERSION" | tee -a $GITHUB_ENV
350-
351- - name : Install transformers
352- if : matrix.suite == 'rest'
353- uses : ./.github/actions/install-dependency
354- with :
355- package : transformers
356- repository : huggingface/transformers
357- ref : ${{ env.TRANSFORMERS_VERSION }}
358- try-tag-prefix : v
359-
360- - name : Run E2E test
361- if : matrix.suite == 'rest'
362- run : |
363- timeout -s KILL 4900 ${{ env.TRITON_TEST_CMD }} --inductor || ${{ inputs.ignore_errors }}
364-
365286 - name : Save pip cache
366287 if : ${{ steps.pip-cache.outputs.status == 'miss' }}
367288 uses : ./.github/actions/save
0 commit comments