Skip to content

Commit

Permalink
Update litgpt/utils.py
Browse files Browse the repository at this point in the history
  • Loading branch information
rasbt authored Sep 26, 2024
1 parent 5bf407a commit 70b0f4e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions litgpt/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -560,6 +560,7 @@ def instantiate_torch_optimizer(optimizer, model_parameters, **kwargs):
# Special care taken where some optimizers do not have parameter "fused" like:
# bnb.optim.AdamW8bit
# grokadamw.GrokAdamW
# torch.optim.RMSprop

if isinstance(optimizer, str):
if "." in optimizer:
Expand Down

0 comments on commit 70b0f4e

Please sign in to comment.