Skip to content

Commit

Permalink
feat(swanlab): delete test
Browse files Browse the repository at this point in the history
  • Loading branch information
little1d authored Feb 8, 2025
1 parent f461213 commit f76615a
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions verl/utils/tracking.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,11 +115,3 @@ def _flatten_dict(raw: Dict[str, Any], *, sep: str) -> Dict[str, Any]:
ans = pd.json_normalize(raw, sep=sep).to_dict(orient='records')[0]
assert isinstance(ans, dict)
return ans

tracker = Tracking(
project_name="my_project",
experiment_name="my_experiment",
default_backend="swanlab",
config={"learning_rate": 0.001}
)
tracker.log({"loss": 0.5}, step=1)

0 comments on commit f76615a

Please sign in to comment.