Skip to content

Commit

Permalink
Run ruff
Browse files Browse the repository at this point in the history
  • Loading branch information
2015aroras committed Dec 14, 2023
1 parent 223eb6a commit 4cc662a
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions scripts/storage_cleaner.py
Original file line number Diff line number Diff line change
Expand Up @@ -1092,9 +1092,7 @@ def _get_wandb_path(run_dir: str) -> str:
wandb_runs += _get_wandb_runs_from_train_config(config)

# Remove duplicate wandb runs based on run path, and wandb runs that do not match our run.
wandb_runs = list(
{_get_wandb_path_from_run(wandb_run): wandb_run for wandb_run in wandb_runs}.values()
)
wandb_runs = list({_get_wandb_path_from_run(wandb_run): wandb_run for wandb_run in wandb_runs}.values())
wandb_matching_runs = _get_matching_wandb_runs(wandb_runs, run_dir)

if len(wandb_matching_runs) == 0:
Expand Down

0 comments on commit 4cc662a

Please sign in to comment.