Skip to content

Commit d7925df

Browse files
committed
fix it in the other file too
1 parent 7ad634c commit d7925df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Utils/WebUtil.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ public static HtmlString CheckGPUIsSufficient()
5656
{
5757
return new("Unknown GPU.");
5858
}
59-
NvidiaUtil.NvidiaInfo bestGpu = nv.OrderByDescending(x => x.TotalMemory).First();
59+
NvidiaUtil.NvidiaInfo bestGpu = nv.OrderByDescending(x => x.TotalMemory.InBytes).First();
6060
string basic = $"GPU {bestGpu.ID}: <b>{bestGpu.GPUName}</b>, <b>{bestGpu.TotalMemory}</b> VRAM";
6161
if (nv.Length > 1)
6262
{

0 commit comments

Comments
 (0)