Skip to content

Commit

Permalink
fix lion optimizer documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
jahatef committed Oct 31, 2023
1 parent b02d989 commit 8ebf7c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion megatron/neox_arguments/neox_args.py
Original file line number Diff line number Diff line change
Expand Up @@ -390,7 +390,7 @@ class NeoXArgsOptimizer(NeoXArgsTemplate):
"adam", "onebitadam", "cpu_adam", "cpu_torch_adam", "sm3", "madgrad_wd", "sgd", "lion"
] = "adam"
"""
Type of optimizer to use. Choose from ['adam', 'onebitadam', 'cpu_adam', 'cpu_torch_adam', 'sm3', 'madgrad_wd', 'sgd']
Type of optimizer to use. Choose from ['adam', 'onebitadam', 'cpu_adam', 'cpu_torch_adam', 'sm3', 'madgrad_wd', 'sgd', 'lion']
NOTE: sgd will use MuSGD from Mup. Mup must be enabled for this optimizer.
"""

Expand Down

0 comments on commit 8ebf7c6

Please sign in to comment.