@@ -29,12 +29,13 @@ jobs:
29
29
os : ["ubuntu-22.04", "macOS-14", "windows-2022"]
30
30
python-version : ["3.10"]
31
31
requires : ["latest", "nightly"] # , 'oldest'
32
- suite : ["core", "ops"]
32
+ suite : ["core", "ops", "grads" ]
33
33
include :
34
34
- { os: "ubuntu-22.04", python-version: "3.11", requires: "latest" }
35
35
- { os: "ubuntu-22.04", python-version: "3.12", requires: "latest" }
36
36
exclude :
37
37
- { os: "windows-2022", suite: "ops" }
38
+ - { os: "windows-2022", suite: "grads" }
38
39
39
40
# Timeout: https://stackoverflow.com/a/59076067/4521646
40
41
timeout-minutes : 35
@@ -118,7 +119,16 @@ jobs:
118
119
if : matrix.python-version == '3.10' && matrix.suite == 'ops' && runner.os != 'Windows'
119
120
run : |
120
121
coverage run --source thunder -m \
121
- pytest thunder/tests/test_ops.py thunder/tests/test_grad.py \
122
+ pytest thunder/tests/test_ops.py \
123
+ -v --datefmt="%Y%m%d-%H:%M:%S.%f" \
124
+ --random-order-seed=$GITHUB_RUN_ID \
125
+ -n 4 --durations=250
126
+
127
+ - name : Testing Grads
128
+ if : matrix.python-version == '3.10' && matrix.suite == 'grads' && runner.os != 'Windows'
129
+ run : |
130
+ coverage run --source thunder -m \
131
+ pytest thunder/tests/test_grad.py \
122
132
-v --datefmt="%Y%m%d-%H:%M:%S.%f" \
123
133
--random-order-seed=$GITHUB_RUN_ID \
124
134
-n 4 --durations=250
@@ -129,7 +139,7 @@ jobs:
129
139
run : |
130
140
python -m pytest \
131
141
thunder/tests/test_interpreter.py \
132
- -v --durations=50 --cov=thunder
142
+ -v -n 4 - -durations=50 --cov=thunder
133
143
python -m pytest thunder/tests/test_jit_general.py -v --durations=50 --cov=thunder
134
144
135
145
- name : Statistics
0 commit comments