Skip to content

Commit e155ac6

Browse files
.github/workflows/windows-ort.yml: disable cpu check
1 parent 4441b94 commit e155ac6

1 file changed

Lines changed: 22 additions & 7 deletions

File tree

.github/workflows/windows-ort.yml

Lines changed: 22 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ jobs:
9090
9191
- name: Download ONNX Runtime Precompilation
9292
run: |
93-
curl -s -o ortgpu.zip -LJO https://github.com/AmusementClub/onnxruntime/releases/download/orttraining_rc2-8036-geb41d57f21-240425-0428/onnxruntime-gpu-win64.zip
93+
curl -s -o ortgpu.zip -LJO https://github.com/AmusementClub/onnxruntime/releases/download/orttraining_rc2-10488-g4754a1d64e-250830-1356/onnxruntime-gpu-win64.zip
9494
unzip -q ortgpu.zip
9595
9696
- name: Restore cached CUDA
@@ -151,37 +151,50 @@ jobs:
151151
name: VSORT-Windows-x64
152152
path: vsort/artifact
153153

154+
- name: Describe
155+
run: git describe --tags --long
156+
157+
- name: Dump dependencies
158+
run: dumpbin /dependents artifact\vsort.dll
159+
154160
- name: Setup Python portable
161+
if: false
155162
run: |
156163
curl -s -o python.zip -LJO https://www.python.org/ftp/python/3.9.10/python-3.9.10-embed-amd64.zip
157164
7z x python.zip -ovs_portable
158165
159166
- name: Install VapourSynth portable
167+
if: false
160168
run: |
161169
curl -s -o vs.7z -LJO https://github.com/vapoursynth/vapoursynth/releases/download/R54/VapourSynth64-Portable-R54.7z
162170
7z x vs.7z -ovs_portable -y
163171
164172
- name: Copy plugin
173+
if: false
165174
run: |
166175
copy artifact\*.dll vs_portable\vapoursynth64\plugins
167176
mkdir vs_portable\vapoursynth64\plugins\vsort\
168177
copy artifact\vsort\*.dll vs_portable\vapoursynth64\plugins\vsort\
169178
170179
- name: Install waifu2x model
180+
if: false
171181
run: |
172182
curl -s -o waifu2x.7z -LJO https://github.com/AmusementClub/vs-mlrt/releases/download/model-20211209/waifu2x_v3.7z
173183
7z x waifu2x.7z -ovs_portable\vapoursynth64\plugins\models
174184
175185
- name: Download x265
186+
if: false
176187
run: |
177188
curl -s -o x265.7z -LJO https://github.com/AmusementClub/x265/releases/download/Yuuki-3.5-AC3/x265-win64-x86-64-clang.Yuuki-3.5-AC3.7z
178189
7z x x265.7z -ovs_portable\
179190
180191
- name: Create script
192+
if: false
181193
shell: bash
182194
run: echo "import vapoursynth as vs;from vapoursynth import core;import sys;print(core.ort, file=sys.stderr);print(core.ort.Version(),file=sys.stderr);core.std.BlankClip(format=vs.RGBS).ort.Model(r\"waifu2x\\upconv_7_anime_style_art_rgb\\scale2.0x_model.onnx\", builtin=True).resize.Bicubic(format=vs.YUV420P10, matrix_s='709').set_output()" > test.vpy
183195

184196
- name: Run vspipe
197+
if: false
185198
shell: bash
186199
run: |
187200
set -ex
@@ -194,10 +207,12 @@ jobs:
194207
exit 0
195208
196209
- name: Create script (fp16)
210+
if: false
197211
shell: bash
198212
run: echo "import vapoursynth as vs;from vapoursynth import core;import sys;print(core.ort, file=sys.stderr);core.std.BlankClip(format=vs.RGBS).ort.Model(r\"waifu2x\\upconv_7_anime_style_art_rgb\\scale2.0x_model.onnx\", builtin=True, fp16=True).resize.Bicubic(format=vs.YUV420P10, matrix_s='709').set_output()" > test_fp16.vpy
199213

200214
- name: Run vspipe (fp16)
215+
if: false
201216
shell: bash
202217
run: |
203218
set -ex
@@ -210,10 +225,12 @@ jobs:
210225
exit 0
211226
212227
- name: Create script (fp16 input)
228+
if: false
213229
shell: bash
214230
run: echo "import vapoursynth as vs;from vapoursynth import core;import sys;print(core.ort, file=sys.stderr);flt=core.std.BlankClip(format=vs.RGBH).ort.Model(r\"waifu2x\\upconv_7_anime_style_art_rgb\\scale2.0x_model.onnx\", builtin=True, fp16=True);print(flt,file=sys.stderr);flt.resize.Bicubic(format=vs.YUV420P10, matrix_s='709').set_output()" > test_fp16_input.vpy
215231

216232
- name: Run vspipe (fp16 input)
233+
if: false
217234
shell: bash
218235
run: |
219236
set -ex
@@ -226,10 +243,12 @@ jobs:
226243
exit 0
227244
228245
- name: Create script (fp16 output)
246+
if: false
229247
shell: bash
230248
run: echo "import vapoursynth as vs;from vapoursynth import core;import sys;print(core.ort, file=sys.stderr);flt=core.std.BlankClip(format=vs.RGBS).ort.Model(r\"waifu2x\\upconv_7_anime_style_art_rgb\\scale2.0x_model.onnx\", builtin=True, fp16=True, output_format=1);print(flt,file=sys.stderr);flt.resize.Bicubic(format=vs.YUV420P10, matrix_s='709').set_output()" > test_fp16_output.vpy
231249

232250
- name: Run vspipe (fp16 output)
251+
if: false
233252
shell: bash
234253
run: |
235254
set -ex
@@ -242,10 +261,12 @@ jobs:
242261
exit 0
243262
244263
- name: Create script (flexible output)
264+
if: false
245265
shell: bash
246266
run: echo "import vapoursynth as vs;from vapoursynth import core;import sys;print(core.ort, file=sys.stderr);print(core.ort.Version(),file=sys.stderr);prop='test';output=core.std.BlankClip(format=vs.RGBS).ort.Model(r\"waifu2x\\upconv_7_anime_style_art_rgb\\scale2.0x_model.onnx\", builtin=True, flexible_output_prop=prop);core.std.ShufflePlanes([output['clip'].std.PropToClip(prop=f'{prop}{i}') for i in range(output['num_planes'])], [0, 0, 0], vs.RGB).resize.Bicubic(format=vs.YUV420P10, matrix_s='709').set_output()" > test_flexible_output.vpy
247267

248268
- name: Run vspipe (flexible output)
269+
if: false
249270
shell: bash
250271
run: |
251272
set -ex
@@ -257,12 +278,6 @@ jobs:
257278
grep -i 'error' x265.log && exit 1
258279
exit 0
259280
260-
- name: Describe
261-
run: git describe --tags --long
262-
263-
- name: Dump dependencies
264-
run: dumpbin /dependents artifact\vsort.dll
265-
266281
- name: Compress artifact for release
267282
if: github.event_name == 'workflow_dispatch' && github.event.inputs.tag != ''
268283
run: |

0 commit comments

Comments
 (0)