Skip to content

Commit

Permalink
Removes testing counter
Browse files Browse the repository at this point in the history
  • Loading branch information
aurelion-source committed Sep 9, 2024
1 parent 546213c commit df5543b
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion megatron/model/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ def is_no_weight_decay_module(module_: Any) -> bool:
"TERMSNorm", "MixedFusedLayerNorm", "MixedFusedRMSNorm"]
or neox_args.weight_decay == 0.0
)
counter = 0
for module_ in module.modules():
if is_no_weight_decay_module(module_):
no_weight_decay_params["params"].extend(
Expand Down

0 comments on commit df5543b

Please sign in to comment.