Skip to content

Commit 2a20ab1

Browse files
committed
Added missing backend-build-files
1 parent 37fb19c commit 2a20ab1

10 files changed

+163
-0
lines changed
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<package>
3+
<metadata>
4+
<id>StableDifffusion.NET.Backend.Cpu</id>
5+
<version>$version$</version>
6+
<title>StableDifffusion.NET.Backend.Cpu</title>
7+
<authors>Darth Affe &amp; stable-diffusion.cpp Authors</authors>
8+
<requireLicenseAcceptance>false</requireLicenseAcceptance>
9+
<license type="expression">MIT</license>
10+
<icon>sd_net_cpu.png</icon>
11+
<projectUrl>https://github.com/DarthAffe/StableDiffusion.NET</projectUrl>
12+
<description>CPU-Backend for StableDiffusion.NET.</description>
13+
<releaseNotes></releaseNotes>
14+
<copyright>Copyright © Darth Affe 2024</copyright>
15+
<readme>readme.md</readme>
16+
</metadata>
17+
18+
<files>
19+
<file src="StableDiffusion.NET.Backend.props" target="build/net8.0/StableDiffusion.NET.Backend.Cpu.props" />
20+
21+
<file src="windows-noavx/stable-diffusion.dll" target="runtimes\win-x64\native\stable-diffusion.dll" />
22+
<file src="windows-avx/stable-diffusion.dll" target="runtimes\win-x64\native\avx\stable-diffusion.dll" />
23+
<file src="windows-avx2/stable-diffusion.dll" target="runtimes\win-x64\native\avx2\stable-diffusion.dll" />
24+
<file src="windows-avx512/stable-diffusion.dll" target="runtimes\win-x64\native\avx512\stable-diffusion.dll" />
25+
26+
<file src="linux-noavx/libstable-diffusion.so" target="runtimes\linux-x64\native\libstable-diffusion.so" />
27+
<file src="linux-avx/libstable-diffusion.so" target="runtimes\linux-x64\native\avx\libstable-diffusion.so" />
28+
<file src="linux-avx2/libstable-diffusion.so" target="runtimes\linux-x64\native\avx2\libstable-diffusion.so" />
29+
<file src="linux-avx512/libstable-diffusion.so" target="runtimes\linux-x64\native\avx512\libstable-diffusion.so" />
30+
31+
<file src="osx-noavx/libstable-diffusion.dylib" target="runtimes\osx-x64\native\libstable-diffusion.dylib" />
32+
<file src="osx-avx/libstable-diffusion.dylib" target="runtimes\osx-x64\native\avx\libstable-diffusion.dylib" />
33+
<file src="osx-avx2/libstable-diffusion.dylib" target="runtimes\osx-x64\native\avx2\libstable-diffusion.dylib" />
34+
<file src="osx-avx512/libstable-diffusion.dylib" target="runtimes\osx-x64\native\avx512\libstable-diffusion.dylib" />
35+
36+
<file src="sd_net_cpu.png" target="sd_net_cpu.png" />
37+
<file src="readme.md" target="readme.md" />
38+
<file src="ggml.txt" target="ggml.txt" />
39+
<file src="stable-diffusion.cpp.txt" target="stable-diffusion.cpp.txt" />
40+
</files>
41+
</package>
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<package>
3+
<metadata>
4+
<id>StableDifffusion.NET.Backend.Cuda</id>
5+
<version>$version$</version>
6+
<title>StableDifffusion.NET.Backend.Cuda</title>
7+
<authors>Darth Affe &amp; stable-diffusion.cpp Authors</authors>
8+
<requireLicenseAcceptance>false</requireLicenseAcceptance>
9+
<license type="expression">MIT</license>
10+
<icon>sd_net_cuda.png</icon>
11+
<projectUrl>https://github.com/DarthAffe/StableDiffusion.NET</projectUrl>
12+
<description>CUDA-Backend (11 and 12) for StableDiffusion.NET.</description>
13+
<releaseNotes></releaseNotes>
14+
<copyright>Copyright © Darth Affe 2024</copyright>
15+
<readme>readme.md</readme>
16+
</metadata>
17+
18+
<files>
19+
<file src="StableDiffusion.NET.Backend.props" target="build/net8.0/StableDiffusion.NET.Backend.Cuda.props" />
20+
21+
<file src="windows-cuda11/stable-diffusion.dll" target="runtimes\win-x64\native\cuda11\stable-diffusion.dll" />
22+
<file src="windows-cuda12/stable-diffusion.dll" target="runtimes\win-x64\native\cuda12\stable-diffusion.dll" />
23+
24+
<file src="linux-cuda11/libstable-diffusion.so" target="runtimes\linux-x64\native\cuda11\libstable-diffusion.so" />
25+
<file src="linux-cuda12/libstable-diffusion.so" target="runtimes\linux-x64\native\cuda12\libstable-diffusion.so" />
26+
27+
<file src="sd_net_cuda.png" target="sd_net_cuda.png" />
28+
<file src="readme.md" target="readme.md" />
29+
<file src="ggml.txt" target="ggml.txt" />
30+
<file src="stable-diffusion.cpp.txt" target="stable-diffusion.cpp.txt" />
31+
</files>
32+
</package>
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<package>
3+
<metadata>
4+
<id>StableDifffusion.NET.Backend.Rocm</id>
5+
<version>$version$</version>
6+
<title>StableDifffusion.NET.Backend.Rocm</title>
7+
<authors>Darth Affe &amp; stable-diffusion.cpp Authors</authors>
8+
<requireLicenseAcceptance>false</requireLicenseAcceptance>
9+
<license type="expression">MIT</license>
10+
<icon>sd_net_rocm.png</icon>
11+
<projectUrl>https://github.com/DarthAffe/StableDiffusion.NET</projectUrl>
12+
<description>ROCm-Backend for StableDiffusion.NET.</description>
13+
<releaseNotes></releaseNotes>
14+
<copyright>Copyright © Darth Affe 2024</copyright>
15+
<readme>readme.md</readme>
16+
</metadata>
17+
18+
<files>
19+
<file src="StableDiffusion.NET.Backend.props" target="build/net8.0/StableDiffusion.NET.Backend.Rocm.props" />
20+
21+
<file src="windows-rocm5/stable-diffusion.dll" target="runtimes\win-x64\native\rocm5\stable-diffusion.dll" />
22+
23+
<file src="linux-rocm6/libstable-diffusion.so" target="runtimes\linux-x64\native\rocm6\libstable-diffusion.so" />
24+
25+
<file src="sd_net_rocm.png" target="sd_net_rocm.png" />
26+
<file src="readme.md" target="readme.md" />
27+
<file src="ggml.txt" target="ggml.txt" />
28+
<file src="stable-diffusion.cpp.txt" target="stable-diffusion.cpp.txt" />
29+
</files>
30+
</package>
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
2+
3+
<!--
4+
NuGet packages.config doesn't support native assemblies automatically,
5+
so copy the native assemblies to the output directory.
6+
-->
7+
<ItemGroup Condition="Exists('packages.config') OR
8+
Exists('$(MSBuildProjectName).packages.config') OR
9+
Exists('packages.$(MSBuildProjectName).config')">
10+
<Content Include="$(MSBuildThisFileDirectory)\..\..\runtimes\**\*.*">
11+
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
12+
<Visible>false</Visible>
13+
<Link>%(RecursiveDir)%(Filename)%(Extension)</Link>
14+
</Content>
15+
</ItemGroup>
16+
17+
</Project>

Backends/ggml.txt

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2022 Georgi Gerganov
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

Backends/readme.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
This is a backend to be used with [StableDiffusion.NET](https://www.nuget.org/packages/StableDiffusion.NET).

Backends/sd_net_cpu.png

353 KB
Loading

Backends/sd_net_cuda.png

319 KB
Loading

Backends/sd_net_rocm.png

336 KB
Loading

Backends/stable-diffusion.cpp.txt

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2023 leejet
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

0 commit comments

Comments
 (0)