fix: save only one mle_score pkl for a running exp (#675)

* save only one mle_score pkl for a running exp

* fix_CI
This commit is contained in:
XianBW
2025-03-13 14:55:13 +08:00
committed by GitHub
parent 6f06d5ab2c
commit 890661735d
+3 -1
View File
@@ -46,7 +46,9 @@ def save_grade_info(log_trace_path: Path):
entry=f"mlebench grade-sample submission.csv {competition} --data-dir /mle/data | tee mle_score.txt",
)
msg.content.experiment_workspace.execute(env=de, entry="chmod 777 mle_score.txt")
trace_storage.log(mle_score_str, name=f"{msg.tag}.mle_score.pid", save_type="pkl")
trace_storage.log(
mle_score_str, name=f"{msg.tag}.mle_score.pid", save_type="pkl", timestamp=msg.timestamp
)
def is_valid_session(p: Path) -> bool: