forked from TensorStack-AI/TensorStack
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathTensorStack.Python.csproj
More file actions
143 lines (125 loc) · 6.23 KB
/
TensorStack.Python.csproj
File metadata and controls
143 lines (125 loc) · 6.23 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Library</OutputType>
<TargetFrameworks>net9.0;net10.0</TargetFrameworks>
<PlatformTarget>x64</PlatformTarget>
<NoWarn>PRTEXP001,PRTEXP002</NoWarn>
<DisableCSnakesRuntimeSourceGenerator>true</DisableCSnakesRuntimeSourceGenerator>
</PropertyGroup>
<!--Projects-->
<ItemGroup Condition=" '$(Configuration)' == 'Debug'">
<ProjectReference Include="..\TensorStack.Common\TensorStack.Common.csproj" />
</ItemGroup>
<!--Packages-->
<ItemGroup Condition=" '$(Configuration)' == 'Release'">
<PackageReference Include="TensorStack.Common" Version="$(Version)" />
</ItemGroup>
<!--Common-->
<ItemGroup>
<PackageReference Include="CommunityToolkit.HighPerformance" Version="8.4.0" />
<PackageReference Include="Microsoft.Extensions.Hosting" Version="9.0.7" />
<PackageReference Include="ZstdSharp.Port" Version="0.8.6" />
</ItemGroup>
<!--Binaries-->
<ItemGroup>
<Reference Include="CSnakes.Runtime">
<HintPath>CSnakes.Runtime.dll</HintPath>
</Reference>
</ItemGroup>
<ItemGroup>
<None Include="CSnakes.Runtime.dll" PackagePath="lib/net9.0/">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
<PackageCopyToOutput>true</PackageCopyToOutput>
<Pack>true</Pack>
</None>
<None Include="CSnakes.Runtime.dll" PackagePath="lib/net10.0/">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
<PackageCopyToOutput>true</PackageCopyToOutput>
<Pack>true</Pack>
</None>
</ItemGroup>
<!--Python Lib-->
<ItemGroup>
<Content Include="Python\lib\tensorstack\utils.py" Pack="true" PackagePath="contentFiles\any\any\Python\lib\tensorstack\" CopyToOutputDirectory="Always" PackageCopyToOutput="true" />
<Content Include="Python\lib\tensorstack\data_objects.py" Pack="true" PackagePath="contentFiles\any\any\Python\lib\tensorstack\" CopyToOutputDirectory="Always" PackageCopyToOutput="true" />
<Content Include="Python\lib\tensorstack\quantization.py" Pack="true" PackagePath="contentFiles\any\any\Python\lib\tensorstack\" CopyToOutputDirectory="Always" PackageCopyToOutput="true" />
<Content Include="Python\lib\tensorstack\__init__.py" Pack="true" PackagePath="contentFiles\any\any\Python\lib\tensorstack\" CopyToOutputDirectory="Always" PackageCopyToOutput="true" />
<None Include="Python\lib\tensorstack\__init__.py" Pack="false" />
<None Include="Python\lib\tensorstack\utils.py" Pack="false" />
<None Include="Python\lib\tensorstack\data_objects.py" Pack="false" />
<None Include="Python\lib\tensorstack\quantization.py" Pack="false" />
</ItemGroup>
<!--ChromaPipeline-->
<ItemGroup>
<Content Include="Pipelines\ChromaPipeline.py" PackagePath="contentFiles\any\any\Pipelines\" CopyToOutputDirectory="PreserveNewest" PackageCopyToOutput="true" />
<None Include="Pipelines\ChromaPipeline.py" Pack="false" />
</ItemGroup>
<!--CogVideoXPipeline-->
<ItemGroup>
<Content Include="Pipelines\CogVideoXPipeline.py" PackagePath="contentFiles\any\any\Pipelines\" CopyToOutputDirectory="PreserveNewest" PackageCopyToOutput="true" />
<None Include="Pipelines\CogVideoXPipeline.py" Pack="false" />
</ItemGroup>
<!--FluxPipeline-->
<ItemGroup>
<Content Include="Pipelines\FluxPipeline.py" PackagePath="contentFiles\any\any\Pipelines\" CopyToOutputDirectory="PreserveNewest" PackageCopyToOutput="true" />
<None Include="Pipelines\FluxPipeline.py" Pack="false" />
</ItemGroup>
<!--Flux2Pipeline-->
<ItemGroup>
<Content Include="Pipelines\Flux2Pipeline.py" PackagePath="contentFiles\any\any\Pipelines\" CopyToOutputDirectory="PreserveNewest" PackageCopyToOutput="true" />
<None Include="Pipelines\Flux2Pipeline.py" Pack="false" />
</ItemGroup>
<!--Kandinsky5Pipeline-->
<ItemGroup>
<Content Include="Pipelines\Kandinsky5Pipeline.py" PackagePath="contentFiles\any\any\Pipelines\" CopyToOutputDirectory="PreserveNewest" PackageCopyToOutput="true" />
<None Include="Pipelines\Kandinsky5Pipeline.py" Pack="false" />
</ItemGroup>
<!--LTXPipeline-->
<ItemGroup>
<Content Include="Pipelines\LTXPipeline.py" PackagePath="contentFiles\any\any\Pipelines\" CopyToOutputDirectory="PreserveNewest" PackageCopyToOutput="true" />
<None Include="Pipelines\LTXPipeline.py" Pack="false" />
</ItemGroup>
<!--QwenImagePipeline-->
<ItemGroup>
<Content Include="Pipelines\QwenImagePipeline.py" PackagePath="contentFiles\any\any\Pipelines\" CopyToOutputDirectory="PreserveNewest" PackageCopyToOutput="true" />
<None Include="Pipelines\QwenImagePipeline.py" Pack="false" />
</ItemGroup>
<!--StableDiffusionXLPipeline-->
<ItemGroup>
<Content Include="Pipelines\StableDiffusionXLPipeline.py" Pack="true" PackagePath="contentFiles\any\any\Pipelines\" CopyToOutputDirectory="PreserveNewest" PackageCopyToOutput="true" />
<None Include="Pipelines\StableDiffusionXLPipeline.py" Pack="false" />
</ItemGroup>
<!--WanPipeline-->
<ItemGroup>
<Content Include="Pipelines\WanPipeline.py" Pack="true" PackagePath="contentFiles\any\any\Pipelines\" CopyToOutputDirectory="PreserveNewest" PackageCopyToOutput="true" />
<None Include="Pipelines\WanPipeline.py" Pack="false" />
</ItemGroup>
<!--ZImagePipeline-->
<ItemGroup>
<Content Include="Pipelines\ZImagePipeline.py" Pack="true" PackagePath="contentFiles\any\any\Pipelines\" CopyToOutputDirectory="PreserveNewest" PackageCopyToOutput="true" />
<None Include="Pipelines\ZImagePipeline.py" Pack="false" />
</ItemGroup>
<!--Nuget Settings-->
<PropertyGroup>
<Title>$(AssemblyName)</Title>
<PackageId>$(AssemblyName)</PackageId>
<Product>$(AssemblyName)</Product>
<PackageIcon>Icon.png</PackageIcon>
<PackageReadmeFile>README.md</PackageReadmeFile>
<Description>C# -> Python interface for Diffusers StableDiffusion</Description>
</PropertyGroup>
<ItemGroup Condition="'$(Configuration)' == 'Debug'">
<None Remove="README.md" />
<None Remove="Icon.png" />
</ItemGroup>
<ItemGroup Condition="'$(Configuration)' == 'Release'">
<None Include="README.md">
<Pack>True</Pack>
<PackagePath>\</PackagePath>
</None>
<None Include="..\Assets\Icon.png">
<Pack>True</Pack>
<PackagePath>\</PackagePath>
</None>
</ItemGroup>
</Project>