Skip to content

Commit d169959

Browse files
.github/workflows/windows-ort.yml: upgrade to ort 1.23.0 and cuda 12.9.1
1 parent d4eee50 commit d169959

1 file changed

Lines changed: 12 additions & 11 deletions

File tree

.github/workflows/windows-ort.yml

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ on:
2020

2121
jobs:
2222
build-windows:
23-
runs-on: windows-2022
23+
runs-on: windows-2025
2424

2525
defaults:
2626
run:
@@ -44,7 +44,7 @@ jobs:
4444
uses: actions/cache@v4
4545
with:
4646
path: vsort/protobuf/install
47-
key: ${{ runner.os }}-vsort-protobuf-v4
47+
key: ${{ runner.os }}-vsort-protobuf-v5
4848

4949
- name: Checkout protobuf
5050
uses: actions/checkout@v4
@@ -53,9 +53,10 @@ jobs:
5353
repository: protocolbuffers/protobuf
5454
# follows protobuf in https://github.com/AmusementClub/onnxruntime/blob/master/cmake/external/onnxruntime_external_deps.cmake#L203
5555
# if you change this, remember to bump the version of the cache key.
56-
ref: v3.21.12
56+
ref: v5.29.2
5757
fetch-depth: 1
5858
path: vsort/protobuf
59+
submodules: 'recursive'
5960

6061
- name: Configure protobuf
6162
if: steps.cache-protobuf.outputs.cache-hit != 'true'
@@ -76,7 +77,7 @@ jobs:
7677
uses: actions/cache@v4
7778
with:
7879
path: vsort/onnx/install
79-
key: ${{ runner.os }}-vsort-onnx-v5
80+
key: ${{ runner.os }}-vsort-onnx-v6
8081

8182
- name: Checkout onnx
8283
if: steps.cache-onnx.outputs.cache-hit != 'true'
@@ -85,7 +86,7 @@ jobs:
8586
repository: onnx/onnx
8687
# follows onnx in https://github.com/AmusementClub/onnxruntime/tree/master/cmake/external
8788
# if you change this, remember to bump the version of the cache key.
88-
ref: 990217f043af7222348ca8f0301e17fa7b841781
89+
ref: v1.19.0
8990
fetch-depth: 1
9091
path: vsort/onnx
9192

@@ -116,21 +117,21 @@ jobs:
116117
117118
- name: Download ONNX Runtime Precompilation
118119
run: |
119-
curl -s -o ortgpu.zip -LJO https://github.com/AmusementClub/onnxruntime/releases/download/orttraining_rc2-8036-geb41d57f21-240425-0428/onnxruntime-gpu-win64.zip
120+
curl -s -o ortgpu.zip -LJO https://github.com/AmusementClub/onnxruntime/releases/download/orttraining_rc2-10488-g4754a1d64e-250830-1356/onnxruntime-gpu-win64.zip
120121
unzip -q ortgpu.zip
121122
122123
- name: Cache CUDA
123124
id: cache-cuda
124125
uses: actions/cache@v4
125126
with:
126127
path: C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA
127-
key: ${{ runner.os }}-cuda-12.4.1
128+
key: ${{ runner.os }}-cuda-12.9.1
128129

129130
- name: Setup CUDA
130131
if: steps.cache-cuda.outputs.cache-hit != 'true'
131132
run: |
132-
curl -s -o cuda_installer.exe -L https://developer.download.nvidia.com/compute/cuda/12.4.1/network_installers/cuda_12.4.1_windows_network.exe
133-
cuda_installer.exe -s nvcc_12.4 cudart_12.4
133+
curl -s -o cuda_installer.exe -L https://developer.download.nvidia.com/compute/cuda/12.9.1/network_installers/cuda_12.9.1_windows_network.exe
134+
cuda_installer.exe -s nvcc_12.9 cudart_12.9
134135
135136
- name: Configure
136137
run: cmake -S . -B build -G Ninja -LA
@@ -142,7 +143,7 @@ jobs:
142143
-D ONNX_RUNTIME_API_DIRECTORY=onnxruntime-gpu\include\onnxruntime
143144
-D ONNX_RUNTIME_LIB_DIRECTORY=onnxruntime-gpu\lib
144145
-D ENABLE_CUDA=1
145-
-D CUDAToolkit_ROOT="C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.4"
146+
-D CUDAToolkit_ROOT="C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.9"
146147
-D ENABLE_DML=1
147148
-D CMAKE_CXX_STANDARD=20
148149

@@ -161,7 +162,7 @@ jobs:
161162
- name: Download DirectML Library
162163
# follows DirectML in https://github.com/AmusementClub/onnxruntime/blob/master/cmake/external/dml.cmake#L44
163164
run: |
164-
curl -s -o directml.nupkg -LJO https://www.nuget.org/api/v2/package/Microsoft.AI.DirectML/1.14.1
165+
curl -s -o directml.nupkg -LJO https://www.nuget.org/api/v2/package/Microsoft.AI.DirectML/1.15.4
165166
unzip -q directml.nupkg -d dml
166167
copy dml\bin\x64-win\DirectML.dll artifact\vsort\
167168

0 commit comments

Comments
 (0)