lightning 2.3.0.dev20240407__tar.gz → 2.3.0.dev20240526__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.3.0.dev20240407/src/lightning.egg-info → lightning-2.3.0.dev20240526}/PKG-INFO +15 -15
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/requirements/app/app.txt +1 -1
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/requirements/base.txt +2 -2
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/requirements/fabric/base.txt +2 -2
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/requirements/fabric/examples.txt +1 -1
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/requirements/fabric/strategies.txt +1 -1
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/requirements/pytorch/base.txt +2 -2
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/requirements/pytorch/examples.txt +1 -2
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/requirements/pytorch/strategies.txt +1 -1
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/core/app.py +8 -4
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/core/constants.py +2 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/runners/cloud.py +2 -2
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/runners/multiprocess.py +11 -10
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/utilities/network.py +25 -21
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/fabric/CHANGELOG.md +18 -6
- lightning-2.3.0.dev20240526/src/lightning/fabric/accelerators/cuda.py +181 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/fabric/accelerators/mps.py +3 -1
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/fabric/connector.py +8 -1
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/fabric/fabric.py +5 -32
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/fabric/plugins/precision/amp.py +1 -4
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/fabric/plugins/precision/bitsandbytes.py +6 -6
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/fabric/plugins/precision/fsdp.py +3 -7
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/fabric/strategies/__init__.py +1 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/fabric/strategies/fsdp.py +32 -102
- lightning-2.3.0.dev20240526/src/lightning/fabric/strategies/model_parallel.py +605 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/fabric/strategies/strategy.py +2 -5
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/fabric/strategies/xla_fsdp.py +0 -11
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/fabric/utilities/device_dtype_mixin.py +2 -4
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/fabric/utilities/imports.py +4 -3
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/fabric/utilities/init.py +44 -4
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/fabric/utilities/load.py +1 -6
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/fabric/utilities/logger.py +18 -1
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/fabric/utilities/testing/_runif.py +1 -2
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/fabric/utilities/types.py +3 -47
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/fabric/wrappers.py +29 -26
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/pytorch/CHANGELOG.md +15 -5
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/pytorch/callbacks/lr_monitor.py +3 -1
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/pytorch/callbacks/stochastic_weight_avg.py +1 -1
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/pytorch/cli.py +5 -5
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/pytorch/core/hooks.py +1 -3
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/pytorch/core/module.py +16 -5
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/pytorch/core/optimizer.py +2 -1
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/pytorch/demos/boring_classes.py +2 -2
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/pytorch/loggers/wandb.py +7 -1
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/pytorch/plugins/precision/amp.py +1 -4
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/pytorch/plugins/precision/fsdp.py +3 -7
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/pytorch/strategies/__init__.py +2 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/pytorch/strategies/deepspeed.py +2 -5
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/pytorch/strategies/fsdp.py +13 -43
- lightning-2.3.0.dev20240526/src/lightning/pytorch/strategies/model_parallel.py +363 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/pytorch/strategies/strategy.py +2 -4
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/pytorch/trainer/connectors/accelerator_connector.py +16 -3
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/pytorch/trainer/connectors/logger_connector/result.py +2 -4
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/pytorch/trainer/trainer.py +2 -13
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/pytorch/tuner/lr_finder.py +9 -12
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/pytorch/utilities/compile.py +3 -19
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/pytorch/utilities/model_summary/model_summary.py +1 -5
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/pytorch/utilities/testing/_runif.py +1 -2
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/pytorch/utilities/types.py +6 -5
- lightning-2.3.0.dev20240526/src/lightning/version.info +1 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526/src/lightning.egg-info}/PKG-INFO +15 -15
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning.egg-info/SOURCES.txt +3 -1
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning.egg-info/requires.txt +28 -34
- lightning-2.3.0.dev20240526/src/version.info +1 -0
- lightning-2.3.0.dev20240407/src/lightning/fabric/accelerators/cuda.py +0 -381
- lightning-2.3.0.dev20240407/src/lightning/version.info +0 -1
- lightning-2.3.0.dev20240407/src/version.info +0 -1
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/.actions/assistant.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/CITATION.cff +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/LICENSE +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/README.md +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/pyproject.toml +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/requirements/app/cloud.txt +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/requirements/app/components.txt +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/requirements/app/docs.txt +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/requirements/app/test.txt +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/requirements/app/ui.txt +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/requirements/fabric/docs.txt +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/requirements/fabric/test.txt +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/requirements/pytorch/docs.txt +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/requirements/pytorch/extra.txt +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/requirements/pytorch/test.txt +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/setup.cfg +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/setup.py +0 -0
- /lightning-2.3.0.dev20240407/src/lightning/1714ed7a47b2b85f2b1eebdd05b5f1cc91bf167a3421e0ef → /lightning-2.3.0.dev20240526/src/lightning/9da8d09d39dabf8f876897b29a49edf1b4d01405126f6faa +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/__about__.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/__init__.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/__main__.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/__setup__.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/__version__.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/CHANGELOG.md +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/__init__.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/api/__init__.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/api/http_methods.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/api/request_types.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/cli/__init__.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/cli/app-template/.gitignore +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/cli/app-template/LICENSE +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/cli/app-template/README.md +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/cli/app-template/app.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/cli/app-template/placeholdername/__init__.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/cli/app-template/placeholdername/components/component_a/__init__.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/cli/app-template/placeholdername/components/component_a/component_a.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/cli/app-template/placeholdername/components/component_b/__init__.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/cli/app-template/placeholdername/components/component_b/component_a.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/cli/app-template/requirements.txt +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/cli/app-template/setup.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/cli/app-template/tests/README.md +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/cli/app-template/tests/__init__.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/cli/app-template/tests/requirements.txt +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/cli/app-template/tests/test_placeholdername_app.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/cli/cmd_apps.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/cli/cmd_init.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/cli/cmd_install.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/cli/cmd_pl_init.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/cli/cmd_react_ui_init.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/cli/commands/__init__.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/cli/commands/app_commands.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/cli/commands/cd.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/cli/commands/cp.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/cli/commands/logs.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/cli/commands/ls.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/cli/commands/pwd.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/cli/commands/rm.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/cli/component-template/.github/workflows/ci-testing.yml +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/cli/component-template/.gitignore +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/cli/component-template/LICENSE +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/cli/component-template/README.md +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/cli/component-template/app.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/cli/component-template/placeholdername/__init__.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/cli/component-template/placeholdername/component.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/cli/component-template/requirements.txt +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/cli/component-template/setup.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/cli/component-template/tests/README.md +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/cli/component-template/tests/__init__.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/cli/component-template/tests/requirements.txt +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/cli/component-template/tests/test_placeholdername_component.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/cli/connect/__init__.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/cli/connect/app.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/cli/connect/data.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/cli/core.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/cli/lightning_cli.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/cli/lightning_cli_delete.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/cli/lightning_cli_launch.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/cli/lightning_cli_list.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/cli/pl-app-template/.gitignore +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/cli/pl-app-template/.lightningignore +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/cli/pl-app-template/app.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/cli/pl-app-template/core/__init__.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/cli/pl-app-template/core/callbacks.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/cli/pl-app-template/core/components/__init__.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/cli/pl-app-template/core/components/logger/__init__.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/cli/pl-app-template/core/components/logger/tensorboard.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/cli/pl-app-template/core/components/logger/weights_and_biases.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/cli/pl-app-template/core/components/script_runner/__init__.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/cli/pl-app-template/core/components/script_runner/script_runner.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/cli/pl-app-template/core/state.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/cli/pl-app-template/setup.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/cli/pl-app-template/tests/__init__.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/cli/pl-app-template/tests/core/__init__.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/cli/pl-app-template/tests/core/test_callbacks.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/cli/pl-app-template/tests/test_app.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/cli/pl-app-template/ui/.gitignore +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/cli/pl-app-template/ui/.prettierignore +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/cli/pl-app-template/ui/.prettierrc +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/cli/pl-app-template/ui/craco.config.js +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/cli/pl-app-template/ui/package.json +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/cli/pl-app-template/ui/public/favicon.svg +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/cli/pl-app-template/ui/public/index.html +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/cli/pl-app-template/ui/public/manifest.json +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/cli/pl-app-template/ui/public/robots.txt +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/cli/pl-app-template/ui/src/App.tsx +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/cli/pl-app-template/ui/src/components/EnvironmentConfigurator.tsx +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/cli/pl-app-template/ui/src/components/ErrorPanel.tsx +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/cli/pl-app-template/ui/src/components/ExecutionSummary.tsx +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/cli/pl-app-template/ui/src/components/HyperparameterSummary.tsx +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/cli/pl-app-template/ui/src/components/Launcher.tsx +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/cli/pl-app-template/ui/src/components/ProgressBar.tsx +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/cli/pl-app-template/ui/src/components/ProgressBarGroup.tsx +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/cli/pl-app-template/ui/src/components/Timer.tsx +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/cli/pl-app-template/ui/src/hooks/useLightningState.ts +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/cli/pl-app-template/ui/src/index.css +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/cli/pl-app-template/ui/src/index.tsx +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/cli/pl-app-template/ui/src/lightning-colors.ts +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/cli/pl-app-template/ui/src/react-app-env.d.ts +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/cli/pl-app-template/ui/src/reportWebVitals.ts +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/cli/pl-app-template/ui/src/types/lightning.ts +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/cli/pl-app-template/ui/tsconfig.json +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/cli/react-ui-template/README.md +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/cli/react-ui-template/example_app.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/cli/react-ui-template/ui/index.html +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/cli/react-ui-template/ui/package.json +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/cli/react-ui-template/ui/src/App.css +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/cli/react-ui-template/ui/src/App.tsx +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/cli/react-ui-template/ui/src/favicon.svg +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/cli/react-ui-template/ui/src/hooks/useLightningState.ts +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/cli/react-ui-template/ui/src/index.css +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/cli/react-ui-template/ui/src/main.tsx +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/cli/react-ui-template/ui/src/types/lightning.ts +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/cli/react-ui-template/ui/src/vite-env.d.ts +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/cli/react-ui-template/ui/tsconfig.json +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/cli/react-ui-template/ui/tsconfig.node.json +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/cli/react-ui-template/ui/vite.config.ts +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/cli/react-ui-template/ui/yarn.lock +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/components/__init__.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/components/database/__init__.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/components/database/client.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/components/database/server.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/components/database/utilities.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/components/multi_node/__init__.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/components/multi_node/base.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/components/multi_node/fabric.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/components/multi_node/pytorch_spawn.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/components/multi_node/trainer.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/components/python/__init__.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/components/python/popen.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/components/python/tracer.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/components/serve/__init__.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/components/serve/auto_scaler.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/components/serve/catimage.png +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/components/serve/cold_start_proxy.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/components/serve/gradio_server.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/components/serve/python_server.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/components/serve/serve.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/components/serve/streamlit.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/components/serve/types/__init__.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/components/serve/types/image.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/components/serve/types/type.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/components/training.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/core/__init__.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/core/api.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/core/flow.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/core/queues.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/core/work.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/frontend/__init__.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/frontend/frontend.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/frontend/just_py/__init__.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/frontend/just_py/just_py.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/frontend/just_py/just_py_base.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/frontend/panel/__init__.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/frontend/panel/app_state_comm.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/frontend/panel/app_state_watcher.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/frontend/panel/panel_frontend.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/frontend/panel/panel_serve_render_fn.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/frontend/stream_lit.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/frontend/streamlit_base.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/frontend/utils.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/frontend/web.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/launcher/__init__.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/launcher/launcher.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/launcher/lightning_backend.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/launcher/lightning_hybrid_backend.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/pdb/__init__.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/pdb/pdb.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/plugin/__init__.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/plugin/plugin.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/runners/__init__.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/runners/backends/__init__.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/runners/backends/backend.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/runners/backends/cloud.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/runners/backends/docker.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/runners/backends/mp_process.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/runners/runtime.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/runners/runtime_type.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/source_code/__init__.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/source_code/copytree.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/source_code/hashing.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/source_code/local.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/source_code/tar.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/source_code/uploader.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/storage/__init__.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/storage/copier.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/storage/drive.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/storage/filesystem.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/storage/mount.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/storage/orchestrator.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/storage/path.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/storage/payload.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/storage/requests.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/structures/__init__.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/structures/dict.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/structures/list.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/testing/__init__.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/testing/config.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/testing/helpers.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/testing/testing.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/ui/asset-manifest.json +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/ui/index.html +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/ui/static/css/main.fb7060be.css +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/ui/static/css/main.fb7060be.css.map +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/ui/static/favicon.ico +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/ui/static/js/787.418637a8.chunk.js +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/ui/static/js/787.418637a8.chunk.js.map +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/ui/static/js/main.c1f02aeb.js +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/ui/static/js/main.c1f02aeb.js.LICENSE.txt +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/ui/static/js/main.c1f02aeb.js.map +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/ui/static/lightningState.js +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/ui/static/manifest.json +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/ui/static/media/error.11892047d0183a4723b91dc0fb98cb95.svg +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/ui/static/media/lightning-logo-with-text.b964c8fbf221c97eb8ce52bb6e3a30d6.svg +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/ui/static/media/success.5edae4c5b171e2c1c5a3c54273c47ba8.svg +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/ui/static/media/warning.5c542673e84e77ceb6a230bfea7f7263.svg +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/ui/static/robots.txt +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/ui/version.info +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/utilities/__init__.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/utilities/app_commands.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/utilities/app_helpers.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/utilities/app_logs.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/utilities/app_status.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/utilities/auth.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/utilities/cli_helpers.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/utilities/cloud.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/utilities/clusters.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/utilities/commands/__init__.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/utilities/commands/base.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/utilities/component.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/utilities/data_structures.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/utilities/dependency_caching.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/utilities/enum.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/utilities/exceptions.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/utilities/frontend.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/utilities/git.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/utilities/imports.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/utilities/introspection.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/utilities/layout.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/utilities/load_app.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/utilities/log.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/utilities/log_helpers.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/utilities/login.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/utilities/logs_socket_api.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/utilities/name_generator.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/utilities/openapi.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/utilities/packaging/__init__.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/utilities/packaging/app_config.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/utilities/packaging/build_config.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/utilities/packaging/cloud_compute.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/utilities/packaging/docker.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/utilities/packaging/lightning_utils.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/utilities/packaging/tarfile.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/utilities/port.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/utilities/proxies.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/utilities/redis.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/utilities/safe_pickle.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/utilities/scheduler.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/utilities/secrets.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/utilities/state.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/utilities/tracer.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/utilities/tree.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/utilities/types.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/utilities/warnings.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/data/__init__.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/fabric/__init__.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/fabric/_graveyard/__init__.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/fabric/_graveyard/tpu.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/fabric/accelerators/__init__.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/fabric/accelerators/accelerator.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/fabric/accelerators/cpu.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/fabric/accelerators/registry.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/fabric/accelerators/xla.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/fabric/cli.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/fabric/loggers/__init__.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/fabric/loggers/csv_logs.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/fabric/loggers/logger.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/fabric/loggers/tensorboard.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/fabric/plugins/__init__.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/fabric/plugins/collectives/__init__.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/fabric/plugins/collectives/collective.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/fabric/plugins/collectives/single_device.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/fabric/plugins/collectives/torch_collective.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/fabric/plugins/environments/__init__.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/fabric/plugins/environments/cluster_environment.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/fabric/plugins/environments/kubeflow.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/fabric/plugins/environments/lightning.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/fabric/plugins/environments/lsf.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/fabric/plugins/environments/mpi.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/fabric/plugins/environments/slurm.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/fabric/plugins/environments/torchelastic.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/fabric/plugins/environments/xla.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/fabric/plugins/io/__init__.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/fabric/plugins/io/checkpoint_io.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/fabric/plugins/io/torch_io.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/fabric/plugins/io/xla.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/fabric/plugins/precision/__init__.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/fabric/plugins/precision/deepspeed.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/fabric/plugins/precision/double.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/fabric/plugins/precision/half.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/fabric/plugins/precision/precision.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/fabric/plugins/precision/transformer_engine.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/fabric/plugins/precision/utils.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/fabric/plugins/precision/xla.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/fabric/strategies/ddp.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/fabric/strategies/deepspeed.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/fabric/strategies/dp.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/fabric/strategies/launchers/__init__.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/fabric/strategies/launchers/launcher.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/fabric/strategies/launchers/multiprocessing.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/fabric/strategies/launchers/subprocess_script.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/fabric/strategies/launchers/xla.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/fabric/strategies/parallel.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/fabric/strategies/registry.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/fabric/strategies/single_device.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/fabric/strategies/single_xla.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/fabric/strategies/xla.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/fabric/utilities/__init__.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/fabric/utilities/apply_func.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/fabric/utilities/cloud_io.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/fabric/utilities/consolidate_checkpoint.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/fabric/utilities/data.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/fabric/utilities/device_parser.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/fabric/utilities/distributed.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/fabric/utilities/enums.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/fabric/utilities/exceptions.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/fabric/utilities/optimizer.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/fabric/utilities/rank_zero.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/fabric/utilities/registry.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/fabric/utilities/seed.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/fabric/utilities/spike.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/fabric/utilities/testing/__init__.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/fabric/utilities/throughput.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/fabric/utilities/warnings.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/py.typed +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/pytorch/__init__.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/pytorch/_graveyard/__init__.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/pytorch/_graveyard/_torchmetrics.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/pytorch/_graveyard/hpu.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/pytorch/_graveyard/precision.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/pytorch/_graveyard/tpu.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/pytorch/accelerators/__init__.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/pytorch/accelerators/accelerator.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/pytorch/accelerators/cpu.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/pytorch/accelerators/cuda.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/pytorch/accelerators/mps.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/pytorch/accelerators/xla.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/pytorch/callbacks/__init__.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/pytorch/callbacks/batch_size_finder.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/pytorch/callbacks/callback.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/pytorch/callbacks/checkpoint.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/pytorch/callbacks/device_stats_monitor.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/pytorch/callbacks/early_stopping.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/pytorch/callbacks/finetuning.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/pytorch/callbacks/gradient_accumulation_scheduler.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/pytorch/callbacks/lambda_function.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/pytorch/callbacks/lr_finder.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/pytorch/callbacks/model_checkpoint.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/pytorch/callbacks/model_summary.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/pytorch/callbacks/on_exception_checkpoint.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/pytorch/callbacks/prediction_writer.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/pytorch/callbacks/progress/__init__.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/pytorch/callbacks/progress/progress_bar.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/pytorch/callbacks/progress/rich_progress.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/pytorch/callbacks/progress/tqdm_progress.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/pytorch/callbacks/pruning.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/pytorch/callbacks/rich_model_summary.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/pytorch/callbacks/spike.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/pytorch/callbacks/throughput_monitor.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/pytorch/callbacks/timer.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/pytorch/core/__init__.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/pytorch/core/datamodule.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/pytorch/core/mixins/__init__.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/pytorch/core/mixins/hparams_mixin.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/pytorch/core/saving.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/pytorch/demos/__init__.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/pytorch/demos/mnist_datamodule.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/pytorch/demos/transformer.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/pytorch/loggers/__init__.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/pytorch/loggers/comet.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/pytorch/loggers/csv_logs.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/pytorch/loggers/logger.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/pytorch/loggers/mlflow.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/pytorch/loggers/neptune.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/pytorch/loggers/tensorboard.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/pytorch/loggers/utilities.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/pytorch/loops/__init__.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/pytorch/loops/evaluation_loop.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/pytorch/loops/fetchers.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/pytorch/loops/fit_loop.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/pytorch/loops/loop.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/pytorch/loops/optimization/__init__.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/pytorch/loops/optimization/automatic.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/pytorch/loops/optimization/closure.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/pytorch/loops/optimization/manual.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/pytorch/loops/prediction_loop.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/pytorch/loops/progress.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/pytorch/loops/training_epoch_loop.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/pytorch/loops/utilities.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/pytorch/overrides/__init__.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/pytorch/overrides/distributed.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/pytorch/plugins/__init__.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/pytorch/plugins/environments/__init__.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/pytorch/plugins/io/__init__.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/pytorch/plugins/io/async_plugin.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/pytorch/plugins/io/checkpoint_plugin.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/pytorch/plugins/io/torch_plugin.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/pytorch/plugins/io/wrapper.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/pytorch/plugins/io/xla_plugin.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/pytorch/plugins/layer_sync.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/pytorch/plugins/precision/__init__.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/pytorch/plugins/precision/bitsandbytes.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/pytorch/plugins/precision/deepspeed.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/pytorch/plugins/precision/double.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/pytorch/plugins/precision/half.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/pytorch/plugins/precision/precision.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/pytorch/plugins/precision/transformer_engine.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/pytorch/plugins/precision/xla.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/pytorch/profilers/__init__.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/pytorch/profilers/advanced.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/pytorch/profilers/base.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/pytorch/profilers/profiler.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/pytorch/profilers/pytorch.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/pytorch/profilers/simple.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/pytorch/profilers/xla.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/pytorch/serve/__init__.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/pytorch/serve/servable_module.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/pytorch/serve/servable_module_validator.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/pytorch/strategies/ddp.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/pytorch/strategies/launchers/__init__.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/pytorch/strategies/launchers/launcher.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/pytorch/strategies/launchers/multiprocessing.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/pytorch/strategies/launchers/subprocess_script.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/pytorch/strategies/launchers/xla.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/pytorch/strategies/parallel.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/pytorch/strategies/single_device.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/pytorch/strategies/single_xla.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/pytorch/strategies/xla.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/pytorch/trainer/__init__.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/pytorch/trainer/call.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/pytorch/trainer/configuration_validator.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/pytorch/trainer/connectors/__init__.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/pytorch/trainer/connectors/callback_connector.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/pytorch/trainer/connectors/checkpoint_connector.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/pytorch/trainer/connectors/data_connector.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/pytorch/trainer/connectors/logger_connector/__init__.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/pytorch/trainer/connectors/logger_connector/fx_validator.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/pytorch/trainer/connectors/logger_connector/logger_connector.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/pytorch/trainer/connectors/signal_connector.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/pytorch/trainer/setup.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/pytorch/trainer/states.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/pytorch/tuner/__init__.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/pytorch/tuner/batch_size_scaling.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/pytorch/tuner/tuning.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/pytorch/utilities/__init__.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/pytorch/utilities/_pytree.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/pytorch/utilities/argparse.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/pytorch/utilities/combined_loader.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/pytorch/utilities/consolidate_checkpoint.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/pytorch/utilities/data.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/pytorch/utilities/deepspeed.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/pytorch/utilities/enums.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/pytorch/utilities/exceptions.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/pytorch/utilities/grads.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/pytorch/utilities/imports.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/pytorch/utilities/memory.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/pytorch/utilities/migration/__init__.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/pytorch/utilities/migration/migration.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/pytorch/utilities/migration/utils.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/pytorch/utilities/model_helpers.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/pytorch/utilities/model_summary/__init__.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/pytorch/utilities/model_summary/model_summary_deepspeed.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/pytorch/utilities/parameter_tying.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/pytorch/utilities/parsing.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/pytorch/utilities/rank_zero.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/pytorch/utilities/seed.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/pytorch/utilities/signature_utils.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/pytorch/utilities/testing/__init__.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/pytorch/utilities/upgrade_checkpoint.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/pytorch/utilities/warnings.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/store/__init__.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/store/store.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/store/utils.py +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning.egg-info/dependency_links.txt +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning.egg-info/entry_points.txt +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning.egg-info/not-zip-safe +0 -0
- {lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: lightning
|
|
3
|
-
Version: 2.3.0.
|
|
3
|
+
Version: 2.3.0.dev20240526
|
|
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
|
Author: Lightning AI et al.
|
|
@@ -27,18 +27,18 @@ Classifier: Programming Language :: Python :: 3.10
|
|
|
27
27
|
Classifier: Programming Language :: Python :: 3.11
|
|
28
28
|
Requires-Python: >=3.8
|
|
29
29
|
Description-Content-Type: text/markdown
|
|
30
|
-
Provides-Extra: store-test
|
|
31
|
-
Provides-Extra: fabric-strategies
|
|
32
30
|
Provides-Extra: fabric-examples
|
|
31
|
+
Provides-Extra: fabric-strategies
|
|
33
32
|
Provides-Extra: fabric-test
|
|
34
|
-
Provides-Extra:
|
|
35
|
-
Provides-Extra: pytorch-examples
|
|
36
|
-
Provides-Extra: pytorch-test
|
|
37
|
-
Provides-Extra: pytorch-extra
|
|
38
|
-
Provides-Extra: app-cloud
|
|
33
|
+
Provides-Extra: store-test
|
|
39
34
|
Provides-Extra: app-ui
|
|
40
|
-
Provides-Extra: app-
|
|
35
|
+
Provides-Extra: app-cloud
|
|
41
36
|
Provides-Extra: app-test
|
|
37
|
+
Provides-Extra: app-components
|
|
38
|
+
Provides-Extra: pytorch-examples
|
|
39
|
+
Provides-Extra: pytorch-strategies
|
|
40
|
+
Provides-Extra: pytorch-extra
|
|
41
|
+
Provides-Extra: pytorch-test
|
|
42
42
|
Provides-Extra: fabric-all
|
|
43
43
|
Provides-Extra: fabric-dev
|
|
44
44
|
Provides-Extra: pytorch-all
|
|
@@ -46,15 +46,15 @@ Provides-Extra: pytorch-dev
|
|
|
46
46
|
Provides-Extra: app-extra
|
|
47
47
|
Provides-Extra: app-all
|
|
48
48
|
Provides-Extra: app-dev
|
|
49
|
-
Provides-Extra: test
|
|
50
49
|
Provides-Extra: data
|
|
51
|
-
Provides-Extra: strategies
|
|
52
50
|
Provides-Extra: examples
|
|
53
|
-
Provides-Extra:
|
|
51
|
+
Provides-Extra: strategies
|
|
52
|
+
Provides-Extra: test
|
|
53
|
+
Provides-Extra: ui
|
|
54
54
|
Provides-Extra: cloud
|
|
55
55
|
Provides-Extra: app
|
|
56
|
-
Provides-Extra: ui
|
|
57
56
|
Provides-Extra: components
|
|
57
|
+
Provides-Extra: extra
|
|
58
58
|
Provides-Extra: all
|
|
59
59
|
Provides-Extra: dev
|
|
60
60
|
Provides-Extra: store
|
|
@@ -78,7 +78,7 @@ ______________________________________________________________________
|
|
|
78
78
|
<a href="https://lightning.ai/docs/pytorch/stable/">PyTorch Lightning</a> •
|
|
79
79
|
<a href="https://lightning.ai/docs/fabric/stable/">Fabric</a> •
|
|
80
80
|
<a href="https://lightning.ai/docs/app/stable/">Lightning Apps</a> •
|
|
81
|
-
<a href="https://pytorch-lightning.readthedocs.io/en/2.3.0.
|
|
81
|
+
<a href="https://pytorch-lightning.readthedocs.io/en/2.3.0.dev20240526">Docs</a> •
|
|
82
82
|
<a href="#community">Community</a> •
|
|
83
83
|
<a href="https://lightning.ai/docs/pytorch/stable/generated/CONTRIBUTING.html">Contribute</a> •
|
|
84
84
|
</p>
|
|
@@ -623,7 +623,7 @@ Lightning is rigorously tested across multiple CPUs, GPUs and TPUs and against m
|
|
|
623
623
|
|
|
624
624
|
| System / PyTorch ver. | 1.13 | 2.0 | 2.1 |
|
|
625
625
|
| :--------------------------------: | :-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: | :-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: |:-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------:|
|
|
626
|
-
| Linux py3.9 \[GPUs\] | | | [](https://dev.azure.com/Lightning-AI/lightning/_build/latest?definitionId=24&branchName=master) |
|
|
627
627
|
| Linux py3.9 \[TPUs\] | | [](https://github.com/Lightning-AI/lightning/actions/workflows/tpu-tests.yml) | |
|
|
628
628
|
| 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) |
|
|
629
629
|
| 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) |
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
PyYAML<7.0,>=5.4
|
|
2
|
-
fsspec[http]<
|
|
2
|
+
fsspec[http]<2025.0,>=2022.5.0
|
|
3
3
|
lightning-utilities<1.0,>=0.8.0
|
|
4
4
|
numpy<2.0,>=1.17.2
|
|
5
5
|
packaging<24.0,>=20.0
|
|
6
|
-
torch<3.0,>=
|
|
6
|
+
torch<3.0,>=2.0.0
|
|
7
7
|
torchmetrics<2.0,>=0.7.0
|
|
8
8
|
tqdm<5.0,>=4.57.0
|
|
9
9
|
typing-extensions<5.0,>=4.4.0
|
|
@@ -2,8 +2,8 @@
|
|
|
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
|
numpy >=1.17.2, <1.27.0
|
|
5
|
-
torch >=
|
|
6
|
-
fsspec[http] >=2022.5.0, <
|
|
5
|
+
torch >=2.0.0, <2.4.0
|
|
6
|
+
fsspec[http] >=2022.5.0, <2024.4.0
|
|
7
7
|
packaging >=20.0, <=23.1
|
|
8
8
|
typing-extensions >=4.4.0, <4.10.0
|
|
9
9
|
lightning-utilities >=0.8.0, <0.12.0
|
{lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/requirements/fabric/examples.txt
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# NOTE: the upper bound for the package version is only set for CI stability, and it is dropped while installing this package
|
|
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
|
-
torchvision >=0.
|
|
4
|
+
torchvision >=0.15.0, <0.19.0
|
|
5
5
|
torchmetrics >=0.10.0, <1.3.0
|
|
6
6
|
lightning-utilities >=0.8.0, <0.12.0
|
{lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/requirements/fabric/strategies.txt
RENAMED
|
@@ -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.2, <=0.9.3; platform_system != "Windows" # strict
|
|
8
|
+
deepspeed >=0.8.2, <=0.9.3; platform_system != "Windows" and platform_system != "Darwin" # strict
|
|
9
9
|
bitsandbytes >=0.42.0,<0.43.0
|
|
@@ -2,10 +2,10 @@
|
|
|
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
|
numpy >=1.17.2, <1.27.0
|
|
5
|
-
torch >=
|
|
5
|
+
torch >=2.0.0, <2.4.0
|
|
6
6
|
tqdm >=4.57.0, <4.67.0
|
|
7
7
|
PyYAML >=5.4, <6.1.0
|
|
8
|
-
fsspec[http] >=2022.5.0, <
|
|
8
|
+
fsspec[http] >=2022.5.0, <2024.4.0
|
|
9
9
|
torchmetrics >=0.7.0, <1.3.0 # needed for using fixed compare_version
|
|
10
10
|
packaging >=20.0, <=23.1
|
|
11
11
|
typing-extensions >=4.4.0, <4.10.0
|
{lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/requirements/pytorch/examples.txt
RENAMED
|
@@ -2,8 +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
|
requests <2.32.0
|
|
5
|
-
torchvision >=0.
|
|
6
|
-
gym[classic_control] >=0.17.0, <0.27.0
|
|
5
|
+
torchvision >=0.15.0, <0.19.0
|
|
7
6
|
ipython[all] <8.15.0
|
|
8
7
|
torchmetrics >=0.10.0, <1.3.0
|
|
9
8
|
lightning-utilities >=0.8.0, <0.12.0
|
{lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/requirements/pytorch/strategies.txt
RENAMED
|
@@ -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.8.2, <=0.9.3; platform_system != "Windows" # strict
|
|
6
|
+
deepspeed >=0.8.2, <=0.9.3; platform_system != "Windows" and platform_system != "Darwin" # strict
|
|
@@ -30,6 +30,7 @@ from lightning.app import _console
|
|
|
30
30
|
from lightning.app.api.request_types import _APIRequest, _CommandRequest, _DeltaRequest
|
|
31
31
|
from lightning.app.core.constants import (
|
|
32
32
|
BATCH_DELTA_COUNT,
|
|
33
|
+
CHECK_ERROR_QUEUE_INTERVAL,
|
|
33
34
|
DEBUG_ENABLED,
|
|
34
35
|
FLOW_DURATION_SAMPLES,
|
|
35
36
|
FLOW_DURATION_THRESHOLD,
|
|
@@ -165,6 +166,7 @@ class LightningApp:
|
|
|
165
166
|
|
|
166
167
|
self._last_run_time: float = 0.0
|
|
167
168
|
self._run_times: list = []
|
|
169
|
+
self._last_check_error_queue: float = 0.0
|
|
168
170
|
|
|
169
171
|
# Path attributes can't get properly attached during the initialization, because the full name
|
|
170
172
|
# is only available after all Flows and Works have been instantiated.
|
|
@@ -318,10 +320,12 @@ class LightningApp:
|
|
|
318
320
|
return []
|
|
319
321
|
|
|
320
322
|
def check_error_queue(self) -> None:
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
323
|
+
if (time() - self._last_check_error_queue) > CHECK_ERROR_QUEUE_INTERVAL:
|
|
324
|
+
exception: Exception = self.get_state_changed_from_queue(self.error_queue) # type: ignore[assignment,arg-type]
|
|
325
|
+
if isinstance(exception, Exception):
|
|
326
|
+
self.exception = exception
|
|
327
|
+
self.stage = AppStage.FAILED
|
|
328
|
+
self._last_check_error_queue = time()
|
|
325
329
|
|
|
326
330
|
@property
|
|
327
331
|
def flows(self) -> List[Union[LightningWork, "LightningFlow"]]:
|
{lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/core/constants.py
RENAMED
|
@@ -70,6 +70,7 @@ DOT_IGNORE_FILENAME = ".lightningignore"
|
|
|
70
70
|
LIGHTNING_COMPONENT_PUBLIC_REGISTRY = "https://lightning.ai/v1/components"
|
|
71
71
|
LIGHTNING_APPS_PUBLIC_REGISTRY = "https://lightning.ai/v1/apps"
|
|
72
72
|
LIGHTNING_MODELS_PUBLIC_REGISTRY = "https://lightning.ai/v1/models"
|
|
73
|
+
ENABLE_ORCHESTRATOR = bool(int(os.getenv("ENABLE_ORCHESTRATOR", "1")))
|
|
73
74
|
|
|
74
75
|
LIGHTNING_CLOUDSPACE_HOST = os.getenv("LIGHTNING_CLOUDSPACE_HOST")
|
|
75
76
|
LIGHTNING_CLOUDSPACE_EXPOSED_PORT_COUNT = int(os.getenv("LIGHTNING_CLOUDSPACE_EXPOSED_PORT_COUNT", "0"))
|
|
@@ -99,6 +100,7 @@ SYS_CUSTOMIZATIONS_SYNC_ROOT = "/tmp/sys-customizations-sync" # todo
|
|
|
99
100
|
SYS_CUSTOMIZATIONS_SYNC_PATH = ".sys-customizations-sync"
|
|
100
101
|
|
|
101
102
|
BATCH_DELTA_COUNT = int(os.getenv("BATCH_DELTA_COUNT", "128"))
|
|
103
|
+
CHECK_ERROR_QUEUE_INTERVAL = float(os.getenv("CHECK_ERROR_QUEUE_INTERVAL", "30"))
|
|
102
104
|
|
|
103
105
|
|
|
104
106
|
def enable_multiple_works_in_default_container() -> bool:
|
{lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/runners/cloud.py
RENAMED
|
@@ -34,7 +34,7 @@ from lightning_cloud.openapi import (
|
|
|
34
34
|
CloudspaceIdRunsBody,
|
|
35
35
|
Externalv1LightningappInstance,
|
|
36
36
|
Gridv1ImageSpec,
|
|
37
|
-
|
|
37
|
+
IdGetBody,
|
|
38
38
|
ProjectIdCloudspacesBody,
|
|
39
39
|
V1BuildSpec,
|
|
40
40
|
V1CloudSpace,
|
|
@@ -1027,7 +1027,7 @@ class CloudRuntime(Runtime):
|
|
|
1027
1027
|
project_id=project_id,
|
|
1028
1028
|
cloudspace_id=cloudspace_id,
|
|
1029
1029
|
id=run_id,
|
|
1030
|
-
body=
|
|
1030
|
+
body=IdGetBody(
|
|
1031
1031
|
cluster_id=cluster_id,
|
|
1032
1032
|
name=run_name,
|
|
1033
1033
|
desired_state=desired_state,
|
|
@@ -81,16 +81,17 @@ class MultiProcessRuntime(Runtime):
|
|
|
81
81
|
|
|
82
82
|
_set_flow_context()
|
|
83
83
|
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
84
|
+
if constants.ENABLE_ORCHESTRATOR:
|
|
85
|
+
storage_orchestrator = StorageOrchestrator(
|
|
86
|
+
self.app,
|
|
87
|
+
self.app.request_queues,
|
|
88
|
+
self.app.response_queues,
|
|
89
|
+
self.app.copy_request_queues,
|
|
90
|
+
self.app.copy_response_queues,
|
|
91
|
+
)
|
|
92
|
+
self.threads.append(storage_orchestrator)
|
|
93
|
+
storage_orchestrator.setDaemon(True)
|
|
94
|
+
storage_orchestrator.start()
|
|
94
95
|
|
|
95
96
|
if self.start_server:
|
|
96
97
|
self.app.should_publish_changes_to_api = True
|
{lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/app/utilities/network.py
RENAMED
|
@@ -89,18 +89,36 @@ _CONNECTION_RETRY_BACKOFF_FACTOR = 0.5
|
|
|
89
89
|
_DEFAULT_REQUEST_TIMEOUT = 30 # seconds
|
|
90
90
|
|
|
91
91
|
|
|
92
|
+
def create_retry_strategy():
|
|
93
|
+
return Retry(
|
|
94
|
+
# wait time between retries increases exponentially according to: backoff_factor * (2 ** (retry - 1))
|
|
95
|
+
# but the the maximum wait time is 120 secs. By setting a large value (2880), we'll make sure clients
|
|
96
|
+
# are going to be alive for a very long time (~ 4 days) but retries every 120 seconds
|
|
97
|
+
total=_CONNECTION_RETRY_TOTAL,
|
|
98
|
+
backoff_factor=_CONNECTION_RETRY_BACKOFF_FACTOR,
|
|
99
|
+
# Any 4xx and 5xx statuses except
|
|
100
|
+
# 400 Bad Request
|
|
101
|
+
# 401 Unauthorized
|
|
102
|
+
# 403 Forbidden
|
|
103
|
+
# 404 Not Found
|
|
104
|
+
status_forcelist={
|
|
105
|
+
402,
|
|
106
|
+
*range(405, 600),
|
|
107
|
+
},
|
|
108
|
+
allowed_methods={
|
|
109
|
+
"POST", # Default methods are idempotent, add POST here
|
|
110
|
+
*Retry.DEFAULT_ALLOWED_METHODS,
|
|
111
|
+
},
|
|
112
|
+
)
|
|
113
|
+
|
|
114
|
+
|
|
92
115
|
def _configure_session() -> Session:
|
|
93
116
|
"""Configures the session for GET and POST requests.
|
|
94
117
|
|
|
95
118
|
It enables a generous retrial strategy that waits for the application server to connect.
|
|
96
119
|
|
|
97
120
|
"""
|
|
98
|
-
retry_strategy =
|
|
99
|
-
# wait time between retries increases exponentially according to: backoff_factor * (2 ** (retry - 1))
|
|
100
|
-
total=_CONNECTION_RETRY_TOTAL,
|
|
101
|
-
backoff_factor=_CONNECTION_RETRY_BACKOFF_FACTOR,
|
|
102
|
-
status_forcelist=[429, 500, 502, 503, 504],
|
|
103
|
-
)
|
|
121
|
+
retry_strategy = create_retry_strategy()
|
|
104
122
|
adapter = HTTPAdapter(max_retries=retry_strategy)
|
|
105
123
|
http = requests.Session()
|
|
106
124
|
http.mount("https://", adapter)
|
|
@@ -157,21 +175,7 @@ class HTTPClient:
|
|
|
157
175
|
self, base_url: str, auth_token: Optional[str] = None, log_callback: Optional[Callable] = None
|
|
158
176
|
) -> None:
|
|
159
177
|
self.base_url = base_url
|
|
160
|
-
retry_strategy =
|
|
161
|
-
# wait time between retries increases exponentially according to: backoff_factor * (2 ** (retry - 1))
|
|
162
|
-
# but the the maximum wait time is 120 secs. By setting a large value (2880), we'll make sure clients
|
|
163
|
-
# are going to be alive for a very long time (~ 4 days) but retries every 120 seconds
|
|
164
|
-
total=_CONNECTION_RETRY_TOTAL,
|
|
165
|
-
backoff_factor=_CONNECTION_RETRY_BACKOFF_FACTOR,
|
|
166
|
-
status_forcelist=[
|
|
167
|
-
408, # Request Timeout
|
|
168
|
-
429, # Too Many Requests
|
|
169
|
-
500, # Internal Server Error
|
|
170
|
-
502, # Bad Gateway
|
|
171
|
-
503, # Service Unavailable
|
|
172
|
-
504, # Gateway Timeout
|
|
173
|
-
],
|
|
174
|
-
)
|
|
178
|
+
retry_strategy = create_retry_strategy()
|
|
175
179
|
adapter = CustomRetryAdapter(max_retries=retry_strategy, timeout=_DEFAULT_REQUEST_TIMEOUT)
|
|
176
180
|
self.session = requests.Session()
|
|
177
181
|
|
{lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/fabric/CHANGELOG.md
RENAMED
|
@@ -9,11 +9,14 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/).
|
|
|
9
9
|
|
|
10
10
|
### Added
|
|
11
11
|
|
|
12
|
-
- Enabled consolidating distributed checkpoints through `fabric consolidate` in the new CLI [#19560](https://github.com/Lightning-AI/pytorch-lightning/pull/19560))
|
|
12
|
+
- Enabled consolidating distributed checkpoints through `fabric consolidate` in the new CLI ([#19560](https://github.com/Lightning-AI/pytorch-lightning/pull/19560))
|
|
13
13
|
|
|
14
|
-
-
|
|
14
|
+
- Added the ability to explicitly mark forward methods in Fabric via `_FabricModule.mark_forward_method()` ([#19690](https://github.com/Lightning-AI/pytorch-lightning/pull/19690))
|
|
15
|
+
|
|
16
|
+
- Added support for PyTorch 2.3 ([#19708](https://github.com/Lightning-AI/pytorch-lightning/pull/19708))
|
|
17
|
+
|
|
18
|
+
- Added `ModelParallelStrategy` to support 2D parallelism ([#19846](https://github.com/Lightning-AI/pytorch-lightning/pull/19846), [#19852](https://github.com/Lightning-AI/pytorch-lightning/pull/19852), [#19870](https://github.com/Lightning-AI/pytorch-lightning/pull/19870), [#19872](https://github.com/Lightning-AI/pytorch-lightning/pull/19872))
|
|
15
19
|
|
|
16
|
-
-
|
|
17
20
|
|
|
18
21
|
### Changed
|
|
19
22
|
|
|
@@ -39,7 +42,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/).
|
|
|
39
42
|
|
|
40
43
|
### Removed
|
|
41
44
|
|
|
42
|
-
-
|
|
45
|
+
- Removed support for PyTorch 1.13 ([#19706](https://github.com/Lightning-AI/lightning/pull/19706))
|
|
43
46
|
|
|
44
47
|
-
|
|
45
48
|
|
|
@@ -47,13 +50,22 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/).
|
|
|
47
50
|
|
|
48
51
|
### Fixed
|
|
49
52
|
|
|
50
|
-
- Fixed
|
|
53
|
+
- Fixed a matrix shape mismatch issue when running a model loaded from a quantized checkpoint (bitsandbytes) ([#19886](https://github.com/Lightning-AI/lightning/pull/19886))
|
|
51
54
|
|
|
52
|
-
-
|
|
55
|
+
-
|
|
53
56
|
|
|
54
57
|
-
|
|
55
58
|
|
|
56
59
|
|
|
60
|
+
## [2.2.2] - 2024-04-11
|
|
61
|
+
|
|
62
|
+
### Fixed
|
|
63
|
+
|
|
64
|
+
- Fixed an issue causing a TypeError when using `torch.compile` as a decorator ([#19627](https://github.com/Lightning-AI/pytorch-lightning/pull/19627))
|
|
65
|
+
- Fixed issue where some model methods couldn't be monkeypatched after being Fabric wrapped ([#19705](https://github.com/Lightning-AI/pytorch-lightning/pull/19705))
|
|
66
|
+
- Fixed an issue causing weights to be reset in `Fabric.setup()` when using FSDP ([#19755](https://github.com/Lightning-AI/pytorch-lightning/pull/19755))
|
|
67
|
+
|
|
68
|
+
|
|
57
69
|
## [2.2.1] - 2024-03-04
|
|
58
70
|
|
|
59
71
|
### Fixed
|
|
@@ -0,0 +1,181 @@
|
|
|
1
|
+
# Copyright The Lightning AI team.
|
|
2
|
+
#
|
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
# you may not use this file except in compliance with the License.
|
|
5
|
+
# You may obtain a copy of the License at
|
|
6
|
+
#
|
|
7
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
+
#
|
|
9
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
10
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
|
+
# See the License for the specific language governing permissions and
|
|
13
|
+
# limitations under the License.
|
|
14
|
+
from functools import lru_cache
|
|
15
|
+
from typing import List, Optional, Union
|
|
16
|
+
|
|
17
|
+
import torch
|
|
18
|
+
from typing_extensions import override
|
|
19
|
+
|
|
20
|
+
from lightning.fabric.accelerators.accelerator import Accelerator
|
|
21
|
+
from lightning.fabric.accelerators.registry import _AcceleratorRegistry
|
|
22
|
+
from lightning.fabric.utilities.rank_zero import rank_zero_info
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
class CUDAAccelerator(Accelerator):
|
|
26
|
+
"""Accelerator for NVIDIA CUDA devices."""
|
|
27
|
+
|
|
28
|
+
@override
|
|
29
|
+
def setup_device(self, device: torch.device) -> None:
|
|
30
|
+
"""
|
|
31
|
+
Raises:
|
|
32
|
+
ValueError:
|
|
33
|
+
If the selected device is not of type CUDA.
|
|
34
|
+
"""
|
|
35
|
+
if device.type != "cuda":
|
|
36
|
+
raise ValueError(f"Device should be CUDA, got {device} instead.")
|
|
37
|
+
_check_cuda_matmul_precision(device)
|
|
38
|
+
torch.cuda.set_device(device)
|
|
39
|
+
|
|
40
|
+
@override
|
|
41
|
+
def teardown(self) -> None:
|
|
42
|
+
_clear_cuda_memory()
|
|
43
|
+
|
|
44
|
+
@staticmethod
|
|
45
|
+
@override
|
|
46
|
+
def parse_devices(devices: Union[int, str, List[int]]) -> Optional[List[int]]:
|
|
47
|
+
"""Accelerator device parsing logic."""
|
|
48
|
+
from lightning.fabric.utilities.device_parser import _parse_gpu_ids
|
|
49
|
+
|
|
50
|
+
return _parse_gpu_ids(devices, include_cuda=True)
|
|
51
|
+
|
|
52
|
+
@staticmethod
|
|
53
|
+
@override
|
|
54
|
+
def get_parallel_devices(devices: List[int]) -> List[torch.device]:
|
|
55
|
+
"""Gets parallel devices for the Accelerator."""
|
|
56
|
+
return [torch.device("cuda", i) for i in devices]
|
|
57
|
+
|
|
58
|
+
@staticmethod
|
|
59
|
+
@override
|
|
60
|
+
def auto_device_count() -> int:
|
|
61
|
+
"""Get the devices when set to auto."""
|
|
62
|
+
return num_cuda_devices()
|
|
63
|
+
|
|
64
|
+
@staticmethod
|
|
65
|
+
@override
|
|
66
|
+
def is_available() -> bool:
|
|
67
|
+
return num_cuda_devices() > 0
|
|
68
|
+
|
|
69
|
+
@classmethod
|
|
70
|
+
@override
|
|
71
|
+
def register_accelerators(cls, accelerator_registry: _AcceleratorRegistry) -> None:
|
|
72
|
+
accelerator_registry.register(
|
|
73
|
+
"cuda",
|
|
74
|
+
cls,
|
|
75
|
+
description=cls.__name__,
|
|
76
|
+
)
|
|
77
|
+
|
|
78
|
+
|
|
79
|
+
def find_usable_cuda_devices(num_devices: int = -1) -> List[int]:
|
|
80
|
+
"""Returns a list of all available and usable CUDA GPU devices.
|
|
81
|
+
|
|
82
|
+
A GPU is considered usable if we can successfully move a tensor to the device, and this is what this function
|
|
83
|
+
tests for each GPU on the system until the target number of usable devices is found.
|
|
84
|
+
|
|
85
|
+
A subset of GPUs on the system might be used by other processes, and if the GPU is configured to operate in
|
|
86
|
+
'exclusive' mode (configurable by the admin), then only one process is allowed to occupy it.
|
|
87
|
+
|
|
88
|
+
Args:
|
|
89
|
+
num_devices: The number of devices you want to request. By default, this function will return as many as there
|
|
90
|
+
are usable CUDA GPU devices available.
|
|
91
|
+
|
|
92
|
+
Warning:
|
|
93
|
+
If multiple processes call this function at the same time, there can be race conditions in the case where
|
|
94
|
+
both processes determine that the device is unoccupied, leading into one of them crashing later on.
|
|
95
|
+
|
|
96
|
+
"""
|
|
97
|
+
if num_devices == 0:
|
|
98
|
+
return []
|
|
99
|
+
visible_devices = _get_all_visible_cuda_devices()
|
|
100
|
+
if not visible_devices:
|
|
101
|
+
raise ValueError(
|
|
102
|
+
f"You requested to find {num_devices} devices but there are no visible CUDA devices on this machine."
|
|
103
|
+
)
|
|
104
|
+
if num_devices > len(visible_devices):
|
|
105
|
+
raise ValueError(
|
|
106
|
+
f"You requested to find {num_devices} devices but this machine only has {len(visible_devices)} GPUs."
|
|
107
|
+
)
|
|
108
|
+
|
|
109
|
+
available_devices = []
|
|
110
|
+
unavailable_devices = []
|
|
111
|
+
|
|
112
|
+
for gpu_idx in visible_devices:
|
|
113
|
+
try:
|
|
114
|
+
torch.tensor(0, device=torch.device("cuda", gpu_idx))
|
|
115
|
+
except RuntimeError:
|
|
116
|
+
unavailable_devices.append(gpu_idx)
|
|
117
|
+
continue
|
|
118
|
+
|
|
119
|
+
available_devices.append(gpu_idx)
|
|
120
|
+
if len(available_devices) == num_devices:
|
|
121
|
+
# exit early if we found the right number of GPUs
|
|
122
|
+
break
|
|
123
|
+
|
|
124
|
+
if num_devices != -1 and len(available_devices) != num_devices:
|
|
125
|
+
raise RuntimeError(
|
|
126
|
+
f"You requested to find {num_devices} devices but only {len(available_devices)} are currently available."
|
|
127
|
+
f" The devices {unavailable_devices} are occupied by other processes and can't be used at the moment."
|
|
128
|
+
)
|
|
129
|
+
return available_devices
|
|
130
|
+
|
|
131
|
+
|
|
132
|
+
def _get_all_visible_cuda_devices() -> List[int]:
|
|
133
|
+
"""Returns a list of all visible CUDA GPU devices.
|
|
134
|
+
|
|
135
|
+
Devices masked by the environment variabale ``CUDA_VISIBLE_DEVICES`` won't be returned here. For example, assume you
|
|
136
|
+
have 8 physical GPUs. If ``CUDA_VISIBLE_DEVICES="1,3,6"``, then this function will return the list ``[0, 1, 2]``
|
|
137
|
+
because these are the three visible GPUs after applying the mask ``CUDA_VISIBLE_DEVICES``.
|
|
138
|
+
|
|
139
|
+
"""
|
|
140
|
+
return list(range(num_cuda_devices()))
|
|
141
|
+
|
|
142
|
+
|
|
143
|
+
def num_cuda_devices() -> int:
|
|
144
|
+
"""Returns the number of available CUDA devices."""
|
|
145
|
+
return torch.cuda.device_count()
|
|
146
|
+
|
|
147
|
+
|
|
148
|
+
def is_cuda_available() -> bool:
|
|
149
|
+
"""Returns a bool indicating if CUDA is currently available."""
|
|
150
|
+
# We set `PYTORCH_NVML_BASED_CUDA_CHECK=1` in lightning.fabric.__init__.py
|
|
151
|
+
return torch.cuda.is_available()
|
|
152
|
+
|
|
153
|
+
|
|
154
|
+
def _is_ampere_or_later(device: Optional[torch.device] = None) -> bool:
|
|
155
|
+
major, _ = torch.cuda.get_device_capability(device)
|
|
156
|
+
return major >= 8 # Ampere and later leverage tensor cores, where this setting becomes useful
|
|
157
|
+
|
|
158
|
+
|
|
159
|
+
@lru_cache(1) # show the warning only ever once
|
|
160
|
+
def _check_cuda_matmul_precision(device: torch.device) -> None:
|
|
161
|
+
if not torch.cuda.is_available() or not _is_ampere_or_later(device):
|
|
162
|
+
return
|
|
163
|
+
# check that the user hasn't changed the precision already, this works for both `allow_tf32 = True` and
|
|
164
|
+
# `set_float32_matmul_precision`
|
|
165
|
+
if torch.get_float32_matmul_precision() == "highest": # default
|
|
166
|
+
rank_zero_info(
|
|
167
|
+
f"You are using a CUDA device ({torch.cuda.get_device_name(device)!r}) that has Tensor Cores. To properly"
|
|
168
|
+
" utilize them, you should set `torch.set_float32_matmul_precision('medium' | 'high')` which will trade-off"
|
|
169
|
+
" precision for performance. For more details, read https://pytorch.org/docs/stable/generated/"
|
|
170
|
+
"torch.set_float32_matmul_precision.html#torch.set_float32_matmul_precision"
|
|
171
|
+
)
|
|
172
|
+
# note: no need change `torch.backends.cudnn.allow_tf32` as it's enabled by default:
|
|
173
|
+
# https://pytorch.org/docs/stable/notes/cuda.html#tensorfloat-32-tf32-on-ampere-devices
|
|
174
|
+
|
|
175
|
+
|
|
176
|
+
def _clear_cuda_memory() -> None:
|
|
177
|
+
# strangely, the attribute function be undefined when torch.compile is used
|
|
178
|
+
if hasattr(torch._C, "_cuda_clearCublasWorkspaces"):
|
|
179
|
+
# https://github.com/pytorch/pytorch/issues/95668
|
|
180
|
+
torch._C._cuda_clearCublasWorkspaces()
|
|
181
|
+
torch.cuda.empty_cache()
|
{lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/fabric/accelerators/mps.py
RENAMED
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
12
|
# See the License for the specific language governing permissions and
|
|
13
13
|
# limitations under the License.
|
|
14
|
+
import os
|
|
14
15
|
import platform
|
|
15
16
|
from functools import lru_cache
|
|
16
17
|
from typing import List, Optional, Union
|
|
@@ -70,7 +71,8 @@ class MPSAccelerator(Accelerator):
|
|
|
70
71
|
@lru_cache(1)
|
|
71
72
|
def is_available() -> bool:
|
|
72
73
|
"""MPS is only available on a machine with the ARM-based Apple Silicon processors."""
|
|
73
|
-
|
|
74
|
+
mps_disabled = os.getenv("DISABLE_MPS", "0") == "1"
|
|
75
|
+
return not mps_disabled and torch.backends.mps.is_available() and platform.processor() in ("arm", "arm64")
|
|
74
76
|
|
|
75
77
|
@classmethod
|
|
76
78
|
@override
|
{lightning-2.3.0.dev20240407 → lightning-2.3.0.dev20240526}/src/lightning/fabric/connector.py
RENAMED
|
@@ -62,6 +62,7 @@ from lightning.fabric.strategies import (
|
|
|
62
62
|
)
|
|
63
63
|
from lightning.fabric.strategies.ddp import _DDP_FORK_ALIASES
|
|
64
64
|
from lightning.fabric.strategies.fsdp import _FSDP_ALIASES, FSDPStrategy
|
|
65
|
+
from lightning.fabric.strategies.model_parallel import ModelParallelStrategy
|
|
65
66
|
from lightning.fabric.utilities import rank_zero_info, rank_zero_warn
|
|
66
67
|
from lightning.fabric.utilities.device_parser import _determine_root_gpu_device
|
|
67
68
|
from lightning.fabric.utilities.imports import _IS_INTERACTIVE
|
|
@@ -429,7 +430,7 @@ class _Connector:
|
|
|
429
430
|
f" platform. We recommed `Fabric(strategy='ddp_spawn')` instead."
|
|
430
431
|
)
|
|
431
432
|
if (
|
|
432
|
-
strategy_flag in _FSDP_ALIASES or
|
|
433
|
+
strategy_flag in _FSDP_ALIASES or type(self._strategy_flag) is FSDPStrategy
|
|
433
434
|
) and self._accelerator_flag not in ("cuda", "gpu"):
|
|
434
435
|
raise ValueError(
|
|
435
436
|
"You selected the FSDP strategy but FSDP is only available on GPU. Set `Fabric(accelerator='gpu', ...)`"
|
|
@@ -460,6 +461,12 @@ class _Connector:
|
|
|
460
461
|
return DeepSpeedPrecision(self._precision_input) # type: ignore
|
|
461
462
|
if isinstance(self.strategy, FSDPStrategy):
|
|
462
463
|
return FSDPPrecision(precision=self._precision_input) # type: ignore[arg-type]
|
|
464
|
+
mp_precision_supported = ("32-true", "bf16-mixed", "bf16-true", "16-true")
|
|
465
|
+
if isinstance(self.strategy, ModelParallelStrategy) and self._precision_input not in mp_precision_supported:
|
|
466
|
+
raise ValueError(
|
|
467
|
+
f"The `ModelParallelStrategy` does not support `Fabric(..., precision={self._precision_input!r})`."
|
|
468
|
+
f" Choose a different precision among: {', '.join(mp_precision_supported)}."
|
|
469
|
+
)
|
|
463
470
|
if self._precision_input in ("16-true", "bf16-true"):
|
|
464
471
|
return HalfPrecision(self._precision_input) # type: ignore
|
|
465
472
|
if self._precision_input == "32-true":
|