From cc9941db0223695963af79ee10d538aa5451c757 Mon Sep 17 00:00:00 2001 From: empresa Date: Thu, 16 Oct 2025 00:56:55 +0700 Subject: [PATCH] dev: debug --- clore_hosting/main.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/clore_hosting/main.py b/clore_hosting/main.py index e00e2c2..6e78ad5 100644 --- a/clore_hosting/main.py +++ b/clore_hosting/main.py @@ -537,6 +537,8 @@ class CloreClient: cpu_usage = await get_specs.get_cpu_usage() ram_usage = await get_specs.get_ram_usage() gpu_list = current_specs["gpus"]["nvidia"]+current_specs["gpus"]["amd"] + print("realtime gpus") + print(gpu_list) submit_document = { "update_realtime_data":True, "gpus": gpu_list, @@ -557,10 +559,12 @@ class CloreClient: print(current_specs) if self.last_hw_specs_submit < (utils.unix_timestamp()-1800): self.last_hw_specs_submit=utils.unix_timestamp() + print("submit specs start") await self.submit_specs(current_specs) - print("submit specs") + print("submit specs end") + print("update realtime start") await self.update_realtime_data(current_specs) - print("update realtime") + print("update realtime end") try: if self.xfs_state == "active" and len(current_specs["gpus"]["nvidia"]) > 0 and not self.runned_pull_selftest: await clore_partner.check_to_pull_selftest(current_specs)