lightning 2.5.3__tar.gz → 2.5.4__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {lightning-2.5.3 → lightning-2.5.4}/.actions/assistant.py +0 -41
- {lightning-2.5.3/src/lightning.egg-info → lightning-2.5.4}/PKG-INFO +50 -43
- {lightning-2.5.3 → lightning-2.5.4}/pyproject.toml +1 -0
- {lightning-2.5.3 → lightning-2.5.4}/requirements/fabric/strategies.txt +1 -1
- lightning-2.5.4/requirements/fabric/test.txt +10 -0
- {lightning-2.5.3 → lightning-2.5.4}/requirements/pytorch/docs.txt +2 -2
- {lightning-2.5.3 → lightning-2.5.4}/requirements/pytorch/extra.txt +1 -1
- {lightning-2.5.3 → lightning-2.5.4}/requirements/pytorch/strategies.txt +1 -1
- {lightning-2.5.3 → lightning-2.5.4}/requirements/pytorch/test.txt +7 -7
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/fabric/CHANGELOG.md +8 -1
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/fabric/plugins/collectives/torch_collective.py +11 -14
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/fabric/strategies/deepspeed.py +1 -5
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/fabric/utilities/throughput.py +23 -1
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/pytorch/CHANGELOG.md +12 -2
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/pytorch/callbacks/progress/rich_progress.py +1 -2
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/pytorch/callbacks/rich_model_summary.py +5 -2
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/pytorch/plugins/io/async_plugin.py +40 -5
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/pytorch/trainer/connectors/logger_connector/logger_connector.py +3 -2
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/pytorch/trainer/trainer.py +3 -4
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/pytorch/tuner/lr_finder.py +15 -9
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/pytorch/utilities/model_summary/model_summary_deepspeed.py +1 -0
- lightning-2.5.4/src/lightning/version.info +1 -0
- {lightning-2.5.3 → lightning-2.5.4/src/lightning.egg-info}/PKG-INFO +50 -43
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning.egg-info/SOURCES.txt +1 -1
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning.egg-info/requires.txt +63 -40
- lightning-2.5.4/src/version.info +1 -0
- lightning-2.5.3/requirements/fabric/test.txt +0 -9
- lightning-2.5.3/src/lightning/version.info +0 -1
- lightning-2.5.3/src/version.info +0 -1
- {lightning-2.5.3 → lightning-2.5.4}/CITATION.cff +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/LICENSE +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/README.md +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/requirements/base.txt +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/requirements/fabric/base.txt +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/requirements/fabric/docs.txt +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/requirements/fabric/examples.txt +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/requirements/pytorch/base.txt +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/requirements/pytorch/examples.txt +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/setup.cfg +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/setup.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/__about__.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/__init__.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/__setup__.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/__version__.py +0 -0
- /lightning-2.5.3/src/lightning/b7f7dd8e64cd613ff6563bfe1965950a2c3243b7be6e14de → /lightning-2.5.4/src/lightning/d4cfc24c31e95ba11b2250aa0b5d0d903d59b77c4fbee1d2 +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/data/__init__.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/fabric/__init__.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/fabric/_graveyard/__init__.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/fabric/_graveyard/tpu.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/fabric/accelerators/__init__.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/fabric/accelerators/accelerator.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/fabric/accelerators/cpu.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/fabric/accelerators/cuda.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/fabric/accelerators/mps.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/fabric/accelerators/registry.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/fabric/accelerators/xla.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/fabric/cli.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/fabric/connector.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/fabric/fabric.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/fabric/loggers/__init__.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/fabric/loggers/csv_logs.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/fabric/loggers/logger.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/fabric/loggers/tensorboard.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/fabric/plugins/__init__.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/fabric/plugins/collectives/__init__.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/fabric/plugins/collectives/collective.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/fabric/plugins/collectives/single_device.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/fabric/plugins/environments/__init__.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/fabric/plugins/environments/cluster_environment.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/fabric/plugins/environments/kubeflow.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/fabric/plugins/environments/lightning.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/fabric/plugins/environments/lsf.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/fabric/plugins/environments/mpi.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/fabric/plugins/environments/slurm.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/fabric/plugins/environments/torchelastic.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/fabric/plugins/environments/xla.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/fabric/plugins/io/__init__.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/fabric/plugins/io/checkpoint_io.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/fabric/plugins/io/torch_io.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/fabric/plugins/io/xla.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/fabric/plugins/precision/__init__.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/fabric/plugins/precision/amp.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/fabric/plugins/precision/bitsandbytes.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/fabric/plugins/precision/deepspeed.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/fabric/plugins/precision/double.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/fabric/plugins/precision/fsdp.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/fabric/plugins/precision/half.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/fabric/plugins/precision/precision.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/fabric/plugins/precision/transformer_engine.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/fabric/plugins/precision/utils.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/fabric/plugins/precision/xla.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/fabric/strategies/__init__.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/fabric/strategies/ddp.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/fabric/strategies/dp.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/fabric/strategies/fsdp.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/fabric/strategies/launchers/__init__.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/fabric/strategies/launchers/launcher.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/fabric/strategies/launchers/multiprocessing.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/fabric/strategies/launchers/subprocess_script.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/fabric/strategies/launchers/xla.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/fabric/strategies/model_parallel.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/fabric/strategies/parallel.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/fabric/strategies/registry.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/fabric/strategies/single_device.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/fabric/strategies/single_xla.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/fabric/strategies/strategy.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/fabric/strategies/xla.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/fabric/strategies/xla_fsdp.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/fabric/utilities/__init__.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/fabric/utilities/apply_func.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/fabric/utilities/cloud_io.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/fabric/utilities/consolidate_checkpoint.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/fabric/utilities/data.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/fabric/utilities/device_dtype_mixin.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/fabric/utilities/device_parser.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/fabric/utilities/distributed.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/fabric/utilities/enums.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/fabric/utilities/exceptions.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/fabric/utilities/imports.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/fabric/utilities/init.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/fabric/utilities/load.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/fabric/utilities/logger.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/fabric/utilities/optimizer.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/fabric/utilities/rank_zero.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/fabric/utilities/registry.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/fabric/utilities/seed.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/fabric/utilities/spike.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/fabric/utilities/testing/__init__.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/fabric/utilities/testing/_runif.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/fabric/utilities/types.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/fabric/utilities/warnings.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/fabric/wrappers.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/py.typed +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/pytorch/__init__.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/pytorch/_graveyard/__init__.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/pytorch/_graveyard/_torchmetrics.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/pytorch/_graveyard/hpu.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/pytorch/_graveyard/precision.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/pytorch/_graveyard/tpu.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/pytorch/accelerators/__init__.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/pytorch/accelerators/accelerator.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/pytorch/accelerators/cpu.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/pytorch/accelerators/cuda.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/pytorch/accelerators/mps.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/pytorch/accelerators/xla.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/pytorch/callbacks/__init__.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/pytorch/callbacks/batch_size_finder.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/pytorch/callbacks/callback.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/pytorch/callbacks/checkpoint.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/pytorch/callbacks/device_stats_monitor.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/pytorch/callbacks/early_stopping.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/pytorch/callbacks/finetuning.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/pytorch/callbacks/gradient_accumulation_scheduler.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/pytorch/callbacks/lambda_function.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/pytorch/callbacks/lr_finder.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/pytorch/callbacks/lr_monitor.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/pytorch/callbacks/model_checkpoint.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/pytorch/callbacks/model_summary.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/pytorch/callbacks/on_exception_checkpoint.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/pytorch/callbacks/prediction_writer.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/pytorch/callbacks/progress/__init__.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/pytorch/callbacks/progress/progress_bar.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/pytorch/callbacks/progress/tqdm_progress.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/pytorch/callbacks/pruning.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/pytorch/callbacks/spike.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/pytorch/callbacks/stochastic_weight_avg.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/pytorch/callbacks/throughput_monitor.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/pytorch/callbacks/timer.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/pytorch/cli.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/pytorch/core/__init__.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/pytorch/core/datamodule.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/pytorch/core/hooks.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/pytorch/core/mixins/__init__.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/pytorch/core/mixins/hparams_mixin.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/pytorch/core/module.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/pytorch/core/optimizer.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/pytorch/core/saving.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/pytorch/demos/__init__.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/pytorch/demos/boring_classes.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/pytorch/demos/lstm.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/pytorch/demos/mnist_datamodule.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/pytorch/demos/transformer.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/pytorch/loggers/__init__.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/pytorch/loggers/comet.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/pytorch/loggers/csv_logs.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/pytorch/loggers/logger.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/pytorch/loggers/mlflow.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/pytorch/loggers/neptune.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/pytorch/loggers/tensorboard.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/pytorch/loggers/utilities.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/pytorch/loggers/wandb.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/pytorch/loops/__init__.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/pytorch/loops/evaluation_loop.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/pytorch/loops/fetchers.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/pytorch/loops/fit_loop.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/pytorch/loops/loop.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/pytorch/loops/optimization/__init__.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/pytorch/loops/optimization/automatic.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/pytorch/loops/optimization/closure.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/pytorch/loops/optimization/manual.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/pytorch/loops/prediction_loop.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/pytorch/loops/progress.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/pytorch/loops/training_epoch_loop.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/pytorch/loops/utilities.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/pytorch/overrides/__init__.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/pytorch/overrides/distributed.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/pytorch/plugins/__init__.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/pytorch/plugins/environments/__init__.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/pytorch/plugins/io/__init__.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/pytorch/plugins/io/checkpoint_plugin.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/pytorch/plugins/io/torch_plugin.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/pytorch/plugins/io/wrapper.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/pytorch/plugins/io/xla_plugin.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/pytorch/plugins/layer_sync.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/pytorch/plugins/precision/__init__.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/pytorch/plugins/precision/amp.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/pytorch/plugins/precision/bitsandbytes.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/pytorch/plugins/precision/deepspeed.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/pytorch/plugins/precision/double.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/pytorch/plugins/precision/fsdp.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/pytorch/plugins/precision/half.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/pytorch/plugins/precision/precision.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/pytorch/plugins/precision/transformer_engine.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/pytorch/plugins/precision/xla.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/pytorch/profilers/__init__.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/pytorch/profilers/advanced.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/pytorch/profilers/base.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/pytorch/profilers/profiler.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/pytorch/profilers/pytorch.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/pytorch/profilers/simple.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/pytorch/profilers/xla.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/pytorch/serve/__init__.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/pytorch/serve/servable_module.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/pytorch/serve/servable_module_validator.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/pytorch/strategies/__init__.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/pytorch/strategies/ddp.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/pytorch/strategies/deepspeed.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/pytorch/strategies/fsdp.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/pytorch/strategies/launchers/__init__.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/pytorch/strategies/launchers/launcher.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/pytorch/strategies/launchers/multiprocessing.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/pytorch/strategies/launchers/subprocess_script.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/pytorch/strategies/launchers/xla.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/pytorch/strategies/model_parallel.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/pytorch/strategies/parallel.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/pytorch/strategies/single_device.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/pytorch/strategies/single_xla.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/pytorch/strategies/strategy.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/pytorch/strategies/xla.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/pytorch/trainer/__init__.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/pytorch/trainer/call.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/pytorch/trainer/configuration_validator.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/pytorch/trainer/connectors/__init__.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/pytorch/trainer/connectors/accelerator_connector.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/pytorch/trainer/connectors/callback_connector.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/pytorch/trainer/connectors/checkpoint_connector.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/pytorch/trainer/connectors/data_connector.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/pytorch/trainer/connectors/logger_connector/__init__.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/pytorch/trainer/connectors/logger_connector/fx_validator.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/pytorch/trainer/connectors/logger_connector/result.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/pytorch/trainer/connectors/signal_connector.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/pytorch/trainer/setup.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/pytorch/trainer/states.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/pytorch/tuner/__init__.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/pytorch/tuner/batch_size_scaling.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/pytorch/tuner/tuning.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/pytorch/utilities/__init__.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/pytorch/utilities/_pytree.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/pytorch/utilities/argparse.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/pytorch/utilities/combined_loader.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/pytorch/utilities/compile.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/pytorch/utilities/consolidate_checkpoint.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/pytorch/utilities/data.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/pytorch/utilities/deepspeed.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/pytorch/utilities/enums.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/pytorch/utilities/exceptions.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/pytorch/utilities/grads.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/pytorch/utilities/imports.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/pytorch/utilities/memory.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/pytorch/utilities/migration/__init__.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/pytorch/utilities/migration/migration.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/pytorch/utilities/migration/utils.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/pytorch/utilities/model_helpers.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/pytorch/utilities/model_registry.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/pytorch/utilities/model_summary/__init__.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/pytorch/utilities/model_summary/model_summary.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/pytorch/utilities/parameter_tying.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/pytorch/utilities/parsing.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/pytorch/utilities/rank_zero.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/pytorch/utilities/seed.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/pytorch/utilities/signature_utils.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/pytorch/utilities/testing/__init__.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/pytorch/utilities/testing/_runif.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/pytorch/utilities/types.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/pytorch/utilities/upgrade_checkpoint.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning/pytorch/utilities/warnings.py +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning.egg-info/dependency_links.txt +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning.egg-info/entry_points.txt +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning.egg-info/not-zip-safe +0 -0
- {lightning-2.5.3 → lightning-2.5.4}/src/lightning.egg-info/top_level.txt +0 -0
|
@@ -341,47 +341,6 @@ def create_mirror_package(source_dir: str, package_mapping: dict[str, str]) -> N
|
|
|
341
341
|
|
|
342
342
|
|
|
343
343
|
class AssistantCLI:
|
|
344
|
-
@staticmethod
|
|
345
|
-
def requirements_prune_pkgs(packages: Sequence[str], req_files: Sequence[str] = REQUIREMENT_FILES_ALL) -> None:
|
|
346
|
-
"""Remove some packages from given requirement files."""
|
|
347
|
-
if isinstance(req_files, str):
|
|
348
|
-
req_files = [req_files]
|
|
349
|
-
for req in req_files:
|
|
350
|
-
AssistantCLI._prune_packages(req, packages)
|
|
351
|
-
|
|
352
|
-
@staticmethod
|
|
353
|
-
def _prune_packages(req_file: str, packages: Sequence[str]) -> None:
|
|
354
|
-
"""Remove some packages from given requirement files."""
|
|
355
|
-
path = Path(req_file)
|
|
356
|
-
assert path.exists()
|
|
357
|
-
text = path.read_text()
|
|
358
|
-
lines = text.splitlines()
|
|
359
|
-
final = []
|
|
360
|
-
for line in lines:
|
|
361
|
-
ln_ = line.strip()
|
|
362
|
-
if not ln_ or ln_.startswith("#"):
|
|
363
|
-
final.append(line)
|
|
364
|
-
continue
|
|
365
|
-
req = list(_parse_requirements([ln_]))[0]
|
|
366
|
-
if req.name not in packages:
|
|
367
|
-
final.append(line)
|
|
368
|
-
print(final)
|
|
369
|
-
path.write_text("\n".join(final) + "\n")
|
|
370
|
-
|
|
371
|
-
@staticmethod
|
|
372
|
-
def _replace_min(fname: str) -> None:
|
|
373
|
-
with open(fname, encoding="utf-8") as fopen:
|
|
374
|
-
req = fopen.read().replace(">=", "==")
|
|
375
|
-
with open(fname, "w", encoding="utf-8") as fwrite:
|
|
376
|
-
fwrite.write(req)
|
|
377
|
-
|
|
378
|
-
@staticmethod
|
|
379
|
-
def replace_oldest_ver(requirement_fnames: Sequence[str] = REQUIREMENT_FILES_ALL) -> None:
|
|
380
|
-
"""Replace the min package version by fixed one."""
|
|
381
|
-
for fname in requirement_fnames:
|
|
382
|
-
print(fname)
|
|
383
|
-
AssistantCLI._replace_min(fname)
|
|
384
|
-
|
|
385
344
|
@staticmethod
|
|
386
345
|
def copy_replace_imports(
|
|
387
346
|
source_dir: str,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: lightning
|
|
3
|
-
Version: 2.5.
|
|
3
|
+
Version: 2.5.4
|
|
4
4
|
Summary: The Deep Learning framework to train, deploy, and ship AI products Lightning fast.
|
|
5
5
|
Home-page: https://github.com/Lightning-AI/lightning
|
|
6
6
|
Download-URL: https://github.com/Lightning-AI/lightning
|
|
@@ -45,15 +45,15 @@ Requires-Dist: omegaconf<3.0,>=2.2.3; extra == "pytorch-extra"
|
|
|
45
45
|
Requires-Dist: rich<15.0,>=12.3.0; extra == "pytorch-extra"
|
|
46
46
|
Requires-Dist: tensorboardX<3.0,>=2.2; extra == "pytorch-extra"
|
|
47
47
|
Provides-Extra: pytorch-strategies
|
|
48
|
-
Requires-Dist: deepspeed<=0.
|
|
48
|
+
Requires-Dist: deepspeed<=0.15.0,>=0.14.1; (platform_system != "Windows" and platform_system != "Darwin") and extra == "pytorch-strategies"
|
|
49
49
|
Provides-Extra: pytorch-test
|
|
50
50
|
Requires-Dist: cloudpickle<4.0,>=1.3; extra == "pytorch-test"
|
|
51
|
-
Requires-Dist: coverage==7.10.
|
|
51
|
+
Requires-Dist: coverage==7.10.5; extra == "pytorch-test"
|
|
52
52
|
Requires-Dist: fastapi; extra == "pytorch-test"
|
|
53
|
-
Requires-Dist: numpy<2.0
|
|
54
|
-
Requires-Dist: onnx<2.0
|
|
53
|
+
Requires-Dist: numpy<2.0,>1.20.0; extra == "pytorch-test"
|
|
54
|
+
Requires-Dist: onnx<2.0,>1.12.0; extra == "pytorch-test"
|
|
55
55
|
Requires-Dist: onnxruntime<2.0,>=1.12.0; extra == "pytorch-test"
|
|
56
|
-
Requires-Dist: onnxscript<1.0,>=0.
|
|
56
|
+
Requires-Dist: onnxscript<1.0,>=0.1.0; extra == "pytorch-test"
|
|
57
57
|
Requires-Dist: pandas<3.0,>2.0; extra == "pytorch-test"
|
|
58
58
|
Requires-Dist: psutil<8.0; extra == "pytorch-test"
|
|
59
59
|
Requires-Dist: pytest-cov==6.2.1; extra == "pytorch-test"
|
|
@@ -62,7 +62,7 @@ Requires-Dist: pytest-rerunfailures==15.1; extra == "pytorch-test"
|
|
|
62
62
|
Requires-Dist: pytest-timeout==2.4.0; extra == "pytorch-test"
|
|
63
63
|
Requires-Dist: pytest==8.4.1; extra == "pytorch-test"
|
|
64
64
|
Requires-Dist: scikit-learn<2.0,>0.22.1; extra == "pytorch-test"
|
|
65
|
-
Requires-Dist: tensorboard<3.0,>=2.
|
|
65
|
+
Requires-Dist: tensorboard<3.0,>=2.11; extra == "pytorch-test"
|
|
66
66
|
Requires-Dist: uvicorn; extra == "pytorch-test"
|
|
67
67
|
Provides-Extra: pytorch-examples
|
|
68
68
|
Requires-Dist: ipython[all]<9.0; extra == "pytorch-examples"
|
|
@@ -71,42 +71,44 @@ Requires-Dist: torchmetrics<2.0,>=0.10.0; extra == "pytorch-examples"
|
|
|
71
71
|
Requires-Dist: torchvision<1.0,>=0.16.0; extra == "pytorch-examples"
|
|
72
72
|
Provides-Extra: fabric-strategies
|
|
73
73
|
Requires-Dist: bitsandbytes<1.0,>=0.45.2; platform_system != "Darwin" and extra == "fabric-strategies"
|
|
74
|
-
Requires-Dist: deepspeed<=0.
|
|
74
|
+
Requires-Dist: deepspeed<=0.15.0,>=0.14.1; (platform_system != "Windows" and platform_system != "Darwin") and extra == "fabric-strategies"
|
|
75
75
|
Provides-Extra: fabric-test
|
|
76
|
-
Requires-Dist: click==8.1.8; extra == "fabric-test"
|
|
77
|
-
Requires-Dist:
|
|
78
|
-
Requires-Dist:
|
|
76
|
+
Requires-Dist: click==8.1.8; python_version < "3.11" and extra == "fabric-test"
|
|
77
|
+
Requires-Dist: click==8.2.1; python_version > "3.10" and extra == "fabric-test"
|
|
78
|
+
Requires-Dist: coverage==7.10.5; extra == "fabric-test"
|
|
79
|
+
Requires-Dist: numpy<2.0,>=1.21.0; extra == "fabric-test"
|
|
79
80
|
Requires-Dist: pytest-cov==6.2.1; extra == "fabric-test"
|
|
80
81
|
Requires-Dist: pytest-random-order==1.2.0; extra == "fabric-test"
|
|
81
82
|
Requires-Dist: pytest-rerunfailures==15.1; extra == "fabric-test"
|
|
82
83
|
Requires-Dist: pytest-timeout==2.4.0; extra == "fabric-test"
|
|
83
84
|
Requires-Dist: pytest==8.4.1; extra == "fabric-test"
|
|
84
|
-
Requires-Dist: tensorboardX<3.0,>=2.
|
|
85
|
+
Requires-Dist: tensorboardX<3.0,>=2.6; extra == "fabric-test"
|
|
85
86
|
Provides-Extra: fabric-examples
|
|
86
87
|
Requires-Dist: torchmetrics<2.0,>=0.10.0; extra == "fabric-examples"
|
|
87
88
|
Requires-Dist: torchvision<1.0,>=0.16.0; extra == "fabric-examples"
|
|
88
89
|
Provides-Extra: fabric-all
|
|
89
90
|
Requires-Dist: bitsandbytes<1.0,>=0.45.2; platform_system != "Darwin" and extra == "fabric-all"
|
|
90
|
-
Requires-Dist: deepspeed<=0.
|
|
91
|
+
Requires-Dist: deepspeed<=0.15.0,>=0.14.1; (platform_system != "Windows" and platform_system != "Darwin") and extra == "fabric-all"
|
|
91
92
|
Requires-Dist: torchmetrics<2.0,>=0.10.0; extra == "fabric-all"
|
|
92
93
|
Requires-Dist: torchvision<1.0,>=0.16.0; extra == "fabric-all"
|
|
93
94
|
Provides-Extra: fabric-dev
|
|
94
95
|
Requires-Dist: bitsandbytes<1.0,>=0.45.2; platform_system != "Darwin" and extra == "fabric-dev"
|
|
95
|
-
Requires-Dist: click==8.1.8; extra == "fabric-dev"
|
|
96
|
-
Requires-Dist:
|
|
97
|
-
Requires-Dist:
|
|
98
|
-
Requires-Dist:
|
|
96
|
+
Requires-Dist: click==8.1.8; python_version < "3.11" and extra == "fabric-dev"
|
|
97
|
+
Requires-Dist: click==8.2.1; python_version > "3.10" and extra == "fabric-dev"
|
|
98
|
+
Requires-Dist: coverage==7.10.5; extra == "fabric-dev"
|
|
99
|
+
Requires-Dist: deepspeed<=0.15.0,>=0.14.1; (platform_system != "Windows" and platform_system != "Darwin") and extra == "fabric-dev"
|
|
100
|
+
Requires-Dist: numpy<2.0,>=1.21.0; extra == "fabric-dev"
|
|
99
101
|
Requires-Dist: pytest-cov==6.2.1; extra == "fabric-dev"
|
|
100
102
|
Requires-Dist: pytest-random-order==1.2.0; extra == "fabric-dev"
|
|
101
103
|
Requires-Dist: pytest-rerunfailures==15.1; extra == "fabric-dev"
|
|
102
104
|
Requires-Dist: pytest-timeout==2.4.0; extra == "fabric-dev"
|
|
103
105
|
Requires-Dist: pytest==8.4.1; extra == "fabric-dev"
|
|
104
|
-
Requires-Dist: tensorboardX<3.0,>=2.
|
|
106
|
+
Requires-Dist: tensorboardX<3.0,>=2.6; extra == "fabric-dev"
|
|
105
107
|
Requires-Dist: torchmetrics<2.0,>=0.10.0; extra == "fabric-dev"
|
|
106
108
|
Requires-Dist: torchvision<1.0,>=0.16.0; extra == "fabric-dev"
|
|
107
109
|
Provides-Extra: pytorch-all
|
|
108
110
|
Requires-Dist: bitsandbytes<1.0,>=0.45.2; platform_system != "Darwin" and extra == "pytorch-all"
|
|
109
|
-
Requires-Dist: deepspeed<=0.
|
|
111
|
+
Requires-Dist: deepspeed<=0.15.0,>=0.14.1; (platform_system != "Windows" and platform_system != "Darwin") and extra == "pytorch-all"
|
|
110
112
|
Requires-Dist: hydra-core<2.0,>=1.2.0; extra == "pytorch-all"
|
|
111
113
|
Requires-Dist: ipython[all]<9.0; extra == "pytorch-all"
|
|
112
114
|
Requires-Dist: jsonargparse[jsonnet,signatures]<5.0,>=4.39.0; extra == "pytorch-all"
|
|
@@ -120,18 +122,18 @@ Requires-Dist: torchvision<1.0,>=0.16.0; extra == "pytorch-all"
|
|
|
120
122
|
Provides-Extra: pytorch-dev
|
|
121
123
|
Requires-Dist: bitsandbytes<1.0,>=0.45.2; platform_system != "Darwin" and extra == "pytorch-dev"
|
|
122
124
|
Requires-Dist: cloudpickle<4.0,>=1.3; extra == "pytorch-dev"
|
|
123
|
-
Requires-Dist: coverage==7.10.
|
|
124
|
-
Requires-Dist: deepspeed<=0.
|
|
125
|
+
Requires-Dist: coverage==7.10.5; extra == "pytorch-dev"
|
|
126
|
+
Requires-Dist: deepspeed<=0.15.0,>=0.14.1; (platform_system != "Windows" and platform_system != "Darwin") and extra == "pytorch-dev"
|
|
125
127
|
Requires-Dist: fastapi; extra == "pytorch-dev"
|
|
126
128
|
Requires-Dist: hydra-core<2.0,>=1.2.0; extra == "pytorch-dev"
|
|
127
129
|
Requires-Dist: ipython[all]<9.0; extra == "pytorch-dev"
|
|
128
130
|
Requires-Dist: jsonargparse[jsonnet,signatures]<5.0,>=4.39.0; extra == "pytorch-dev"
|
|
129
131
|
Requires-Dist: matplotlib<4.0,>3.1; extra == "pytorch-dev"
|
|
130
|
-
Requires-Dist: numpy<2.0
|
|
132
|
+
Requires-Dist: numpy<2.0,>1.20.0; extra == "pytorch-dev"
|
|
131
133
|
Requires-Dist: omegaconf<3.0,>=2.2.3; extra == "pytorch-dev"
|
|
132
|
-
Requires-Dist: onnx<2.0
|
|
134
|
+
Requires-Dist: onnx<2.0,>1.12.0; extra == "pytorch-dev"
|
|
133
135
|
Requires-Dist: onnxruntime<2.0,>=1.12.0; extra == "pytorch-dev"
|
|
134
|
-
Requires-Dist: onnxscript<1.0,>=0.
|
|
136
|
+
Requires-Dist: onnxscript<1.0,>=0.1.0; extra == "pytorch-dev"
|
|
135
137
|
Requires-Dist: pandas<3.0,>2.0; extra == "pytorch-dev"
|
|
136
138
|
Requires-Dist: psutil<8.0; extra == "pytorch-dev"
|
|
137
139
|
Requires-Dist: pytest-cov==6.2.1; extra == "pytorch-dev"
|
|
@@ -142,7 +144,7 @@ Requires-Dist: pytest==8.4.1; extra == "pytorch-dev"
|
|
|
142
144
|
Requires-Dist: requests<3.0; extra == "pytorch-dev"
|
|
143
145
|
Requires-Dist: rich<15.0,>=12.3.0; extra == "pytorch-dev"
|
|
144
146
|
Requires-Dist: scikit-learn<2.0,>0.22.1; extra == "pytorch-dev"
|
|
145
|
-
Requires-Dist: tensorboard<3.0,>=2.
|
|
147
|
+
Requires-Dist: tensorboard<3.0,>=2.11; extra == "pytorch-dev"
|
|
146
148
|
Requires-Dist: tensorboardX<3.0,>=2.2; extra == "pytorch-dev"
|
|
147
149
|
Requires-Dist: torchmetrics<2.0,>=0.10.0; extra == "pytorch-dev"
|
|
148
150
|
Requires-Dist: torchvision<1.0,>=0.16.0; extra == "pytorch-dev"
|
|
@@ -157,16 +159,18 @@ Requires-Dist: rich<15.0,>=12.3.0; extra == "extra"
|
|
|
157
159
|
Requires-Dist: tensorboardX<3.0,>=2.2; extra == "extra"
|
|
158
160
|
Provides-Extra: strategies
|
|
159
161
|
Requires-Dist: bitsandbytes<1.0,>=0.45.2; platform_system != "Darwin" and extra == "strategies"
|
|
160
|
-
Requires-Dist: deepspeed<=0.
|
|
162
|
+
Requires-Dist: deepspeed<=0.15.0,>=0.14.1; (platform_system != "Windows" and platform_system != "Darwin") and extra == "strategies"
|
|
161
163
|
Provides-Extra: test
|
|
162
|
-
Requires-Dist: click==8.1.8; extra == "test"
|
|
164
|
+
Requires-Dist: click==8.1.8; python_version < "3.11" and extra == "test"
|
|
165
|
+
Requires-Dist: click==8.2.1; python_version > "3.10" and extra == "test"
|
|
163
166
|
Requires-Dist: cloudpickle<4.0,>=1.3; extra == "test"
|
|
164
|
-
Requires-Dist: coverage==7.10.
|
|
167
|
+
Requires-Dist: coverage==7.10.5; extra == "test"
|
|
165
168
|
Requires-Dist: fastapi; extra == "test"
|
|
166
|
-
Requires-Dist: numpy<2.0
|
|
167
|
-
Requires-Dist:
|
|
169
|
+
Requires-Dist: numpy<2.0,>1.20.0; extra == "test"
|
|
170
|
+
Requires-Dist: numpy<2.0,>=1.21.0; extra == "test"
|
|
171
|
+
Requires-Dist: onnx<2.0,>1.12.0; extra == "test"
|
|
168
172
|
Requires-Dist: onnxruntime<2.0,>=1.12.0; extra == "test"
|
|
169
|
-
Requires-Dist: onnxscript<1.0,>=0.
|
|
173
|
+
Requires-Dist: onnxscript<1.0,>=0.1.0; extra == "test"
|
|
170
174
|
Requires-Dist: pandas<3.0,>2.0; extra == "test"
|
|
171
175
|
Requires-Dist: psutil<8.0; extra == "test"
|
|
172
176
|
Requires-Dist: pytest-cov==6.2.1; extra == "test"
|
|
@@ -175,8 +179,8 @@ Requires-Dist: pytest-rerunfailures==15.1; extra == "test"
|
|
|
175
179
|
Requires-Dist: pytest-timeout==2.4.0; extra == "test"
|
|
176
180
|
Requires-Dist: pytest==8.4.1; extra == "test"
|
|
177
181
|
Requires-Dist: scikit-learn<2.0,>0.22.1; extra == "test"
|
|
178
|
-
Requires-Dist: tensorboard<3.0,>=2.
|
|
179
|
-
Requires-Dist: tensorboardX<3.0,>=2.
|
|
182
|
+
Requires-Dist: tensorboard<3.0,>=2.11; extra == "test"
|
|
183
|
+
Requires-Dist: tensorboardX<3.0,>=2.6; extra == "test"
|
|
180
184
|
Requires-Dist: uvicorn; extra == "test"
|
|
181
185
|
Provides-Extra: examples
|
|
182
186
|
Requires-Dist: ipython[all]<9.0; extra == "examples"
|
|
@@ -187,7 +191,7 @@ Provides-Extra: data
|
|
|
187
191
|
Requires-Dist: litdata<1.0,>=0.2.0rc; extra == "data"
|
|
188
192
|
Provides-Extra: all
|
|
189
193
|
Requires-Dist: bitsandbytes<1.0,>=0.45.2; platform_system != "Darwin" and extra == "all"
|
|
190
|
-
Requires-Dist: deepspeed<=0.
|
|
194
|
+
Requires-Dist: deepspeed<=0.15.0,>=0.14.1; (platform_system != "Windows" and platform_system != "Darwin") and extra == "all"
|
|
191
195
|
Requires-Dist: hydra-core<2.0,>=1.2.0; extra == "all"
|
|
192
196
|
Requires-Dist: ipython[all]<9.0; extra == "all"
|
|
193
197
|
Requires-Dist: jsonargparse[jsonnet,signatures]<5.0,>=4.39.0; extra == "all"
|
|
@@ -200,20 +204,22 @@ Requires-Dist: torchmetrics<2.0,>=0.10.0; extra == "all"
|
|
|
200
204
|
Requires-Dist: torchvision<1.0,>=0.16.0; extra == "all"
|
|
201
205
|
Provides-Extra: dev
|
|
202
206
|
Requires-Dist: bitsandbytes<1.0,>=0.45.2; platform_system != "Darwin" and extra == "dev"
|
|
203
|
-
Requires-Dist: click==8.1.8; extra == "dev"
|
|
207
|
+
Requires-Dist: click==8.1.8; python_version < "3.11" and extra == "dev"
|
|
208
|
+
Requires-Dist: click==8.2.1; python_version > "3.10" and extra == "dev"
|
|
204
209
|
Requires-Dist: cloudpickle<4.0,>=1.3; extra == "dev"
|
|
205
|
-
Requires-Dist: coverage==7.10.
|
|
206
|
-
Requires-Dist: deepspeed<=0.
|
|
210
|
+
Requires-Dist: coverage==7.10.5; extra == "dev"
|
|
211
|
+
Requires-Dist: deepspeed<=0.15.0,>=0.14.1; (platform_system != "Windows" and platform_system != "Darwin") and extra == "dev"
|
|
207
212
|
Requires-Dist: fastapi; extra == "dev"
|
|
208
213
|
Requires-Dist: hydra-core<2.0,>=1.2.0; extra == "dev"
|
|
209
214
|
Requires-Dist: ipython[all]<9.0; extra == "dev"
|
|
210
215
|
Requires-Dist: jsonargparse[jsonnet,signatures]<5.0,>=4.39.0; extra == "dev"
|
|
211
216
|
Requires-Dist: matplotlib<4.0,>3.1; extra == "dev"
|
|
212
|
-
Requires-Dist: numpy<2.0
|
|
217
|
+
Requires-Dist: numpy<2.0,>1.20.0; extra == "dev"
|
|
218
|
+
Requires-Dist: numpy<2.0,>=1.21.0; extra == "dev"
|
|
213
219
|
Requires-Dist: omegaconf<3.0,>=2.2.3; extra == "dev"
|
|
214
|
-
Requires-Dist: onnx<2.0
|
|
220
|
+
Requires-Dist: onnx<2.0,>1.12.0; extra == "dev"
|
|
215
221
|
Requires-Dist: onnxruntime<2.0,>=1.12.0; extra == "dev"
|
|
216
|
-
Requires-Dist: onnxscript<1.0,>=0.
|
|
222
|
+
Requires-Dist: onnxscript<1.0,>=0.1.0; extra == "dev"
|
|
217
223
|
Requires-Dist: pandas<3.0,>2.0; extra == "dev"
|
|
218
224
|
Requires-Dist: psutil<8.0; extra == "dev"
|
|
219
225
|
Requires-Dist: pytest-cov==6.2.1; extra == "dev"
|
|
@@ -224,8 +230,9 @@ Requires-Dist: pytest==8.4.1; extra == "dev"
|
|
|
224
230
|
Requires-Dist: requests<3.0; extra == "dev"
|
|
225
231
|
Requires-Dist: rich<15.0,>=12.3.0; extra == "dev"
|
|
226
232
|
Requires-Dist: scikit-learn<2.0,>0.22.1; extra == "dev"
|
|
227
|
-
Requires-Dist: tensorboard<3.0,>=2.
|
|
233
|
+
Requires-Dist: tensorboard<3.0,>=2.11; extra == "dev"
|
|
228
234
|
Requires-Dist: tensorboardX<3.0,>=2.2; extra == "dev"
|
|
235
|
+
Requires-Dist: tensorboardX<3.0,>=2.6; extra == "dev"
|
|
229
236
|
Requires-Dist: torchmetrics<2.0,>=0.10.0; extra == "dev"
|
|
230
237
|
Requires-Dist: torchvision<1.0,>=0.16.0; extra == "dev"
|
|
231
238
|
Requires-Dist: uvicorn; extra == "dev"
|
|
@@ -265,7 +272,7 @@ ______________________________________________________________________
|
|
|
265
272
|
<a href="#lightning-fabric-expert-control">Fabric</a> •
|
|
266
273
|
<a href="https://lightning.ai/">Lightning AI</a> •
|
|
267
274
|
<a href="#community">Community</a> •
|
|
268
|
-
<a href="https://pytorch-lightning.readthedocs.io/en/2.5.
|
|
275
|
+
<a href="https://pytorch-lightning.readthedocs.io/en/2.5.4">Docs</a>
|
|
269
276
|
</p>
|
|
270
277
|
|
|
271
278
|
<!-- DO NOT ADD CONDA DOWNLOADS... README CHANGES MUST BE APPROVED BY EDEN OR WILL -->
|
|
@@ -796,7 +803,7 @@ Lightning is rigorously tested across multiple CPUs, GPUs and TPUs and against m
|
|
|
796
803
|
|
|
797
804
|
| System / PyTorch ver. | 1.13 | 2.0 | 2.1 |
|
|
798
805
|
| :--------------------------------: | :-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: | :-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: |:-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------:|
|
|
799
|
-
| Linux py3.9 \[GPUs\] | | | [](https://dev.azure.com/Lightning-AI/lightning/_build/latest?definitionId=24&branchName=master) |
|
|
800
807
|
| Linux (multiple Python versions) | [](https://github.com/Lightning-AI/lightning/actions/workflows/ci-tests-pytorch.yml) | [](https://github.com/Lightning-AI/lightning/actions/workflows/ci-tests-pytorch.yml) | [](https://github.com/Lightning-AI/lightning/actions/workflows/ci-tests-pytorch.yml) |
|
|
801
808
|
| OSX (multiple Python versions) | [](https://github.com/Lightning-AI/lightning/actions/workflows/ci-tests-pytorch.yml) | [](https://github.com/Lightning-AI/lightning/actions/workflows/ci-tests-pytorch.yml) | [](https://github.com/Lightning-AI/lightning/actions/workflows/ci-tests-pytorch.yml) |
|
|
802
809
|
| Windows (multiple Python versions) | [](https://github.com/Lightning-AI/lightning/actions/workflows/ci-tests-pytorch.yml) | [](https://github.com/Lightning-AI/lightning/actions/workflows/ci-tests-pytorch.yml) | [](https://github.com/Lightning-AI/lightning/actions/workflows/ci-tests-pytorch.yml) |
|
|
@@ -5,5 +5,5 @@
|
|
|
5
5
|
|
|
6
6
|
# note: is a bug around 0.10 with `MPS_Accelerator must implement all abstract methods`
|
|
7
7
|
# shall be resolved by https://github.com/microsoft/DeepSpeed/issues/4372
|
|
8
|
-
deepspeed >=0.
|
|
8
|
+
deepspeed >=0.14.1,<=0.15.0; platform_system != "Windows" and platform_system != "Darwin" # strict
|
|
9
9
|
bitsandbytes >=0.45.2,<0.47.0; platform_system != "Darwin"
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
coverage ==7.10.5
|
|
2
|
+
numpy >=1.21.0, <1.27.0
|
|
3
|
+
pytest ==8.4.1
|
|
4
|
+
pytest-cov ==6.2.1
|
|
5
|
+
pytest-timeout ==2.4.0
|
|
6
|
+
pytest-rerunfailures ==15.1
|
|
7
|
+
pytest-random-order ==1.2.0
|
|
8
|
+
click ==8.1.8; python_version < "3.11"
|
|
9
|
+
click ==8.2.1; python_version > "3.10"
|
|
10
|
+
tensorboardX >=2.6, <2.7.0 # todo: relax it back to `>=2.2` after fixing tests
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
-r ../docs.txt
|
|
2
2
|
|
|
3
3
|
nbformat # used for generate empty notebook
|
|
4
|
-
ipython[notebook] <
|
|
4
|
+
ipython[notebook] <9.5.0
|
|
5
5
|
setuptools<81.0 # workaround for `error in ipython setup command: use_2to3 is invalid.`
|
|
6
6
|
|
|
7
|
-
onnxscript >= 0.2.2, <0.
|
|
7
|
+
onnxscript >= 0.2.2, < 0.5.0
|
|
8
8
|
|
|
9
9
|
#-r ../../_notebooks/.actions/requires.txt
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
# in case you want to preserve/enforce restrictions on the latest compatible version, add "strict" as an in-line comment
|
|
3
3
|
|
|
4
4
|
# extended list of package dependencies to reach full functionality
|
|
5
|
-
matplotlib>3.1, <3.
|
|
5
|
+
matplotlib>3.1, <3.11.0
|
|
6
6
|
omegaconf >=2.2.3, <2.4.0
|
|
7
7
|
hydra-core >=1.2.0, <1.4.0
|
|
8
8
|
jsonargparse[signatures,jsonnet] >=4.39.0, <4.41.0
|
|
@@ -3,4 +3,4 @@
|
|
|
3
3
|
|
|
4
4
|
# note: is a bug around 0.10 with `MPS_Accelerator must implement all abstract methods`
|
|
5
5
|
# shall be resolved by https://github.com/microsoft/DeepSpeed/issues/4372
|
|
6
|
-
deepspeed >=0.
|
|
6
|
+
deepspeed >=0.14.1,<=0.15.0; platform_system != "Windows" and platform_system != "Darwin" # strict
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
coverage ==7.10.
|
|
1
|
+
coverage ==7.10.5
|
|
2
2
|
pytest ==8.4.1
|
|
3
3
|
pytest-cov ==6.2.1
|
|
4
4
|
pytest-timeout ==2.4.0
|
|
@@ -7,14 +7,14 @@ pytest-random-order ==1.2.0
|
|
|
7
7
|
|
|
8
8
|
# needed in tests
|
|
9
9
|
cloudpickle >=1.3, <3.2.0
|
|
10
|
-
scikit-learn >0.22.1, <1.
|
|
11
|
-
numpy
|
|
12
|
-
onnx
|
|
13
|
-
onnxruntime >=1.12.0, <1.
|
|
14
|
-
onnxscript >= 0.
|
|
10
|
+
scikit-learn >0.22.1, <1.8.0
|
|
11
|
+
numpy >1.20.0, <1.27.0
|
|
12
|
+
onnx >1.12.0, <1.19.0
|
|
13
|
+
onnxruntime >=1.12.0, <1.23.0
|
|
14
|
+
onnxscript >= 0.1.0, < 0.5.0
|
|
15
15
|
psutil <7.0.1 # for `DeviceStatsMonitor`
|
|
16
16
|
pandas >2.0, <2.4.0 # needed in benchmarks
|
|
17
17
|
fastapi # for `ServableModuleValidator` # not setting version as re-defined in App
|
|
18
18
|
uvicorn # for `ServableModuleValidator` # not setting version as re-defined in App
|
|
19
19
|
|
|
20
|
-
tensorboard >=2.
|
|
20
|
+
tensorboard >=2.11, <2.21.0 # for `TensorBoardLogger`
|
|
@@ -6,7 +6,14 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/).
|
|
|
6
6
|
|
|
7
7
|
---
|
|
8
8
|
|
|
9
|
-
## [2.5.
|
|
9
|
+
## [2.5.4] - 2025-08-29
|
|
10
|
+
|
|
11
|
+
### Changed
|
|
12
|
+
|
|
13
|
+
- Added support for NVIDIA H200 GPUs in `get_available_flops` ([#20913](https://github.com/Lightning-AI/pytorch-lightning/pull/21119))
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
## [2.5.3] - 2025-08-13
|
|
10
17
|
|
|
11
18
|
### Changed
|
|
12
19
|
|
{lightning-2.5.3 → lightning-2.5.4}/src/lightning/fabric/plugins/collectives/torch_collective.py
RENAMED
|
@@ -24,6 +24,8 @@ class TorchCollective(Collective):
|
|
|
24
24
|
"""
|
|
25
25
|
|
|
26
26
|
manages_default_group = False
|
|
27
|
+
addr_key = "MASTER_ADDR"
|
|
28
|
+
port_key = "MASTER_PORT"
|
|
27
29
|
|
|
28
30
|
def __init__(self) -> None:
|
|
29
31
|
if not dist.is_available():
|
|
@@ -136,26 +138,21 @@ class TorchCollective(Collective):
|
|
|
136
138
|
if self.is_initialized():
|
|
137
139
|
return self
|
|
138
140
|
# maybe set addr
|
|
139
|
-
|
|
140
|
-
addr_key
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
set_addr = True
|
|
141
|
+
setting_env = []
|
|
142
|
+
if main_address is not None and self.addr_key not in os.environ:
|
|
143
|
+
os.environ[self.addr_key] = main_address
|
|
144
|
+
setting_env.append(self.addr_key)
|
|
144
145
|
# maybe set port
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
os.environ[port_key] = str(main_port)
|
|
149
|
-
set_port = True
|
|
146
|
+
if main_port is not None and self.port_key not in os.environ:
|
|
147
|
+
os.environ[self.port_key] = str(main_port)
|
|
148
|
+
setting_env.append(self.port_key)
|
|
150
149
|
# this will `init_group`
|
|
151
150
|
super().setup(**kwargs)
|
|
152
151
|
# set as a class attribute so any instance can know whether we initialized the default process group
|
|
153
152
|
TorchCollective.manages_default_group = True
|
|
154
153
|
# cleanup
|
|
155
|
-
|
|
156
|
-
os.environ.pop(
|
|
157
|
-
if set_port:
|
|
158
|
-
os.environ.pop("MASTER_PORT", None)
|
|
154
|
+
for kenv in setting_env:
|
|
155
|
+
os.environ.pop(kenv, None)
|
|
159
156
|
return self
|
|
160
157
|
|
|
161
158
|
@override
|
|
@@ -46,7 +46,6 @@ if TYPE_CHECKING:
|
|
|
46
46
|
from deepspeed import DeepSpeedEngine
|
|
47
47
|
|
|
48
48
|
_DEEPSPEED_AVAILABLE = RequirementCache("deepspeed")
|
|
49
|
-
_DEEPSPEED_GREATER_EQUAL_0_14_1 = RequirementCache("deepspeed>=0.14.1")
|
|
50
49
|
|
|
51
50
|
|
|
52
51
|
# TODO(fabric): Links in the docstrings to PL-specific deepspeed user docs need to be replaced.
|
|
@@ -503,10 +502,7 @@ class DeepSpeedStrategy(DDPStrategy, _Sharded):
|
|
|
503
502
|
)
|
|
504
503
|
engine = engines[0]
|
|
505
504
|
|
|
506
|
-
|
|
507
|
-
from deepspeed.runtime.base_optimizer import DeepSpeedOptimizer
|
|
508
|
-
else:
|
|
509
|
-
from deepspeed.runtime import DeepSpeedOptimizer
|
|
505
|
+
from deepspeed.runtime.base_optimizer import DeepSpeedOptimizer
|
|
510
506
|
|
|
511
507
|
optimzer_state_requested = any(isinstance(item, (Optimizer, DeepSpeedOptimizer)) for item in state.values())
|
|
512
508
|
|
|
@@ -304,6 +304,23 @@ def measure_flops(
|
|
|
304
304
|
|
|
305
305
|
_CUDA_FLOPS: dict[str, dict[Union[str, torch.dtype], float]] = {
|
|
306
306
|
# Hopper
|
|
307
|
+
# source: https://nvdam.widen.net/s/nb5zzzsjdf/hpc-datasheet-sc23-h200-datasheet-3002446
|
|
308
|
+
"h200 sxm1": {
|
|
309
|
+
torch.float64: 3.4e13,
|
|
310
|
+
torch.float32: 6.7e13,
|
|
311
|
+
"tfloat32": 9.9e14,
|
|
312
|
+
torch.bfloat16: 2.0e15,
|
|
313
|
+
torch.float16: 2.0e15,
|
|
314
|
+
torch.int8: 4.0e15,
|
|
315
|
+
},
|
|
316
|
+
"h200 nvl1": {
|
|
317
|
+
torch.float64: 3.0e13,
|
|
318
|
+
torch.float32: 6.0e13,
|
|
319
|
+
"tfloat32": 8.4e14,
|
|
320
|
+
torch.bfloat16: 1.7e15,
|
|
321
|
+
torch.float16: 1.7e15,
|
|
322
|
+
torch.int8: 3.3e15,
|
|
323
|
+
},
|
|
307
324
|
# source: https://resources.nvidia.com/en-us-tensor-core
|
|
308
325
|
"h100 nvl": {
|
|
309
326
|
torch.float64: 67e12,
|
|
@@ -536,7 +553,12 @@ def get_available_flops(device: torch.device, dtype: Union[torch.dtype, str]) ->
|
|
|
536
553
|
if device.type == "cuda":
|
|
537
554
|
device_name = torch.cuda.get_device_name(device)
|
|
538
555
|
chip = device_name.lower()
|
|
539
|
-
if "
|
|
556
|
+
if "h200" in chip:
|
|
557
|
+
if "sxm1" in chip:
|
|
558
|
+
chip = "h200 sxm1"
|
|
559
|
+
elif "nvl1" in chip:
|
|
560
|
+
chip = "h200 nvl1"
|
|
561
|
+
elif "h100" in chip:
|
|
540
562
|
if "hbm3" in chip:
|
|
541
563
|
chip = "h100 sxm"
|
|
542
564
|
elif "nvl" in chip:
|
|
@@ -6,7 +6,18 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/).
|
|
|
6
6
|
|
|
7
7
|
---
|
|
8
8
|
|
|
9
|
-
## [2.5.
|
|
9
|
+
## [2.5.4] - 2025-08-29
|
|
10
|
+
|
|
11
|
+
### Fixed
|
|
12
|
+
|
|
13
|
+
- Fixed `AsyncCheckpointIO` snapshots tensors to avoid race with parameter mutation ([#21079](https://github.com/Lightning-AI/pytorch-lightning/pull/21079))
|
|
14
|
+
- Fixed `AsyncCheckpointIO` threadpool exception if calling fit or validate more than one ([#20952](https://github.com/Lightning-AI/pytorch-lightning/pull/20952))
|
|
15
|
+
- Fixed learning rate not being correctly set after using `LearningRateFinder` callback ([#21068](https://github.com/Lightning-AI/pytorch-lightning/pull/21068))
|
|
16
|
+
- Fixed misalignment column while using rich model summary in `DeepSpeedstrategy` ([#21100](https://github.com/Lightning-AI/pytorch-lightning/pull/21100))
|
|
17
|
+
- Fixed `RichProgressBar` crashing when sanity checking using val dataloader with 0 len ([#21108](https://github.com/Lightning-AI/pytorch-lightning/pull/21108))
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
## [2.5.3] - 2025-08-13
|
|
10
21
|
|
|
11
22
|
### Changed
|
|
12
23
|
|
|
@@ -57,7 +68,6 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/).
|
|
|
57
68
|
|
|
58
69
|
- Allow LightningCLI to use a customized argument parser class ([#20596](https://github.com/Lightning-AI/pytorch-lightning/pull/20596))
|
|
59
70
|
- Change `wandb` default x-axis to `tensorboard`'s `global_step` when `sync_tensorboard=True` ([#20611](https://github.com/Lightning-AI/pytorch-lightning/pull/20611))
|
|
60
|
-
- Added a new `checkpoint_path_prefix` parameter to the MLflow logger which can control the path to where the MLflow artifacts for the model checkpoints are stored ([#20538](https://github.com/Lightning-AI/pytorch-lightning/pull/20538))
|
|
61
71
|
- CometML logger was updated to support the recent Comet SDK ([#20275](https://github.com/Lightning-AI/pytorch-lightning/pull/20275))
|
|
62
72
|
- bump: testing with latest `torch` 2.6 ([#20509](https://github.com/Lightning-AI/pytorch-lightning/pull/20509))
|
|
63
73
|
|
{lightning-2.5.3 → lightning-2.5.4}/src/lightning/pytorch/callbacks/progress/rich_progress.py
RENAMED
|
@@ -387,8 +387,7 @@ class RichProgressBar(ProgressBar):
|
|
|
387
387
|
|
|
388
388
|
@override
|
|
389
389
|
def on_sanity_check_end(self, trainer: "pl.Trainer", pl_module: "pl.LightningModule") -> None:
|
|
390
|
-
if self.progress is not None:
|
|
391
|
-
assert self.val_sanity_progress_bar_id is not None
|
|
390
|
+
if self.progress is not None and self.val_sanity_progress_bar_id is not None:
|
|
392
391
|
self.progress.update(self.val_sanity_progress_bar_id, advance=0, visible=False)
|
|
393
392
|
self.refresh()
|
|
394
393
|
|
|
@@ -78,6 +78,7 @@ class RichModelSummary(ModelSummary):
|
|
|
78
78
|
from rich.table import Table
|
|
79
79
|
|
|
80
80
|
console = get_console()
|
|
81
|
+
column_names = list(zip(*summary_data))[0]
|
|
81
82
|
|
|
82
83
|
header_style: str = summarize_kwargs.get("header_style", "bold magenta")
|
|
83
84
|
table = Table(header_style=header_style)
|
|
@@ -85,9 +86,11 @@ class RichModelSummary(ModelSummary):
|
|
|
85
86
|
table.add_column("Name", justify="left", no_wrap=True)
|
|
86
87
|
table.add_column("Type")
|
|
87
88
|
table.add_column("Params", justify="right")
|
|
88
|
-
table.add_column("Mode")
|
|
89
89
|
|
|
90
|
-
|
|
90
|
+
if "Params per Device" in column_names:
|
|
91
|
+
table.add_column("Params per Device", justify="right")
|
|
92
|
+
|
|
93
|
+
table.add_column("Mode")
|
|
91
94
|
|
|
92
95
|
for column_name in ["In sizes", "Out sizes"]:
|
|
93
96
|
if column_name in column_names:
|