lightning 2.3.0.dev20240623__tar.gz → 2.3.2__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.dev20240623/src/lightning.egg-info → lightning-2.3.2}/PKG-INFO +3 -3
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/pyproject.toml +1 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/requirements/app/app.txt +4 -2
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/requirements/pytorch/extra.txt +2 -2
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/__setup__.py +0 -1
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/cli/lightning_cli.py +109 -1
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/core/app.py +5 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/core/constants.py +33 -1
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/core/flow.py +5 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/core/queues.py +34 -23
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/core/work.py +3 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/launcher/launcher.py +95 -43
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/launcher/lightning_backend.py +112 -67
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/launcher/lightning_hybrid_backend.py +24 -19
- lightning-2.3.2/src/lightning/app/launcher/utils.py +97 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/runners/backends/backend.py +9 -2
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/runners/backends/cloud.py +3 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/runners/backends/docker.py +3 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/runners/backends/mp_process.py +4 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/runners/cloud.py +2 -2
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/utilities/proxies.py +29 -8
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/fabric/CHANGELOG.md +0 -33
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/fabric/cli.py +14 -8
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/fabric/utilities/distributed.py +0 -4
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/pytorch/CHANGELOG.md +0 -35
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/pytorch/strategies/launchers/multiprocessing.py +1 -1
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/pytorch/strategies/launchers/subprocess_script.py +1 -1
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/pytorch/trainer/call.py +6 -14
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/pytorch/trainer/connectors/signal_connector.py +6 -5
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/pytorch/trainer/trainer.py +1 -1
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/pytorch/utilities/types.py +1 -1
- lightning-2.3.2/src/lightning/version.info +1 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2/src/lightning.egg-info}/PKG-INFO +3 -3
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning.egg-info/SOURCES.txt +2 -1
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning.egg-info/entry_points.txt +0 -1
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning.egg-info/requires.txt +44 -26
- lightning-2.3.2/src/version.info +1 -0
- lightning-2.3.0.dev20240623/src/lightning/version.info +0 -1
- lightning-2.3.0.dev20240623/src/version.info +0 -1
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/.actions/assistant.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/CITATION.cff +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/LICENSE +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/README.md +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/requirements/app/cloud.txt +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/requirements/app/components.txt +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/requirements/app/docs.txt +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/requirements/app/test.txt +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/requirements/app/ui.txt +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/requirements/base.txt +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/requirements/fabric/base.txt +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/requirements/fabric/docs.txt +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/requirements/fabric/examples.txt +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/requirements/fabric/strategies.txt +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/requirements/fabric/test.txt +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/requirements/pytorch/base.txt +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/requirements/pytorch/docs.txt +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/requirements/pytorch/examples.txt +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/requirements/pytorch/strategies.txt +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/requirements/pytorch/test.txt +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/setup.cfg +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/setup.py +0 -0
- /lightning-2.3.0.dev20240623/src/lightning/dca3690e20c0651235509a0496c1547141ad999b5018e95e → /lightning-2.3.2/src/lightning/6f44f694807e415826050f8cb64a3c1736c7be298280703f +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/__about__.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/__init__.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/__main__.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/__version__.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/CHANGELOG.md +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/__init__.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/api/__init__.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/api/http_methods.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/api/request_types.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/cli/__init__.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/cli/app-template/.gitignore +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/cli/app-template/LICENSE +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/cli/app-template/README.md +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/cli/app-template/app.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/cli/app-template/placeholdername/__init__.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/cli/app-template/placeholdername/components/component_a/__init__.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/cli/app-template/placeholdername/components/component_a/component_a.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/cli/app-template/placeholdername/components/component_b/__init__.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/cli/app-template/placeholdername/components/component_b/component_a.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/cli/app-template/requirements.txt +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/cli/app-template/setup.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/cli/app-template/tests/README.md +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/cli/app-template/tests/__init__.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/cli/app-template/tests/requirements.txt +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/cli/app-template/tests/test_placeholdername_app.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/cli/cmd_apps.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/cli/cmd_init.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/cli/cmd_install.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/cli/cmd_pl_init.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/cli/cmd_react_ui_init.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/cli/commands/__init__.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/cli/commands/app_commands.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/cli/commands/cd.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/cli/commands/cp.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/cli/commands/logs.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/cli/commands/ls.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/cli/commands/pwd.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/cli/commands/rm.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/cli/component-template/.github/workflows/ci-testing.yml +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/cli/component-template/.gitignore +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/cli/component-template/LICENSE +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/cli/component-template/README.md +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/cli/component-template/app.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/cli/component-template/placeholdername/__init__.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/cli/component-template/placeholdername/component.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/cli/component-template/requirements.txt +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/cli/component-template/setup.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/cli/component-template/tests/README.md +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/cli/component-template/tests/__init__.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/cli/component-template/tests/requirements.txt +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/cli/component-template/tests/test_placeholdername_component.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/cli/connect/__init__.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/cli/connect/app.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/cli/connect/data.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/cli/core.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/cli/lightning_cli_delete.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/cli/lightning_cli_launch.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/cli/lightning_cli_list.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/cli/pl-app-template/.gitignore +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/cli/pl-app-template/.lightningignore +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/cli/pl-app-template/app.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/cli/pl-app-template/core/__init__.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/cli/pl-app-template/core/callbacks.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/cli/pl-app-template/core/components/__init__.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/cli/pl-app-template/core/components/logger/__init__.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/cli/pl-app-template/core/components/logger/tensorboard.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/cli/pl-app-template/core/components/logger/weights_and_biases.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/cli/pl-app-template/core/components/script_runner/__init__.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/cli/pl-app-template/core/components/script_runner/script_runner.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/cli/pl-app-template/core/state.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/cli/pl-app-template/setup.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/cli/pl-app-template/tests/__init__.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/cli/pl-app-template/tests/core/__init__.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/cli/pl-app-template/tests/core/test_callbacks.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/cli/pl-app-template/tests/test_app.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/cli/pl-app-template/ui/.gitignore +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/cli/pl-app-template/ui/.prettierignore +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/cli/pl-app-template/ui/.prettierrc +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/cli/pl-app-template/ui/craco.config.js +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/cli/pl-app-template/ui/package.json +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/cli/pl-app-template/ui/public/favicon.svg +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/cli/pl-app-template/ui/public/index.html +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/cli/pl-app-template/ui/public/manifest.json +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/cli/pl-app-template/ui/public/robots.txt +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/cli/pl-app-template/ui/src/App.tsx +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/cli/pl-app-template/ui/src/components/EnvironmentConfigurator.tsx +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/cli/pl-app-template/ui/src/components/ErrorPanel.tsx +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/cli/pl-app-template/ui/src/components/ExecutionSummary.tsx +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/cli/pl-app-template/ui/src/components/HyperparameterSummary.tsx +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/cli/pl-app-template/ui/src/components/Launcher.tsx +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/cli/pl-app-template/ui/src/components/ProgressBar.tsx +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/cli/pl-app-template/ui/src/components/ProgressBarGroup.tsx +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/cli/pl-app-template/ui/src/components/Timer.tsx +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/cli/pl-app-template/ui/src/hooks/useLightningState.ts +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/cli/pl-app-template/ui/src/index.css +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/cli/pl-app-template/ui/src/index.tsx +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/cli/pl-app-template/ui/src/lightning-colors.ts +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/cli/pl-app-template/ui/src/react-app-env.d.ts +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/cli/pl-app-template/ui/src/reportWebVitals.ts +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/cli/pl-app-template/ui/src/types/lightning.ts +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/cli/pl-app-template/ui/tsconfig.json +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/cli/react-ui-template/README.md +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/cli/react-ui-template/example_app.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/cli/react-ui-template/ui/index.html +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/cli/react-ui-template/ui/package.json +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/cli/react-ui-template/ui/src/App.css +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/cli/react-ui-template/ui/src/App.tsx +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/cli/react-ui-template/ui/src/favicon.svg +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/cli/react-ui-template/ui/src/hooks/useLightningState.ts +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/cli/react-ui-template/ui/src/index.css +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/cli/react-ui-template/ui/src/main.tsx +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/cli/react-ui-template/ui/src/types/lightning.ts +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/cli/react-ui-template/ui/src/vite-env.d.ts +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/cli/react-ui-template/ui/tsconfig.json +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/cli/react-ui-template/ui/tsconfig.node.json +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/cli/react-ui-template/ui/vite.config.ts +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/cli/react-ui-template/ui/yarn.lock +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/components/__init__.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/components/database/__init__.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/components/database/client.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/components/database/server.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/components/database/utilities.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/components/multi_node/__init__.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/components/multi_node/base.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/components/multi_node/fabric.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/components/multi_node/pytorch_spawn.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/components/multi_node/trainer.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/components/python/__init__.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/components/python/popen.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/components/python/tracer.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/components/serve/__init__.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/components/serve/auto_scaler.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/components/serve/catimage.png +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/components/serve/cold_start_proxy.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/components/serve/gradio_server.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/components/serve/python_server.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/components/serve/serve.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/components/serve/streamlit.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/components/serve/types/__init__.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/components/serve/types/image.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/components/serve/types/type.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/components/training.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/core/__init__.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/core/api.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/frontend/__init__.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/frontend/frontend.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/frontend/just_py/__init__.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/frontend/just_py/just_py.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/frontend/just_py/just_py_base.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/frontend/panel/__init__.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/frontend/panel/app_state_comm.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/frontend/panel/app_state_watcher.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/frontend/panel/panel_frontend.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/frontend/panel/panel_serve_render_fn.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/frontend/stream_lit.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/frontend/streamlit_base.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/frontend/utils.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/frontend/web.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/launcher/__init__.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/pdb/__init__.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/pdb/pdb.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/plugin/__init__.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/plugin/plugin.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/runners/__init__.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/runners/backends/__init__.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/runners/multiprocess.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/runners/runtime.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/runners/runtime_type.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/source_code/__init__.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/source_code/copytree.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/source_code/hashing.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/source_code/local.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/source_code/tar.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/source_code/uploader.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/storage/__init__.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/storage/copier.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/storage/drive.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/storage/filesystem.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/storage/mount.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/storage/orchestrator.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/storage/path.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/storage/payload.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/storage/requests.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/structures/__init__.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/structures/dict.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/structures/list.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/testing/__init__.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/testing/config.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/testing/helpers.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/testing/testing.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/ui/asset-manifest.json +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/ui/index.html +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/ui/static/css/main.fb7060be.css +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/ui/static/css/main.fb7060be.css.map +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/ui/static/favicon.ico +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/ui/static/js/787.418637a8.chunk.js +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/ui/static/js/787.418637a8.chunk.js.map +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/ui/static/js/main.c1f02aeb.js +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/ui/static/js/main.c1f02aeb.js.LICENSE.txt +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/ui/static/js/main.c1f02aeb.js.map +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/ui/static/lightningState.js +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/ui/static/manifest.json +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/ui/static/media/error.11892047d0183a4723b91dc0fb98cb95.svg +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/ui/static/media/lightning-logo-with-text.b964c8fbf221c97eb8ce52bb6e3a30d6.svg +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/ui/static/media/success.5edae4c5b171e2c1c5a3c54273c47ba8.svg +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/ui/static/media/warning.5c542673e84e77ceb6a230bfea7f7263.svg +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/ui/static/robots.txt +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/ui/version.info +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/utilities/__init__.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/utilities/app_commands.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/utilities/app_helpers.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/utilities/app_logs.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/utilities/app_status.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/utilities/auth.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/utilities/cli_helpers.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/utilities/cloud.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/utilities/clusters.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/utilities/commands/__init__.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/utilities/commands/base.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/utilities/component.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/utilities/data_structures.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/utilities/dependency_caching.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/utilities/enum.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/utilities/exceptions.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/utilities/frontend.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/utilities/git.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/utilities/imports.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/utilities/introspection.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/utilities/layout.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/utilities/load_app.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/utilities/log.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/utilities/log_helpers.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/utilities/login.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/utilities/logs_socket_api.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/utilities/name_generator.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/utilities/network.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/utilities/openapi.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/utilities/packaging/__init__.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/utilities/packaging/app_config.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/utilities/packaging/build_config.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/utilities/packaging/cloud_compute.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/utilities/packaging/docker.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/utilities/packaging/lightning_utils.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/utilities/packaging/tarfile.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/utilities/port.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/utilities/redis.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/utilities/safe_pickle.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/utilities/scheduler.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/utilities/secrets.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/utilities/state.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/utilities/tracer.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/utilities/tree.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/utilities/types.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/app/utilities/warnings.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/data/__init__.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/fabric/__init__.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/fabric/_graveyard/__init__.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/fabric/_graveyard/tpu.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/fabric/accelerators/__init__.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/fabric/accelerators/accelerator.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/fabric/accelerators/cpu.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/fabric/accelerators/cuda.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/fabric/accelerators/mps.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/fabric/accelerators/registry.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/fabric/accelerators/xla.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/fabric/connector.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/fabric/fabric.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/fabric/loggers/__init__.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/fabric/loggers/csv_logs.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/fabric/loggers/logger.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/fabric/loggers/tensorboard.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/fabric/plugins/__init__.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/fabric/plugins/collectives/__init__.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/fabric/plugins/collectives/collective.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/fabric/plugins/collectives/single_device.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/fabric/plugins/collectives/torch_collective.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/fabric/plugins/environments/__init__.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/fabric/plugins/environments/cluster_environment.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/fabric/plugins/environments/kubeflow.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/fabric/plugins/environments/lightning.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/fabric/plugins/environments/lsf.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/fabric/plugins/environments/mpi.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/fabric/plugins/environments/slurm.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/fabric/plugins/environments/torchelastic.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/fabric/plugins/environments/xla.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/fabric/plugins/io/__init__.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/fabric/plugins/io/checkpoint_io.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/fabric/plugins/io/torch_io.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/fabric/plugins/io/xla.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/fabric/plugins/precision/__init__.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/fabric/plugins/precision/amp.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/fabric/plugins/precision/bitsandbytes.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/fabric/plugins/precision/deepspeed.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/fabric/plugins/precision/double.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/fabric/plugins/precision/fsdp.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/fabric/plugins/precision/half.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/fabric/plugins/precision/precision.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/fabric/plugins/precision/transformer_engine.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/fabric/plugins/precision/utils.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/fabric/plugins/precision/xla.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/fabric/strategies/__init__.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/fabric/strategies/ddp.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/fabric/strategies/deepspeed.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/fabric/strategies/dp.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/fabric/strategies/fsdp.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/fabric/strategies/launchers/__init__.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/fabric/strategies/launchers/launcher.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/fabric/strategies/launchers/multiprocessing.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/fabric/strategies/launchers/subprocess_script.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/fabric/strategies/launchers/xla.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/fabric/strategies/model_parallel.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/fabric/strategies/parallel.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/fabric/strategies/registry.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/fabric/strategies/single_device.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/fabric/strategies/single_xla.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/fabric/strategies/strategy.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/fabric/strategies/xla.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/fabric/strategies/xla_fsdp.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/fabric/utilities/__init__.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/fabric/utilities/apply_func.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/fabric/utilities/cloud_io.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/fabric/utilities/consolidate_checkpoint.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/fabric/utilities/data.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/fabric/utilities/device_dtype_mixin.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/fabric/utilities/device_parser.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/fabric/utilities/enums.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/fabric/utilities/exceptions.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/fabric/utilities/imports.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/fabric/utilities/init.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/fabric/utilities/load.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/fabric/utilities/logger.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/fabric/utilities/optimizer.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/fabric/utilities/rank_zero.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/fabric/utilities/registry.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/fabric/utilities/seed.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/fabric/utilities/spike.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/fabric/utilities/testing/__init__.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/fabric/utilities/testing/_runif.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/fabric/utilities/throughput.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/fabric/utilities/types.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/fabric/utilities/warnings.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/fabric/wrappers.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/py.typed +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/pytorch/__init__.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/pytorch/_graveyard/__init__.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/pytorch/_graveyard/_torchmetrics.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/pytorch/_graveyard/hpu.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/pytorch/_graveyard/precision.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/pytorch/_graveyard/tpu.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/pytorch/accelerators/__init__.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/pytorch/accelerators/accelerator.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/pytorch/accelerators/cpu.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/pytorch/accelerators/cuda.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/pytorch/accelerators/mps.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/pytorch/accelerators/xla.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/pytorch/callbacks/__init__.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/pytorch/callbacks/batch_size_finder.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/pytorch/callbacks/callback.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/pytorch/callbacks/checkpoint.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/pytorch/callbacks/device_stats_monitor.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/pytorch/callbacks/early_stopping.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/pytorch/callbacks/finetuning.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/pytorch/callbacks/gradient_accumulation_scheduler.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/pytorch/callbacks/lambda_function.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/pytorch/callbacks/lr_finder.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/pytorch/callbacks/lr_monitor.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/pytorch/callbacks/model_checkpoint.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/pytorch/callbacks/model_summary.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/pytorch/callbacks/on_exception_checkpoint.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/pytorch/callbacks/prediction_writer.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/pytorch/callbacks/progress/__init__.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/pytorch/callbacks/progress/progress_bar.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/pytorch/callbacks/progress/rich_progress.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/pytorch/callbacks/progress/tqdm_progress.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/pytorch/callbacks/pruning.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/pytorch/callbacks/rich_model_summary.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/pytorch/callbacks/spike.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/pytorch/callbacks/stochastic_weight_avg.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/pytorch/callbacks/throughput_monitor.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/pytorch/callbacks/timer.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/pytorch/cli.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/pytorch/core/__init__.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/pytorch/core/datamodule.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/pytorch/core/hooks.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/pytorch/core/mixins/__init__.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/pytorch/core/mixins/hparams_mixin.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/pytorch/core/module.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/pytorch/core/optimizer.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/pytorch/core/saving.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/pytorch/demos/__init__.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/pytorch/demos/boring_classes.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/pytorch/demos/mnist_datamodule.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/pytorch/demos/transformer.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/pytorch/loggers/__init__.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/pytorch/loggers/comet.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/pytorch/loggers/csv_logs.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/pytorch/loggers/logger.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/pytorch/loggers/mlflow.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/pytorch/loggers/neptune.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/pytorch/loggers/tensorboard.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/pytorch/loggers/utilities.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/pytorch/loggers/wandb.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/pytorch/loops/__init__.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/pytorch/loops/evaluation_loop.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/pytorch/loops/fetchers.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/pytorch/loops/fit_loop.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/pytorch/loops/loop.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/pytorch/loops/optimization/__init__.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/pytorch/loops/optimization/automatic.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/pytorch/loops/optimization/closure.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/pytorch/loops/optimization/manual.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/pytorch/loops/prediction_loop.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/pytorch/loops/progress.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/pytorch/loops/training_epoch_loop.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/pytorch/loops/utilities.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/pytorch/overrides/__init__.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/pytorch/overrides/distributed.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/pytorch/plugins/__init__.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/pytorch/plugins/environments/__init__.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/pytorch/plugins/io/__init__.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/pytorch/plugins/io/async_plugin.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/pytorch/plugins/io/checkpoint_plugin.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/pytorch/plugins/io/torch_plugin.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/pytorch/plugins/io/wrapper.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/pytorch/plugins/io/xla_plugin.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/pytorch/plugins/layer_sync.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/pytorch/plugins/precision/__init__.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/pytorch/plugins/precision/amp.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/pytorch/plugins/precision/bitsandbytes.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/pytorch/plugins/precision/deepspeed.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/pytorch/plugins/precision/double.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/pytorch/plugins/precision/fsdp.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/pytorch/plugins/precision/half.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/pytorch/plugins/precision/precision.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/pytorch/plugins/precision/transformer_engine.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/pytorch/plugins/precision/xla.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/pytorch/profilers/__init__.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/pytorch/profilers/advanced.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/pytorch/profilers/base.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/pytorch/profilers/profiler.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/pytorch/profilers/pytorch.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/pytorch/profilers/simple.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/pytorch/profilers/xla.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/pytorch/serve/__init__.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/pytorch/serve/servable_module.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/pytorch/serve/servable_module_validator.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/pytorch/strategies/__init__.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/pytorch/strategies/ddp.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/pytorch/strategies/deepspeed.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/pytorch/strategies/fsdp.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/pytorch/strategies/launchers/__init__.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/pytorch/strategies/launchers/launcher.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/pytorch/strategies/launchers/xla.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/pytorch/strategies/model_parallel.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/pytorch/strategies/parallel.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/pytorch/strategies/single_device.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/pytorch/strategies/single_xla.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/pytorch/strategies/strategy.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/pytorch/strategies/xla.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/pytorch/trainer/__init__.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/pytorch/trainer/configuration_validator.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/pytorch/trainer/connectors/__init__.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/pytorch/trainer/connectors/accelerator_connector.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/pytorch/trainer/connectors/callback_connector.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/pytorch/trainer/connectors/checkpoint_connector.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/pytorch/trainer/connectors/data_connector.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/pytorch/trainer/connectors/logger_connector/__init__.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/pytorch/trainer/connectors/logger_connector/fx_validator.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/pytorch/trainer/connectors/logger_connector/logger_connector.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/pytorch/trainer/connectors/logger_connector/result.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/pytorch/trainer/setup.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/pytorch/trainer/states.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/pytorch/tuner/__init__.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/pytorch/tuner/batch_size_scaling.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/pytorch/tuner/lr_finder.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/pytorch/tuner/tuning.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/pytorch/utilities/__init__.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/pytorch/utilities/_pytree.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/pytorch/utilities/argparse.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/pytorch/utilities/combined_loader.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/pytorch/utilities/compile.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/pytorch/utilities/consolidate_checkpoint.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/pytorch/utilities/data.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/pytorch/utilities/deepspeed.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/pytorch/utilities/enums.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/pytorch/utilities/exceptions.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/pytorch/utilities/grads.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/pytorch/utilities/imports.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/pytorch/utilities/memory.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/pytorch/utilities/migration/__init__.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/pytorch/utilities/migration/migration.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/pytorch/utilities/migration/utils.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/pytorch/utilities/model_helpers.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/pytorch/utilities/model_summary/__init__.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/pytorch/utilities/model_summary/model_summary.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/pytorch/utilities/model_summary/model_summary_deepspeed.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/pytorch/utilities/parameter_tying.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/pytorch/utilities/parsing.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/pytorch/utilities/rank_zero.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/pytorch/utilities/seed.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/pytorch/utilities/signature_utils.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/pytorch/utilities/testing/__init__.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/pytorch/utilities/testing/_runif.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/pytorch/utilities/upgrade_checkpoint.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/pytorch/utilities/warnings.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/store/__init__.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/store/store.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning/store/utils.py +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning.egg-info/dependency_links.txt +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/src/lightning.egg-info/not-zip-safe +0 -0
- {lightning-2.3.0.dev20240623 → lightning-2.3.2}/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.
|
|
3
|
+
Version: 2.3.2
|
|
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.
|
|
@@ -78,7 +78,7 @@ ______________________________________________________________________
|
|
|
78
78
|
<a href="#examples">Examples</a> •
|
|
79
79
|
<a href="#pytorch-lightning-train-and-deploy-pytorch-at-scale">PyTorch Lightning</a> •
|
|
80
80
|
<a href="#lightning-fabric-expert-control">Fabric</a> •
|
|
81
|
-
<a href="https://pytorch-lightning.readthedocs.io/en/2.3.
|
|
81
|
+
<a href="https://pytorch-lightning.readthedocs.io/en/2.3.2">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>
|
|
@@ -594,7 +594,7 @@ Lightning is rigorously tested across multiple CPUs, GPUs and TPUs and against m
|
|
|
594
594
|
|
|
595
595
|
| System / PyTorch ver. | 1.13 | 2.0 | 2.1 |
|
|
596
596
|
| :--------------------------------: | :-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: | :-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: |:-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------:|
|
|
597
|
-
| Linux py3.9 \[GPUs\] | | | [](https://dev.azure.com/Lightning-AI/lightning/_build/latest?definitionId=24&branchName=master) |
|
|
598
598
|
| Linux py3.9 \[TPUs\] | | [](https://github.com/Lightning-AI/lightning/actions/workflows/tpu-tests.yml) | |
|
|
599
599
|
| 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) |
|
|
600
600
|
| 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) |
|
|
@@ -140,6 +140,7 @@ exclude = [
|
|
|
140
140
|
"src/lightning/app/cli/component-template",
|
|
141
141
|
"src/lightning/app/cli/pl-app-template",
|
|
142
142
|
"src/lightning/app/cli/react-ui-template",
|
|
143
|
+
"src/lightning/app/launcher/utils.py",
|
|
143
144
|
]
|
|
144
145
|
install_types = "True"
|
|
145
146
|
non_interactive = "True"
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
lightning-cloud == 0.5.
|
|
1
|
+
lightning-cloud == 0.5.70 # Must be pinned to ensure compatibility
|
|
2
2
|
packaging
|
|
3
3
|
typing-extensions >=4.4.0, <4.10.0
|
|
4
4
|
deepdiff >=5.7.0, <6.6.0
|
|
@@ -6,7 +6,7 @@ fsspec[http] >=2022.5.0, <2023.11.0
|
|
|
6
6
|
croniter >=1.3.0, <1.5.0 # strict; TODO: for now until we find something more robust.
|
|
7
7
|
traitlets >=5.3.0, <5.12.0
|
|
8
8
|
arrow >=1.2.0, <1.3.0
|
|
9
|
-
lightning-utilities >=0.
|
|
9
|
+
lightning-utilities >=0.10.0, <0.12.0
|
|
10
10
|
beautifulsoup4 >=4.8.0, <4.13.0
|
|
11
11
|
inquirer >=2.10.0, <3.2.0
|
|
12
12
|
psutil <5.9.6
|
|
@@ -27,3 +27,5 @@ urllib3 <2.0.0
|
|
|
27
27
|
uvicorn <0.24.0
|
|
28
28
|
websocket-client <1.7.0
|
|
29
29
|
websockets <11.1.0
|
|
30
|
+
numpy >=1.17.2, <2.0
|
|
31
|
+
msgpack
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
|
|
4
4
|
# extended list of package dependencies to reach full functionality
|
|
5
5
|
matplotlib>3.1, <3.9.0
|
|
6
|
-
omegaconf >=2.
|
|
7
|
-
hydra-core >=1.0
|
|
6
|
+
omegaconf >=2.2.3, <2.4.0
|
|
7
|
+
hydra-core >=1.2.0, <1.4.0
|
|
8
8
|
jsonargparse[signatures] >=4.27.7, <4.28.0
|
|
9
9
|
rich >=12.3.0, <13.6.0
|
|
10
10
|
tensorboardX >=2.2, <2.7.0 # min version is set by torch.onnx missing attribute
|
|
@@ -40,7 +40,19 @@ from lightning.app.cli.connect.data import connect_data
|
|
|
40
40
|
from lightning.app.cli.lightning_cli_delete import delete
|
|
41
41
|
from lightning.app.cli.lightning_cli_launch import launch
|
|
42
42
|
from lightning.app.cli.lightning_cli_list import get_list
|
|
43
|
-
from lightning.app.core.constants import
|
|
43
|
+
from lightning.app.core.constants import (
|
|
44
|
+
APP_SERVER_HOST,
|
|
45
|
+
APP_SERVER_PORT,
|
|
46
|
+
ENABLE_APP_COMMENT_COMMAND_EXECUTION,
|
|
47
|
+
get_lightning_cloud_url,
|
|
48
|
+
)
|
|
49
|
+
from lightning.app.launcher.launcher import (
|
|
50
|
+
run_lightning_flow,
|
|
51
|
+
run_lightning_work,
|
|
52
|
+
serve_frontend,
|
|
53
|
+
start_application_server,
|
|
54
|
+
start_flow_and_servers,
|
|
55
|
+
)
|
|
44
56
|
from lightning.app.runners.cloud import CloudRuntime
|
|
45
57
|
from lightning.app.runners.runtime import dispatch
|
|
46
58
|
from lightning.app.runners.runtime_type import RuntimeType
|
|
@@ -393,3 +405,99 @@ def _prepare_file(file: str) -> str:
|
|
|
393
405
|
return file
|
|
394
406
|
|
|
395
407
|
raise FileNotFoundError(f"The provided file {file} hasn't been found.")
|
|
408
|
+
|
|
409
|
+
|
|
410
|
+
@run.command("server")
|
|
411
|
+
@click.argument("file", type=click.Path(exists=True))
|
|
412
|
+
@click.option("--queue-id", help="ID for identifying queue", default="", type=str)
|
|
413
|
+
@click.option("--host", help="Application running host", default=APP_SERVER_HOST, type=str)
|
|
414
|
+
@click.option("--port", help="Application running port", default=APP_SERVER_PORT, type=int)
|
|
415
|
+
def run_server(file: str, queue_id: str, host: str, port: int) -> None:
|
|
416
|
+
"""It takes the application file as input, build the application object and then use that to run the application
|
|
417
|
+
server.
|
|
418
|
+
|
|
419
|
+
This is used by the cloud runners to start the status server for the application
|
|
420
|
+
|
|
421
|
+
"""
|
|
422
|
+
logger.debug(f"Run Server: {file} {queue_id} {host} {port}")
|
|
423
|
+
start_application_server(file, host, port, queue_id=queue_id)
|
|
424
|
+
|
|
425
|
+
|
|
426
|
+
@run.command("flow")
|
|
427
|
+
@click.argument("file", type=click.Path(exists=True))
|
|
428
|
+
@click.option("--queue-id", help="ID for identifying queue", default="", type=str)
|
|
429
|
+
@click.option("--base-url", help="Base url at which the app server is hosted", default="")
|
|
430
|
+
def run_flow(file: str, queue_id: str, base_url: str) -> None:
|
|
431
|
+
"""It takes the application file as input, build the application object, proxy all the work components and then run
|
|
432
|
+
the application flow defined in the root component.
|
|
433
|
+
|
|
434
|
+
It does exactly what a singleprocess dispatcher would do but with proxied work components.
|
|
435
|
+
|
|
436
|
+
"""
|
|
437
|
+
logger.debug(f"Run Flow: {file} {queue_id} {base_url}")
|
|
438
|
+
run_lightning_flow(file, queue_id=queue_id, base_url=base_url)
|
|
439
|
+
|
|
440
|
+
|
|
441
|
+
@run.command("work")
|
|
442
|
+
@click.argument("file", type=click.Path(exists=True))
|
|
443
|
+
@click.option("--work-name", type=str)
|
|
444
|
+
@click.option("--queue-id", help="ID for identifying queue", default="", type=str)
|
|
445
|
+
def run_work(file: str, work_name: str, queue_id: str) -> None:
|
|
446
|
+
"""Unlike other entrypoints, this command will take the file path or module details for a work component and run
|
|
447
|
+
that by fetching the states from the queues."""
|
|
448
|
+
logger.debug(f"Run Work: {file} {work_name} {queue_id}")
|
|
449
|
+
run_lightning_work(
|
|
450
|
+
file=file,
|
|
451
|
+
work_name=work_name,
|
|
452
|
+
queue_id=queue_id,
|
|
453
|
+
)
|
|
454
|
+
|
|
455
|
+
|
|
456
|
+
@run.command("frontend")
|
|
457
|
+
@click.argument("file", type=click.Path(exists=True))
|
|
458
|
+
@click.option("--flow-name")
|
|
459
|
+
@click.option("--host")
|
|
460
|
+
@click.option("--port", type=int)
|
|
461
|
+
def run_frontend(file: str, flow_name: str, host: str, port: int) -> None:
|
|
462
|
+
"""Serve the frontend specified by the given flow."""
|
|
463
|
+
logger.debug(f"Run Frontend: {file} {flow_name} {host}")
|
|
464
|
+
serve_frontend(file=file, flow_name=flow_name, host=host, port=port)
|
|
465
|
+
|
|
466
|
+
|
|
467
|
+
@run.command("flow-and-servers")
|
|
468
|
+
@click.argument("file", type=click.Path(exists=True))
|
|
469
|
+
@click.option("--queue-id", help="ID for identifying queue", default="", type=str)
|
|
470
|
+
@click.option("--base-url", help="Base url at which the app server is hosted", default="")
|
|
471
|
+
@click.option("--host", help="Application running host", default=APP_SERVER_HOST, type=str)
|
|
472
|
+
@click.option("--port", help="Application running port", default=APP_SERVER_PORT, type=int)
|
|
473
|
+
@click.option(
|
|
474
|
+
"--flow-port",
|
|
475
|
+
help="Pair of flow name and frontend port",
|
|
476
|
+
type=(str, int),
|
|
477
|
+
multiple=True,
|
|
478
|
+
)
|
|
479
|
+
def run_flow_and_servers(
|
|
480
|
+
file: str,
|
|
481
|
+
base_url: str,
|
|
482
|
+
queue_id: str,
|
|
483
|
+
host: str,
|
|
484
|
+
port: int,
|
|
485
|
+
flow_port: Tuple[Tuple[str, int]],
|
|
486
|
+
) -> None:
|
|
487
|
+
"""It takes the application file as input, build the application object and then use that to run the application
|
|
488
|
+
flow defined in the root component, the application server and all the flow frontends.
|
|
489
|
+
|
|
490
|
+
This is used by the cloud runners to start the flow, the status server and all frontends for the application
|
|
491
|
+
|
|
492
|
+
"""
|
|
493
|
+
logger.debug(f"Run Flow: {file} {queue_id} {base_url}")
|
|
494
|
+
logger.debug(f"Run Server: {file} {queue_id} {host} {port}.")
|
|
495
|
+
logger.debug(f"Run Frontend's: {flow_port}")
|
|
496
|
+
start_flow_and_servers(
|
|
497
|
+
entrypoint_file=file,
|
|
498
|
+
base_url=base_url,
|
|
499
|
+
queue_id=queue_id,
|
|
500
|
+
host=host,
|
|
501
|
+
port=port,
|
|
502
|
+
flow_names_and_ports=flow_port,
|
|
503
|
+
)
|
|
@@ -35,6 +35,7 @@ from lightning.app.core.constants import (
|
|
|
35
35
|
FLOW_DURATION_SAMPLES,
|
|
36
36
|
FLOW_DURATION_THRESHOLD,
|
|
37
37
|
FRONTEND_DIR,
|
|
38
|
+
SHOULD_START_WORKS_WITH_FLOW,
|
|
38
39
|
STATE_ACCUMULATE_WAIT,
|
|
39
40
|
)
|
|
40
41
|
from lightning.app.core.queues import BaseQueue
|
|
@@ -144,6 +145,7 @@ class LightningApp:
|
|
|
144
145
|
self.threads: List[threading.Thread] = []
|
|
145
146
|
self.exception = None
|
|
146
147
|
self.collect_changes: bool = True
|
|
148
|
+
self._should_start_works_with_flow: bool = SHOULD_START_WORKS_WITH_FLOW
|
|
147
149
|
|
|
148
150
|
self.status: Optional[AppStatus] = None
|
|
149
151
|
# TODO: Enable ready locally for opening the UI.
|
|
@@ -733,6 +735,9 @@ class LightningApp:
|
|
|
733
735
|
self.flow_to_work_delta_queues[w.name].put(deep_diff)
|
|
734
736
|
|
|
735
737
|
def _start_with_flow_works(self) -> None:
|
|
738
|
+
if not self._should_start_works_with_flow:
|
|
739
|
+
return
|
|
740
|
+
|
|
736
741
|
for w in self.works:
|
|
737
742
|
if w._start_with_flow:
|
|
738
743
|
parallel = w.parallel
|
|
@@ -12,9 +12,10 @@
|
|
|
12
12
|
# See the License for the specific language governing permissions and
|
|
13
13
|
# limitations under the License.
|
|
14
14
|
|
|
15
|
+
import json
|
|
15
16
|
import os
|
|
16
17
|
from pathlib import Path
|
|
17
|
-
from typing import Optional
|
|
18
|
+
from typing import Any, Optional
|
|
18
19
|
|
|
19
20
|
import lightning_cloud.env
|
|
20
21
|
|
|
@@ -101,6 +102,37 @@ SYS_CUSTOMIZATIONS_SYNC_PATH = ".sys-customizations-sync"
|
|
|
101
102
|
|
|
102
103
|
BATCH_DELTA_COUNT = int(os.getenv("BATCH_DELTA_COUNT", "128"))
|
|
103
104
|
CHECK_ERROR_QUEUE_INTERVAL = float(os.getenv("CHECK_ERROR_QUEUE_INTERVAL", "30"))
|
|
105
|
+
SHOULD_START_WORKS_WITH_FLOW = bool(int(os.getenv("SHOULD_START_WORKS_WITH_FLOW", "1")))
|
|
106
|
+
IS_RUNNING_IN_FLOW = os.getenv("LIGHTNING_CLOUD_WORK_NAME", None) is None
|
|
107
|
+
|
|
108
|
+
|
|
109
|
+
class DistributedPluginChecker:
|
|
110
|
+
def __init__(self) -> None:
|
|
111
|
+
self.distributed_arguments = os.getenv("DISTRIBUTED_ARGUMENTS", None)
|
|
112
|
+
if self.distributed_arguments:
|
|
113
|
+
self.distributed_arguments = json.loads(self.distributed_arguments)
|
|
114
|
+
|
|
115
|
+
self.running_distributed_plugin = False
|
|
116
|
+
|
|
117
|
+
if self.distributed_arguments and os.getenv("LIGHTNING_CLOUD_WORK_NAME"):
|
|
118
|
+
self.running_distributed_plugin = True
|
|
119
|
+
|
|
120
|
+
def __bool__(self) -> bool:
|
|
121
|
+
return self.running_distributed_plugin
|
|
122
|
+
|
|
123
|
+
def should_create_work(self, work: Any) -> bool:
|
|
124
|
+
if not self.distributed_arguments:
|
|
125
|
+
return True
|
|
126
|
+
|
|
127
|
+
num_nodes = self.distributed_arguments.get("num_instances", 0)
|
|
128
|
+
node_rank = int(work.name.split(".")[-1])
|
|
129
|
+
|
|
130
|
+
# Only the start with flow works are skipped for performance purposes
|
|
131
|
+
return node_rank >= num_nodes
|
|
132
|
+
|
|
133
|
+
|
|
134
|
+
# TODO (tchaton): Add LitData and JobPlugin optimizations
|
|
135
|
+
PLUGIN_CHECKER = IS_DISTRIBUTED_PLUGIN = DistributedPluginChecker()
|
|
104
136
|
|
|
105
137
|
|
|
106
138
|
def enable_multiple_works_in_default_container() -> bool:
|
|
@@ -836,6 +836,11 @@ class LightningFlow:
|
|
|
836
836
|
elif strict:
|
|
837
837
|
raise ValueError(f"The component {child_name} wasn't instantiated for the component {self.name}")
|
|
838
838
|
|
|
839
|
+
def stop_works(self, works: List[Any]) -> None:
|
|
840
|
+
if self._backend is None:
|
|
841
|
+
raise RuntimeError("Your flow should have a backend attached. Found None.")
|
|
842
|
+
self._backend.stop_works(works)
|
|
843
|
+
|
|
839
844
|
|
|
840
845
|
class _RootFlow(LightningFlow):
|
|
841
846
|
def __init__(self, work: LightningWork) -> None:
|
|
@@ -17,7 +17,6 @@ import multiprocessing
|
|
|
17
17
|
import pickle
|
|
18
18
|
import queue # needed as import instead from/import for mocking in tests
|
|
19
19
|
import time
|
|
20
|
-
import warnings
|
|
21
20
|
from abc import ABC, abstractmethod
|
|
22
21
|
from enum import Enum
|
|
23
22
|
from pathlib import Path
|
|
@@ -25,6 +24,7 @@ from typing import Any, List, Optional, Tuple
|
|
|
25
24
|
from urllib.parse import urljoin
|
|
26
25
|
|
|
27
26
|
import backoff
|
|
27
|
+
import msgpack
|
|
28
28
|
import requests
|
|
29
29
|
from requests.exceptions import ConnectionError, ConnectTimeout, ReadTimeout
|
|
30
30
|
|
|
@@ -34,6 +34,7 @@ from lightning.app.core.constants import (
|
|
|
34
34
|
HTTP_QUEUE_REQUESTS_PER_SECOND,
|
|
35
35
|
HTTP_QUEUE_TOKEN,
|
|
36
36
|
HTTP_QUEUE_URL,
|
|
37
|
+
IS_RUNNING_IN_FLOW,
|
|
37
38
|
LIGHTNING_DIR,
|
|
38
39
|
QUEUE_DEBUG_ENABLED,
|
|
39
40
|
REDIS_HOST,
|
|
@@ -41,7 +42,6 @@ from lightning.app.core.constants import (
|
|
|
41
42
|
REDIS_PORT,
|
|
42
43
|
REDIS_QUEUES_READ_DEFAULT_TIMEOUT,
|
|
43
44
|
STATE_UPDATE_TIMEOUT,
|
|
44
|
-
WARNING_QUEUE_SIZE,
|
|
45
45
|
)
|
|
46
46
|
from lightning.app.utilities.app_helpers import Logger
|
|
47
47
|
from lightning.app.utilities.imports import _is_redis_available, requires
|
|
@@ -80,9 +80,14 @@ class QueuingSystem(Enum):
|
|
|
80
80
|
return MultiProcessQueue(queue_name, default_timeout=STATE_UPDATE_TIMEOUT)
|
|
81
81
|
if self == QueuingSystem.REDIS:
|
|
82
82
|
return RedisQueue(queue_name, default_timeout=REDIS_QUEUES_READ_DEFAULT_TIMEOUT)
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
83
|
+
|
|
84
|
+
queue = HTTPQueue(queue_name, default_timeout=STATE_UPDATE_TIMEOUT)
|
|
85
|
+
|
|
86
|
+
# In the flow, don't rate limit the caller queue. Otherwise, startup time would be slow with lot of works.
|
|
87
|
+
if CALLER_QUEUE_CONSTANT in queue_name and IS_RUNNING_IN_FLOW:
|
|
88
|
+
return queue
|
|
89
|
+
|
|
90
|
+
return RateLimitedQueue(queue, HTTP_QUEUE_REQUESTS_PER_SECOND)
|
|
86
91
|
|
|
87
92
|
def get_api_response_queue(self, queue_id: Optional[str] = None) -> "BaseQueue":
|
|
88
93
|
queue_name = f"{queue_id}_{API_RESPONSE_QUEUE_CONSTANT}" if queue_id else API_RESPONSE_QUEUE_CONSTANT
|
|
@@ -284,14 +289,6 @@ class RedisQueue(BaseQueue):
|
|
|
284
289
|
item._backend = None
|
|
285
290
|
|
|
286
291
|
value = pickle.dumps(item)
|
|
287
|
-
queue_len = self.length()
|
|
288
|
-
if queue_len >= WARNING_QUEUE_SIZE:
|
|
289
|
-
warnings.warn(
|
|
290
|
-
f"The Redis Queue {self.name} length is larger than the "
|
|
291
|
-
f"recommended length of {WARNING_QUEUE_SIZE}. "
|
|
292
|
-
f"Found {queue_len}. This might cause your application to crash, "
|
|
293
|
-
"please investigate this."
|
|
294
|
-
)
|
|
295
292
|
try:
|
|
296
293
|
self.redis.rpush(self.name, value)
|
|
297
294
|
except redis.exceptions.ConnectionError:
|
|
@@ -451,7 +448,11 @@ class HTTPQueue(BaseQueue):
|
|
|
451
448
|
return False
|
|
452
449
|
return False
|
|
453
450
|
|
|
451
|
+
@backoff.on_exception(
|
|
452
|
+
backoff.expo, (RuntimeError, requests.exceptions.HTTPError, requests.exceptions.ChunkedEncodingError)
|
|
453
|
+
)
|
|
454
454
|
def get(self, timeout: Optional[float] = None) -> Any:
|
|
455
|
+
logger.debug(f"get {self.name}")
|
|
455
456
|
if not self.app_id:
|
|
456
457
|
raise ValueError(f"App ID couldn't be extracted from the queue name: {self.name}")
|
|
457
458
|
|
|
@@ -498,13 +499,17 @@ class HTTPQueue(BaseQueue):
|
|
|
498
499
|
resp = self.client.post(f"v1/{self.app_id}/{self._name_suffix}", query_params={"action": "pop"})
|
|
499
500
|
if resp.status_code == 204:
|
|
500
501
|
raise queue.Empty
|
|
501
|
-
|
|
502
|
+
|
|
503
|
+
if self._use_pickle():
|
|
504
|
+
return pickle.loads(resp.content)
|
|
505
|
+
return msgpack.unpackb(resp.content)
|
|
502
506
|
except ConnectionError:
|
|
503
507
|
# Note: If the Http Queue service isn't available,
|
|
504
508
|
# we consider the queue is empty to avoid failing the app.
|
|
505
509
|
raise queue.Empty
|
|
506
510
|
|
|
507
511
|
def batch_get(self, timeout: Optional[float] = None, count: Optional[int] = None) -> List[Any]:
|
|
512
|
+
logger.debug(f"batch_get {self.name}")
|
|
508
513
|
try:
|
|
509
514
|
resp = self.client.post(
|
|
510
515
|
f"v1/{self.app_id}/{self._name_suffix}",
|
|
@@ -512,24 +517,24 @@ class HTTPQueue(BaseQueue):
|
|
|
512
517
|
)
|
|
513
518
|
if resp.status_code == 204:
|
|
514
519
|
raise queue.Empty
|
|
515
|
-
|
|
520
|
+
|
|
521
|
+
if self._use_pickle():
|
|
522
|
+
return [pickle.loads(base64.b64decode(data)) for data in resp.json()]
|
|
523
|
+
return [msgpack.unpackb(base64.b64decode(data)) for data in resp.json()]
|
|
516
524
|
except ConnectionError:
|
|
517
525
|
# Note: If the Http Queue service isn't available,
|
|
518
526
|
# we consider the queue is empty to avoid failing the app.
|
|
519
527
|
raise queue.Empty
|
|
520
528
|
|
|
521
|
-
@backoff.on_exception(
|
|
529
|
+
@backoff.on_exception(
|
|
530
|
+
backoff.expo, (RuntimeError, requests.exceptions.HTTPError, requests.exceptions.ChunkedEncodingError)
|
|
531
|
+
)
|
|
522
532
|
def put(self, item: Any) -> None:
|
|
533
|
+
logger.debug(f"put {self.name}")
|
|
523
534
|
if not self.app_id:
|
|
524
535
|
raise ValueError(f"The Lightning App ID couldn't be extracted from the queue name: {self.name}")
|
|
525
536
|
|
|
526
|
-
value = pickle.dumps(item)
|
|
527
|
-
queue_len = self.length()
|
|
528
|
-
if queue_len >= WARNING_QUEUE_SIZE:
|
|
529
|
-
warnings.warn(
|
|
530
|
-
f"The Queue {self._name_suffix} length is larger than the recommended length of {WARNING_QUEUE_SIZE}. "
|
|
531
|
-
f"Found {queue_len}. This might cause your application to crash, please investigate this."
|
|
532
|
-
)
|
|
537
|
+
value = pickle.dumps(item, protocol=pickle.HIGHEST_PROTOCOL) if self._use_pickle() else msgpack.packb(item)
|
|
533
538
|
resp = self.client.post(f"v1/{self.app_id}/{self._name_suffix}", data=value, query_params={"action": "push"})
|
|
534
539
|
if resp.status_code != 201:
|
|
535
540
|
raise RuntimeError(f"Failed to push to queue: {self._name_suffix}")
|
|
@@ -568,6 +573,12 @@ class HTTPQueue(BaseQueue):
|
|
|
568
573
|
def from_dict(cls, state: dict) -> "HTTPQueue":
|
|
569
574
|
return cls(**state)
|
|
570
575
|
|
|
576
|
+
def _use_pickle(self) -> bool:
|
|
577
|
+
# Note: msgpack is faster than pickle to serialize and deserialize simple JSON
|
|
578
|
+
return (
|
|
579
|
+
WORK_QUEUE_CONSTANT in self.name or DELTA_QUEUE_CONSTANT in self.name or ERROR_QUEUE_CONSTANT in self.name
|
|
580
|
+
)
|
|
581
|
+
|
|
571
582
|
|
|
572
583
|
def debug_log_callback(message: str, *args: Any, **kwargs: Any) -> None:
|
|
573
584
|
if QUEUE_DEBUG_ENABLED or (Path(LIGHTNING_DIR) / "QUEUE_DEBUG_ENABLED").exists():
|
|
@@ -630,6 +630,9 @@ class LightningWork:
|
|
|
630
630
|
# This enables to start the run method with a phony input and exit.
|
|
631
631
|
self.run(Action(method="start"))
|
|
632
632
|
|
|
633
|
+
def on_start(self) -> None:
|
|
634
|
+
"""Define actions to perform when the work has started."""
|
|
635
|
+
|
|
633
636
|
def run(self, *args: Any, **kwargs: Any) -> None:
|
|
634
637
|
"""Override to add your own logic.
|
|
635
638
|
|
|
@@ -9,31 +9,33 @@ from functools import partial
|
|
|
9
9
|
from multiprocessing import Process
|
|
10
10
|
from typing import Callable, Dict, List, Optional, Tuple, TypedDict
|
|
11
11
|
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
12
|
+
from lightning.app import LightningFlow
|
|
13
|
+
from lightning.app.core import constants
|
|
14
|
+
from lightning.app.core.api import start_server
|
|
15
|
+
from lightning.app.core.constants import (
|
|
16
|
+
CHECK_ERROR_QUEUE_INTERVAL,
|
|
17
|
+
ENABLE_ORCHESTRATOR,
|
|
18
|
+
IS_DISTRIBUTED_PLUGIN,
|
|
19
|
+
)
|
|
20
|
+
from lightning.app.core.queues import MultiProcessQueue, QueuingSystem
|
|
21
|
+
from lightning.app.storage.orchestrator import StorageOrchestrator
|
|
22
|
+
from lightning.app.utilities.cloud import _sigterm_flow_handler
|
|
23
|
+
from lightning.app.utilities.component import _set_flow_context, _set_frontend_context
|
|
24
|
+
from lightning.app.utilities.enum import AppStage
|
|
25
|
+
from lightning.app.utilities.exceptions import ExitAppException
|
|
26
|
+
from lightning.app.utilities.load_app import extract_metadata_from_app, load_app_from_file
|
|
27
|
+
from lightning.app.utilities.proxies import WorkRunner
|
|
28
|
+
from lightning.app.utilities.redis import check_if_redis_running
|
|
29
|
+
|
|
30
|
+
try:
|
|
20
31
|
from lightning.app.utilities.app_commands import run_app_commands
|
|
21
|
-
from lightning.app.utilities.cloud import _sigterm_flow_handler
|
|
22
|
-
from lightning.app.utilities.component import _set_flow_context, _set_frontend_context
|
|
23
|
-
from lightning.app.utilities.enum import AppStage
|
|
24
|
-
from lightning.app.utilities.exceptions import ExitAppException
|
|
25
|
-
from lightning.app.utilities.load_app import extract_metadata_from_app, load_app_from_file
|
|
26
|
-
from lightning.app.utilities.proxies import WorkRunner
|
|
27
|
-
from lightning.app.utilities.redis import check_if_redis_running
|
|
28
|
-
|
|
29
|
-
if ENABLE_MULTIPLE_WORKS_IN_DEFAULT_CONTAINER:
|
|
30
|
-
from lightning.app.launcher.lightning_hybrid_backend import CloudHybridBackend as CloudBackend
|
|
31
|
-
else:
|
|
32
|
-
from lightning.app.launcher.lightning_backend import CloudBackend
|
|
33
32
|
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
33
|
+
ABLE_TO_RUN_APP_COMMANDS = True
|
|
34
|
+
except (ImportError, ModuleNotFoundError):
|
|
35
|
+
ABLE_TO_RUN_APP_COMMANDS = False
|
|
36
|
+
|
|
37
|
+
from lightning.app.launcher.lightning_backend import CloudBackend
|
|
38
|
+
from lightning.app.launcher.utils import LIGHTNING_VERSION, convert_print_to_logger_info, enable_debugging, exit_app
|
|
37
39
|
|
|
38
40
|
if hasattr(constants, "get_cloud_queue_type"):
|
|
39
41
|
CLOUD_QUEUE_TYPE = constants.get_cloud_queue_type() or "redis"
|
|
@@ -48,6 +50,22 @@ class FlowRestAPIQueues(TypedDict):
|
|
|
48
50
|
api_response_queue: MultiProcessQueue
|
|
49
51
|
|
|
50
52
|
|
|
53
|
+
def check_error_queue(self) -> None:
|
|
54
|
+
if not getattr(self, "_last_check_error_queue", None):
|
|
55
|
+
self._last_check_error_queue = 0.0
|
|
56
|
+
|
|
57
|
+
if (time.time() - self._last_check_error_queue) > CHECK_ERROR_QUEUE_INTERVAL:
|
|
58
|
+
exception: Exception = self.get_state_changed_from_queue(self.error_queue) # type: ignore[assignment,arg-type]
|
|
59
|
+
if isinstance(exception, Exception):
|
|
60
|
+
self.exception = exception
|
|
61
|
+
self.stage = AppStage.FAILED
|
|
62
|
+
self._last_check_error_queue = time.time()
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
def patch_app(app):
|
|
66
|
+
app.check_error_queue = partial(check_error_queue, self=app)
|
|
67
|
+
|
|
68
|
+
|
|
51
69
|
@convert_print_to_logger_info
|
|
52
70
|
@enable_debugging
|
|
53
71
|
def start_application_server(
|
|
@@ -72,6 +90,7 @@ def start_application_server(
|
|
|
72
90
|
})
|
|
73
91
|
|
|
74
92
|
app = load_app_from_file(entrypoint_file)
|
|
93
|
+
patch_app(app)
|
|
75
94
|
|
|
76
95
|
from lightning.app.api.http_methods import _add_tags_to_api, _validate_api
|
|
77
96
|
from lightning.app.utilities.app_helpers import is_overridden
|
|
@@ -124,12 +143,34 @@ def run_lightning_work(
|
|
|
124
143
|
copy_request_queues = queues.get_orchestrator_copy_request_queue(work_name=work_name, queue_id=queue_id)
|
|
125
144
|
copy_response_queues = queues.get_orchestrator_copy_response_queue(work_name=work_name, queue_id=queue_id)
|
|
126
145
|
|
|
127
|
-
|
|
146
|
+
if ABLE_TO_RUN_APP_COMMANDS:
|
|
147
|
+
run_app_commands(file)
|
|
128
148
|
|
|
129
149
|
load_app_from_file(file)
|
|
130
150
|
|
|
131
|
-
|
|
132
|
-
|
|
151
|
+
if IS_DISTRIBUTED_PLUGIN:
|
|
152
|
+
import json
|
|
153
|
+
|
|
154
|
+
from multi_node.launcher import ScriptLauncher
|
|
155
|
+
|
|
156
|
+
from lightning.app import CloudCompute
|
|
157
|
+
|
|
158
|
+
script_command = os.environ["COMMAND"]
|
|
159
|
+
distributed_arguments = os.environ["DISTRIBUTED_ARGUMENTS"]
|
|
160
|
+
distributed_arguments = json.loads(distributed_arguments)
|
|
161
|
+
cloud_compute = distributed_arguments["cloud_compute"]
|
|
162
|
+
disk_size = int(distributed_arguments.get("disk_size", 400))
|
|
163
|
+
|
|
164
|
+
work = ScriptLauncher(
|
|
165
|
+
cloud_compute=CloudCompute(cloud_compute, disk_size=disk_size),
|
|
166
|
+
parallel=True,
|
|
167
|
+
command=script_command,
|
|
168
|
+
)
|
|
169
|
+
work_name = os.getenv("LIGHTNING_CLOUD_WORK_NAME", "")
|
|
170
|
+
work._name = work_name
|
|
171
|
+
else:
|
|
172
|
+
queue = queues.get_work_queue(work_name=work_name, queue_id=queue_id)
|
|
173
|
+
work = queue.get()
|
|
133
174
|
|
|
134
175
|
extras = {}
|
|
135
176
|
|
|
@@ -179,15 +220,17 @@ def run_lightning_flow(entrypoint_file: str, queue_id: str, base_url: str, queue
|
|
|
179
220
|
|
|
180
221
|
app.should_publish_changes_to_api = True
|
|
181
222
|
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
223
|
+
# reduces the number of requests to the CP
|
|
224
|
+
if ENABLE_ORCHESTRATOR:
|
|
225
|
+
storage_orchestrator = StorageOrchestrator(
|
|
226
|
+
app,
|
|
227
|
+
app.request_queues,
|
|
228
|
+
app.response_queues,
|
|
229
|
+
app.copy_request_queues,
|
|
230
|
+
app.copy_response_queues,
|
|
231
|
+
)
|
|
232
|
+
storage_orchestrator.setDaemon(True)
|
|
233
|
+
storage_orchestrator.start()
|
|
191
234
|
|
|
192
235
|
# refresh the layout with the populated urls.
|
|
193
236
|
app._update_layout()
|
|
@@ -211,14 +254,16 @@ def run_lightning_flow(entrypoint_file: str, queue_id: str, base_url: str, queue
|
|
|
211
254
|
app.stage = AppStage.FAILED
|
|
212
255
|
print(traceback.format_exc())
|
|
213
256
|
|
|
214
|
-
|
|
257
|
+
if ENABLE_ORCHESTRATOR:
|
|
258
|
+
storage_orchestrator.join(0)
|
|
259
|
+
|
|
215
260
|
app.backend.stop_all_works(app.works)
|
|
216
261
|
|
|
217
262
|
exit_code = 1 if app.stage == AppStage.FAILED else 0
|
|
218
263
|
print(f"Finishing the App with exit_code: {str(exit_code)}...")
|
|
219
264
|
|
|
220
265
|
if not exit_code:
|
|
221
|
-
|
|
266
|
+
exit_app(app)
|
|
222
267
|
|
|
223
268
|
sys.exit(exit_code)
|
|
224
269
|
|
|
@@ -385,12 +430,13 @@ def start_flow_and_servers(
|
|
|
385
430
|
"api_response_queue": queue_system.get_api_response_queue(queue_id=queue_id),
|
|
386
431
|
}
|
|
387
432
|
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
433
|
+
if ABLE_TO_RUN_APP_COMMANDS:
|
|
434
|
+
# In order to avoid running this function 3 seperate times while executing the
|
|
435
|
+
# `run_lightning_flow`, `start_application_server`, & `serve_frontend` functions
|
|
436
|
+
# in a subprocess we extract this to the top level. If we intend to make changes
|
|
437
|
+
# to be able to start these components in seperate containers, the implementation
|
|
438
|
+
# will have to move a call to this function within the initialization process.
|
|
439
|
+
run_app_commands(entrypoint_file)
|
|
394
440
|
|
|
395
441
|
flow_process = start_server_in_process(
|
|
396
442
|
run_lightning_flow,
|
|
@@ -434,6 +480,12 @@ def wait_for_queues(queue_system: QueuingSystem) -> None:
|
|
|
434
480
|
logger.warning("Waiting for http queues to start...")
|
|
435
481
|
time.sleep(1)
|
|
436
482
|
else:
|
|
483
|
+
if CLOUD_QUEUE_TYPE != "redis":
|
|
484
|
+
raise ValueError(
|
|
485
|
+
f"Queue system {queue_system} is not correctly configured. You seem to have requested HTTP queues,"
|
|
486
|
+
f"but using an old version of lightning framework ({LIGHTNING_VERSION}) that doesn't support "
|
|
487
|
+
f"HTTP queues. Try upgrading lightning framework to the latest version."
|
|
488
|
+
)
|
|
437
489
|
while not check_if_redis_running():
|
|
438
490
|
if (int(time.time()) - queue_check_start_time) % 10 == 0:
|
|
439
491
|
logger.warning("Waiting for redis queues to start...")
|