Skip to content

Commit

Permalink
LLMFileManager update
Browse files Browse the repository at this point in the history
  • Loading branch information
lcarrere committed Dec 24, 2024
1 parent 8b0d909 commit 32c5518
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions LM-Kit-Maestro/Services/LLMFileManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -352,11 +352,6 @@ private void CollectModels()

foreach (var modelCard in predefinedModelCards)
{
if (!_enableSlowModels && Graphics.DeviceConfiguration.GetPerformanceScore(modelCard) < 0.5)
{
continue;
}

TryRegisterChatModel(modelCard, isSorted: true, rejectSlowModels: !_enableSlowModels);

_cancellationTokenSource!.Token.ThrowIfCancellationRequested();
Expand Down Expand Up @@ -408,7 +403,7 @@ private bool TryRegisterChatModel(ModelCard? modelCard, bool isSorted, bool reje
return false;
}

if (rejectSlowModels && Graphics.DeviceConfiguration.GetPerformanceScore(modelCard) < 0.5)
if (rejectSlowModels && Graphics.DeviceConfiguration.GetPerformanceScore(modelCard) < 0.3)
{
return false;
}
Expand Down

0 comments on commit 32c5518

Please sign in to comment.