mirror of
https://github.com/DarthAffe/StableDiffusion.NET.git
synced 2026-03-24 02:08:49 +00:00
Fixed windows cuda build (again)
This commit is contained in:
parent
ef0ae35b84
commit
3fd33960ad
3
.github/workflows/backends.yml
vendored
3
.github/workflows/backends.yml
vendored
@ -66,7 +66,6 @@ jobs:
|
||||
|
||||
- name: Install cuda-toolkit
|
||||
id: cuda-toolkit
|
||||
if: ${{ matrix.build == 'cuda12' }}
|
||||
uses: Jimver/cuda-toolkit@v0.2.22
|
||||
with:
|
||||
cuda: "12.8.1"
|
||||
@ -80,7 +79,7 @@ jobs:
|
||||
mkdir build
|
||||
cd build
|
||||
call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvars64.bat"
|
||||
cmake .. -DSD_CUDA=ON -DCMAKE_CUDA_ARCHITECTURES="61;70;75;80;86;89;90;100;120" -DSD_BUILD_SHARED_LIBS=ON
|
||||
cmake .. -DSD_CUDA=ON -DCMAKE_CUDA_ARCHITECTURES="61;70;75;80;86;89;90;100;120" -DSD_BUILD_SHARED_LIBS=ON -DCMAKE_CUDA_FLAGS='-Xcudafe "--diag_suppress=177" -Xcudafe "--diag_suppress=550"'
|
||||
cmake --build . --config Release
|
||||
|
||||
- name: Upload artifact
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user