From 83f04892adb7411baa9e3ce41aa3b74420a0e9cc Mon Sep 17 00:00:00 2001 From: Darth Affe Date: Thu, 1 Aug 2024 22:43:10 +0200 Subject: [PATCH 1/2] Splitted CUDA-backend to prevent them hitting the nuget size limit --- .../StableDiffusion.NET.Backend.Cuda.nuspec | 17 +++++------ ...eDiffusion.NET.Backend.Cuda11.Linux.nuspec | 28 +++++++++++++++++++ ...iffusion.NET.Backend.Cuda11.Windows.nuspec | 28 +++++++++++++++++++ ...eDiffusion.NET.Backend.Cuda12.Linux.nuspec | 28 +++++++++++++++++++ ...iffusion.NET.Backend.Cuda12.Windows.nuspec | 28 +++++++++++++++++++ 5 files changed, 119 insertions(+), 10 deletions(-) create mode 100644 Backends/StableDiffusion.NET.Backend.Cuda11.Linux.nuspec create mode 100644 Backends/StableDiffusion.NET.Backend.Cuda11.Windows.nuspec create mode 100644 Backends/StableDiffusion.NET.Backend.Cuda12.Linux.nuspec create mode 100644 Backends/StableDiffusion.NET.Backend.Cuda12.Windows.nuspec diff --git a/Backends/StableDiffusion.NET.Backend.Cuda.nuspec b/Backends/StableDiffusion.NET.Backend.Cuda.nuspec index c4405f3..08c3c63 100644 --- a/Backends/StableDiffusion.NET.Backend.Cuda.nuspec +++ b/Backends/StableDiffusion.NET.Backend.Cuda.nuspec @@ -13,20 +13,17 @@ Copyright © Darth Affe 2024 readme.md + + + + + + + - - - - - - - - - - diff --git a/Backends/StableDiffusion.NET.Backend.Cuda11.Linux.nuspec b/Backends/StableDiffusion.NET.Backend.Cuda11.Linux.nuspec new file mode 100644 index 0000000..af81315 --- /dev/null +++ b/Backends/StableDiffusion.NET.Backend.Cuda11.Linux.nuspec @@ -0,0 +1,28 @@ + + + + StableDiffusion.NET.Backend.Cuda11.Linux + $version$ + StableDiffusion.NET.Backend.Cuda11.Linux + Darth Affe & stable-diffusion.cpp Authors + false + MIT + sd_net_cuda.png + https://github.com/DarthAffe/StableDiffusion.NET + CUDA 11 Linux Backend for StableDiffusion.NET. + + Copyright © Darth Affe 2024 + readme.md + + + + + + + + + + + + + diff --git a/Backends/StableDiffusion.NET.Backend.Cuda11.Windows.nuspec b/Backends/StableDiffusion.NET.Backend.Cuda11.Windows.nuspec new file mode 100644 index 0000000..1421635 --- /dev/null +++ b/Backends/StableDiffusion.NET.Backend.Cuda11.Windows.nuspec @@ -0,0 +1,28 @@ + + + + StableDiffusion.NET.Backend.Cuda11.Windows + $version$ + StableDiffusion.NET.Backend.Cuda11.Windows + Darth Affe & stable-diffusion.cpp Authors + false + MIT + sd_net_cuda.png + https://github.com/DarthAffe/StableDiffusion.NET + CUDA 11 Windows Backend for StableDiffusion.NET. + + Copyright © Darth Affe 2024 + readme.md + + + + + + + + + + + + + diff --git a/Backends/StableDiffusion.NET.Backend.Cuda12.Linux.nuspec b/Backends/StableDiffusion.NET.Backend.Cuda12.Linux.nuspec new file mode 100644 index 0000000..2ee03dc --- /dev/null +++ b/Backends/StableDiffusion.NET.Backend.Cuda12.Linux.nuspec @@ -0,0 +1,28 @@ + + + + StableDiffusion.NET.Backend.Cuda12.Linux + $version$ + StableDiffusion.NET.Backend.Cuda12.Linux + Darth Affe & stable-diffusion.cpp Authors + false + MIT + sd_net_cuda.png + https://github.com/DarthAffe/StableDiffusion.NET + CUDA 12 Linux Backend for StableDiffusion.NET. + + Copyright © Darth Affe 2024 + readme.md + + + + + + + + + + + + + diff --git a/Backends/StableDiffusion.NET.Backend.Cuda12.Windows.nuspec b/Backends/StableDiffusion.NET.Backend.Cuda12.Windows.nuspec new file mode 100644 index 0000000..8d89f5f --- /dev/null +++ b/Backends/StableDiffusion.NET.Backend.Cuda12.Windows.nuspec @@ -0,0 +1,28 @@ + + + + StableDiffusion.NET.Backend.Cuda12.Windows + $version$ + StableDiffusion.NET.Backend.Cuda12.Windows + Darth Affe & stable-diffusion.cpp Authors + false + MIT + sd_net_cuda.png + https://github.com/DarthAffe/StableDiffusion.NET + CUDA 12 Windows Backend for StableDiffusion.NET. + + Copyright © Darth Affe 2024 + readme.md + + + + + + + + + + + + + From 5941b20c0afea71d1f5d6e487464b1c2d3dcb9d5 Mon Sep 17 00:00:00 2001 From: Darth Affe Date: Thu, 1 Aug 2024 22:45:10 +0200 Subject: [PATCH 2/2] Added new CUDA-nugets to backends-workflow --- .github/workflows/backends.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/backends.yml b/.github/workflows/backends.yml index 41b2c96..44b75d3 100644 --- a/.github/workflows/backends.yml +++ b/.github/workflows/backends.yml @@ -270,6 +270,10 @@ jobs: id: pack run: | nuget pack ./Backends/StableDiffusion.NET.Backend.Cpu.nuspec -version ${{ github.event.inputs.version }} + nuget pack ./Backends/StableDiffusion.NET.Backend.Cuda11.Windows.nuspec -version ${{ github.event.inputs.version }} + nuget pack ./Backends/StableDiffusion.NET.Backend.Cuda12.Windows.nuspec -version ${{ github.event.inputs.version }} + nuget pack ./Backends/StableDiffusion.NET.Backend.Cuda11.Linux.nuspec -version ${{ github.event.inputs.version }} + nuget pack ./Backends/StableDiffusion.NET.Backend.Cuda12.Linux.nuspec -version ${{ github.event.inputs.version }} nuget pack ./Backends/StableDiffusion.NET.Backend.Cuda.nuspec -version ${{ github.event.inputs.version }} nuget pack ./Backends/StableDiffusion.NET.Backend.Rocm.nuspec -version ${{ github.event.inputs.version }}