pytorch-lightning breaking changes
pytorch-lightning 2.0.0 (March 15, 2023) is its newest release with breaking changes, 618 of them. The first: Removed experimental fault-tolerance support in pytorch-lightning 2.0.0. Every breaking API change we have recorded in pytorch-lightning on PyPI: 618 breaking changes in 1 version. Below, its one version with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 2.6.6, released September 10, 2026. Source repository
Its 2.0.0 release requires Python 3.8 or later. Python end of life dates.
pytorch-lightning 2.0.0 breaking changes
- Removed
The PL_FAULT_TOLERANT_TRAINING environment flag no longer enables fault tolerance. github.com - Removed
Python 3.7 is no longer supported; the minimum is Python 3.8. github.com - Removed
PyTorch 1.10 is no longer supported; use PyTorch 1.11 or later. github.com - Removed
accumulate_grad_batches
Pass a GradientAccumulationScheduler callback instead of a dictionary. github.com - Removed
amp_backend
Use Trainer(precision="16-mixed") instead. github.com - Removed
amp_level
Use Trainer(precision="16-mixed") instead. github.com - Removed
auto_lr_find
Use Tuner.lr_find instead. github.com - Removed
auto_scale_batch_size
Use Tuner.scale_batch_size instead. github.com - Removed
auto_select_gpus
Use devices="auto" instead. github.com - Removed
ddp_sharded
Use the native fsdp strategy instead. github.com - Removed
gpus
Use accelerator and devices arguments instead. github.com - Removed
ipus
Use accelerator and devices arguments instead. github.com - Removed
lightning_fabric.connector.DeepSpeedStrategy.load_module_state_dict
DeepSpeedStrategy.load_module_state_dict was removed in pytorch-lightning 2.0.0 pypi.org - Removed
lightning_fabric.connector.DeepSpeedStrategy.load_optimizer_state_dict
DeepSpeedStrategy.load_optimizer_state_dict was removed in pytorch-lightning 2.0.0 pypi.org - Removed
lightning_fabric.connector.FSDPStrategy.backward_prefetch
FSDPStrategy.backward_prefetch was removed in pytorch-lightning 2.0.0 pypi.org - Removed
lightning_fabric.connector.Strategy.load_module_state_dict
Strategy.load_module_state_dict was removed in pytorch-lightning 2.0.0 pypi.org - Removed
lightning_fabric.connector.Strategy.load_optimizer_state_dict
Strategy.load_optimizer_state_dict was removed in pytorch-lightning 2.0.0 pypi.org - Removed
lightning_fabric.strategies.fsdp.FSDPStrategy.backward_prefetch
FSDPStrategy.backward_prefetch was removed in pytorch-lightning 2.0.0 pypi.org - Removed
lightning_fabric.strategies.strategy.Strategy.load_module_state_dict
Strategy.load_module_state_dict was removed in pytorch-lightning 2.0.0 pypi.org - Removed
lightning_fabric.strategies.strategy.Strategy.load_optimizer_state_dict
Strategy.load_optimizer_state_dict was removed in pytorch-lightning 2.0.0 pypi.org - Removed
lightning_fabric.strategies.xla.apply_to_collection
lightning_fabric.strategies.xla.apply_to_collection was removed in pytorch-lightning 2.0.0 pypi.org - Removed
move_metrics_to_cpu
The argument was removed; manage metric device placement manually. github.com - Removed
multiple_trainloader_mode
Use CombinedLoader with a mode in train_dataloader instead. github.com - Removed
num_processes
Use accelerator and devices arguments instead. github.com - Removed
on_predict_epoch_end
The outputs argument was removed from on_predict_epoch_end; access trainer.predict_loop.outputs instead. github.com - Removed
pytorch_lightning.accelerators.accelerator.Accelerator.setup_environment
Accelerator.setup_environment was removed in pytorch-lightning 2.0.0 pypi.org - Removed
pytorch_lightning.accelerators.accelerator.rank_zero_deprecation
pytorch_lightning.accelerators.accelerator.rank_zero_deprecation was removed in pytorch-lightning 2.0.0 pypi.org - Removed
pytorch_lightning.accelerators.Accelerator.setup_environment
Accelerator.setup_environment was removed in pytorch-lightning 2.0.0 pypi.org - Removed
pytorch_lightning.callbacks.batch_size_finder.scale_batch_size
pytorch_lightning.callbacks.batch_size_finder.scale_batch_size was removed in pytorch-lightning 2.0.0 pypi.org - Removed
pytorch_lightning.callbacks.fault_tolerance
pytorch_lightning.callbacks.fault_tolerance was removed in pytorch-lightning 2.0.0 pypi.org - Removed
pytorch_lightning.callbacks.lr_finder.lr_find
pytorch_lightning.callbacks.lr_finder.lr_find was removed in pytorch-lightning 2.0.0 pypi.org - Removed
pytorch_lightning.callbacks.lr_monitor.LRSchedulerConfig.opt_idx
LRSchedulerConfig.opt_idx was removed in pytorch-lightning 2.0.0 pypi.org - Removed
pytorch_lightning.callbacks.progress.base.ProgressBarBase
pytorch_lightning.callbacks.progress.base.ProgressBarBase was removed in pytorch-lightning 2.0.0 pypi.org - Removed
pytorch_lightning.callbacks.progress.ProgressBarBase.predict_batch_idx
ProgressBarBase.predict_batch_idx was removed in pytorch-lightning 2.0.0 pypi.org - Removed
pytorch_lightning.callbacks.progress.ProgressBarBase.test_batch_idx
ProgressBarBase.test_batch_idx was removed in pytorch-lightning 2.0.0 pypi.org - Removed
pytorch_lightning.callbacks.progress.ProgressBarBase.total_batches_current_epoch
ProgressBarBase.total_batches_current_epoch was removed in pytorch-lightning 2.0.0 pypi.org - Removed
pytorch_lightning.callbacks.progress.ProgressBarBase.train_batch_idx
ProgressBarBase.train_batch_idx was removed in pytorch-lightning 2.0.0 pypi.org - Removed
pytorch_lightning.callbacks.progress.ProgressBarBase.val_batch_idx
ProgressBarBase.val_batch_idx was removed in pytorch-lightning 2.0.0 pypi.org - Removed
pytorch_lightning.callbacks.progress.rich_progress.RichProgressBar.main_progress_bar
RichProgressBar.main_progress_bar was removed in pytorch-lightning 2.0.0 pypi.org - Removed
pytorch_lightning.callbacks.progress.rich_progress.RichProgressBar.main_progress_bar_id
RichProgressBar.main_progress_bar_id was removed in pytorch-lightning 2.0.0 pypi.org - Removed
pytorch_lightning.callbacks.progress.tqdm_progress.TQDMProgressBar.main_progress_bar
TQDMProgressBar.main_progress_bar was removed in pytorch-lightning 2.0.0 pypi.org - Removed
pytorch_lightning.callbacks.ProgressBarBase
pytorch_lightning.callbacks.ProgressBarBase was removed in pytorch-lightning 2.0.0 pypi.org - Removed
pytorch_lightning.callbacks.quantization
pytorch_lightning.callbacks.quantization was removed in pytorch-lightning 2.0.0 pypi.org - Removed
pytorch_lightning.callbacks.QuantizationAwareTraining
pytorch_lightning.callbacks.QuantizationAwareTraining was removed in pytorch-lightning 2.0.0 pypi.org - Removed
pytorch_lightning.callbacks.RichProgressBar.main_progress_bar
RichProgressBar.main_progress_bar was removed in pytorch-lightning 2.0.0 pypi.org - Removed
pytorch_lightning.callbacks.RichProgressBar.main_progress_bar_id
RichProgressBar.main_progress_bar_id was removed in pytorch-lightning 2.0.0 pypi.org - Removed
pytorch_lightning.callbacks.stochastic_weight_avg.DDPFullyShardedNativeStrategy.backward_prefetch
DDPFullyShardedNativeStrategy.backward_prefetch was removed in pytorch-lightning 2.0.0 pypi.org - Removed
pytorch_lightning.callbacks.timer.RunningStage.deprecate
RunningStage.deprecate was removed in pytorch-lightning 2.0.0 pypi.org - Removed
pytorch_lightning.callbacks.timer.RunningStage.TUNING
pytorch_lightning.callbacks.timer.RunningStage.TUNING was removed in pytorch-lightning 2.0.0 pypi.org - Removed
pytorch_lightning.callbacks.TQDMProgressBar.main_progress_bar
TQDMProgressBar.main_progress_bar was removed in pytorch-lightning 2.0.0 pypi.org
And 568 more in this version. Sign up to see every change
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.