29
29
strategy :
30
30
fail-fast : true
31
31
matrix :
32
- os : [icelake, a100, MacStudio, ubuntu-latest]
32
+ os : [7950x, icelake, a100, MacStudio, ubuntu-latest]
33
33
suite : [cpu,cuda,vulkan]
34
34
python-version : ["3.10"]
35
35
include :
@@ -52,13 +52,19 @@ jobs:
52
52
suite : cuda
53
53
- os : a100
54
54
suite : cpu
55
+ - os : 7950x
56
+ suite : cpu
57
+ - os : 7950x
58
+ suite : cuda
55
59
56
60
runs-on : ${{ matrix.os }}
57
61
58
62
steps :
59
63
- uses : actions/checkout@v3
64
+ if : matrix.os != '7950x'
60
65
61
66
- name : Set Environment Variables
67
+ if : matrix.os != '7950x'
62
68
run : |
63
69
echo "SHORT_SHA=`git rev-parse --short=4 HEAD`" >> $GITHUB_ENV
64
70
echo "DATE=$(date +'%Y-%m-%d')" >> $GITHUB_ENV
78
84
# cache-dependency-path: |
79
85
# **/requirements-importer.txt
80
86
# **/requirements.txt
87
+
88
+ - uses : actions/checkout@v2
89
+ if : matrix.os == '7950x'
81
90
82
91
- name : Install dependencies
83
92
if : matrix.suite == 'lint'
@@ -130,10 +139,17 @@ jobs:
130
139
pytest --ci --ci_sha=${SHORT_SHA} --local_tank_cache="/Volumes/builder/anush/shark_cache" -k vulkan --update_tank
131
140
132
141
- name : Validate Vulkan Models (a100)
133
- if : matrix.suite == 'vulkan' && matrix.os != 'MacStudio '
142
+ if : matrix.suite == 'vulkan' && matrix.os == 'a100 '
134
143
run : |
135
144
cd $GITHUB_WORKSPACE
136
145
PYTHON=python${{ matrix.python-version }} ./setup_venv.sh
137
146
source shark.venv/bin/activate
138
147
pytest --forked --benchmark --ci --ci_sha=${SHORT_SHA} --local_tank_cache="${GITHUB_WORKSPACE}/shark_tmp/shark_cache" -k vulkan
139
148
python build_tools/stable_diffusion_testing.py --device=vulkan
149
+
150
+
151
+ - name : Validate Stable Diffusion Models (Windows)
152
+ if : matrix.suite == 'vulkan' && matrix.os == '7950x'
153
+ run : |
154
+ ./setup_venv.ps1
155
+ python build_tools/stable_diffusion_testing.py --device=vulkan
0 commit comments