Skip to content

Commit

Permalink
[AnyPrecisionAdamW] test fix (#20454)
Browse files Browse the repository at this point in the history
  • Loading branch information
stas00 authored Nov 25, 2022
1 parent a1d4563 commit a547d5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/trainer/test_trainer.py
Original file line number Diff line number Diff line change
Expand Up @@ -2332,7 +2332,7 @@ def hp_name(trial):

optim_test_params.append(
(
TrainingArguments(OptimizerNames.ADAMW_APEX_FUSED, output_dir="None"),
TrainingArguments(optim=OptimizerNames.ADAMW_APEX_FUSED, output_dir="None"),
apex.optimizers.FusedAdam,
default_adam_kwargs,
)
Expand Down

0 comments on commit a547d5b

Please sign in to comment.