mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-03 17:55:21 +03:00
Fix vram
This commit is contained in:
parent
615135d624
commit
c97975eb19
@ -761,7 +761,7 @@ def get_amd_gpu_stats() -> dict[str, str]:
|
||||
if "gpu" in hw:
|
||||
results["gpu_usage"] = hw.strip().split(" ")[1]
|
||||
elif "vram" in hw:
|
||||
results["gpu_usage"] = hw.strip().split(" ")[1]
|
||||
results["memory_usage"] = hw.strip().split(" ")[1]
|
||||
|
||||
return results
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user