lightning 2.2.0__tar.gz → 2.2.0.post0__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.2.0/src/lightning.egg-info → lightning-2.2.0.post0}/PKG-INFO +3 -3
- {lightning-2.2.0 → lightning-2.2.0.post0}/requirements/pytorch/examples.txt +1 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/__setup__.py +3 -1
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/CHANGELOG.md +6 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/cli/app-template/README.md +4 -4
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/cli/cmd_react_ui_init.py +3 -3
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/cli/commands/app_commands.py +2 -2
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/cli/commands/ls.py +1 -1
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/cli/component-template/README.md +2 -2
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/cli/component-template/setup.py +1 -1
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/cli/connect/app.py +7 -7
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/cli/lightning_cli.py +1 -1
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/cli/react-ui-template/README.md +2 -2
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/core/flow.py +2 -2
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/runners/cloud.py +1 -1
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/testing/testing.py +1 -1
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/utilities/load_app.py +1 -1
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/utilities/login.py +1 -1
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/data/__init__.py +1 -1
- {lightning-2.2.0/src/lightning/data/streaming → lightning-2.2.0.post0/src/lightning/data/processing}/data_processor.py +5 -5
- lightning-2.2.0.post0/src/lightning/data/processing/dns.py +47 -0
- {lightning-2.2.0/src/lightning/data/streaming → lightning-2.2.0.post0/src/lightning/data/processing}/functions.py +16 -11
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/data/processing/readers.py +1 -1
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/data/streaming/__init__.py +0 -4
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/data/streaming/cache.py +1 -1
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/data/streaming/client.py +1 -1
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/data/streaming/config.py +1 -1
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/data/streaming/dataloader.py +1 -1
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/data/streaming/dataset.py +2 -2
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/data/streaming/downloader.py +1 -1
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/data/streaming/item_loader.py +1 -1
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/data/streaming/reader.py +1 -1
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/data/streaming/serializers.py +1 -1
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/data/streaming/shuffle.py +1 -73
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/data/streaming/writer.py +3 -2
- lightning-2.2.0.post0/src/lightning/data/utilities/shuffle.py +79 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/fabric/CHANGELOG.md +1 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/fabric/cli.py +29 -1
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/pytorch/demos/transformer.py +9 -1
- lightning-2.2.0.post0/src/lightning/version.info +1 -0
- {lightning-2.2.0 → lightning-2.2.0.post0/src/lightning.egg-info}/PKG-INFO +3 -3
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning.egg-info/SOURCES.txt +6 -4
- lightning-2.2.0.post0/src/lightning.egg-info/entry_points.txt +5 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning.egg-info/requires.txt +4 -0
- lightning-2.2.0.post0/src/version.info +1 -0
- lightning-2.2.0/src/lightning/version.info +0 -1
- lightning-2.2.0/src/lightning.egg-info/entry_points.txt +0 -3
- lightning-2.2.0/src/version.info +0 -1
- {lightning-2.2.0 → lightning-2.2.0.post0}/.actions/assistant.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/CITATION.cff +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/LICENSE +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/README.md +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/pyproject.toml +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/requirements/app/app.txt +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/requirements/app/cloud.txt +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/requirements/app/components.txt +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/requirements/app/docs.txt +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/requirements/app/test.txt +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/requirements/app/ui.txt +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/requirements/base.txt +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/requirements/data/cloud.txt +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/requirements/data/data.txt +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/requirements/data/examples.txt +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/requirements/data/test.txt +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/requirements/fabric/base.txt +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/requirements/fabric/docs.txt +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/requirements/fabric/examples.txt +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/requirements/fabric/strategies.txt +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/requirements/fabric/test.txt +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/requirements/pytorch/base.txt +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/requirements/pytorch/docs.txt +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/requirements/pytorch/extra.txt +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/requirements/pytorch/strategies.txt +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/requirements/pytorch/test.txt +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/setup.cfg +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/setup.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/__about__.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/__init__.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/__main__.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/__version__.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/__init__.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/api/__init__.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/api/http_methods.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/api/request_types.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/cli/__init__.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/cli/app-template/.gitignore +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/cli/app-template/LICENSE +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/cli/app-template/app.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/cli/app-template/placeholdername/__init__.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/cli/app-template/placeholdername/components/component_a/__init__.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/cli/app-template/placeholdername/components/component_a/component_a.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/cli/app-template/placeholdername/components/component_b/__init__.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/cli/app-template/placeholdername/components/component_b/component_a.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/cli/app-template/requirements.txt +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/cli/app-template/setup.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/cli/app-template/tests/README.md +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/cli/app-template/tests/__init__.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/cli/app-template/tests/requirements.txt +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/cli/app-template/tests/test_placeholdername_app.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/cli/cmd_apps.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/cli/cmd_init.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/cli/cmd_install.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/cli/cmd_pl_init.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/cli/commands/__init__.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/cli/commands/cd.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/cli/commands/cp.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/cli/commands/logs.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/cli/commands/pwd.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/cli/commands/rm.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/cli/component-template/.github/workflows/ci-testing.yml +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/cli/component-template/.gitignore +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/cli/component-template/LICENSE +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/cli/component-template/app.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/cli/component-template/placeholdername/__init__.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/cli/component-template/placeholdername/component.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/cli/component-template/requirements.txt +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/cli/component-template/tests/README.md +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/cli/component-template/tests/__init__.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/cli/component-template/tests/requirements.txt +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/cli/component-template/tests/test_placeholdername_component.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/cli/connect/__init__.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/cli/connect/data.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/cli/core.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/cli/lightning_cli_delete.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/cli/lightning_cli_launch.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/cli/lightning_cli_list.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/cli/pl-app-template/.gitignore +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/cli/pl-app-template/.lightningignore +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/cli/pl-app-template/app.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/cli/pl-app-template/core/__init__.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/cli/pl-app-template/core/callbacks.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/cli/pl-app-template/core/components/__init__.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/cli/pl-app-template/core/components/logger/__init__.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/cli/pl-app-template/core/components/logger/tensorboard.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/cli/pl-app-template/core/components/logger/weights_and_biases.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/cli/pl-app-template/core/components/script_runner/__init__.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/cli/pl-app-template/core/components/script_runner/script_runner.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/cli/pl-app-template/core/state.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/cli/pl-app-template/setup.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/cli/pl-app-template/tests/__init__.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/cli/pl-app-template/tests/core/__init__.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/cli/pl-app-template/tests/core/test_callbacks.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/cli/pl-app-template/tests/test_app.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/cli/pl-app-template/ui/.gitignore +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/cli/pl-app-template/ui/.prettierignore +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/cli/pl-app-template/ui/.prettierrc +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/cli/pl-app-template/ui/craco.config.js +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/cli/pl-app-template/ui/package.json +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/cli/pl-app-template/ui/public/favicon.svg +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/cli/pl-app-template/ui/public/index.html +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/cli/pl-app-template/ui/public/manifest.json +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/cli/pl-app-template/ui/public/robots.txt +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/cli/pl-app-template/ui/src/App.tsx +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/cli/pl-app-template/ui/src/components/EnvironmentConfigurator.tsx +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/cli/pl-app-template/ui/src/components/ErrorPanel.tsx +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/cli/pl-app-template/ui/src/components/ExecutionSummary.tsx +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/cli/pl-app-template/ui/src/components/HyperparameterSummary.tsx +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/cli/pl-app-template/ui/src/components/Launcher.tsx +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/cli/pl-app-template/ui/src/components/ProgressBar.tsx +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/cli/pl-app-template/ui/src/components/ProgressBarGroup.tsx +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/cli/pl-app-template/ui/src/components/Timer.tsx +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/cli/pl-app-template/ui/src/hooks/useLightningState.ts +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/cli/pl-app-template/ui/src/index.css +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/cli/pl-app-template/ui/src/index.tsx +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/cli/pl-app-template/ui/src/lightning-colors.ts +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/cli/pl-app-template/ui/src/react-app-env.d.ts +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/cli/pl-app-template/ui/src/reportWebVitals.ts +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/cli/pl-app-template/ui/src/types/lightning.ts +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/cli/pl-app-template/ui/tsconfig.json +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/cli/react-ui-template/example_app.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/cli/react-ui-template/ui/index.html +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/cli/react-ui-template/ui/package.json +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/cli/react-ui-template/ui/src/App.css +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/cli/react-ui-template/ui/src/App.tsx +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/cli/react-ui-template/ui/src/favicon.svg +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/cli/react-ui-template/ui/src/hooks/useLightningState.ts +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/cli/react-ui-template/ui/src/index.css +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/cli/react-ui-template/ui/src/main.tsx +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/cli/react-ui-template/ui/src/types/lightning.ts +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/cli/react-ui-template/ui/src/vite-env.d.ts +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/cli/react-ui-template/ui/tsconfig.json +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/cli/react-ui-template/ui/tsconfig.node.json +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/cli/react-ui-template/ui/vite.config.ts +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/cli/react-ui-template/ui/yarn.lock +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/components/__init__.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/components/database/__init__.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/components/database/client.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/components/database/server.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/components/database/utilities.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/components/multi_node/__init__.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/components/multi_node/base.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/components/multi_node/fabric.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/components/multi_node/pytorch_spawn.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/components/multi_node/trainer.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/components/python/__init__.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/components/python/popen.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/components/python/tracer.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/components/serve/__init__.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/components/serve/auto_scaler.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/components/serve/catimage.png +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/components/serve/cold_start_proxy.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/components/serve/gradio_server.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/components/serve/python_server.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/components/serve/serve.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/components/serve/streamlit.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/components/serve/types/__init__.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/components/serve/types/image.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/components/serve/types/type.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/components/training.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/core/__init__.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/core/api.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/core/app.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/core/constants.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/core/queues.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/core/work.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/frontend/__init__.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/frontend/frontend.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/frontend/just_py/__init__.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/frontend/just_py/just_py.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/frontend/just_py/just_py_base.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/frontend/panel/__init__.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/frontend/panel/app_state_comm.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/frontend/panel/app_state_watcher.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/frontend/panel/panel_frontend.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/frontend/panel/panel_serve_render_fn.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/frontend/stream_lit.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/frontend/streamlit_base.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/frontend/utils.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/frontend/web.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/launcher/__init__.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/launcher/launcher.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/launcher/lightning_backend.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/launcher/lightning_hybrid_backend.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/pdb/__init__.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/pdb/pdb.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/plugin/__init__.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/plugin/plugin.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/runners/__init__.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/runners/backends/__init__.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/runners/backends/backend.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/runners/backends/cloud.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/runners/backends/docker.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/runners/backends/mp_process.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/runners/multiprocess.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/runners/runtime.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/runners/runtime_type.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/source_code/__init__.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/source_code/copytree.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/source_code/hashing.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/source_code/local.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/source_code/tar.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/source_code/uploader.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/storage/__init__.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/storage/copier.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/storage/drive.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/storage/filesystem.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/storage/mount.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/storage/orchestrator.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/storage/path.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/storage/payload.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/storage/requests.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/structures/__init__.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/structures/dict.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/structures/list.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/testing/__init__.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/testing/config.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/testing/helpers.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/ui/asset-manifest.json +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/ui/index.html +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/ui/static/css/main.fb7060be.css +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/ui/static/css/main.fb7060be.css.map +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/ui/static/favicon.ico +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/ui/static/js/787.418637a8.chunk.js +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/ui/static/js/787.418637a8.chunk.js.map +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/ui/static/js/main.c1f02aeb.js +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/ui/static/js/main.c1f02aeb.js.LICENSE.txt +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/ui/static/js/main.c1f02aeb.js.map +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/ui/static/lightningState.js +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/ui/static/manifest.json +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/ui/static/media/error.11892047d0183a4723b91dc0fb98cb95.svg +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/ui/static/media/lightning-logo-with-text.b964c8fbf221c97eb8ce52bb6e3a30d6.svg +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/ui/static/media/success.5edae4c5b171e2c1c5a3c54273c47ba8.svg +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/ui/static/media/warning.5c542673e84e77ceb6a230bfea7f7263.svg +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/ui/static/robots.txt +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/ui/version.info +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/utilities/__init__.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/utilities/app_commands.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/utilities/app_helpers.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/utilities/app_logs.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/utilities/app_status.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/utilities/auth.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/utilities/cli_helpers.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/utilities/cloud.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/utilities/clusters.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/utilities/commands/__init__.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/utilities/commands/base.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/utilities/component.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/utilities/data_structures.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/utilities/dependency_caching.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/utilities/enum.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/utilities/exceptions.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/utilities/frontend.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/utilities/git.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/utilities/imports.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/utilities/introspection.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/utilities/layout.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/utilities/log.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/utilities/log_helpers.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/utilities/logs_socket_api.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/utilities/name_generator.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/utilities/network.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/utilities/openapi.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/utilities/packaging/__init__.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/utilities/packaging/app_config.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/utilities/packaging/build_config.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/utilities/packaging/cloud_compute.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/utilities/packaging/docker.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/utilities/packaging/lightning_utils.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/utilities/packaging/tarfile.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/utilities/port.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/utilities/proxies.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/utilities/redis.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/utilities/safe_pickle.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/utilities/scheduler.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/utilities/secrets.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/utilities/state.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/utilities/tracer.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/utilities/tree.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/utilities/types.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/utilities/warnings.py +0 -0
- {lightning-2.2.0/src/lightning/data/streaming → lightning-2.2.0.post0/src/lightning/data}/constants.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/data/processing/__init__.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/data/processing/image.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/data/streaming/combined.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/data/streaming/compression.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/data/streaming/resolver.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/data/streaming/sampler.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/data/utilities/__init__.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/data/utilities/broadcast.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/data/utilities/env.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/data/utilities/format.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/data/utilities/packing.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/fabric/__init__.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/fabric/_graveyard/__init__.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/fabric/_graveyard/tpu.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/fabric/accelerators/__init__.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/fabric/accelerators/accelerator.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/fabric/accelerators/cpu.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/fabric/accelerators/cuda.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/fabric/accelerators/mps.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/fabric/accelerators/registry.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/fabric/accelerators/xla.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/fabric/connector.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/fabric/fabric.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/fabric/loggers/__init__.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/fabric/loggers/csv_logs.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/fabric/loggers/logger.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/fabric/loggers/tensorboard.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/fabric/plugins/__init__.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/fabric/plugins/collectives/__init__.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/fabric/plugins/collectives/collective.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/fabric/plugins/collectives/single_device.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/fabric/plugins/collectives/torch_collective.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/fabric/plugins/environments/__init__.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/fabric/plugins/environments/cluster_environment.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/fabric/plugins/environments/kubeflow.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/fabric/plugins/environments/lightning.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/fabric/plugins/environments/lsf.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/fabric/plugins/environments/mpi.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/fabric/plugins/environments/slurm.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/fabric/plugins/environments/torchelastic.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/fabric/plugins/environments/xla.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/fabric/plugins/io/__init__.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/fabric/plugins/io/checkpoint_io.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/fabric/plugins/io/torch_io.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/fabric/plugins/io/xla.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/fabric/plugins/precision/__init__.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/fabric/plugins/precision/amp.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/fabric/plugins/precision/bitsandbytes.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/fabric/plugins/precision/deepspeed.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/fabric/plugins/precision/double.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/fabric/plugins/precision/fsdp.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/fabric/plugins/precision/half.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/fabric/plugins/precision/precision.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/fabric/plugins/precision/transformer_engine.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/fabric/plugins/precision/utils.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/fabric/plugins/precision/xla.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/fabric/strategies/__init__.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/fabric/strategies/ddp.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/fabric/strategies/deepspeed.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/fabric/strategies/dp.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/fabric/strategies/fsdp.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/fabric/strategies/launchers/__init__.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/fabric/strategies/launchers/launcher.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/fabric/strategies/launchers/multiprocessing.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/fabric/strategies/launchers/subprocess_script.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/fabric/strategies/launchers/xla.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/fabric/strategies/parallel.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/fabric/strategies/registry.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/fabric/strategies/single_device.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/fabric/strategies/single_xla.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/fabric/strategies/strategy.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/fabric/strategies/xla.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/fabric/strategies/xla_fsdp.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/fabric/utilities/__init__.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/fabric/utilities/apply_func.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/fabric/utilities/cloud_io.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/fabric/utilities/consolidate_checkpoint.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/fabric/utilities/data.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/fabric/utilities/device_dtype_mixin.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/fabric/utilities/device_parser.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/fabric/utilities/distributed.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/fabric/utilities/enums.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/fabric/utilities/exceptions.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/fabric/utilities/imports.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/fabric/utilities/init.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/fabric/utilities/load.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/fabric/utilities/logger.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/fabric/utilities/optimizer.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/fabric/utilities/rank_zero.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/fabric/utilities/registry.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/fabric/utilities/seed.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/fabric/utilities/spike.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/fabric/utilities/testing/__init__.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/fabric/utilities/testing/_runif.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/fabric/utilities/throughput.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/fabric/utilities/types.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/fabric/utilities/warnings.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/fabric/wrappers.py +0 -0
- /lightning-2.2.0/src/lightning/b9230d89941dc1a9760645ae77017c32a1eef9a0435e18f3 → /lightning-2.2.0.post0/src/lightning/ffb6a4864f9575f98c1278129cf17f7a864beee42ceef0d4 +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/py.typed +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/pytorch/CHANGELOG.md +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/pytorch/__init__.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/pytorch/_graveyard/__init__.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/pytorch/_graveyard/_torchmetrics.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/pytorch/_graveyard/hpu.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/pytorch/_graveyard/ipu.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/pytorch/_graveyard/precision.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/pytorch/_graveyard/tpu.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/pytorch/accelerators/__init__.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/pytorch/accelerators/accelerator.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/pytorch/accelerators/cpu.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/pytorch/accelerators/cuda.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/pytorch/accelerators/mps.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/pytorch/accelerators/xla.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/pytorch/callbacks/__init__.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/pytorch/callbacks/batch_size_finder.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/pytorch/callbacks/callback.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/pytorch/callbacks/checkpoint.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/pytorch/callbacks/device_stats_monitor.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/pytorch/callbacks/early_stopping.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/pytorch/callbacks/finetuning.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/pytorch/callbacks/gradient_accumulation_scheduler.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/pytorch/callbacks/lambda_function.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/pytorch/callbacks/lr_finder.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/pytorch/callbacks/lr_monitor.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/pytorch/callbacks/model_checkpoint.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/pytorch/callbacks/model_summary.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/pytorch/callbacks/on_exception_checkpoint.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/pytorch/callbacks/prediction_writer.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/pytorch/callbacks/progress/__init__.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/pytorch/callbacks/progress/progress_bar.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/pytorch/callbacks/progress/rich_progress.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/pytorch/callbacks/progress/tqdm_progress.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/pytorch/callbacks/pruning.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/pytorch/callbacks/rich_model_summary.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/pytorch/callbacks/spike.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/pytorch/callbacks/stochastic_weight_avg.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/pytorch/callbacks/throughput_monitor.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/pytorch/callbacks/timer.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/pytorch/cli.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/pytorch/core/__init__.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/pytorch/core/datamodule.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/pytorch/core/hooks.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/pytorch/core/mixins/__init__.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/pytorch/core/mixins/hparams_mixin.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/pytorch/core/module.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/pytorch/core/optimizer.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/pytorch/core/saving.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/pytorch/demos/__init__.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/pytorch/demos/boring_classes.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/pytorch/demos/mnist_datamodule.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/pytorch/loggers/__init__.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/pytorch/loggers/comet.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/pytorch/loggers/csv_logs.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/pytorch/loggers/logger.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/pytorch/loggers/mlflow.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/pytorch/loggers/neptune.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/pytorch/loggers/tensorboard.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/pytorch/loggers/utilities.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/pytorch/loggers/wandb.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/pytorch/loops/__init__.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/pytorch/loops/evaluation_loop.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/pytorch/loops/fetchers.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/pytorch/loops/fit_loop.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/pytorch/loops/loop.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/pytorch/loops/optimization/__init__.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/pytorch/loops/optimization/automatic.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/pytorch/loops/optimization/closure.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/pytorch/loops/optimization/manual.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/pytorch/loops/prediction_loop.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/pytorch/loops/progress.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/pytorch/loops/training_epoch_loop.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/pytorch/loops/utilities.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/pytorch/overrides/__init__.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/pytorch/overrides/distributed.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/pytorch/plugins/__init__.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/pytorch/plugins/environments/__init__.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/pytorch/plugins/io/__init__.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/pytorch/plugins/io/async_plugin.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/pytorch/plugins/io/checkpoint_plugin.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/pytorch/plugins/io/torch_plugin.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/pytorch/plugins/io/wrapper.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/pytorch/plugins/io/xla_plugin.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/pytorch/plugins/layer_sync.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/pytorch/plugins/precision/__init__.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/pytorch/plugins/precision/amp.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/pytorch/plugins/precision/bitsandbytes.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/pytorch/plugins/precision/deepspeed.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/pytorch/plugins/precision/double.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/pytorch/plugins/precision/fsdp.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/pytorch/plugins/precision/half.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/pytorch/plugins/precision/precision.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/pytorch/plugins/precision/transformer_engine.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/pytorch/plugins/precision/xla.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/pytorch/profilers/__init__.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/pytorch/profilers/advanced.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/pytorch/profilers/base.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/pytorch/profilers/profiler.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/pytorch/profilers/pytorch.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/pytorch/profilers/simple.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/pytorch/profilers/xla.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/pytorch/serve/__init__.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/pytorch/serve/servable_module.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/pytorch/serve/servable_module_validator.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/pytorch/strategies/__init__.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/pytorch/strategies/ddp.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/pytorch/strategies/deepspeed.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/pytorch/strategies/fsdp.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/pytorch/strategies/launchers/__init__.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/pytorch/strategies/launchers/launcher.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/pytorch/strategies/launchers/multiprocessing.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/pytorch/strategies/launchers/subprocess_script.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/pytorch/strategies/launchers/xla.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/pytorch/strategies/parallel.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/pytorch/strategies/single_device.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/pytorch/strategies/single_xla.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/pytorch/strategies/strategy.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/pytorch/strategies/xla.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/pytorch/trainer/__init__.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/pytorch/trainer/call.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/pytorch/trainer/configuration_validator.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/pytorch/trainer/connectors/__init__.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/pytorch/trainer/connectors/accelerator_connector.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/pytorch/trainer/connectors/callback_connector.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/pytorch/trainer/connectors/checkpoint_connector.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/pytorch/trainer/connectors/data_connector.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/pytorch/trainer/connectors/logger_connector/__init__.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/pytorch/trainer/connectors/logger_connector/fx_validator.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/pytorch/trainer/connectors/logger_connector/logger_connector.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/pytorch/trainer/connectors/logger_connector/result.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/pytorch/trainer/connectors/signal_connector.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/pytorch/trainer/setup.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/pytorch/trainer/states.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/pytorch/trainer/trainer.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/pytorch/tuner/__init__.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/pytorch/tuner/batch_size_scaling.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/pytorch/tuner/lr_finder.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/pytorch/tuner/tuning.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/pytorch/utilities/__init__.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/pytorch/utilities/_pytree.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/pytorch/utilities/argparse.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/pytorch/utilities/combined_loader.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/pytorch/utilities/compile.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/pytorch/utilities/consolidate_checkpoint.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/pytorch/utilities/data.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/pytorch/utilities/deepspeed.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/pytorch/utilities/enums.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/pytorch/utilities/exceptions.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/pytorch/utilities/grads.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/pytorch/utilities/imports.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/pytorch/utilities/memory.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/pytorch/utilities/migration/__init__.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/pytorch/utilities/migration/migration.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/pytorch/utilities/migration/utils.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/pytorch/utilities/model_helpers.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/pytorch/utilities/model_summary/__init__.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/pytorch/utilities/model_summary/model_summary.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/pytorch/utilities/model_summary/model_summary_deepspeed.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/pytorch/utilities/parameter_tying.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/pytorch/utilities/parsing.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/pytorch/utilities/rank_zero.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/pytorch/utilities/seed.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/pytorch/utilities/signature_utils.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/pytorch/utilities/testing/__init__.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/pytorch/utilities/testing/_runif.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/pytorch/utilities/types.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/pytorch/utilities/upgrade_checkpoint.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/pytorch/utilities/warnings.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/store/__init__.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/store/store.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/store/utils.py +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning.egg-info/dependency_links.txt +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning.egg-info/not-zip-safe +0 -0
- {lightning-2.2.0 → lightning-2.2.0.post0}/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.2.0
|
|
3
|
+
Version: 2.2.0.post0
|
|
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.
|
|
@@ -83,7 +83,7 @@ ______________________________________________________________________
|
|
|
83
83
|
<a href="https://lightning.ai/docs/pytorch/stable/">PyTorch Lightning</a> •
|
|
84
84
|
<a href="https://lightning.ai/docs/fabric/stable/">Fabric</a> •
|
|
85
85
|
<a href="https://lightning.ai/docs/app/stable/">Lightning Apps</a> •
|
|
86
|
-
<a href="https://pytorch-lightning.readthedocs.io/en/2.2.0">Docs</a> •
|
|
86
|
+
<a href="https://pytorch-lightning.readthedocs.io/en/2.2.0.post0">Docs</a> •
|
|
87
87
|
<a href="#community">Community</a> •
|
|
88
88
|
<a href="https://lightning.ai/docs/pytorch/stable/generated/CONTRIBUTING.html">Contribute</a> •
|
|
89
89
|
</p>
|
|
@@ -626,7 +626,7 @@ Lightning is rigorously tested across multiple CPUs, GPUs and TPUs and against m
|
|
|
626
626
|
|
|
627
627
|
| System / PyTorch ver. | 1.13 | 2.0 | 2.1 |
|
|
628
628
|
| :--------------------------------: | :-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: | :-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: |:-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------:|
|
|
629
|
-
| Linux py3.9 \[GPUs\] | | | [](https://dev.azure.com/Lightning-AI/lightning/_build/latest?definitionId=24&branchName=master) |
|
|
629
|
+
| Linux py3.9 \[GPUs\] | | | [](https://dev.azure.com/Lightning-AI/lightning/_build/latest?definitionId=24&branchName=master) |
|
|
630
630
|
| Linux py3.9 \[TPUs\] | | [](https://github.com/Lightning-AI/lightning/actions/workflows/tpu-tests.yml) | |
|
|
631
631
|
| 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) |
|
|
632
632
|
| 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,6 +1,7 @@
|
|
|
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
|
+
requests <2.32.0
|
|
4
5
|
torchvision >=0.14.0, <0.17.0
|
|
5
6
|
gym[classic_control] >=0.17.0, <0.27.0
|
|
6
7
|
ipython[all] <8.15.0
|
|
@@ -114,7 +114,9 @@ def _setup_args() -> Dict[str, Any]:
|
|
|
114
114
|
"python_requires": ">=3.8", # todo: take the lowes based on all packages
|
|
115
115
|
"entry_points": {
|
|
116
116
|
"console_scripts": [
|
|
117
|
-
"
|
|
117
|
+
"fabric = lightning.fabric.cli:_main",
|
|
118
|
+
"lightning = lightning.fabric.cli:_legacy_main",
|
|
119
|
+
"lightning_app = lightning:_cli_entry_point",
|
|
118
120
|
],
|
|
119
121
|
},
|
|
120
122
|
"setup_requires": [],
|
|
@@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file.
|
|
|
4
4
|
|
|
5
5
|
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/).
|
|
6
6
|
|
|
7
|
+
## [2.2.0] - 2024-02-09
|
|
8
|
+
|
|
9
|
+
## Changed
|
|
10
|
+
|
|
11
|
+
- Renames the `lightning` cli to `lightning_app` ([#19440](https://github.com/Lightning-AI/pytorch-lightning/pull/19440))
|
|
12
|
+
|
|
7
13
|
|
|
8
14
|
## [2.1.4] - 2024-01-31
|
|
9
15
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
This ⚡ [Lightning app](https://lightning.ai/) ⚡ was generated automatically with:
|
|
4
4
|
|
|
5
5
|
```bash
|
|
6
|
-
|
|
6
|
+
lightning_app init app placeholdername
|
|
7
7
|
```
|
|
8
8
|
|
|
9
9
|
## To run placeholdername
|
|
@@ -11,19 +11,19 @@ lightning init app placeholdername
|
|
|
11
11
|
First, install placeholdername (warning: this app has not been officially approved on the lightning gallery):
|
|
12
12
|
|
|
13
13
|
```bash
|
|
14
|
-
|
|
14
|
+
lightning_app install app https://github.com/theUser/placeholdername
|
|
15
15
|
```
|
|
16
16
|
|
|
17
17
|
Once the app is installed, run it locally with:
|
|
18
18
|
|
|
19
19
|
```bash
|
|
20
|
-
|
|
20
|
+
lightning_app run app placeholdername/app.py
|
|
21
21
|
```
|
|
22
22
|
|
|
23
23
|
Run it on the [lightning cloud](https://lightning.ai/) with:
|
|
24
24
|
|
|
25
25
|
```bash
|
|
26
|
-
|
|
26
|
+
lightning_app run app placeholdername/app.py --cloud
|
|
27
27
|
```
|
|
28
28
|
|
|
29
29
|
## to test and link
|
|
@@ -59,7 +59,7 @@ def _copy_and_setup_react_ui(dest_dir: Optional[str] = None) -> None:
|
|
|
59
59
|
return la.frontend.StaticWebFrontend(Path(__file__).parent / "react-ui/src/dist")
|
|
60
60
|
|
|
61
61
|
⚡ run the example_app.py to see it live!
|
|
62
|
-
|
|
62
|
+
lightning_app run app {dest_dir}/example_app.py
|
|
63
63
|
|
|
64
64
|
"""
|
|
65
65
|
logger.info(m)
|
|
@@ -80,7 +80,7 @@ def _check_react_prerequisites() -> None:
|
|
|
80
80
|
|
|
81
81
|
if not has_npm:
|
|
82
82
|
m = """
|
|
83
|
-
This machine is missing 'npm'. Please install npm and rerun '
|
|
83
|
+
This machine is missing 'npm'. Please install npm and rerun 'lightning_app init react-ui' again.
|
|
84
84
|
|
|
85
85
|
Install instructions: https://docs.npmjs.com/downloading-and-installing-node-js-and-npm
|
|
86
86
|
"""
|
|
@@ -94,7 +94,7 @@ def _check_react_prerequisites() -> None:
|
|
|
94
94
|
|
|
95
95
|
if not has_node:
|
|
96
96
|
m = """
|
|
97
|
-
This machine is missing 'node'. Please install node and rerun '
|
|
97
|
+
This machine is missing 'node'. Please install node and rerun 'lightning_app init react-ui' again.
|
|
98
98
|
|
|
99
99
|
Install instructions: https://docs.npmjs.com/downloading-and-installing-node-js-and-npm
|
|
100
100
|
"""
|
|
@@ -61,7 +61,7 @@ def _run_app_command(app_name: str, app_id: Optional[str]):
|
|
|
61
61
|
if value == command and "_" in value:
|
|
62
62
|
print(
|
|
63
63
|
f"The command `{value}` was provided with an underscore and it isn't allowed."
|
|
64
|
-
f"Instead, use `
|
|
64
|
+
f"Instead, use `lightning_app {value.replace('_', ' ')}`."
|
|
65
65
|
)
|
|
66
66
|
sys.exit(0)
|
|
67
67
|
break
|
|
@@ -88,7 +88,7 @@ def _run_app_command(app_name: str, app_id: Optional[str]):
|
|
|
88
88
|
def _handle_command_without_client(command: str, metadata: Dict, url: str) -> None:
|
|
89
89
|
supported_params = list(metadata["parameters"])
|
|
90
90
|
if _is_running_help(sys.argv):
|
|
91
|
-
print(f"Usage:
|
|
91
|
+
print(f"Usage: lightning_app {command} [ARGS]...")
|
|
92
92
|
print(" ")
|
|
93
93
|
print("Options")
|
|
94
94
|
for param in supported_params:
|
|
@@ -81,7 +81,7 @@ def ls(path: Optional[str] = None, print: bool = True, use_live: bool = True) ->
|
|
|
81
81
|
# This happens if the user changes cluster and the project doesn't exit.
|
|
82
82
|
if len(project) == 0:
|
|
83
83
|
return _error_and_exit(
|
|
84
|
-
f"There isn't any Lightning Project matching the name {splits[0]}." " HINT: Use `
|
|
84
|
+
f"There isn't any Lightning Project matching the name {splits[0]}." " HINT: Use `lightning_app cd`."
|
|
85
85
|
)
|
|
86
86
|
|
|
87
87
|
project_id = project[0].project_id
|
{lightning-2.2.0 → lightning-2.2.0.post0}/src/lightning/app/cli/component-template/README.md
RENAMED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
This ⚡ [Lightning component](https://lightning.ai/) ⚡ was generated automatically with:
|
|
4
4
|
|
|
5
5
|
```bash
|
|
6
|
-
|
|
6
|
+
lightning_app init component placeholdername
|
|
7
7
|
```
|
|
8
8
|
|
|
9
9
|
## To run placeholdername
|
|
@@ -11,7 +11,7 @@ lightning init component placeholdername
|
|
|
11
11
|
First, install placeholdername (warning: this component has not been officially approved on the lightning gallery):
|
|
12
12
|
|
|
13
13
|
```bash
|
|
14
|
-
|
|
14
|
+
lightning_app install component https://github.com/theUser/placeholdername
|
|
15
15
|
```
|
|
16
16
|
|
|
17
17
|
Once the app is installed, use it in an app:
|
|
@@ -5,7 +5,7 @@ from setuptools import find_packages, setup
|
|
|
5
5
|
setup(
|
|
6
6
|
name="placeholdername",
|
|
7
7
|
version="0.0.0",
|
|
8
|
-
description="⚡ Lightning component ⚡ generated with command:
|
|
8
|
+
description="⚡ Lightning component ⚡ generated with command: lightning_app init component",
|
|
9
9
|
author="",
|
|
10
10
|
author_email="",
|
|
11
11
|
# REPLACE WITH YOUR OWN GITHUB PROJECT LINK
|
|
@@ -129,11 +129,11 @@ def connect_app(app_name_or_id: str):
|
|
|
129
129
|
with open(connected_file, "w") as f:
|
|
130
130
|
f.write(app_name_or_id + "\n")
|
|
131
131
|
|
|
132
|
-
click.echo("The lightning CLI now responds to app commands. Use '
|
|
132
|
+
click.echo("The lightning App CLI now responds to app commands. Use 'lightning_app --help' to see them.")
|
|
133
133
|
click.echo(" ")
|
|
134
134
|
|
|
135
135
|
Popen(
|
|
136
|
-
f"LIGHTNING_CONNECT_PPID={_PPID} {sys.executable} -m
|
|
136
|
+
f"LIGHTNING_CONNECT_PPID={_PPID} {sys.executable} -m lightning_app --help",
|
|
137
137
|
shell=True,
|
|
138
138
|
stdout=sys.stdout,
|
|
139
139
|
stderr=sys.stderr,
|
|
@@ -147,11 +147,11 @@ def connect_app(app_name_or_id: str):
|
|
|
147
147
|
shutil.copytree(matched_commands, commands)
|
|
148
148
|
shutil.copy(matched_connected_file, connected_file)
|
|
149
149
|
|
|
150
|
-
click.echo("The lightning CLI now responds to app commands. Use '
|
|
150
|
+
click.echo("The lightning App CLI now responds to app commands. Use 'lightning_app --help' to see them.")
|
|
151
151
|
click.echo(" ")
|
|
152
152
|
|
|
153
153
|
Popen(
|
|
154
|
-
f"LIGHTNING_CONNECT_PPID={_PPID} {sys.executable} -m
|
|
154
|
+
f"LIGHTNING_CONNECT_PPID={_PPID} {sys.executable} -m lightning_app --help",
|
|
155
155
|
shell=True,
|
|
156
156
|
stdout=sys.stdout,
|
|
157
157
|
stderr=sys.stderr,
|
|
@@ -205,11 +205,11 @@ def connect_app(app_name_or_id: str):
|
|
|
205
205
|
f.write(retriever.app_name + "\n")
|
|
206
206
|
f.write(retriever.app_id + "\n")
|
|
207
207
|
|
|
208
|
-
click.echo("The lightning CLI now responds to app commands. Use '
|
|
208
|
+
click.echo("The lightning App CLI now responds to app commands. Use 'lightning_app --help' to see them.")
|
|
209
209
|
click.echo(" ")
|
|
210
210
|
|
|
211
211
|
Popen(
|
|
212
|
-
f"LIGHTNING_CONNECT_PPID={_PPID} {sys.executable} -m
|
|
212
|
+
f"LIGHTNING_CONNECT_PPID={_PPID} {sys.executable} -m lightning_app --help",
|
|
213
213
|
shell=True,
|
|
214
214
|
stdout=sys.stdout,
|
|
215
215
|
stderr=sys.stderr,
|
|
@@ -238,7 +238,7 @@ def disconnect_app(logout: bool = False):
|
|
|
238
238
|
if not logout:
|
|
239
239
|
click.echo(
|
|
240
240
|
"You aren't connected to any Lightning App. "
|
|
241
|
-
"Please use `
|
|
241
|
+
"Please use `lightning_app connect app_name_or_id` to connect to one."
|
|
242
242
|
)
|
|
243
243
|
|
|
244
244
|
|
|
@@ -104,7 +104,7 @@ def main() -> None:
|
|
|
104
104
|
_run_app_command(app_name, app_id)
|
|
105
105
|
|
|
106
106
|
click.echo()
|
|
107
|
-
click.echo(message + " Return to the primary CLI with `
|
|
107
|
+
click.echo(message + " Return to the primary CLI with `lightning_app disconnect`.")
|
|
108
108
|
else:
|
|
109
109
|
_main()
|
|
110
110
|
|
|
@@ -5,7 +5,7 @@ This is a full react template ready to use in a component
|
|
|
5
5
|
This UI was automatically generated with:
|
|
6
6
|
|
|
7
7
|
```commandline
|
|
8
|
-
|
|
8
|
+
lightning_app init react-ui
|
|
9
9
|
```
|
|
10
10
|
|
|
11
11
|
### Delete files
|
|
@@ -26,7 +26,7 @@ This template comes with `example_app.py` to show how to integrate the UI into a
|
|
|
26
26
|
run it with:
|
|
27
27
|
|
|
28
28
|
```bash
|
|
29
|
-
|
|
29
|
+
lightning_app run app react-ui/example_app.py
|
|
30
30
|
```
|
|
31
31
|
|
|
32
32
|
### Connect React to your component
|
|
@@ -716,11 +716,11 @@ class LightningFlow:
|
|
|
716
716
|
|
|
717
717
|
.. code-block:: bash
|
|
718
718
|
|
|
719
|
-
|
|
719
|
+
lightning_app run app app.py
|
|
720
720
|
|
|
721
721
|
.. code-block:: bash
|
|
722
722
|
|
|
723
|
-
|
|
723
|
+
lightning_app my_command_name --args name=my_own_name
|
|
724
724
|
|
|
725
725
|
"""
|
|
726
726
|
raise NotImplementedError
|
|
@@ -131,7 +131,7 @@ class CloudRuntime(Runtime):
|
|
|
131
131
|
user = self.backend.client.auth_service_get_user()
|
|
132
132
|
if not user.features.code_tab:
|
|
133
133
|
rich.print(
|
|
134
|
-
"[red]The `
|
|
134
|
+
"[red]The `lightning_app open` command has not been enabled for your account. "
|
|
135
135
|
"To request access, please contact support@lightning.ai[/red]"
|
|
136
136
|
)
|
|
137
137
|
sys.exit(1)
|
|
@@ -275,7 +275,7 @@ def run_app_in_cloud(
|
|
|
275
275
|
token = res.json()["token"]
|
|
276
276
|
|
|
277
277
|
# 3. Disconnect from the App if any.
|
|
278
|
-
Popen("
|
|
278
|
+
Popen("lightning_app logout", shell=True).wait()
|
|
279
279
|
|
|
280
280
|
# 4. Launch the application in the cloud from the Lightning CLI.
|
|
281
281
|
with tempfile.TemporaryDirectory() as tmpdir:
|
|
@@ -239,7 +239,7 @@ def _patch_sys_argv():
|
|
|
239
239
|
"""This function modifies the ``sys.argv`` by extracting the arguments after ``--app_args`` and removed everything
|
|
240
240
|
else before executing the user app script.
|
|
241
241
|
|
|
242
|
-
The command: ``
|
|
242
|
+
The command: ``lightning_app run app app.py --without-server --app_args --use_gpu --env ...`` will be converted into
|
|
243
243
|
``app.py --use_gpu``
|
|
244
244
|
|
|
245
245
|
"""
|
|
@@ -144,7 +144,7 @@ class Auth:
|
|
|
144
144
|
|
|
145
145
|
raise ValueError(
|
|
146
146
|
"We couldn't find any credentials linked to your account. "
|
|
147
|
-
"Please try logging in using the CLI command `
|
|
147
|
+
"Please try logging in using the CLI command `lightning_app login`"
|
|
148
148
|
)
|
|
149
149
|
|
|
150
150
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
+
from lightning.data.processing.functions import map, optimize, walk
|
|
1
2
|
from lightning.data.streaming.combined import CombinedStreamingDataset
|
|
2
3
|
from lightning.data.streaming.dataloader import StreamingDataLoader
|
|
3
4
|
from lightning.data.streaming.dataset import StreamingDataset
|
|
4
|
-
from lightning.data.streaming.functions import map, optimize, walk
|
|
5
5
|
|
|
6
6
|
__all__ = [
|
|
7
7
|
"LightningDataset",
|
|
@@ -20,11 +20,7 @@ import numpy as np
|
|
|
20
20
|
from tqdm.auto import tqdm as _tqdm
|
|
21
21
|
|
|
22
22
|
from lightning import seed_everything
|
|
23
|
-
from lightning.data.
|
|
24
|
-
from lightning.data.streaming import Cache
|
|
25
|
-
from lightning.data.streaming.cache import Dir
|
|
26
|
-
from lightning.data.streaming.client import S3Client
|
|
27
|
-
from lightning.data.streaming.constants import (
|
|
23
|
+
from lightning.data.constants import (
|
|
28
24
|
_BOTO3_AVAILABLE,
|
|
29
25
|
_DEFAULT_FAST_DEV_RUN_ITEMS,
|
|
30
26
|
_INDEX_FILENAME,
|
|
@@ -32,6 +28,10 @@ from lightning.data.streaming.constants import (
|
|
|
32
28
|
_LIGHTNING_CLOUD_LATEST,
|
|
33
29
|
_TORCH_GREATER_EQUAL_2_1_0,
|
|
34
30
|
)
|
|
31
|
+
from lightning.data.processing.readers import BaseReader
|
|
32
|
+
from lightning.data.streaming import Cache
|
|
33
|
+
from lightning.data.streaming.cache import Dir
|
|
34
|
+
from lightning.data.streaming.client import S3Client
|
|
35
35
|
from lightning.data.streaming.resolver import _resolve_dir
|
|
36
36
|
from lightning.data.utilities.broadcast import broadcast_object
|
|
37
37
|
from lightning.data.utilities.packing import _pack_greedily
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
from contextlib import contextmanager
|
|
2
|
+
from subprocess import Popen
|
|
3
|
+
from typing import Any
|
|
4
|
+
|
|
5
|
+
from lightning.data.constants import _IS_IN_STUDIO
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
@contextmanager
|
|
9
|
+
def optimize_dns_context(enable: bool) -> Any:
|
|
10
|
+
optimize_dns(enable)
|
|
11
|
+
try:
|
|
12
|
+
yield
|
|
13
|
+
optimize_dns(False) # always disable the optimize DNS
|
|
14
|
+
except Exception as e:
|
|
15
|
+
optimize_dns(False) # always disable the optimize DNS
|
|
16
|
+
raise e
|
|
17
|
+
|
|
18
|
+
def optimize_dns(enable: bool) -> None:
|
|
19
|
+
if not _IS_IN_STUDIO:
|
|
20
|
+
return
|
|
21
|
+
|
|
22
|
+
with open("/etc/resolv.conf") as f:
|
|
23
|
+
lines = f.readlines()
|
|
24
|
+
|
|
25
|
+
if (
|
|
26
|
+
(enable and any("127.0.0.53" in line for line in lines))
|
|
27
|
+
or (not enable and any("127.0.0.1" in line for line in lines))
|
|
28
|
+
): # noqa E501
|
|
29
|
+
Popen(f"sudo /home/zeus/miniconda3/envs/cloudspace/bin/python -c 'from lightning.data.processing.dns import _optimize_dns; _optimize_dns({enable})'", shell=True).wait() # noqa E501
|
|
30
|
+
|
|
31
|
+
def _optimize_dns(enable: bool) -> None:
|
|
32
|
+
with open("/etc/resolv.conf") as f:
|
|
33
|
+
lines = f.readlines()
|
|
34
|
+
|
|
35
|
+
write_lines = []
|
|
36
|
+
for line in lines:
|
|
37
|
+
if "nameserver 127" in line:
|
|
38
|
+
if enable:
|
|
39
|
+
write_lines.append('nameserver 127.0.0.1\n')
|
|
40
|
+
else:
|
|
41
|
+
write_lines.append('nameserver 127.0.0.53\n')
|
|
42
|
+
else:
|
|
43
|
+
write_lines.append(line)
|
|
44
|
+
|
|
45
|
+
with open("/etc/resolv.conf", "w") as f:
|
|
46
|
+
for line in write_lines:
|
|
47
|
+
f.write(line)
|
|
@@ -22,9 +22,10 @@ from typing import Any, Callable, Dict, List, Optional, Sequence, Tuple, Union
|
|
|
22
22
|
|
|
23
23
|
import torch
|
|
24
24
|
|
|
25
|
+
from lightning.data.constants import _IS_IN_STUDIO, _TORCH_GREATER_EQUAL_2_1_0
|
|
26
|
+
from lightning.data.processing.data_processor import DataChunkRecipe, DataProcessor, DataTransformRecipe
|
|
27
|
+
from lightning.data.processing.dns import optimize_dns_context
|
|
25
28
|
from lightning.data.processing.readers import BaseReader
|
|
26
|
-
from lightning.data.streaming.constants import _IS_IN_STUDIO, _TORCH_GREATER_EQUAL_2_1_0
|
|
27
|
-
from lightning.data.streaming.data_processor import DataChunkRecipe, DataProcessor, DataTransformRecipe
|
|
28
29
|
from lightning.data.streaming.resolver import (
|
|
29
30
|
Dir,
|
|
30
31
|
_assert_dir_has_index_file,
|
|
@@ -218,7 +219,8 @@ def map(
|
|
|
218
219
|
weights=weights,
|
|
219
220
|
reader=reader,
|
|
220
221
|
)
|
|
221
|
-
|
|
222
|
+
with optimize_dns_context(True):
|
|
223
|
+
return data_processor.run(LambdaDataTransformRecipe(fn, inputs))
|
|
222
224
|
return _execute(
|
|
223
225
|
f"data-prep-map-{datetime.now().strftime('%Y-%m-%d_%H-%M-%S')}",
|
|
224
226
|
num_nodes,
|
|
@@ -303,15 +305,18 @@ def optimize(
|
|
|
303
305
|
reorder_files=reorder_files,
|
|
304
306
|
reader=reader,
|
|
305
307
|
)
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
308
|
+
|
|
309
|
+
with optimize_dns_context(True):
|
|
310
|
+
data_processor.run(
|
|
311
|
+
LambdaDataChunkRecipe(
|
|
312
|
+
fn,
|
|
313
|
+
inputs,
|
|
314
|
+
chunk_size=chunk_size,
|
|
315
|
+
chunk_bytes=chunk_bytes,
|
|
316
|
+
compression=compression,
|
|
317
|
+
)
|
|
313
318
|
)
|
|
314
|
-
|
|
319
|
+
return None
|
|
315
320
|
return _execute(
|
|
316
321
|
f"data-prep-optimize-{datetime.now().strftime('%Y-%m-%d_%H-%M-%S')}",
|
|
317
322
|
num_nodes,
|
|
@@ -5,8 +5,8 @@ from typing import Any, List, Optional
|
|
|
5
5
|
|
|
6
6
|
from lightning_utilities.core.imports import RequirementCache
|
|
7
7
|
|
|
8
|
-
from lightning.data.streaming.shuffle import _associate_chunks_and_internals_to_ranks
|
|
9
8
|
from lightning.data.utilities.env import _DistributedEnv
|
|
9
|
+
from lightning.data.utilities.shuffle import _associate_chunks_and_internals_to_ranks
|
|
10
10
|
|
|
11
11
|
_POLARS_AVAILABLE = RequirementCache("polars")
|
|
12
12
|
_PYARROW_AVAILABLE = RequirementCache("pyarrow")
|
|
@@ -13,18 +13,14 @@
|
|
|
13
13
|
|
|
14
14
|
from lightning.data.streaming.cache import Cache
|
|
15
15
|
from lightning.data.streaming.combined import CombinedStreamingDataset
|
|
16
|
-
from lightning.data.streaming.data_processor import DataChunkRecipe, DataProcessor, DataTransformRecipe
|
|
17
16
|
from lightning.data.streaming.dataloader import StreamingDataLoader
|
|
18
17
|
from lightning.data.streaming.dataset import StreamingDataset
|
|
19
18
|
from lightning.data.streaming.item_loader import TokensLoader
|
|
20
19
|
|
|
21
20
|
__all__ = [
|
|
22
21
|
"Cache",
|
|
23
|
-
"DataProcessor",
|
|
24
22
|
"StreamingDataset",
|
|
25
23
|
"CombinedStreamingDataset",
|
|
26
24
|
"StreamingDataLoader",
|
|
27
|
-
"DataTransformRecipe",
|
|
28
|
-
"DataChunkRecipe",
|
|
29
25
|
"TokensLoader",
|
|
30
26
|
]
|
|
@@ -15,7 +15,7 @@ import logging
|
|
|
15
15
|
import os
|
|
16
16
|
from typing import Any, Dict, List, Optional, Tuple, Union
|
|
17
17
|
|
|
18
|
-
from lightning.data.
|
|
18
|
+
from lightning.data.constants import (
|
|
19
19
|
_INDEX_FILENAME,
|
|
20
20
|
_LIGHTNING_CLOUD_LATEST,
|
|
21
21
|
_TORCH_GREATER_EQUAL_2_1_0,
|
|
@@ -15,7 +15,7 @@ import json
|
|
|
15
15
|
import os
|
|
16
16
|
from typing import Any, Dict, List, Optional, Tuple
|
|
17
17
|
|
|
18
|
-
from lightning.data.
|
|
18
|
+
from lightning.data.constants import _INDEX_FILENAME, _TORCH_GREATER_EQUAL_2_1_0
|
|
19
19
|
from lightning.data.streaming.downloader import get_downloader_cls
|
|
20
20
|
from lightning.data.streaming.item_loader import BaseItemLoader, PyTreeLoader, TokensLoader
|
|
21
21
|
from lightning.data.streaming.sampler import ChunkedIndex
|
|
@@ -33,13 +33,13 @@ from torch.utils.data.dataloader import (
|
|
|
33
33
|
)
|
|
34
34
|
from torch.utils.data.sampler import BatchSampler, Sampler
|
|
35
35
|
|
|
36
|
+
from lightning.data.constants import _DEFAULT_CHUNK_BYTES, _TORCH_GREATER_EQUAL_2_1_0, _VIZ_TRACKER_AVAILABLE
|
|
36
37
|
from lightning.data.streaming import Cache
|
|
37
38
|
from lightning.data.streaming.combined import (
|
|
38
39
|
__NUM_SAMPLES_YIELDED_KEY__,
|
|
39
40
|
__SAMPLES_KEY__,
|
|
40
41
|
CombinedStreamingDataset,
|
|
41
42
|
)
|
|
42
|
-
from lightning.data.streaming.constants import _DEFAULT_CHUNK_BYTES, _TORCH_GREATER_EQUAL_2_1_0, _VIZ_TRACKER_AVAILABLE
|
|
43
43
|
from lightning.data.streaming.dataset import StreamingDataset
|
|
44
44
|
from lightning.data.streaming.sampler import CacheBatchSampler
|
|
45
45
|
from lightning.data.utilities.env import _DistributedEnv
|
|
@@ -19,11 +19,11 @@ from typing import Any, Dict, List, Optional, Tuple, Union
|
|
|
19
19
|
import numpy as np
|
|
20
20
|
from torch.utils.data import IterableDataset
|
|
21
21
|
|
|
22
|
-
from lightning.data.
|
|
23
|
-
from lightning.data.streaming.constants import (
|
|
22
|
+
from lightning.data.constants import (
|
|
24
23
|
_DEFAULT_CACHE_DIR,
|
|
25
24
|
_INDEX_FILENAME,
|
|
26
25
|
)
|
|
26
|
+
from lightning.data.streaming import Cache
|
|
27
27
|
from lightning.data.streaming.item_loader import BaseItemLoader
|
|
28
28
|
from lightning.data.streaming.resolver import Dir, _resolve_dir
|
|
29
29
|
from lightning.data.streaming.sampler import ChunkedIndex
|
|
@@ -19,8 +19,8 @@ from urllib import parse
|
|
|
19
19
|
|
|
20
20
|
from filelock import FileLock, Timeout
|
|
21
21
|
|
|
22
|
+
from lightning.data.constants import _INDEX_FILENAME
|
|
22
23
|
from lightning.data.streaming.client import S3Client
|
|
23
|
-
from lightning.data.streaming.constants import _INDEX_FILENAME
|
|
24
24
|
|
|
25
25
|
|
|
26
26
|
class Downloader(ABC):
|
|
@@ -20,8 +20,8 @@ from queue import Empty
|
|
|
20
20
|
from threading import Thread
|
|
21
21
|
from typing import Any, Dict, List, Optional, Tuple, Union
|
|
22
22
|
|
|
23
|
+
from lightning.data.constants import _TORCH_GREATER_EQUAL_2_1_0
|
|
23
24
|
from lightning.data.streaming.config import ChunksConfig
|
|
24
|
-
from lightning.data.streaming.constants import _TORCH_GREATER_EQUAL_2_1_0
|
|
25
25
|
from lightning.data.streaming.item_loader import BaseItemLoader, PyTreeLoader
|
|
26
26
|
from lightning.data.streaming.sampler import ChunkedIndex
|
|
27
27
|
from lightning.data.streaming.serializers import Serializer, _get_serializers
|
|
@@ -23,7 +23,7 @@ import numpy as np
|
|
|
23
23
|
import torch
|
|
24
24
|
from lightning_utilities.core.imports import RequirementCache
|
|
25
25
|
|
|
26
|
-
from lightning.data.
|
|
26
|
+
from lightning.data.constants import _NUMPY_DTYPES_MAPPING, _TORCH_DTYPES_MAPPING
|
|
27
27
|
|
|
28
28
|
_PIL_AVAILABLE = RequirementCache("PIL")
|
|
29
29
|
_TORCH_VISION_AVAILABLE = RequirementCache("torchvision")
|