Skip to content

Commit 4334e7f

Browse files
author
Piotr Stachaczynski
committed
fix: proper cleanup
1 parent 3dff04c commit 4334e7f

2 files changed

Lines changed: 2 additions & 4 deletions

File tree

src/MaIN.Services/Services/LLMService/LLMService.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -449,8 +449,8 @@ public static IKernelMemoryBuilder WithLLamaSharpMaINTemp(this IKernelMemoryBuil
449449
ContextSize = new uint?(config.ContextSize.GetValueOrDefault(2048U)),
450450
GpuLayerCount = config.GpuLayerCount.GetValueOrDefault(20),
451451
//Embeddings = true,
452-
MainGpu = config.MainGpu,
453-
SplitMode = new GPUSplitMode?(config.SplitMode)
452+
//MainGpu = config.MainGpu,
453+
//SplitMode = new GPUSplitMode?(config.SplitMode)
454454
};
455455

456456
// Load the second model with caching.

src/MaIN/appsettings.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,7 @@
66
}
77
},
88
"MaIN": {
9-
"OllamaUrl": "http://localhost:11434",
109
"ImageGenUrl": "http://localhost:5003",
11-
"ModelsPath": "C:\\MAIN.Models",
1210
"MongoDbSettings": {
1311
"ConnectionString": "mongodb://localhost:27017",
1412
"DatabaseName": "MaInDB",

0 commit comments

Comments
 (0)