mirror of
https://github.com/DarthAffe/StableDiffusion.NET.git
synced 2025-12-12 13:28:35 +00:00
Added missing backend-build-files
This commit is contained in:
parent
37fb19c90c
commit
2a20ab1d4b
41
Backends/StableDiffusion.NET.Backend.Cpu.nuspec
Normal file
41
Backends/StableDiffusion.NET.Backend.Cpu.nuspec
Normal file
@ -0,0 +1,41 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<package>
|
||||
<metadata>
|
||||
<id>StableDifffusion.NET.Backend.Cpu</id>
|
||||
<version>$version$</version>
|
||||
<title>StableDifffusion.NET.Backend.Cpu</title>
|
||||
<authors>Darth Affe & stable-diffusion.cpp Authors</authors>
|
||||
<requireLicenseAcceptance>false</requireLicenseAcceptance>
|
||||
<license type="expression">MIT</license>
|
||||
<icon>sd_net_cpu.png</icon>
|
||||
<projectUrl>https://github.com/DarthAffe/StableDiffusion.NET</projectUrl>
|
||||
<description>CPU-Backend for StableDiffusion.NET.</description>
|
||||
<releaseNotes></releaseNotes>
|
||||
<copyright>Copyright © Darth Affe 2024</copyright>
|
||||
<readme>readme.md</readme>
|
||||
</metadata>
|
||||
|
||||
<files>
|
||||
<file src="StableDiffusion.NET.Backend.props" target="build/net8.0/StableDiffusion.NET.Backend.Cpu.props" />
|
||||
|
||||
<file src="windows-noavx/stable-diffusion.dll" target="runtimes\win-x64\native\stable-diffusion.dll" />
|
||||
<file src="windows-avx/stable-diffusion.dll" target="runtimes\win-x64\native\avx\stable-diffusion.dll" />
|
||||
<file src="windows-avx2/stable-diffusion.dll" target="runtimes\win-x64\native\avx2\stable-diffusion.dll" />
|
||||
<file src="windows-avx512/stable-diffusion.dll" target="runtimes\win-x64\native\avx512\stable-diffusion.dll" />
|
||||
|
||||
<file src="linux-noavx/libstable-diffusion.so" target="runtimes\linux-x64\native\libstable-diffusion.so" />
|
||||
<file src="linux-avx/libstable-diffusion.so" target="runtimes\linux-x64\native\avx\libstable-diffusion.so" />
|
||||
<file src="linux-avx2/libstable-diffusion.so" target="runtimes\linux-x64\native\avx2\libstable-diffusion.so" />
|
||||
<file src="linux-avx512/libstable-diffusion.so" target="runtimes\linux-x64\native\avx512\libstable-diffusion.so" />
|
||||
|
||||
<file src="osx-noavx/libstable-diffusion.dylib" target="runtimes\osx-x64\native\libstable-diffusion.dylib" />
|
||||
<file src="osx-avx/libstable-diffusion.dylib" target="runtimes\osx-x64\native\avx\libstable-diffusion.dylib" />
|
||||
<file src="osx-avx2/libstable-diffusion.dylib" target="runtimes\osx-x64\native\avx2\libstable-diffusion.dylib" />
|
||||
<file src="osx-avx512/libstable-diffusion.dylib" target="runtimes\osx-x64\native\avx512\libstable-diffusion.dylib" />
|
||||
|
||||
<file src="sd_net_cpu.png" target="sd_net_cpu.png" />
|
||||
<file src="readme.md" target="readme.md" />
|
||||
<file src="ggml.txt" target="ggml.txt" />
|
||||
<file src="stable-diffusion.cpp.txt" target="stable-diffusion.cpp.txt" />
|
||||
</files>
|
||||
</package>
|
||||
32
Backends/StableDiffusion.NET.Backend.Cuda.nuspec
Normal file
32
Backends/StableDiffusion.NET.Backend.Cuda.nuspec
Normal file
@ -0,0 +1,32 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<package>
|
||||
<metadata>
|
||||
<id>StableDifffusion.NET.Backend.Cuda</id>
|
||||
<version>$version$</version>
|
||||
<title>StableDifffusion.NET.Backend.Cuda</title>
|
||||
<authors>Darth Affe & stable-diffusion.cpp Authors</authors>
|
||||
<requireLicenseAcceptance>false</requireLicenseAcceptance>
|
||||
<license type="expression">MIT</license>
|
||||
<icon>sd_net_cuda.png</icon>
|
||||
<projectUrl>https://github.com/DarthAffe/StableDiffusion.NET</projectUrl>
|
||||
<description>CUDA-Backend (11 and 12) for StableDiffusion.NET.</description>
|
||||
<releaseNotes></releaseNotes>
|
||||
<copyright>Copyright © Darth Affe 2024</copyright>
|
||||
<readme>readme.md</readme>
|
||||
</metadata>
|
||||
|
||||
<files>
|
||||
<file src="StableDiffusion.NET.Backend.props" target="build/net8.0/StableDiffusion.NET.Backend.Cuda.props" />
|
||||
|
||||
<file src="windows-cuda11/stable-diffusion.dll" target="runtimes\win-x64\native\cuda11\stable-diffusion.dll" />
|
||||
<file src="windows-cuda12/stable-diffusion.dll" target="runtimes\win-x64\native\cuda12\stable-diffusion.dll" />
|
||||
|
||||
<file src="linux-cuda11/libstable-diffusion.so" target="runtimes\linux-x64\native\cuda11\libstable-diffusion.so" />
|
||||
<file src="linux-cuda12/libstable-diffusion.so" target="runtimes\linux-x64\native\cuda12\libstable-diffusion.so" />
|
||||
|
||||
<file src="sd_net_cuda.png" target="sd_net_cuda.png" />
|
||||
<file src="readme.md" target="readme.md" />
|
||||
<file src="ggml.txt" target="ggml.txt" />
|
||||
<file src="stable-diffusion.cpp.txt" target="stable-diffusion.cpp.txt" />
|
||||
</files>
|
||||
</package>
|
||||
30
Backends/StableDiffusion.NET.Backend.Rocm.nuspec
Normal file
30
Backends/StableDiffusion.NET.Backend.Rocm.nuspec
Normal file
@ -0,0 +1,30 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<package>
|
||||
<metadata>
|
||||
<id>StableDifffusion.NET.Backend.Rocm</id>
|
||||
<version>$version$</version>
|
||||
<title>StableDifffusion.NET.Backend.Rocm</title>
|
||||
<authors>Darth Affe & stable-diffusion.cpp Authors</authors>
|
||||
<requireLicenseAcceptance>false</requireLicenseAcceptance>
|
||||
<license type="expression">MIT</license>
|
||||
<icon>sd_net_rocm.png</icon>
|
||||
<projectUrl>https://github.com/DarthAffe/StableDiffusion.NET</projectUrl>
|
||||
<description>ROCm-Backend for StableDiffusion.NET.</description>
|
||||
<releaseNotes></releaseNotes>
|
||||
<copyright>Copyright © Darth Affe 2024</copyright>
|
||||
<readme>readme.md</readme>
|
||||
</metadata>
|
||||
|
||||
<files>
|
||||
<file src="StableDiffusion.NET.Backend.props" target="build/net8.0/StableDiffusion.NET.Backend.Rocm.props" />
|
||||
|
||||
<file src="windows-rocm5/stable-diffusion.dll" target="runtimes\win-x64\native\rocm5\stable-diffusion.dll" />
|
||||
|
||||
<file src="linux-rocm6/libstable-diffusion.so" target="runtimes\linux-x64\native\rocm6\libstable-diffusion.so" />
|
||||
|
||||
<file src="sd_net_rocm.png" target="sd_net_rocm.png" />
|
||||
<file src="readme.md" target="readme.md" />
|
||||
<file src="ggml.txt" target="ggml.txt" />
|
||||
<file src="stable-diffusion.cpp.txt" target="stable-diffusion.cpp.txt" />
|
||||
</files>
|
||||
</package>
|
||||
17
Backends/StableDiffusion.NET.Backend.props
Normal file
17
Backends/StableDiffusion.NET.Backend.props
Normal file
@ -0,0 +1,17 @@
|
||||
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
|
||||
<!--
|
||||
NuGet packages.config doesn't support native assemblies automatically,
|
||||
so copy the native assemblies to the output directory.
|
||||
-->
|
||||
<ItemGroup Condition="Exists('packages.config') OR
|
||||
Exists('$(MSBuildProjectName).packages.config') OR
|
||||
Exists('packages.$(MSBuildProjectName).config')">
|
||||
<Content Include="$(MSBuildThisFileDirectory)\..\..\runtimes\**\*.*">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
<Visible>false</Visible>
|
||||
<Link>%(RecursiveDir)%(Filename)%(Extension)</Link>
|
||||
</Content>
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
21
Backends/ggml.txt
Normal file
21
Backends/ggml.txt
Normal file
@ -0,0 +1,21 @@
|
||||
MIT License
|
||||
|
||||
Copyright (c) 2022 Georgi Gerganov
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
||||
1
Backends/readme.md
Normal file
1
Backends/readme.md
Normal file
@ -0,0 +1 @@
|
||||
This is a backend to be used with [StableDiffusion.NET](https://www.nuget.org/packages/StableDiffusion.NET).
|
||||
BIN
Backends/sd_net_cpu.png
Normal file
BIN
Backends/sd_net_cpu.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 353 KiB |
BIN
Backends/sd_net_cuda.png
Normal file
BIN
Backends/sd_net_cuda.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 319 KiB |
BIN
Backends/sd_net_rocm.png
Normal file
BIN
Backends/sd_net_rocm.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 336 KiB |
21
Backends/stable-diffusion.cpp.txt
Normal file
21
Backends/stable-diffusion.cpp.txt
Normal file
@ -0,0 +1,21 @@
|
||||
MIT License
|
||||
|
||||
Copyright (c) 2023 leejet
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
||||
Loading…
x
Reference in New Issue
Block a user