We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e877871 commit 386d410Copy full SHA for 386d410
web/services/appService.ts
@@ -34,7 +34,9 @@ export const appService = {
34
const hardwareInfo = await hardwareExtension?.getHardware()
35
36
const gpuSettingInfo: GpuSetting | undefined = {
37
- gpus: hardwareInfo.gpus as GpuSettingInfo[],
+ gpus: hardwareInfo.gpus.filter(
38
+ (gpu) => gpu.total_vram > 0
39
+ ) as GpuSettingInfo[],
40
vulkan: isMac ? false : selectedVariants.includes('vulkan'),
41
cpu: hardwareInfo.cpu,
42
}
0 commit comments