Skip to content

Commit

Permalink
todo
Browse files Browse the repository at this point in the history
  • Loading branch information
awaelchli committed Sep 28, 2022
1 parent cc2ea3d commit 6fff52d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lightning_lite/lite.py
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ def setup(

# Let accelerator/plugin wrap and connect the models and optimizers
model, optimizers = self._strategy.setup_module_and_optimizers(model, list(optimizers))
optimizers_to_device(optimizers, self.device)
optimizers_to_device(optimizers, self.device) # TODO: debugging, seems to make no difference
model = _LiteModule(model, self._precision_plugin, original_module=original_model)

# Update the _DeviceDtypeModuleMixin's device parameter
Expand Down

0 comments on commit 6fff52d

Please sign in to comment.