mirror of
https://github.com/facefusion/facefusion.git
synced 2026-05-12 10:31:33 +02:00
fix memory for amd
This commit is contained in:
@@ -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'
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user