mirror of
https://github.com/vladmandic/automatic
synced 2026-09-20 01:31:13 +02:00
Show device information log for DirectML.
This commit is contained in:
@@ -60,10 +60,9 @@ class DirectML:
|
||||
return DeviceProperties(get_device(device))
|
||||
|
||||
def memory_stats(device: Optional[rDevice]=None):
|
||||
mem_stat_fill = "DirectMLDevice"
|
||||
return {
|
||||
"num_ooms": 0,
|
||||
"num_alloc_retries": mem_stat_fill,
|
||||
"num_alloc_retries": 0,
|
||||
}
|
||||
|
||||
mem_get_info: Callable = mem_get_info
|
||||
|
||||
Reference in New Issue
Block a user