Skip to content

Commit e7d4b05

Browse files
authored
Remove isRocm variable from A3WebUI
Remove unused isRocm variable related to AMD GPU check.
1 parent 6f33b92 commit e7d4b05

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

StabilityMatrix.Core/Models/Packages/A3WebUI.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -222,9 +222,6 @@ public override async Task InstallPackage(
222222
var isLegacyNvidia =
223223
torchIndex is TorchIndex.Cuda
224224
&& (SettingsManager.Settings.PreferredGpu?.IsLegacyNvidiaGpu() ?? HardwareHelper.HasLegacyNvidiaGpu());
225-
var isRocm =
226-
torchIndex is TorchIndex.Rocm
227-
&& (SettingsManager.Settings.PreferredGpu?.IsAmd ?? HardwareHelper.HasAmdGpu());
228225

229226
// 1. Configure the entire install process declaratively.
230227
var config = new PipInstallConfig

0 commit comments

Comments
 (0)