This commit is contained in:
Nick Mowen 2022-09-24 18:23:55 -06:00
parent 615135d624
commit c97975eb19

View File

@ -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