Skip to content

Commit a1a5e2e

Browse files
committed
chore: 优选 GPU 要求 2G 显存
1 parent 5789cc0 commit a1a5e2e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

source/GpuOption/GpuOptionWin32.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -191,8 +191,8 @@ std::optional<int> perfer_gpu()
191191
LogWarn << "software adapter, skip" << VAR(adapter_index) << VAR(adapter_desc);
192192
continue;
193193
}
194-
if (desc.DedicatedVideoMemory < 1024 * 1024 * 1024) {
195-
LogWarn << "adapter has less than 1GB video memory, skip" << VAR(adapter_index) << VAR(adapter_desc)
194+
if (desc.DedicatedVideoMemory < 2 * 1024 * 1024 * 1024) {
195+
LogWarn << "adapter has less than 2GB video memory, skip" << VAR(adapter_index) << VAR(adapter_desc)
196196
<< VAR(desc.DedicatedVideoMemory);
197197
continue;
198198
}

0 commit comments

Comments
 (0)