Skip to content

Commit 93f5034

Browse files
committed
removed the force refresh entirely,
is dead code when false. was for debugging purposes early on anyways
1 parent 5fd135c commit 93f5034

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

StabilityMatrix.Core/Services/Rocm/RocmPackageHelper.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,7 @@ private RocmMachineState ResolveWindowsMachineState()
306306
};
307307
}
308308

309-
var amdGpus = GetAmdGpuCandidates(forceRefresh: false).ToList();
309+
var amdGpus = GetAmdGpuCandidates().ToList();
310310
if (amdGpus.Count == 0)
311311
{
312312
return new RocmMachineState
@@ -350,9 +350,9 @@ private RocmMachineState ResolveWindowsMachineState()
350350
/// Returns AMD GPUs from Stability Matrix's internal hardware model.
351351
/// This is the canonical GPU source for the ROCm helper and intentionally avoids package-local probing.
352352
/// </summary>
353-
private static IReadOnlyList<GpuInfo> GetAmdGpuCandidates(bool forceRefresh = false)
353+
private static IReadOnlyList<GpuInfo> GetAmdGpuCandidates()
354354
{
355-
return HardwareHelper.IterGpuInfo(forceRefresh).Where(gpu => gpu.IsAmd).ToList();
355+
return HardwareHelper.IterGpuInfo().Where(gpu => gpu.IsAmd).ToList();
356356
}
357357

358358
/// <summary>

0 commit comments

Comments
 (0)