Skip to content

Commit

Permalink
Don't cherry-pick args
Browse files Browse the repository at this point in the history
  • Loading branch information
daavoo committed Aug 7, 2023
1 parent 8cac907 commit fbf8865
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions src/dvclive/huggingface.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,7 @@ def on_train_begin(
control: TrainerControl,
**kwargs,
):
for key, value in args.to_dict().items():
if key in (
"num_train_epochs",
"weight_decay",
"max_grad_norm",
"warmup_ratio",
"warmup_steps",
):
self.live.log_param(key, value)
self.live.log_params(args.to_dict())

def on_log(
self,
Expand Down

0 comments on commit fbf8865

Please sign in to comment.