fix memory for amd

This commit is contained in:
henryruhs
2026-05-08 14:49:27 +02:00
parent 7f40516f71
commit 7322bd5d52
+2 -2
View File
@@ -159,12 +159,12 @@ def detect_amd_graphic_devices() -> List[GraphicDevice]:
{
'total':
{
'value': device_memory.vram_total // (1024 * 1024 * 1024),
'value': device_memory.vram_total // 1024,
'unit': 'GB'
},
'used':
{
'value': device_memory.vram_used // (1024 * 1024 * 1024),
'value': device_memory.vram_used // 1024,
'unit': 'GB'
}
},