Skip to content

Commit

Permalink
Merge pull request FlagAI-Open#351 from eltociear/patch-2
Browse files Browse the repository at this point in the history
Fix typo in fp16util.py
  • Loading branch information
ftgreat authored Jun 12, 2023
2 parents 7f92c5f + d361cc1 commit 128a809
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flagai/fp16/fp16util.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ def forward(self, *inputs):

def backwards_debug_hook(grad):
raise RuntimeError(
"master_params recieved a gradient in the backward pass!")
"master_params received a gradient in the backward pass!")


def prep_param_lists(model, flat_master=False):
Expand Down

0 comments on commit 128a809

Please sign in to comment.