We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7ad634c commit d7925dfCopy full SHA for d7925df
src/Utils/WebUtil.cs
@@ -56,7 +56,7 @@ public static HtmlString CheckGPUIsSufficient()
56
{
57
return new("Unknown GPU.");
58
}
59
- NvidiaUtil.NvidiaInfo bestGpu = nv.OrderByDescending(x => x.TotalMemory).First();
+ NvidiaUtil.NvidiaInfo bestGpu = nv.OrderByDescending(x => x.TotalMemory.InBytes).First();
60
string basic = $"GPU {bestGpu.ID}: <b>{bestGpu.GPUName}</b>, <b>{bestGpu.TotalMemory}</b> VRAM";
61
if (nv.Length > 1)
62
0 commit comments