@@ -111,52 +111,6 @@ jobs:
111111 name : windows-cuda12
112112 path : .\build\bin\Release\stable-diffusion.dll
113113
114- windows-sycl :
115- runs-on : windows-latest
116-
117- defaults :
118- run :
119- shell : bash
120-
121- env :
122- WINDOWS_BASEKIT_URL : https://registrationcenter-download.intel.com/akdlm/IRC_NAS/b380d914-366b-4b77-a74a-05e3c38b3514/intel-oneapi-base-toolkit-2025.0.0.882_offline.exe
123- WINDOWS_DPCPP_MKL : intel.oneapi.win.cpp-dpcpp-common:intel.oneapi.win.mkl.devel:intel.oneapi.win.dnnl:intel.oneapi.win.tbb.devel
124- ONEAPI_ROOT : " C:/Program Files (x86)/Intel/oneAPI"
125-
126- steps :
127- - name : Checkout
128- id : checkout
129- 130- with :
131- repository : ' leejet/stable-diffusion.cpp'
132- ref : ' ${{ github.event.inputs.commit }}'
133- submodules : recursive
134-
135- - name : Checkout Install Script
136- id : checkoutInstallScript
137- 138- with :
139- path : scripts
140- sparse-checkout : |
141- Backends/install-oneapi.bat
142- Backends/win-build-sycl.bat
143- sparse-checkout-cone-mode : false
144-
145- - name : Install Sycl tools
146- id : installSyclCompiler
147- run : scripts/Backends/install-oneapi.bat $WINDOWS_BASEKIT_URL $WINDOWS_DPCPP_MKL
148-
149- - name : Build
150- id : cmake_build
151- run : scripts/Backends/win-build-sycl.bat
152-
153- - name : Upload artifact
154- id : upload_artifact
155- 156- with :
157- name : windows-sycl
158- path : .\build\bin\stable-diffusion.dll
159-
160114 windows-hip :
161115 runs-on : windows-latest
162116
@@ -166,14 +120,20 @@ jobs:
166120 run : |
167121 $ErrorActionPreference = "Stop"
168122 write-host "Downloading AMD HIP SDK Installer"
169- Invoke-WebRequest -Uri "https://download.amd.com/developer/eula/rocm-hub/AMD-Software-PRO-Edition-24.Q4 -WinSvr2022-For-HIP.exe" -OutFile "${env:RUNNER_TEMP}\rocm-install.exe"
123+ Invoke-WebRequest -Uri "https://download.amd.com/developer/eula/rocm-hub/AMD-Software-PRO-Edition-25.Q3 -WinSvr2022-For-HIP.exe" -OutFile "${env:RUNNER_TEMP}\rocm-install.exe"
170124 write-host "Installing AMD HIP SDK"
171125 Start-Process "${env:RUNNER_TEMP}\rocm-install.exe" -ArgumentList '-install' -NoNewWindow -Wait
172126 write-host "Completed AMD HIP SDK installation"
173127 - name : Verify ROCm
174128 id : verify
175129 run : |
176- & 'C:\Program Files\AMD\ROCm\*\bin\clang.exe' --version
130+ # Find and test ROCm installation
131+ $clangPath = Get-ChildItem 'C:\Program Files\AMD\ROCm\*\bin\clang.exe' | Select-Object -First 1
132+ if (-not $clangPath) {
133+ Write-Error "ROCm installation not found"
134+ exit 1
135+ }
136+ & $clangPath.FullName --version
177137
178138 - name : Checkout
179139 id : checkout
@@ -204,7 +164,7 @@ jobs:
204164 runs-on : windows-latest
205165
206166 env :
207- VULKAN_VERSION : 1.3.261 .1
167+ VULKAN_VERSION : 1.4.328 .1
208168
209169 steps :
210170 - name : Checkout
@@ -218,7 +178,7 @@ jobs:
218178 - name : Install Vulkan SDK
219179 id : get_vulkan
220180 run : |
221- curl.exe -o $env:RUNNER_TEMP/VulkanSDK-Installer.exe -L "https://sdk.lunarg.com/sdk/download/${env:VULKAN_VERSION}/windows/VulkanSDK- ${env:VULKAN_VERSION}-Installer .exe"
181+ curl.exe -o $env:RUNNER_TEMP/VulkanSDK-Installer.exe -L "https://sdk.lunarg.com/sdk/download/${env:VULKAN_VERSION}/windows/vulkansdk-windows-X64- ${env:VULKAN_VERSION}.exe"
222182 & "$env:RUNNER_TEMP\VulkanSDK-Installer.exe" --accept-licenses --default-answer --confirm-command install
223183 Add-Content $env:GITHUB_ENV "VULKAN_SDK=C:\VulkanSDK\${env:VULKAN_VERSION}"
224184 Add-Content $env:GITHUB_PATH "C:\VulkanSDK\${env:VULKAN_VERSION}\bin"
@@ -354,7 +314,7 @@ jobs:
354314
355315 linux-hip :
356316 runs-on : ubuntu-22.04
357- container : rocm/dev-ubuntu-22.04:6.0.2
317+ container : rocm/dev-ubuntu-22.04:6.4.4
358318
359319 steps :
360320 - name : Dependencies
0 commit comments