Skip to content

Commit

Permalink
Don't pass kwargs that aren't accepted by model_fn
Browse files Browse the repository at this point in the history
Signed-off-by: Edward Z. Yang <[email protected]>
  • Loading branch information
ezyang committed Aug 10, 2023
1 parent 5577b32 commit 716cb64
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,6 @@ def update_params(workload: spec.Workload,
model_state=model_state,
mode=spec.ForwardPassMode.TRAIN,
rng=rng,
dropout_rate=None,
aux_dropout_rate=None,
update_batch_norm=False)

loss_dict = workload.loss_fn(
Expand Down

0 comments on commit 716cb64

Please sign in to comment.