From 6c4995e19f5f9e2bf8fcf0dfc323a9b15bc75526 Mon Sep 17 00:00:00 2001 From: clore Date: Thu, 31 Oct 2024 04:29:52 +0000 Subject: [PATCH] fix reporting RAM usage --- clore_hosting/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clore_hosting/main.py b/clore_hosting/main.py index eea6fa8..5066e5a 100644 --- a/clore_hosting/main.py +++ b/clore_hosting/main.py @@ -477,7 +477,7 @@ class CloreClient: "update_realtime_data":True, "gpus": gpu_list, "cpu": cpu_usage, - "ram": ram_usage, + "ram": ram_usage.percent, "all_running_container_names": self.all_running_container_names, "all_stopped_container_names": self.all_stopped_container_names }