Skip to content

Commit 9347b69

Browse files
committed
Update legacy NVIDIA GPU check method in SDWebForge
1 parent f763fea commit 9347b69

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

StabilityMatrix.Core/Models/Packages/SDWebForge.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ public override async Task InstallPackage(
183183
var torchIndex = options.PythonOptions.TorchIndex ?? GetRecommendedTorchVersion();
184184
var isLegacyNvidia =
185185
torchIndex is TorchIndex.Cuda
186-
&& (SettingsManager.Settings.PreferredGpu?.IsLegacyNvidia() ?? HardwareHelper.HasLegacyNvidia());
186+
&& (SettingsManager.Settings.PreferredGpu?.IsLegacyNvidiaGpu() ?? HardwareHelper.HasLegacyNvidiaGpu());
187187

188188
var config = new PipInstallConfig
189189
{

0 commit comments

Comments
 (0)