Skip to content

Commit

Permalink
fix geemini unwrap
Browse files Browse the repository at this point in the history
  • Loading branch information
Fridge003 committed Sep 20, 2023
1 parent 2160fbd commit 3b8a677
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions colossalai/zero/gemini/gemini_ddp.py
Original file line number Diff line number Diff line change
Expand Up @@ -186,10 +186,6 @@ def set_params_to_ignore(params_to_ignore: Iterable[torch.Tensor]) -> None:
for p in params_to_ignore:
p._ddp_to_ignore = True

def unwrap(self):
# as save/load state dict is overwrited, only return self
return self

def _get_non_persistent_buffers_set(
self, module, memo: Optional[Set[nn.Module]] = None, prefix: str = "", remove_duplicate: bool = True
):
Expand Down

0 comments on commit 3b8a677

Please sign in to comment.