Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: change log object #553

Open
wants to merge 18 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
delete comments
  • Loading branch information
SunsetWolf committed Feb 5, 2025
commit 82f2c10a962ae755927d8712eba429c35b0444e7
2 changes: 0 additions & 2 deletions rdagent/log/logger.py
Original file line number Diff line number Diff line change
@@ -129,7 +129,6 @@ def format_pkl(self, base_path: str | Path):
for m in fs.iter_msg():
lp = extract_loopid_func_name(m.tag)
lp_id = lp[0] if lp and lp[0] is not None else None
# lp_id = (lp := extract_loopid_func_name(m.tag))[0] if lp[0] is not None else None
if "r.hypothesis generation" in m.tag:
h: Hypothesis = m.content
self.msgs_for_frontend[did].append(
@@ -151,7 +150,6 @@ def format_pkl(self, base_path: str | Path):
}
)

# m.tag 中不存在 d.load_experiment, 存在 r.load_experiment
elif "r.experiment generation" in m.tag or "d.load_experiment" in m.tag:
if "d.load_experiment" in m.tag:
tasks: list[FactorTask | ModelTask] = m.content.sub_tasks
Loading
Oops, something went wrong.