Skip to content

Commit 013c07c

Browse files
committed
Environment Manager
1 parent 865dfde commit 013c07c

File tree

115 files changed

+2911
-529
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

115 files changed

+2911
-529
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -347,4 +347,5 @@ site/
347347
docker-test-output/*
348348

349349
*.otf
350+
*.pubxml
350351

BuildApp.bat

Lines changed: 0 additions & 2 deletions
This file was deleted.

DiffuseApp.sln

Lines changed: 27 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,44 @@
11

22
Microsoft Visual Studio Solution File, Format Version 12.00
3-
# Visual Studio Version 18
4-
VisualStudioVersion = 18.0.11222.15 d18.0
3+
# Visual Studio Version 17
4+
VisualStudioVersion = 17.14.36811.4
55
MinimumVisualStudioVersion = 10.0.40219.1
6-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DiffuseApp", "DiffuseApp\DiffuseApp.csproj", "{6B186ECB-FAF6-8CD8-DB1C-5B1BFC2AD4E7}"
6+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DiffuseApp", "DiffuseApp\DiffuseApp\DiffuseApp.csproj", "{6B186ECB-FAF6-8CD8-DB1C-5B1BFC2AD4E7}"
7+
EndProject
8+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DiffuseApp.Common", "DiffuseApp\DiffuseApp.Common\DiffuseApp.Common.csproj", "{10468D82-30E5-3317-2964-66CC582EFE6C}"
9+
EndProject
10+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DiffuseApp.Server", "DiffuseApp\DiffuseApp.Server\DiffuseApp.Server.csproj", "{11638F94-6F86-85DD-CF54-F3CC78C0FBDD}"
11+
EndProject
12+
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{02EA681E-C7D8-13C7-8484-4AC65E1B71E8}"
13+
ProjectSection(SolutionItems) = preProject
14+
Directory.Build.props = Directory.Build.props
15+
EndProjectSection
716
EndProject
817
Global
918
GlobalSection(SolutionConfigurationPlatforms) = preSolution
1019
Debug|Any CPU = Debug|Any CPU
20+
Release_Installer|Any CPU = Release_Installer|Any CPU
1121
Release|Any CPU = Release|Any CPU
1222
EndGlobalSection
1323
GlobalSection(ProjectConfigurationPlatforms) = postSolution
1424
{6B186ECB-FAF6-8CD8-DB1C-5B1BFC2AD4E7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
1525
{6B186ECB-FAF6-8CD8-DB1C-5B1BFC2AD4E7}.Debug|Any CPU.Build.0 = Debug|Any CPU
26+
{6B186ECB-FAF6-8CD8-DB1C-5B1BFC2AD4E7}.Release_Installer|Any CPU.ActiveCfg = Release|Any CPU
27+
{6B186ECB-FAF6-8CD8-DB1C-5B1BFC2AD4E7}.Release_Installer|Any CPU.Build.0 = Release|Any CPU
1628
{6B186ECB-FAF6-8CD8-DB1C-5B1BFC2AD4E7}.Release|Any CPU.ActiveCfg = Release|Any CPU
1729
{6B186ECB-FAF6-8CD8-DB1C-5B1BFC2AD4E7}.Release|Any CPU.Build.0 = Release|Any CPU
30+
{10468D82-30E5-3317-2964-66CC582EFE6C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
31+
{10468D82-30E5-3317-2964-66CC582EFE6C}.Debug|Any CPU.Build.0 = Debug|Any CPU
32+
{10468D82-30E5-3317-2964-66CC582EFE6C}.Release_Installer|Any CPU.ActiveCfg = Release|Any CPU
33+
{10468D82-30E5-3317-2964-66CC582EFE6C}.Release_Installer|Any CPU.Build.0 = Release|Any CPU
34+
{10468D82-30E5-3317-2964-66CC582EFE6C}.Release|Any CPU.ActiveCfg = Release|Any CPU
35+
{10468D82-30E5-3317-2964-66CC582EFE6C}.Release|Any CPU.Build.0 = Release|Any CPU
36+
{11638F94-6F86-85DD-CF54-F3CC78C0FBDD}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
37+
{11638F94-6F86-85DD-CF54-F3CC78C0FBDD}.Debug|Any CPU.Build.0 = Debug|Any CPU
38+
{11638F94-6F86-85DD-CF54-F3CC78C0FBDD}.Release_Installer|Any CPU.ActiveCfg = Release|Any CPU
39+
{11638F94-6F86-85DD-CF54-F3CC78C0FBDD}.Release_Installer|Any CPU.Build.0 = Release|Any CPU
40+
{11638F94-6F86-85DD-CF54-F3CC78C0FBDD}.Release|Any CPU.ActiveCfg = Release|Any CPU
41+
{11638F94-6F86-85DD-CF54-F3CC78C0FBDD}.Release|Any CPU.Build.0 = Release|Any CPU
1842
EndGlobalSection
1943
GlobalSection(SolutionProperties) = preSolution
2044
HideSolutionNode = FALSE

DiffuseApp/CSnakes.Runtime.dll

-233 KB
Binary file not shown.

DiffuseApp/Dialogs/EnvironmentDialog.xaml

Lines changed: 0 additions & 47 deletions
This file was deleted.

DiffuseApp/Dialogs/EnvironmentDialog.xaml.cs

Lines changed: 0 additions & 74 deletions
This file was deleted.

DiffuseApp/Dialogs/LoraModelDialog.xaml

Lines changed: 0 additions & 81 deletions
This file was deleted.
233 KB
Binary file not shown.
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
using TensorStack.Python.Config;
2+
3+
namespace DiffuseApp.Common.Config
4+
{
5+
public class ClientConfig
6+
{
7+
public bool IsRebuild { get; set; }
8+
public bool IsReinstall { get; set; }
9+
public bool IsDebugMode { get; set; }
10+
public string ServerPath { get; set; }
11+
public EnvironmentConfig Environment { get; set; }
12+
}
13+
}
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
namespace DiffuseApp.Common.Config
2+
{
3+
public static class ServerConfig
4+
{
5+
public const int ChunkSize = 8 * 1024 * 1024; // 8 MB
6+
public const string Name = "DiffuseServer";
7+
public const string Executable = "DiffuseServer.exe";
8+
public const string ObjectPipeName = "DiffuseApp.Object";
9+
public const string MessagePipeName = "DiffuseApp.Message";
10+
}
11+
}

0 commit comments

Comments
 (0)