File tree 2 files changed +37
-2
lines changed
2 files changed +37
-2
lines changed Original file line number Diff line number Diff line change @@ -299,10 +299,41 @@ jobs:
299
299
run : |
300
300
${{ env.TRITON_TEST_CMD }} --interpreter
301
301
302
- - name : Run Tutorials
302
+ # FIXME: make sure new tutorials are added to one of the groups (mxfp, scaled_dot, rest)
303
+
304
+ - name : Select tutorials to run (mxfp)
305
+ if : matrix.suite == 'mxfp'
306
+ run : |
307
+ cat <<EOF | tee tutorials.txt
308
+ 06-fused-attention
309
+ EOF
310
+
311
+ - name : Select tutorials to run (scaled_dot)
312
+ if : matrix.suite == 'scaled_dot'
313
+ run : |
314
+ cat <<EOF | tee tutorials.txt
315
+ 08-grouped-gemm
316
+ 10-experimental-block-pointer
317
+ EOF
318
+
319
+ - name : Select tutorials to run (rest)
303
320
if : matrix.suite == 'rest'
304
321
run : |
305
- ${{ env.TRITON_TEST_CMD }} --tutorial
322
+ cat <<EOF | tee tutorials.txt
323
+ 10i-experimental-block-pointer
324
+ 03-matrix-multiplication
325
+ 03i-matrix-multiplication
326
+ 05-layer-norm
327
+ 02-fused-softmax
328
+ 04-low-memory-dropout
329
+ 01-vector-add
330
+ 07-extern-functions
331
+ EOF
332
+
333
+ - name : Run Tutorials
334
+ if : matrix.suite == 'mxfp' || matrix.suite == 'scaled_dot' || matrix.suite == 'rest'
335
+ run : |
336
+ ${{ env.TRITON_TEST_CMD }} --select-from-file tutorials.txt --tutorial
306
337
307
338
- name : Get transformers version
308
339
if : matrix.suite == 'rest'
Original file line number Diff line number Diff line change @@ -59,6 +59,10 @@ pytest() {
59
59
}
60
60
61
61
run_tutorial_test () {
62
+ if [[ -v TRITON_TEST_SELECTFILE ]] && ! grep -qF " $1 " " $TRITON_TEST_SELECTFILE " ; then
63
+ return
64
+ fi
65
+
62
66
echo
63
67
echo " ****** Running $1 test ******"
64
68
echo
You can’t perform that action at this time.
0 commit comments