Skip to content

Commit

Permalink
fix lint error
Browse files Browse the repository at this point in the history
Signed-off-by: Youngeun Kwon <[email protected]>
  • Loading branch information
youngeunkwon0405 committed Dec 5, 2024
1 parent 4e7694d commit ff6d1d6
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion transformer_engine/pytorch/tensor/float8_tensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -443,7 +443,9 @@ def __new__(

return self

def fsdp_pre_all_gather(self, mesh): # pylint: disable=unused-argument
def fsdp_pre_all_gather(self, mesh):
# pylint: disable=missing-function-docstring

return (self._data,), (self,)

def fsdp_post_all_gather(
Expand All @@ -454,6 +456,7 @@ def fsdp_post_all_gather(
*,
out: Optional[torch.Tensor] = None,
):
# pylint: disable=unused-argument
(data,) = all_gather_outputs
(sample,) = metadata
if out is not None:
Expand Down

0 comments on commit ff6d1d6

Please sign in to comment.