Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion LLama.Web/Common/InferenceOptions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@ public class InferenceOptions
public IReadOnlyList<string> AntiPrompts { get; set; } = Array.Empty<string>();

/// <inheritdoc />
public required ISamplingPipeline SamplingPipeline { get; set; }
public ISamplingPipeline SamplingPipeline { get; set; } = new DefaultSamplingPipeline();
}
}
4 changes: 3 additions & 1 deletion LLama.Web/appsettings.Development.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft.AspNetCore": "Warning"
"Microsoft.AspNetCore": "Warning",
"Microsoft.AspNetCore.SignalR": "Debug",
"Microsoft.AspNetCore.Http.Connections": "Debug"
}
}
}
6 changes: 3 additions & 3 deletions LLama.Web/appsettings.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@
"ModelLoadType": 0,
"Models": [
{
"Name": "Example LLama2-7b-Chat",
"Name": "Example LLava-v1.6-mistral",
"MaxInstances": 20,
"ModelPath": "..\\LLama.Unittest\\Models\\llama-2-7b-chat.Q4_0.gguf",
"ModelPath": "..\\LLama.Unittest\\Models\\llava-v1.6-mistral-7b.Q3_K_XS.gguf",
"ContextSize": 2048,
"BatchSize": 2048,
"Threads": 4,
"GpuLayerCount": 6,
"GpuLayerCount": 32,
"UseMemorymap": true,
"UseMemoryLock": false,
"MainGpu": 0,
Expand Down
Loading