Change8
Error2 reports

Fix NotImplementedError

in PyTorch Lightning

Solution

The "NotImplementedError" in PyTorch Lightning usually arises when a required method (like `training_step`, `configure_optimizers`, or callbacks expecting specific hooks) is not defined in your LightningModule or Callback. Resolve this by ensuring you've overridden all necessary methods in your LightningModule or Callback classes with your custom logic, paying close attention to the expected inputs and outputs for each method as defined in the PyTorch Lightning documentation. If using callbacks, verify existing inherited methods.

Timeline

First reported:Jan 22, 2025
Last reported:Aug 18, 2025

Need More Help?

View the full changelog and migration guides for PyTorch Lightning

View PyTorch Lightning Changelog