From a61372ee0f7d18d5e2e638e43d4268f223c14138 Mon Sep 17 00:00:00 2001 From: wql Date: Wed, 4 Sep 2024 16:24:15 +0800 Subject: [PATCH] chore: change gpu status save folder --- gpu_status.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gpu_status.py b/gpu_status.py index 28df947c..9f89f519 100644 --- a/gpu_status.py +++ b/gpu_status.py @@ -44,7 +44,7 @@ def main(): all_processes_status = all_processes_status ) formatted_time = time.strftime('%Y%m%d%H%M%S', time.localtime()) - with open(f"./results/gpu_status_{formatted_time}.json", "a", encoding="utf-8") as f: + with open(f"./results/gpu_status/gpu_status_{formatted_time}.json", "a", encoding="utf-8") as f: f.write(json.dumps(logs) + "\n") print(logs)