lightning 2.6.1.dev20260201__tar.gz → 2.6.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.6.1.dev20260201/src/lightning.egg-info → lightning-2.6.4}/PKG-INFO +47 -46
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/README.md +0 -3
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/requirements/fabric/test.txt +1 -1
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/requirements/pytorch/extra.txt +1 -1
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/requirements/pytorch/test.txt +3 -3
- lightning-2.6.4/requirements/pytorch/test_gpu.txt +1 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/fabric/CHANGELOG.md +10 -4
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/fabric/plugins/precision/fsdp.py +1 -1
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/fabric/strategies/fsdp.py +1 -1
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/fabric/wrappers.py +1 -1
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/pytorch/CHANGELOG.md +25 -2
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/pytorch/callbacks/model_checkpoint.py +1 -1
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/pytorch/callbacks/rich_model_summary.py +3 -2
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/pytorch/core/module.py +7 -8
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/pytorch/loggers/__init__.py +0 -2
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/pytorch/loggers/litlogger.py +74 -76
- lightning-2.6.4/src/lightning/pytorch/loggers/neptune.py +45 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/pytorch/loops/fit_loop.py +5 -1
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/pytorch/plugins/precision/fsdp.py +1 -1
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/pytorch/profilers/simple.py +3 -5
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/pytorch/strategies/fsdp.py +1 -1
- lightning-2.6.4/src/lightning/version.info +1 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4/src/lightning.egg-info}/PKG-INFO +47 -46
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning.egg-info/SOURCES.txt +2 -1
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning.egg-info/requires.txt +24 -22
- lightning-2.6.4/src/version.info +1 -0
- lightning-2.6.1.dev20260201/src/lightning/pytorch/loggers/neptune.py +0 -594
- lightning-2.6.1.dev20260201/src/lightning/version.info +0 -1
- lightning-2.6.1.dev20260201/src/version.info +0 -1
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/.actions/assistant.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/CITATION.cff +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/LICENSE +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/pyproject.toml +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/requirements/base.txt +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/requirements/fabric/base.txt +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/requirements/fabric/docs.txt +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/requirements/fabric/examples.txt +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/requirements/fabric/extra.txt +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/requirements/fabric/strategies.txt +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/requirements/pytorch/base.txt +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/requirements/pytorch/docs.txt +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/requirements/pytorch/examples.txt +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/requirements/pytorch/strategies.txt +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/setup.cfg +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/setup.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/__about__.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/__init__.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/__setup__.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/__version__.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/data/__init__.py +0 -0
- /lightning-2.6.1.dev20260201/src/lightning/93e786a45634431dbfd952a43949cdd7a28443a77ab4bedd → /lightning-2.6.4/src/lightning/dfa0a553050c1301c4648148c41f4f203e3b32b025f2af8f +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/fabric/__init__.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/fabric/_graveyard/__init__.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/fabric/_graveyard/tpu.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/fabric/accelerators/__init__.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/fabric/accelerators/accelerator.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/fabric/accelerators/cpu.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/fabric/accelerators/cuda.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/fabric/accelerators/mps.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/fabric/accelerators/registry.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/fabric/accelerators/xla.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/fabric/cli.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/fabric/connector.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/fabric/fabric.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/fabric/loggers/__init__.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/fabric/loggers/csv_logs.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/fabric/loggers/logger.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/fabric/loggers/tensorboard.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/fabric/plugins/__init__.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/fabric/plugins/collectives/__init__.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/fabric/plugins/collectives/collective.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/fabric/plugins/collectives/single_device.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/fabric/plugins/collectives/torch_collective.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/fabric/plugins/environments/__init__.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/fabric/plugins/environments/cluster_environment.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/fabric/plugins/environments/kubeflow.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/fabric/plugins/environments/lightning.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/fabric/plugins/environments/lsf.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/fabric/plugins/environments/mpi.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/fabric/plugins/environments/slurm.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/fabric/plugins/environments/torchelastic.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/fabric/plugins/environments/xla.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/fabric/plugins/io/__init__.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/fabric/plugins/io/checkpoint_io.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/fabric/plugins/io/torch_io.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/fabric/plugins/io/xla.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/fabric/plugins/precision/__init__.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/fabric/plugins/precision/amp.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/fabric/plugins/precision/bitsandbytes.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/fabric/plugins/precision/deepspeed.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/fabric/plugins/precision/double.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/fabric/plugins/precision/half.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/fabric/plugins/precision/precision.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/fabric/plugins/precision/transformer_engine.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/fabric/plugins/precision/utils.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/fabric/plugins/precision/xla.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/fabric/strategies/__init__.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/fabric/strategies/ddp.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/fabric/strategies/deepspeed.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/fabric/strategies/dp.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/fabric/strategies/launchers/__init__.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/fabric/strategies/launchers/launcher.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/fabric/strategies/launchers/multiprocessing.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/fabric/strategies/launchers/subprocess_script.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/fabric/strategies/launchers/xla.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/fabric/strategies/model_parallel.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/fabric/strategies/parallel.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/fabric/strategies/registry.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/fabric/strategies/single_device.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/fabric/strategies/single_xla.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/fabric/strategies/strategy.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/fabric/strategies/xla.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/fabric/strategies/xla_fsdp.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/fabric/utilities/__init__.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/fabric/utilities/apply_func.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/fabric/utilities/cloud_io.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/fabric/utilities/consolidate_checkpoint.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/fabric/utilities/data.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/fabric/utilities/device_dtype_mixin.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/fabric/utilities/device_parser.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/fabric/utilities/distributed.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/fabric/utilities/enums.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/fabric/utilities/exceptions.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/fabric/utilities/imports.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/fabric/utilities/init.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/fabric/utilities/load.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/fabric/utilities/logger.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/fabric/utilities/optimizer.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/fabric/utilities/rank_zero.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/fabric/utilities/registry.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/fabric/utilities/seed.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/fabric/utilities/spike.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/fabric/utilities/testing/__init__.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/fabric/utilities/testing/_runif.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/fabric/utilities/throughput.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/fabric/utilities/types.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/fabric/utilities/warnings.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/py.typed +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/pytorch/__init__.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/pytorch/_graveyard/__init__.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/pytorch/_graveyard/_torchmetrics.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/pytorch/_graveyard/hpu.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/pytorch/_graveyard/precision.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/pytorch/_graveyard/tpu.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/pytorch/accelerators/__init__.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/pytorch/accelerators/accelerator.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/pytorch/accelerators/cpu.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/pytorch/accelerators/cuda.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/pytorch/accelerators/mps.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/pytorch/accelerators/xla.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/pytorch/callbacks/__init__.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/pytorch/callbacks/batch_size_finder.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/pytorch/callbacks/callback.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/pytorch/callbacks/checkpoint.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/pytorch/callbacks/device_stats_monitor.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/pytorch/callbacks/early_stopping.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/pytorch/callbacks/finetuning.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/pytorch/callbacks/gradient_accumulation_scheduler.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/pytorch/callbacks/lambda_function.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/pytorch/callbacks/lr_finder.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/pytorch/callbacks/lr_monitor.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/pytorch/callbacks/model_summary.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/pytorch/callbacks/on_exception_checkpoint.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/pytorch/callbacks/prediction_writer.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/pytorch/callbacks/progress/__init__.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/pytorch/callbacks/progress/progress_bar.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/pytorch/callbacks/progress/rich_progress.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/pytorch/callbacks/progress/tqdm_progress.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/pytorch/callbacks/pruning.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/pytorch/callbacks/spike.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/pytorch/callbacks/stochastic_weight_avg.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/pytorch/callbacks/throughput_monitor.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/pytorch/callbacks/timer.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/pytorch/callbacks/weight_averaging.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/pytorch/cli.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/pytorch/core/__init__.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/pytorch/core/datamodule.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/pytorch/core/hooks.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/pytorch/core/mixins/__init__.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/pytorch/core/mixins/hparams_mixin.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/pytorch/core/optimizer.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/pytorch/core/saving.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/pytorch/demos/__init__.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/pytorch/demos/boring_classes.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/pytorch/demos/lstm.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/pytorch/demos/mnist_datamodule.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/pytorch/demos/transformer.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/pytorch/loggers/comet.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/pytorch/loggers/csv_logs.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/pytorch/loggers/logger.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/pytorch/loggers/mlflow.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/pytorch/loggers/tensorboard.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/pytorch/loggers/utilities.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/pytorch/loggers/wandb.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/pytorch/loops/__init__.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/pytorch/loops/evaluation_loop.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/pytorch/loops/fetchers.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/pytorch/loops/loop.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/pytorch/loops/optimization/__init__.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/pytorch/loops/optimization/automatic.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/pytorch/loops/optimization/closure.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/pytorch/loops/optimization/manual.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/pytorch/loops/prediction_loop.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/pytorch/loops/progress.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/pytorch/loops/training_epoch_loop.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/pytorch/loops/utilities.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/pytorch/overrides/__init__.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/pytorch/overrides/distributed.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/pytorch/plugins/__init__.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/pytorch/plugins/environments/__init__.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/pytorch/plugins/io/__init__.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/pytorch/plugins/io/async_plugin.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/pytorch/plugins/io/checkpoint_plugin.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/pytorch/plugins/io/torch_plugin.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/pytorch/plugins/io/wrapper.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/pytorch/plugins/io/xla_plugin.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/pytorch/plugins/layer_sync.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/pytorch/plugins/precision/__init__.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/pytorch/plugins/precision/amp.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/pytorch/plugins/precision/bitsandbytes.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/pytorch/plugins/precision/deepspeed.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/pytorch/plugins/precision/double.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/pytorch/plugins/precision/half.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/pytorch/plugins/precision/precision.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/pytorch/plugins/precision/transformer_engine.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/pytorch/plugins/precision/xla.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/pytorch/profilers/__init__.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/pytorch/profilers/advanced.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/pytorch/profilers/base.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/pytorch/profilers/profiler.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/pytorch/profilers/pytorch.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/pytorch/profilers/xla.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/pytorch/serve/__init__.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/pytorch/serve/servable_module.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/pytorch/serve/servable_module_validator.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/pytorch/strategies/__init__.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/pytorch/strategies/ddp.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/pytorch/strategies/deepspeed.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/pytorch/strategies/launchers/__init__.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/pytorch/strategies/launchers/launcher.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/pytorch/strategies/launchers/multiprocessing.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/pytorch/strategies/launchers/subprocess_script.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/pytorch/strategies/launchers/xla.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/pytorch/strategies/model_parallel.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/pytorch/strategies/parallel.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/pytorch/strategies/single_device.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/pytorch/strategies/single_xla.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/pytorch/strategies/strategy.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/pytorch/strategies/xla.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/pytorch/trainer/__init__.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/pytorch/trainer/call.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/pytorch/trainer/configuration_validator.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/pytorch/trainer/connectors/__init__.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/pytorch/trainer/connectors/accelerator_connector.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/pytorch/trainer/connectors/callback_connector.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/pytorch/trainer/connectors/checkpoint_connector.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/pytorch/trainer/connectors/data_connector.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/pytorch/trainer/connectors/logger_connector/__init__.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/pytorch/trainer/connectors/logger_connector/fx_validator.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/pytorch/trainer/connectors/logger_connector/logger_connector.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/pytorch/trainer/connectors/logger_connector/result.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/pytorch/trainer/connectors/signal_connector.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/pytorch/trainer/setup.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/pytorch/trainer/states.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/pytorch/trainer/trainer.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/pytorch/tuner/__init__.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/pytorch/tuner/batch_size_scaling.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/pytorch/tuner/lr_finder.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/pytorch/tuner/tuning.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/pytorch/utilities/__init__.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/pytorch/utilities/_pytree.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/pytorch/utilities/argparse.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/pytorch/utilities/combined_loader.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/pytorch/utilities/compile.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/pytorch/utilities/consolidate_checkpoint.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/pytorch/utilities/data.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/pytorch/utilities/deepspeed.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/pytorch/utilities/enums.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/pytorch/utilities/exceptions.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/pytorch/utilities/grads.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/pytorch/utilities/imports.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/pytorch/utilities/memory.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/pytorch/utilities/migration/__init__.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/pytorch/utilities/migration/migration.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/pytorch/utilities/migration/utils.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/pytorch/utilities/model_helpers.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/pytorch/utilities/model_registry.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/pytorch/utilities/model_summary/__init__.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/pytorch/utilities/model_summary/model_summary.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/pytorch/utilities/model_summary/model_summary_deepspeed.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/pytorch/utilities/parameter_tying.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/pytorch/utilities/parsing.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/pytorch/utilities/rank_zero.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/pytorch/utilities/seed.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/pytorch/utilities/signature_utils.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/pytorch/utilities/testing/__init__.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/pytorch/utilities/testing/_runif.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/pytorch/utilities/types.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/pytorch/utilities/upgrade_checkpoint.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/pytorch/utilities/warnings.py +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning.egg-info/dependency_links.txt +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning.egg-info/entry_points.txt +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning.egg-info/not-zip-safe +0 -0
- {lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: lightning
|
|
3
|
-
Version: 2.6.
|
|
3
|
+
Version: 2.6.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
|
|
@@ -36,16 +36,11 @@ Requires-Dist: torchmetrics<3.0,>0.7.0
|
|
|
36
36
|
Requires-Dist: tqdm<6.0,>=4.57.0
|
|
37
37
|
Requires-Dist: typing-extensions<6.0,>4.5.0
|
|
38
38
|
Requires-Dist: pytorch-lightning
|
|
39
|
-
Provides-Extra: fabric-extra
|
|
40
|
-
Requires-Dist: hydra-core<2.0,>=1.2.0; extra == "fabric-extra"
|
|
41
|
-
Provides-Extra: fabric-strategies
|
|
42
|
-
Requires-Dist: bitsandbytes<1.0,>=0.45.2; platform_system != "Darwin" and extra == "fabric-strategies"
|
|
43
|
-
Requires-Dist: deepspeed<0.17.0,>=0.15.0; (platform_system != "Windows" and platform_system != "Darwin") and extra == "fabric-strategies"
|
|
44
39
|
Provides-Extra: fabric-test
|
|
45
40
|
Requires-Dist: click==8.1.8; python_version < "3.11" and extra == "fabric-test"
|
|
46
41
|
Requires-Dist: click==8.3.1; python_version > "3.10" and extra == "fabric-test"
|
|
47
42
|
Requires-Dist: coverage==7.10.7; python_version < "3.10" and extra == "fabric-test"
|
|
48
|
-
Requires-Dist: coverage==7.13.
|
|
43
|
+
Requires-Dist: coverage==7.13.4; python_version >= "3.10" and extra == "fabric-test"
|
|
49
44
|
Requires-Dist: huggingface-hub; extra == "fabric-test"
|
|
50
45
|
Requires-Dist: numpy<2.0,>1.21.0; python_version < "3.12" and extra == "fabric-test"
|
|
51
46
|
Requires-Dist: numpy<3.0,>2.1.0; python_version >= "3.12" and extra == "fabric-test"
|
|
@@ -59,28 +54,24 @@ Requires-Dist: tensorboardX<3.0,>=2.6; extra == "fabric-test"
|
|
|
59
54
|
Provides-Extra: fabric-examples
|
|
60
55
|
Requires-Dist: torchmetrics<2.0,>=0.10.0; extra == "fabric-examples"
|
|
61
56
|
Requires-Dist: torchvision<1.0,>=0.16.0; extra == "fabric-examples"
|
|
62
|
-
Provides-Extra:
|
|
63
|
-
Requires-Dist:
|
|
64
|
-
|
|
65
|
-
Requires-Dist:
|
|
66
|
-
Requires-Dist:
|
|
67
|
-
Requires-Dist: omegaconf<3.0,>=2.2.3; extra == "pytorch-extra"
|
|
68
|
-
Requires-Dist: rich<15.0,>=12.3.0; extra == "pytorch-extra"
|
|
69
|
-
Requires-Dist: tensorboardX<3.0,>=2.2; extra == "pytorch-extra"
|
|
70
|
-
Provides-Extra: pytorch-strategies
|
|
71
|
-
Requires-Dist: deepspeed<0.17.0,>=0.15.0; (platform_system != "Windows" and platform_system != "Darwin") and extra == "pytorch-strategies"
|
|
57
|
+
Provides-Extra: fabric-extra
|
|
58
|
+
Requires-Dist: hydra-core<2.0,>=1.2.0; extra == "fabric-extra"
|
|
59
|
+
Provides-Extra: fabric-strategies
|
|
60
|
+
Requires-Dist: bitsandbytes<1.0,>=0.45.2; platform_system != "Darwin" and extra == "fabric-strategies"
|
|
61
|
+
Requires-Dist: deepspeed<0.17.0,>=0.15.0; (platform_system != "Windows" and platform_system != "Darwin") and extra == "fabric-strategies"
|
|
72
62
|
Provides-Extra: pytorch-test
|
|
73
63
|
Requires-Dist: cloudpickle<4.0,>=1.3; extra == "pytorch-test"
|
|
74
64
|
Requires-Dist: coverage==7.10.7; python_version < "3.10" and extra == "pytorch-test"
|
|
75
|
-
Requires-Dist: coverage==7.13.
|
|
65
|
+
Requires-Dist: coverage==7.13.4; python_version >= "3.10" and extra == "pytorch-test"
|
|
76
66
|
Requires-Dist: fastapi; extra == "pytorch-test"
|
|
77
67
|
Requires-Dist: huggingface-hub; extra == "pytorch-test"
|
|
78
68
|
Requires-Dist: numpy<2.0,>1.21.0; python_version < "3.12" and extra == "pytorch-test"
|
|
79
69
|
Requires-Dist: numpy<3.0,>2.1.0; python_version >= "3.12" and extra == "pytorch-test"
|
|
70
|
+
Requires-Dist: onnx-ir<1.0; extra == "pytorch-test"
|
|
80
71
|
Requires-Dist: onnx<2.0,>1.12.0; extra == "pytorch-test"
|
|
81
72
|
Requires-Dist: onnxruntime<2.0,>=1.12.0; extra == "pytorch-test"
|
|
82
73
|
Requires-Dist: onnxscript<1.0,>=0.1.0; extra == "pytorch-test"
|
|
83
|
-
Requires-Dist: pandas<
|
|
74
|
+
Requires-Dist: pandas<4.0,>2.0; extra == "pytorch-test"
|
|
84
75
|
Requires-Dist: psutil<8.0; extra == "pytorch-test"
|
|
85
76
|
Requires-Dist: pytest-cov==7.0.0; extra == "pytorch-test"
|
|
86
77
|
Requires-Dist: pytest-random-order==1.2.0; extra == "pytorch-test"
|
|
@@ -90,13 +81,24 @@ Requires-Dist: pytest-timeout==2.4.0; extra == "pytorch-test"
|
|
|
90
81
|
Requires-Dist: pytest==9.0.2; extra == "pytorch-test"
|
|
91
82
|
Requires-Dist: scikit-learn<2.0,>0.22.1; extra == "pytorch-test"
|
|
92
83
|
Requires-Dist: tensorboard<3.0,>=2.11; extra == "pytorch-test"
|
|
93
|
-
Requires-Dist: torch-tensorrt; (platform_system != "Darwin" and python_version >= "3.12") and extra == "pytorch-test"
|
|
94
84
|
Requires-Dist: uvicorn; extra == "pytorch-test"
|
|
95
85
|
Provides-Extra: pytorch-examples
|
|
96
86
|
Requires-Dist: ipython[all]<11.0,>=8.0.0; extra == "pytorch-examples"
|
|
97
87
|
Requires-Dist: requests<3.0; extra == "pytorch-examples"
|
|
98
88
|
Requires-Dist: torchmetrics<2.0,>=0.10.0; extra == "pytorch-examples"
|
|
99
89
|
Requires-Dist: torchvision<1.0,>=0.16.0; extra == "pytorch-examples"
|
|
90
|
+
Provides-Extra: pytorch-extra
|
|
91
|
+
Requires-Dist: bitsandbytes<1.0,>=0.45.2; platform_system != "Darwin" and extra == "pytorch-extra"
|
|
92
|
+
Requires-Dist: hydra-core<2.0,>=1.2.0; extra == "pytorch-extra"
|
|
93
|
+
Requires-Dist: jsonargparse[jsonnet,signatures]<5.0,>=4.39.0; extra == "pytorch-extra"
|
|
94
|
+
Requires-Dist: matplotlib<4.0,>3.1; extra == "pytorch-extra"
|
|
95
|
+
Requires-Dist: omegaconf<3.0,>=2.2.3; extra == "pytorch-extra"
|
|
96
|
+
Requires-Dist: rich<15.0,>=12.3.0; extra == "pytorch-extra"
|
|
97
|
+
Requires-Dist: tensorboardX<3.0,>=2.2; extra == "pytorch-extra"
|
|
98
|
+
Provides-Extra: pytorch-strategies
|
|
99
|
+
Requires-Dist: deepspeed<0.17.0,>=0.15.0; (platform_system != "Windows" and platform_system != "Darwin") and extra == "pytorch-strategies"
|
|
100
|
+
Provides-Extra: pytorch-test-gpu
|
|
101
|
+
Requires-Dist: torch-tensorrt; (platform_system != "Darwin" and python_version >= "3.12") and extra == "pytorch-test-gpu"
|
|
100
102
|
Provides-Extra: fabric-all
|
|
101
103
|
Requires-Dist: bitsandbytes<1.0,>=0.45.2; platform_system != "Darwin" and extra == "fabric-all"
|
|
102
104
|
Requires-Dist: deepspeed<0.17.0,>=0.15.0; (platform_system != "Windows" and platform_system != "Darwin") and extra == "fabric-all"
|
|
@@ -108,7 +110,7 @@ Requires-Dist: bitsandbytes<1.0,>=0.45.2; platform_system != "Darwin" and extra
|
|
|
108
110
|
Requires-Dist: click==8.1.8; python_version < "3.11" and extra == "fabric-dev"
|
|
109
111
|
Requires-Dist: click==8.3.1; python_version > "3.10" and extra == "fabric-dev"
|
|
110
112
|
Requires-Dist: coverage==7.10.7; python_version < "3.10" and extra == "fabric-dev"
|
|
111
|
-
Requires-Dist: coverage==7.13.
|
|
113
|
+
Requires-Dist: coverage==7.13.4; python_version >= "3.10" and extra == "fabric-dev"
|
|
112
114
|
Requires-Dist: deepspeed<0.17.0,>=0.15.0; (platform_system != "Windows" and platform_system != "Darwin") and extra == "fabric-dev"
|
|
113
115
|
Requires-Dist: huggingface-hub; extra == "fabric-dev"
|
|
114
116
|
Requires-Dist: hydra-core<2.0,>=1.2.0; extra == "fabric-dev"
|
|
@@ -140,7 +142,7 @@ Provides-Extra: pytorch-dev
|
|
|
140
142
|
Requires-Dist: bitsandbytes<1.0,>=0.45.2; platform_system != "Darwin" and extra == "pytorch-dev"
|
|
141
143
|
Requires-Dist: cloudpickle<4.0,>=1.3; extra == "pytorch-dev"
|
|
142
144
|
Requires-Dist: coverage==7.10.7; python_version < "3.10" and extra == "pytorch-dev"
|
|
143
|
-
Requires-Dist: coverage==7.13.
|
|
145
|
+
Requires-Dist: coverage==7.13.4; python_version >= "3.10" and extra == "pytorch-dev"
|
|
144
146
|
Requires-Dist: deepspeed<0.17.0,>=0.15.0; (platform_system != "Windows" and platform_system != "Darwin") and extra == "pytorch-dev"
|
|
145
147
|
Requires-Dist: fastapi; extra == "pytorch-dev"
|
|
146
148
|
Requires-Dist: huggingface-hub; extra == "pytorch-dev"
|
|
@@ -151,10 +153,11 @@ Requires-Dist: matplotlib<4.0,>3.1; extra == "pytorch-dev"
|
|
|
151
153
|
Requires-Dist: numpy<2.0,>1.21.0; python_version < "3.12" and extra == "pytorch-dev"
|
|
152
154
|
Requires-Dist: numpy<3.0,>2.1.0; python_version >= "3.12" and extra == "pytorch-dev"
|
|
153
155
|
Requires-Dist: omegaconf<3.0,>=2.2.3; extra == "pytorch-dev"
|
|
156
|
+
Requires-Dist: onnx-ir<1.0; extra == "pytorch-dev"
|
|
154
157
|
Requires-Dist: onnx<2.0,>1.12.0; extra == "pytorch-dev"
|
|
155
158
|
Requires-Dist: onnxruntime<2.0,>=1.12.0; extra == "pytorch-dev"
|
|
156
159
|
Requires-Dist: onnxscript<1.0,>=0.1.0; extra == "pytorch-dev"
|
|
157
|
-
Requires-Dist: pandas<
|
|
160
|
+
Requires-Dist: pandas<4.0,>2.0; extra == "pytorch-dev"
|
|
158
161
|
Requires-Dist: psutil<8.0; extra == "pytorch-dev"
|
|
159
162
|
Requires-Dist: pytest-cov==7.0.0; extra == "pytorch-dev"
|
|
160
163
|
Requires-Dist: pytest-random-order==1.2.0; extra == "pytorch-dev"
|
|
@@ -167,35 +170,24 @@ Requires-Dist: rich<15.0,>=12.3.0; extra == "pytorch-dev"
|
|
|
167
170
|
Requires-Dist: scikit-learn<2.0,>0.22.1; extra == "pytorch-dev"
|
|
168
171
|
Requires-Dist: tensorboard<3.0,>=2.11; extra == "pytorch-dev"
|
|
169
172
|
Requires-Dist: tensorboardX<3.0,>=2.2; extra == "pytorch-dev"
|
|
170
|
-
Requires-Dist: torch-tensorrt; (platform_system != "Darwin" and python_version >= "3.12") and extra == "pytorch-dev"
|
|
171
173
|
Requires-Dist: torchmetrics<2.0,>=0.10.0; extra == "pytorch-dev"
|
|
172
174
|
Requires-Dist: torchvision<1.0,>=0.16.0; extra == "pytorch-dev"
|
|
173
175
|
Requires-Dist: uvicorn; extra == "pytorch-dev"
|
|
174
|
-
Provides-Extra: extra
|
|
175
|
-
Requires-Dist: bitsandbytes<1.0,>=0.45.2; platform_system != "Darwin" and extra == "extra"
|
|
176
|
-
Requires-Dist: hydra-core<2.0,>=1.2.0; extra == "extra"
|
|
177
|
-
Requires-Dist: jsonargparse[jsonnet,signatures]<5.0,>=4.39.0; extra == "extra"
|
|
178
|
-
Requires-Dist: matplotlib<4.0,>3.1; extra == "extra"
|
|
179
|
-
Requires-Dist: omegaconf<3.0,>=2.2.3; extra == "extra"
|
|
180
|
-
Requires-Dist: rich<15.0,>=12.3.0; extra == "extra"
|
|
181
|
-
Requires-Dist: tensorboardX<3.0,>=2.2; extra == "extra"
|
|
182
|
-
Provides-Extra: strategies
|
|
183
|
-
Requires-Dist: bitsandbytes<1.0,>=0.45.2; platform_system != "Darwin" and extra == "strategies"
|
|
184
|
-
Requires-Dist: deepspeed<0.17.0,>=0.15.0; (platform_system != "Windows" and platform_system != "Darwin") and extra == "strategies"
|
|
185
176
|
Provides-Extra: test
|
|
186
177
|
Requires-Dist: click==8.1.8; python_version < "3.11" and extra == "test"
|
|
187
178
|
Requires-Dist: click==8.3.1; python_version > "3.10" and extra == "test"
|
|
188
179
|
Requires-Dist: cloudpickle<4.0,>=1.3; extra == "test"
|
|
189
180
|
Requires-Dist: coverage==7.10.7; python_version < "3.10" and extra == "test"
|
|
190
|
-
Requires-Dist: coverage==7.13.
|
|
181
|
+
Requires-Dist: coverage==7.13.4; python_version >= "3.10" and extra == "test"
|
|
191
182
|
Requires-Dist: fastapi; extra == "test"
|
|
192
183
|
Requires-Dist: huggingface-hub; extra == "test"
|
|
193
184
|
Requires-Dist: numpy<2.0,>1.21.0; python_version < "3.12" and extra == "test"
|
|
194
185
|
Requires-Dist: numpy<3.0,>2.1.0; python_version >= "3.12" and extra == "test"
|
|
186
|
+
Requires-Dist: onnx-ir<1.0; extra == "test"
|
|
195
187
|
Requires-Dist: onnx<2.0,>1.12.0; extra == "test"
|
|
196
188
|
Requires-Dist: onnxruntime<2.0,>=1.12.0; extra == "test"
|
|
197
189
|
Requires-Dist: onnxscript<1.0,>=0.1.0; extra == "test"
|
|
198
|
-
Requires-Dist: pandas<
|
|
190
|
+
Requires-Dist: pandas<4.0,>2.0; extra == "test"
|
|
199
191
|
Requires-Dist: psutil<8.0; extra == "test"
|
|
200
192
|
Requires-Dist: pytest-cov==7.0.0; extra == "test"
|
|
201
193
|
Requires-Dist: pytest-random-order==1.2.0; extra == "test"
|
|
@@ -206,13 +198,25 @@ Requires-Dist: pytest==9.0.2; extra == "test"
|
|
|
206
198
|
Requires-Dist: scikit-learn<2.0,>0.22.1; extra == "test"
|
|
207
199
|
Requires-Dist: tensorboard<3.0,>=2.11; extra == "test"
|
|
208
200
|
Requires-Dist: tensorboardX<3.0,>=2.6; extra == "test"
|
|
209
|
-
Requires-Dist: torch-tensorrt; (platform_system != "Darwin" and python_version >= "3.12") and extra == "test"
|
|
210
201
|
Requires-Dist: uvicorn; extra == "test"
|
|
211
202
|
Provides-Extra: examples
|
|
212
203
|
Requires-Dist: ipython[all]<11.0,>=8.0.0; extra == "examples"
|
|
213
204
|
Requires-Dist: requests<3.0; extra == "examples"
|
|
214
205
|
Requires-Dist: torchmetrics<2.0,>=0.10.0; extra == "examples"
|
|
215
206
|
Requires-Dist: torchvision<1.0,>=0.16.0; extra == "examples"
|
|
207
|
+
Provides-Extra: extra
|
|
208
|
+
Requires-Dist: bitsandbytes<1.0,>=0.45.2; platform_system != "Darwin" and extra == "extra"
|
|
209
|
+
Requires-Dist: hydra-core<2.0,>=1.2.0; extra == "extra"
|
|
210
|
+
Requires-Dist: jsonargparse[jsonnet,signatures]<5.0,>=4.39.0; extra == "extra"
|
|
211
|
+
Requires-Dist: matplotlib<4.0,>3.1; extra == "extra"
|
|
212
|
+
Requires-Dist: omegaconf<3.0,>=2.2.3; extra == "extra"
|
|
213
|
+
Requires-Dist: rich<15.0,>=12.3.0; extra == "extra"
|
|
214
|
+
Requires-Dist: tensorboardX<3.0,>=2.2; extra == "extra"
|
|
215
|
+
Provides-Extra: strategies
|
|
216
|
+
Requires-Dist: bitsandbytes<1.0,>=0.45.2; platform_system != "Darwin" and extra == "strategies"
|
|
217
|
+
Requires-Dist: deepspeed<0.17.0,>=0.15.0; (platform_system != "Windows" and platform_system != "Darwin") and extra == "strategies"
|
|
218
|
+
Provides-Extra: test-gpu
|
|
219
|
+
Requires-Dist: torch-tensorrt; (platform_system != "Darwin" and python_version >= "3.12") and extra == "test-gpu"
|
|
216
220
|
Provides-Extra: data
|
|
217
221
|
Requires-Dist: litdata<1.0,>=0.2.0rc; extra == "data"
|
|
218
222
|
Provides-Extra: all
|
|
@@ -234,7 +238,7 @@ Requires-Dist: click==8.1.8; python_version < "3.11" and extra == "dev"
|
|
|
234
238
|
Requires-Dist: click==8.3.1; python_version > "3.10" and extra == "dev"
|
|
235
239
|
Requires-Dist: cloudpickle<4.0,>=1.3; extra == "dev"
|
|
236
240
|
Requires-Dist: coverage==7.10.7; python_version < "3.10" and extra == "dev"
|
|
237
|
-
Requires-Dist: coverage==7.13.
|
|
241
|
+
Requires-Dist: coverage==7.13.4; python_version >= "3.10" and extra == "dev"
|
|
238
242
|
Requires-Dist: deepspeed<0.17.0,>=0.15.0; (platform_system != "Windows" and platform_system != "Darwin") and extra == "dev"
|
|
239
243
|
Requires-Dist: fastapi; extra == "dev"
|
|
240
244
|
Requires-Dist: huggingface-hub; extra == "dev"
|
|
@@ -245,10 +249,11 @@ Requires-Dist: matplotlib<4.0,>3.1; extra == "dev"
|
|
|
245
249
|
Requires-Dist: numpy<2.0,>1.21.0; python_version < "3.12" and extra == "dev"
|
|
246
250
|
Requires-Dist: numpy<3.0,>2.1.0; python_version >= "3.12" and extra == "dev"
|
|
247
251
|
Requires-Dist: omegaconf<3.0,>=2.2.3; extra == "dev"
|
|
252
|
+
Requires-Dist: onnx-ir<1.0; extra == "dev"
|
|
248
253
|
Requires-Dist: onnx<2.0,>1.12.0; extra == "dev"
|
|
249
254
|
Requires-Dist: onnxruntime<2.0,>=1.12.0; extra == "dev"
|
|
250
255
|
Requires-Dist: onnxscript<1.0,>=0.1.0; extra == "dev"
|
|
251
|
-
Requires-Dist: pandas<
|
|
256
|
+
Requires-Dist: pandas<4.0,>2.0; extra == "dev"
|
|
252
257
|
Requires-Dist: psutil<8.0; extra == "dev"
|
|
253
258
|
Requires-Dist: pytest-cov==7.0.0; extra == "dev"
|
|
254
259
|
Requires-Dist: pytest-random-order==1.2.0; extra == "dev"
|
|
@@ -262,7 +267,6 @@ Requires-Dist: scikit-learn<2.0,>0.22.1; extra == "dev"
|
|
|
262
267
|
Requires-Dist: tensorboard<3.0,>=2.11; extra == "dev"
|
|
263
268
|
Requires-Dist: tensorboardX<3.0,>=2.2; extra == "dev"
|
|
264
269
|
Requires-Dist: tensorboardX<3.0,>=2.6; extra == "dev"
|
|
265
|
-
Requires-Dist: torch-tensorrt; (platform_system != "Darwin" and python_version >= "3.12") and extra == "dev"
|
|
266
270
|
Requires-Dist: torchmetrics<2.0,>=0.10.0; extra == "dev"
|
|
267
271
|
Requires-Dist: torchvision<1.0,>=0.16.0; extra == "dev"
|
|
268
272
|
Requires-Dist: uvicorn; extra == "dev"
|
|
@@ -302,7 +306,7 @@ ______________________________________________________________________
|
|
|
302
306
|
<a href="#lightning-fabric-expert-control">Fabric</a> •
|
|
303
307
|
<a href="https://lightning.ai/?utm_source=ptl_readme&utm_medium=referral&utm_campaign=ptl_readme">Lightning Cloud</a> •
|
|
304
308
|
<a href="#community">Community</a> •
|
|
305
|
-
<a href="https://pytorch-lightning.readthedocs.io/en/2.6.
|
|
309
|
+
<a href="https://pytorch-lightning.readthedocs.io/en/2.6.4">Docs</a>
|
|
306
310
|
</p>
|
|
307
311
|
|
|
308
312
|
<!-- DO NOT ADD CONDA DOWNLOADS... README CHANGES MUST BE APPROVED BY EDEN OR WILL -->
|
|
@@ -535,9 +539,6 @@ trainer = Trainer(logger=loggers.CometLogger())
|
|
|
535
539
|
# mlflow
|
|
536
540
|
trainer = Trainer(logger=loggers.MLFlowLogger())
|
|
537
541
|
|
|
538
|
-
# neptune
|
|
539
|
-
trainer = Trainer(logger=loggers.NeptuneLogger())
|
|
540
|
-
|
|
541
542
|
# ... and dozens more
|
|
542
543
|
```
|
|
543
544
|
|
|
@@ -843,7 +844,7 @@ Lightning is rigorously tested across multiple CPUs, GPUs and TPUs and against m
|
|
|
843
844
|
|
|
844
845
|
| System / PyTorch ver. | 1.13 | 2.0 | 2.1 |
|
|
845
846
|
| :--------------------------------: | :-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: | :-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: |:-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------:|
|
|
846
|
-
| Linux py3.9 \[GPUs\] | | | [](https://dev.azure.com/Lightning-AI/lightning/_build/latest?definitionId=24&branchName=master) |
|
|
847
848
|
| 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) |
|
|
848
849
|
| 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) |
|
|
849
850
|
| 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) |
|
|
@@ -6,6 +6,6 @@ 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.46.0
|
|
9
|
-
rich >=12.3.0, <14.
|
|
9
|
+
rich >=12.3.0, <14.4.0
|
|
10
10
|
tensorboardX >=2.2, <2.7.0 # min version is set by torch.onnx missing attribute
|
|
11
11
|
bitsandbytes >=0.45.2,<0.47.0; platform_system != "Darwin"
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
coverage ==7.13.
|
|
1
|
+
coverage ==7.13.4; python_version >= "3.10"
|
|
2
2
|
coverage ==7.10.7; python_version < "3.10"
|
|
3
3
|
pytest ==9.0.2
|
|
4
4
|
pytest-cov ==7.0.0
|
|
@@ -15,12 +15,12 @@ numpy >2.1.0, <2.4.2; python_version >= "3.12"
|
|
|
15
15
|
onnx >1.12.0, <1.21.0
|
|
16
16
|
onnxruntime >=1.12.0, <1.24.0
|
|
17
17
|
onnxscript >= 0.1.0, < 0.6.0
|
|
18
|
+
onnx-ir < 0.1.16
|
|
18
19
|
psutil <7.3.0 # for `DeviceStatsMonitor`
|
|
19
|
-
pandas >2.0, <
|
|
20
|
+
pandas >2.0, <3.1.0 # needed in benchmarks
|
|
20
21
|
fastapi # for `ServableModuleValidator` # not setting version as re-defined in App
|
|
21
22
|
uvicorn # for `ServableModuleValidator` # not setting version as re-defined in App
|
|
22
23
|
|
|
23
24
|
tensorboard >=2.11, <2.21.0 # for `TensorBoardLogger`
|
|
24
25
|
|
|
25
|
-
torch-tensorrt; platform_system != "Darwin" and python_version >= "3.12"
|
|
26
26
|
huggingface-hub
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
torch-tensorrt; platform_system != "Darwin" and python_version >= "3.12"
|
|
@@ -4,27 +4,33 @@ All notable changes to this project will be documented in this file.
|
|
|
4
4
|
|
|
5
5
|
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/).
|
|
6
6
|
|
|
7
|
-
|
|
8
7
|
## [unreleased] - YYYY-MM-DD
|
|
9
8
|
|
|
10
9
|
### Added
|
|
11
10
|
|
|
12
11
|
-
|
|
13
12
|
|
|
13
|
+
### Changed
|
|
14
|
+
|
|
15
|
+
-
|
|
14
16
|
|
|
15
17
|
### Removed
|
|
16
18
|
|
|
17
19
|
-
|
|
18
20
|
|
|
19
|
-
|
|
20
|
-
### Changed
|
|
21
|
+
### Fixed
|
|
21
22
|
|
|
22
23
|
-
|
|
23
24
|
|
|
25
|
+
--
|
|
26
|
+
|
|
27
|
+
## [2.6.2] - 2026-03-19
|
|
24
28
|
|
|
25
29
|
### Fixed
|
|
26
30
|
|
|
27
|
-
-
|
|
31
|
+
- Fixed FSDP mixed precision (`bf16-mixed`, `16-mixed`) initializing model parameters in half precision instead of fp32 ([#21586](https://github.com/Lightning-AI/pytorch-lightning/pull/21586))
|
|
32
|
+
|
|
33
|
+
- Fixed `device_mesh` type hint in `FSDPStrategy` to accept a 2-element tuple via the CLI ([#21581](https://github.com/Lightning-AI/pytorch-lightning/pull/21581))
|
|
28
34
|
|
|
29
35
|
---
|
|
30
36
|
|
{lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/fabric/plugins/precision/fsdp.py
RENAMED
|
@@ -112,7 +112,7 @@ class FSDPPrecision(Precision):
|
|
|
112
112
|
|
|
113
113
|
@override
|
|
114
114
|
def module_init_context(self) -> AbstractContextManager:
|
|
115
|
-
return _DtypeContextManager(self.
|
|
115
|
+
return _DtypeContextManager(self._desired_input_dtype)
|
|
116
116
|
|
|
117
117
|
@override
|
|
118
118
|
def forward_context(self) -> AbstractContextManager:
|
|
@@ -150,7 +150,7 @@ class FSDPStrategy(ParallelStrategy, _Sharded):
|
|
|
150
150
|
activation_checkpointing_policy: Optional["_POLICY"] = None,
|
|
151
151
|
sharding_strategy: "_SHARDING_STRATEGY" = "FULL_SHARD",
|
|
152
152
|
state_dict_type: Literal["full", "sharded"] = "sharded",
|
|
153
|
-
device_mesh: Optional[Union[tuple[int], "DeviceMesh"]] = None,
|
|
153
|
+
device_mesh: Optional[Union[tuple[int, int], "DeviceMesh"]] = None,
|
|
154
154
|
**kwargs: Any,
|
|
155
155
|
) -> None:
|
|
156
156
|
super().__init__(
|
|
@@ -117,7 +117,7 @@ class _FabricModule(_DeviceDtypeModuleMixin):
|
|
|
117
117
|
"""
|
|
118
118
|
super().__init__()
|
|
119
119
|
self._forward_module = forward_module
|
|
120
|
-
self._original_module = original_module
|
|
120
|
+
self._original_module = forward_module if original_module is None else original_module
|
|
121
121
|
self._strategy = strategy
|
|
122
122
|
self._forward_methods = set(_LIGHTNING_MODULE_STEP_METHODS)
|
|
123
123
|
self._fabric_module_initialized = True
|
|
@@ -12,21 +12,44 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/).
|
|
|
12
12
|
|
|
13
13
|
-
|
|
14
14
|
|
|
15
|
+
### Changed
|
|
16
|
+
|
|
17
|
+
-
|
|
15
18
|
|
|
16
19
|
### Removed
|
|
17
20
|
|
|
18
21
|
-
|
|
19
22
|
|
|
23
|
+
### Fixed
|
|
24
|
+
|
|
25
|
+
-
|
|
26
|
+
|
|
27
|
+
---
|
|
28
|
+
|
|
29
|
+
## [2.6.2] - 2026-03-19
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
### Removed
|
|
33
|
+
|
|
34
|
+
- Removed support for Neptune logger ([#21572](https://github.com/Lightning-AI/pytorch-lightning/pull/21572))
|
|
35
|
+
|
|
20
36
|
|
|
21
37
|
### Changed
|
|
22
38
|
|
|
23
|
-
-
|
|
39
|
+
- Raise minimum `LitLogger` version to `2026-03-17` ([#21591](https://github.com/Lightning-AI/pytorch-lightning/pull/21591))
|
|
24
40
|
|
|
25
41
|
|
|
26
42
|
### Fixed
|
|
27
43
|
|
|
28
|
-
-
|
|
44
|
+
- Fixed `val_check_interval` raising `ValueError` when `limit_val_batches=0` and interval exceeds training batches ([#21560](https://github.com/Lightning-AI/pytorch-lightning/pull/21560))
|
|
45
|
+
|
|
46
|
+
- Fixed pkg-resources deprecation issue ([#21538](https://github.com/Lightning-AI/pytorch-lightning/pull/21538))
|
|
47
|
+
|
|
48
|
+
- Fixed FSDP mixed precision (`bf16-mixed`, `16-mixed`) initializing model parameters in half precision instead of fp32 ([#21586](https://github.com/Lightning-AI/pytorch-lightning/pull/21586))
|
|
49
|
+
|
|
50
|
+
- Fixed `device_mesh` type hint in `FSDPStrategy` to accept a 2-element tuple via the CLI ([#21581](https://github.com/Lightning-AI/pytorch-lightning/pull/21581))
|
|
29
51
|
|
|
52
|
+
- Fixed ``RichModelSummary`` model size display formatting ([#21467](https://github.com/Lightning-AI/pytorch-lightning/pull/21467))
|
|
30
53
|
|
|
31
54
|
---
|
|
32
55
|
|
{lightning-2.6.1.dev20260201 → lightning-2.6.4}/src/lightning/pytorch/callbacks/model_checkpoint.py
RENAMED
|
@@ -229,7 +229,7 @@ class ModelCheckpoint(Checkpoint):
|
|
|
229
229
|
... )
|
|
230
230
|
|
|
231
231
|
# save epoch and val_loss in name, but specify the formatting yourself (e.g. to avoid problems with Tensorboard
|
|
232
|
-
# or
|
|
232
|
+
# or other loggers, due to the presence of characters like '=' or '/')
|
|
233
233
|
# saves a file like: my/path/sample-mnist-epoch02-val_loss0.32.ckpt
|
|
234
234
|
>>> checkpoint_callback = ModelCheckpoint(
|
|
235
235
|
... monitor='val/loss',
|
|
@@ -17,7 +17,7 @@ from typing_extensions import override
|
|
|
17
17
|
|
|
18
18
|
from lightning.pytorch.callbacks import ModelSummary
|
|
19
19
|
from lightning.pytorch.utilities.imports import _RICH_AVAILABLE
|
|
20
|
-
from lightning.pytorch.utilities.model_summary import get_human_readable_count
|
|
20
|
+
from lightning.pytorch.utilities.model_summary import get_formatted_model_size, get_human_readable_count
|
|
21
21
|
|
|
22
22
|
|
|
23
23
|
class RichModelSummary(ModelSummary):
|
|
@@ -105,8 +105,9 @@ class RichModelSummary(ModelSummary):
|
|
|
105
105
|
console.print(table)
|
|
106
106
|
|
|
107
107
|
parameters = []
|
|
108
|
-
for param in [trainable_parameters, total_parameters - trainable_parameters, total_parameters
|
|
108
|
+
for param in [trainable_parameters, total_parameters - trainable_parameters, total_parameters]:
|
|
109
109
|
parameters.append("{:<{}}".format(get_human_readable_count(int(param)), 10))
|
|
110
|
+
parameters.append("{:<{}}".format(get_formatted_model_size(model_size), 10))
|
|
110
111
|
|
|
111
112
|
grid = Table.grid(expand=True)
|
|
112
113
|
grid.add_column()
|
|
@@ -1498,11 +1498,10 @@ class LightningModule(
|
|
|
1498
1498
|
example_inputs: Optional[Any] = None,
|
|
1499
1499
|
**kwargs: Any,
|
|
1500
1500
|
) -> Union[ScriptModule, dict[str, ScriptModule]]:
|
|
1501
|
-
"""By default compiles the whole model to a
|
|
1502
|
-
|
|
1503
|
-
|
|
1504
|
-
|
|
1505
|
-
dictionary.
|
|
1501
|
+
"""By default compiles the whole model to a ``torch.jit.ScriptModule``. If you want to use tracing, please
|
|
1502
|
+
provided the argument ``method='trace'`` and make sure that either the `example_inputs` argument is provided,
|
|
1503
|
+
or the model has :attr:`example_input_array` set. If you would like to customize the modules that are scripted
|
|
1504
|
+
you should override this method. In case you want to return multiple modules, we recommend using a dictionary.
|
|
1506
1505
|
|
|
1507
1506
|
.. deprecated::
|
|
1508
1507
|
``LightningModule.to_torchscript`` has been deprecated in v2.7 and will be removed in v2.8.
|
|
@@ -1514,15 +1513,15 @@ class LightningModule(
|
|
|
1514
1513
|
method: Whether to use TorchScript's script or trace method. Default: 'script'
|
|
1515
1514
|
example_inputs: An input to be used to do tracing when method is set to 'trace'.
|
|
1516
1515
|
Default: None (uses :attr:`example_input_array`)
|
|
1517
|
-
**kwargs: Additional arguments that will be passed to the
|
|
1518
|
-
|
|
1516
|
+
**kwargs: Additional arguments that will be passed to the ``torch.jit.script`` or
|
|
1517
|
+
``torch.jit.trace`` function.
|
|
1519
1518
|
|
|
1520
1519
|
Note:
|
|
1521
1520
|
- Requires the implementation of the
|
|
1522
1521
|
:meth:`~lightning.pytorch.core.LightningModule.forward` method.
|
|
1523
1522
|
- The exported script will be set to evaluation mode.
|
|
1524
1523
|
- It is recommended that you install the latest supported version of PyTorch
|
|
1525
|
-
to use this feature without limitations. See also the
|
|
1524
|
+
to use this feature without limitations. See also the ``torch.jit``
|
|
1526
1525
|
documentation for supported features.
|
|
1527
1526
|
|
|
1528
1527
|
Example::
|
|
@@ -16,7 +16,6 @@ from lightning.pytorch.loggers.csv_logs import CSVLogger
|
|
|
16
16
|
from lightning.pytorch.loggers.litlogger import LitLogger
|
|
17
17
|
from lightning.pytorch.loggers.logger import Logger
|
|
18
18
|
from lightning.pytorch.loggers.mlflow import MLFlowLogger
|
|
19
|
-
from lightning.pytorch.loggers.neptune import NeptuneLogger
|
|
20
19
|
from lightning.pytorch.loggers.tensorboard import TensorBoardLogger
|
|
21
20
|
from lightning.pytorch.loggers.wandb import WandbLogger
|
|
22
21
|
|
|
@@ -28,5 +27,4 @@ __all__ = [
|
|
|
28
27
|
"MLFlowLogger",
|
|
29
28
|
"TensorBoardLogger",
|
|
30
29
|
"WandbLogger",
|
|
31
|
-
"NeptuneLogger",
|
|
32
30
|
]
|