Skip to content

Commit

Permalink
Update fsdp.py
Browse files Browse the repository at this point in the history
  • Loading branch information
jerome-habana authored Sep 11, 2024
1 parent b04a0ec commit e3f530a
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/lightning_habana/pytorch/strategies/fsdp.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,6 @@ def precision_plugin(self, precision_plugin: Optional[HPUFSDPPrecision]) -> None
@override
def root_device(self) -> torch.device:
assert self.parallel_devices is not None
# HPUParallelStrategy.setup_hccl_env(self)
return torch.device("hpu", torch.hpu.current_device())

def _setup_model(self, model: Module) -> Module:
Expand Down

0 comments on commit e3f530a

Please sign in to comment.