lightning 2.3.0.dev20240609__tar.gz → 2.4.0.dev20240714__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.
Files changed (574) hide show
  1. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/.actions/assistant.py +1 -32
  2. {lightning-2.3.0.dev20240609/src/lightning.egg-info → lightning-2.4.0.dev20240714}/PKG-INFO +51 -91
  3. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/README.md +42 -69
  4. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/pyproject.toml +1 -101
  5. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/requirements/base.txt +3 -3
  6. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/requirements/fabric/base.txt +3 -3
  7. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/requirements/fabric/examples.txt +1 -1
  8. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/requirements/pytorch/base.txt +3 -3
  9. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/requirements/pytorch/examples.txt +1 -1
  10. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/requirements/pytorch/extra.txt +2 -2
  11. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/requirements/pytorch/test.txt +2 -2
  12. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/setup.py +2 -4
  13. lightning-2.3.0.dev20240609/src/lightning/4a4ff9257060ce7cb0debe4b69e27ff0d444d2aaba3d9f61 → lightning-2.4.0.dev20240714/src/lightning/38c573b530d46c5a2d30dc86e35587e8046a152f4dadd223 +0 -8
  14. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/__init__.py +0 -17
  15. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/__setup__.py +4 -20
  16. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/fabric/CHANGELOG.md +30 -25
  17. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/fabric/__init__.py +1 -1
  18. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/fabric/cli.py +7 -7
  19. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/fabric/fabric.py +2 -4
  20. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/fabric/loggers/tensorboard.py +1 -1
  21. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/fabric/plugins/precision/amp.py +3 -2
  22. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/fabric/strategies/deepspeed.py +6 -2
  23. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/fabric/strategies/fsdp.py +16 -29
  24. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/fabric/strategies/model_parallel.py +8 -14
  25. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/fabric/utilities/apply_func.py +11 -4
  26. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/fabric/utilities/cloud_io.py +12 -2
  27. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/fabric/utilities/distributed.py +4 -0
  28. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/fabric/utilities/imports.py +5 -6
  29. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/fabric/utilities/init.py +0 -3
  30. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/fabric/utilities/logger.py +8 -5
  31. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/fabric/utilities/registry.py +5 -11
  32. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/fabric/utilities/seed.py +37 -16
  33. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/fabric/utilities/testing/_runif.py +7 -9
  34. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/fabric/utilities/throughput.py +0 -3
  35. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/pytorch/CHANGELOG.md +35 -26
  36. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/pytorch/callbacks/progress/progress_bar.py +1 -1
  37. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/pytorch/callbacks/progress/rich_progress.py +7 -7
  38. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/pytorch/callbacks/pruning.py +1 -1
  39. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/pytorch/callbacks/stochastic_weight_avg.py +1 -1
  40. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/pytorch/cli.py +19 -5
  41. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/pytorch/core/datamodule.py +1 -1
  42. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/pytorch/core/module.py +5 -27
  43. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/pytorch/demos/transformer.py +1 -2
  44. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/pytorch/loggers/comet.py +1 -1
  45. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/pytorch/loops/utilities.py +0 -4
  46. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/pytorch/plugins/precision/amp.py +3 -2
  47. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/pytorch/plugins/precision/deepspeed.py +2 -2
  48. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/pytorch/profilers/pytorch.py +24 -7
  49. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/pytorch/strategies/fsdp.py +9 -16
  50. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/pytorch/strategies/launchers/multiprocessing.py +12 -10
  51. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/pytorch/strategies/launchers/subprocess_script.py +1 -1
  52. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/pytorch/strategies/model_parallel.py +6 -6
  53. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/pytorch/strategies/strategy.py +1 -1
  54. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/pytorch/trainer/call.py +14 -6
  55. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/pytorch/trainer/connectors/logger_connector/result.py +2 -3
  56. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/pytorch/trainer/connectors/signal_connector.py +8 -27
  57. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/pytorch/trainer/trainer.py +1 -1
  58. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/pytorch/utilities/_pytree.py +1 -1
  59. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/pytorch/utilities/compile.py +0 -5
  60. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/pytorch/utilities/types.py +1 -1
  61. lightning-2.4.0.dev20240714/src/lightning/version.info +1 -0
  62. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714/src/lightning.egg-info}/PKG-INFO +51 -91
  63. lightning-2.4.0.dev20240714/src/lightning.egg-info/SOURCES.txt +293 -0
  64. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning.egg-info/entry_points.txt +0 -1
  65. lightning-2.4.0.dev20240714/src/lightning.egg-info/requires.txt +242 -0
  66. lightning-2.4.0.dev20240714/src/version.info +1 -0
  67. lightning-2.3.0.dev20240609/requirements/app/app.txt +0 -29
  68. lightning-2.3.0.dev20240609/requirements/app/cloud.txt +0 -4
  69. lightning-2.3.0.dev20240609/requirements/app/components.txt +0 -5
  70. lightning-2.3.0.dev20240609/requirements/app/docs.txt +0 -1
  71. lightning-2.3.0.dev20240609/requirements/app/test.txt +0 -18
  72. lightning-2.3.0.dev20240609/requirements/app/ui.txt +0 -0
  73. lightning-2.3.0.dev20240609/src/lightning/__main__.py +0 -4
  74. lightning-2.3.0.dev20240609/src/lightning/app/CHANGELOG.md +0 -608
  75. lightning-2.3.0.dev20240609/src/lightning/app/__init__.py +0 -51
  76. lightning-2.3.0.dev20240609/src/lightning/app/api/__init__.py +0 -8
  77. lightning-2.3.0.dev20240609/src/lightning/app/api/http_methods.py +0 -258
  78. lightning-2.3.0.dev20240609/src/lightning/app/api/request_types.py +0 -56
  79. lightning-2.3.0.dev20240609/src/lightning/app/cli/app-template/.gitignore +0 -157
  80. lightning-2.3.0.dev20240609/src/lightning/app/cli/app-template/LICENSE +0 -201
  81. lightning-2.3.0.dev20240609/src/lightning/app/cli/app-template/README.md +0 -37
  82. lightning-2.3.0.dev20240609/src/lightning/app/cli/app-template/app.py +0 -16
  83. lightning-2.3.0.dev20240609/src/lightning/app/cli/app-template/placeholdername/__init__.py +0 -4
  84. lightning-2.3.0.dev20240609/src/lightning/app/cli/app-template/placeholdername/components/component_a/__init__.py +0 -3
  85. lightning-2.3.0.dev20240609/src/lightning/app/cli/app-template/placeholdername/components/component_a/component_a.py +0 -6
  86. lightning-2.3.0.dev20240609/src/lightning/app/cli/app-template/placeholdername/components/component_b/__init__.py +0 -3
  87. lightning-2.3.0.dev20240609/src/lightning/app/cli/app-template/placeholdername/components/component_b/component_a.py +0 -6
  88. lightning-2.3.0.dev20240609/src/lightning/app/cli/app-template/requirements.txt +0 -0
  89. lightning-2.3.0.dev20240609/src/lightning/app/cli/app-template/setup.py +0 -15
  90. lightning-2.3.0.dev20240609/src/lightning/app/cli/app-template/tests/README.md +0 -17
  91. lightning-2.3.0.dev20240609/src/lightning/app/cli/app-template/tests/requirements.txt +0 -8
  92. lightning-2.3.0.dev20240609/src/lightning/app/cli/app-template/tests/test_placeholdername_app.py +0 -44
  93. lightning-2.3.0.dev20240609/src/lightning/app/cli/cmd_apps.py +0 -146
  94. lightning-2.3.0.dev20240609/src/lightning/app/cli/cmd_init.py +0 -167
  95. lightning-2.3.0.dev20240609/src/lightning/app/cli/cmd_install.py +0 -657
  96. lightning-2.3.0.dev20240609/src/lightning/app/cli/cmd_pl_init.py +0 -187
  97. lightning-2.3.0.dev20240609/src/lightning/app/cli/cmd_react_ui_init.py +0 -131
  98. lightning-2.3.0.dev20240609/src/lightning/app/cli/commands/__init__.py +0 -0
  99. lightning-2.3.0.dev20240609/src/lightning/app/cli/commands/app_commands.py +0 -135
  100. lightning-2.3.0.dev20240609/src/lightning/app/cli/commands/cd.py +0 -117
  101. lightning-2.3.0.dev20240609/src/lightning/app/cli/commands/cp.py +0 -350
  102. lightning-2.3.0.dev20240609/src/lightning/app/cli/commands/logs.py +0 -122
  103. lightning-2.3.0.dev20240609/src/lightning/app/cli/commands/ls.py +0 -268
  104. lightning-2.3.0.dev20240609/src/lightning/app/cli/commands/pwd.py +0 -53
  105. lightning-2.3.0.dev20240609/src/lightning/app/cli/commands/rm.py +0 -101
  106. lightning-2.3.0.dev20240609/src/lightning/app/cli/component-template/.github/workflows/ci-testing.yml +0 -79
  107. lightning-2.3.0.dev20240609/src/lightning/app/cli/component-template/.gitignore +0 -157
  108. lightning-2.3.0.dev20240609/src/lightning/app/cli/component-template/LICENSE +0 -201
  109. lightning-2.3.0.dev20240609/src/lightning/app/cli/component-template/README.md +0 -35
  110. lightning-2.3.0.dev20240609/src/lightning/app/cli/component-template/app.py +0 -15
  111. lightning-2.3.0.dev20240609/src/lightning/app/cli/component-template/placeholdername/__init__.py +0 -3
  112. lightning-2.3.0.dev20240609/src/lightning/app/cli/component-template/placeholdername/component.py +0 -12
  113. lightning-2.3.0.dev20240609/src/lightning/app/cli/component-template/requirements.txt +0 -0
  114. lightning-2.3.0.dev20240609/src/lightning/app/cli/component-template/setup.py +0 -15
  115. lightning-2.3.0.dev20240609/src/lightning/app/cli/component-template/tests/README.md +0 -17
  116. lightning-2.3.0.dev20240609/src/lightning/app/cli/component-template/tests/__init__.py +0 -0
  117. lightning-2.3.0.dev20240609/src/lightning/app/cli/component-template/tests/requirements.txt +0 -8
  118. lightning-2.3.0.dev20240609/src/lightning/app/cli/component-template/tests/test_placeholdername_component.py +0 -14
  119. lightning-2.3.0.dev20240609/src/lightning/app/cli/connect/__init__.py +0 -0
  120. lightning-2.3.0.dev20240609/src/lightning/app/cli/connect/app.py +0 -387
  121. lightning-2.3.0.dev20240609/src/lightning/app/cli/connect/data.py +0 -109
  122. lightning-2.3.0.dev20240609/src/lightning/app/cli/core.py +0 -27
  123. lightning-2.3.0.dev20240609/src/lightning/app/cli/lightning_cli.py +0 -395
  124. lightning-2.3.0.dev20240609/src/lightning/app/cli/lightning_cli_delete.py +0 -124
  125. lightning-2.3.0.dev20240609/src/lightning/app/cli/lightning_cli_launch.py +0 -130
  126. lightning-2.3.0.dev20240609/src/lightning/app/cli/lightning_cli_list.py +0 -32
  127. lightning-2.3.0.dev20240609/src/lightning/app/cli/pl-app-template/.gitignore +0 -1
  128. lightning-2.3.0.dev20240609/src/lightning/app/cli/pl-app-template/.lightningignore +0 -2
  129. lightning-2.3.0.dev20240609/src/lightning/app/cli/pl-app-template/app.py +0 -105
  130. lightning-2.3.0.dev20240609/src/lightning/app/cli/pl-app-template/core/__init__.py +0 -0
  131. lightning-2.3.0.dev20240609/src/lightning/app/cli/pl-app-template/core/callbacks.py +0 -319
  132. lightning-2.3.0.dev20240609/src/lightning/app/cli/pl-app-template/core/components/__init__.py +0 -2
  133. lightning-2.3.0.dev20240609/src/lightning/app/cli/pl-app-template/core/components/logger/__init__.py +0 -0
  134. lightning-2.3.0.dev20240609/src/lightning/app/cli/pl-app-template/core/components/logger/tensorboard.py +0 -49
  135. lightning-2.3.0.dev20240609/src/lightning/app/cli/pl-app-template/core/components/logger/weights_and_biases.py +0 -33
  136. lightning-2.3.0.dev20240609/src/lightning/app/cli/pl-app-template/core/components/script_runner/__init__.py +0 -1
  137. lightning-2.3.0.dev20240609/src/lightning/app/cli/pl-app-template/core/components/script_runner/script_runner.py +0 -76
  138. lightning-2.3.0.dev20240609/src/lightning/app/cli/pl-app-template/core/state.py +0 -45
  139. lightning-2.3.0.dev20240609/src/lightning/app/cli/pl-app-template/setup.py +0 -34
  140. lightning-2.3.0.dev20240609/src/lightning/app/cli/pl-app-template/tests/__init__.py +0 -0
  141. lightning-2.3.0.dev20240609/src/lightning/app/cli/pl-app-template/tests/core/__init__.py +0 -0
  142. lightning-2.3.0.dev20240609/src/lightning/app/cli/pl-app-template/tests/core/test_callbacks.py +0 -68
  143. lightning-2.3.0.dev20240609/src/lightning/app/cli/pl-app-template/tests/test_app.py +0 -14
  144. lightning-2.3.0.dev20240609/src/lightning/app/cli/pl-app-template/ui/.gitignore +0 -25
  145. lightning-2.3.0.dev20240609/src/lightning/app/cli/pl-app-template/ui/.prettierignore +0 -3
  146. lightning-2.3.0.dev20240609/src/lightning/app/cli/pl-app-template/ui/.prettierrc +0 -24
  147. lightning-2.3.0.dev20240609/src/lightning/app/cli/pl-app-template/ui/craco.config.js +0 -29
  148. lightning-2.3.0.dev20240609/src/lightning/app/cli/pl-app-template/ui/package.json +0 -95
  149. lightning-2.3.0.dev20240609/src/lightning/app/cli/pl-app-template/ui/public/favicon.svg +0 -9
  150. lightning-2.3.0.dev20240609/src/lightning/app/cli/pl-app-template/ui/public/index.html +0 -65
  151. lightning-2.3.0.dev20240609/src/lightning/app/cli/pl-app-template/ui/public/manifest.json +0 -15
  152. lightning-2.3.0.dev20240609/src/lightning/app/cli/pl-app-template/ui/public/robots.txt +0 -3
  153. lightning-2.3.0.dev20240609/src/lightning/app/cli/pl-app-template/ui/src/App.tsx +0 -126
  154. lightning-2.3.0.dev20240609/src/lightning/app/cli/pl-app-template/ui/src/components/EnvironmentConfigurator.tsx +0 -67
  155. lightning-2.3.0.dev20240609/src/lightning/app/cli/pl-app-template/ui/src/components/ErrorPanel.tsx +0 -24
  156. lightning-2.3.0.dev20240609/src/lightning/app/cli/pl-app-template/ui/src/components/ExecutionSummary.tsx +0 -79
  157. lightning-2.3.0.dev20240609/src/lightning/app/cli/pl-app-template/ui/src/components/HyperparameterSummary.tsx +0 -95
  158. lightning-2.3.0.dev20240609/src/lightning/app/cli/pl-app-template/ui/src/components/Launcher.tsx +0 -172
  159. lightning-2.3.0.dev20240609/src/lightning/app/cli/pl-app-template/ui/src/components/ProgressBar.tsx +0 -35
  160. lightning-2.3.0.dev20240609/src/lightning/app/cli/pl-app-template/ui/src/components/ProgressBarGroup.tsx +0 -49
  161. lightning-2.3.0.dev20240609/src/lightning/app/cli/pl-app-template/ui/src/components/Timer.tsx +0 -29
  162. lightning-2.3.0.dev20240609/src/lightning/app/cli/pl-app-template/ui/src/hooks/useLightningState.ts +0 -31
  163. lightning-2.3.0.dev20240609/src/lightning/app/cli/pl-app-template/ui/src/index.css +0 -19
  164. lightning-2.3.0.dev20240609/src/lightning/app/cli/pl-app-template/ui/src/index.tsx +0 -26
  165. lightning-2.3.0.dev20240609/src/lightning/app/cli/pl-app-template/ui/src/lightning-colors.ts +0 -2
  166. lightning-2.3.0.dev20240609/src/lightning/app/cli/pl-app-template/ui/src/react-app-env.d.ts +0 -1
  167. lightning-2.3.0.dev20240609/src/lightning/app/cli/pl-app-template/ui/src/reportWebVitals.ts +0 -15
  168. lightning-2.3.0.dev20240609/src/lightning/app/cli/pl-app-template/ui/src/types/lightning.ts +0 -57
  169. lightning-2.3.0.dev20240609/src/lightning/app/cli/pl-app-template/ui/tsconfig.json +0 -22
  170. lightning-2.3.0.dev20240609/src/lightning/app/cli/react-ui-template/README.md +0 -103
  171. lightning-2.3.0.dev20240609/src/lightning/app/cli/react-ui-template/example_app.py +0 -33
  172. lightning-2.3.0.dev20240609/src/lightning/app/cli/react-ui-template/ui/index.html +0 -14
  173. lightning-2.3.0.dev20240609/src/lightning/app/cli/react-ui-template/ui/package.json +0 -31
  174. lightning-2.3.0.dev20240609/src/lightning/app/cli/react-ui-template/ui/src/App.css +0 -10
  175. lightning-2.3.0.dev20240609/src/lightning/app/cli/react-ui-template/ui/src/App.tsx +0 -69
  176. lightning-2.3.0.dev20240609/src/lightning/app/cli/react-ui-template/ui/src/favicon.svg +0 -15
  177. lightning-2.3.0.dev20240609/src/lightning/app/cli/react-ui-template/ui/src/hooks/useLightningState.ts +0 -31
  178. lightning-2.3.0.dev20240609/src/lightning/app/cli/react-ui-template/ui/src/index.css +0 -11
  179. lightning-2.3.0.dev20240609/src/lightning/app/cli/react-ui-template/ui/src/main.tsx +0 -11
  180. lightning-2.3.0.dev20240609/src/lightning/app/cli/react-ui-template/ui/src/types/lightning.ts +0 -57
  181. lightning-2.3.0.dev20240609/src/lightning/app/cli/react-ui-template/ui/src/vite-env.d.ts +0 -1
  182. lightning-2.3.0.dev20240609/src/lightning/app/cli/react-ui-template/ui/tsconfig.json +0 -21
  183. lightning-2.3.0.dev20240609/src/lightning/app/cli/react-ui-template/ui/tsconfig.node.json +0 -8
  184. lightning-2.3.0.dev20240609/src/lightning/app/cli/react-ui-template/ui/vite.config.ts +0 -9
  185. lightning-2.3.0.dev20240609/src/lightning/app/cli/react-ui-template/ui/yarn.lock +0 -1278
  186. lightning-2.3.0.dev20240609/src/lightning/app/components/__init__.py +0 -41
  187. lightning-2.3.0.dev20240609/src/lightning/app/components/database/__init__.py +0 -4
  188. lightning-2.3.0.dev20240609/src/lightning/app/components/database/client.py +0 -93
  189. lightning-2.3.0.dev20240609/src/lightning/app/components/database/server.py +0 -243
  190. lightning-2.3.0.dev20240609/src/lightning/app/components/database/utilities.py +0 -263
  191. lightning-2.3.0.dev20240609/src/lightning/app/components/multi_node/__init__.py +0 -6
  192. lightning-2.3.0.dev20240609/src/lightning/app/components/multi_node/base.py +0 -107
  193. lightning-2.3.0.dev20240609/src/lightning/app/components/multi_node/fabric.py +0 -132
  194. lightning-2.3.0.dev20240609/src/lightning/app/components/multi_node/pytorch_spawn.py +0 -119
  195. lightning-2.3.0.dev20240609/src/lightning/app/components/multi_node/trainer.py +0 -130
  196. lightning-2.3.0.dev20240609/src/lightning/app/components/python/__init__.py +0 -4
  197. lightning-2.3.0.dev20240609/src/lightning/app/components/python/popen.py +0 -113
  198. lightning-2.3.0.dev20240609/src/lightning/app/components/python/tracer.py +0 -200
  199. lightning-2.3.0.dev20240609/src/lightning/app/components/serve/__init__.py +0 -17
  200. lightning-2.3.0.dev20240609/src/lightning/app/components/serve/auto_scaler.py +0 -753
  201. lightning-2.3.0.dev20240609/src/lightning/app/components/serve/catimage.png +0 -0
  202. lightning-2.3.0.dev20240609/src/lightning/app/components/serve/cold_start_proxy.py +0 -72
  203. lightning-2.3.0.dev20240609/src/lightning/app/components/serve/gradio_server.py +0 -200
  204. lightning-2.3.0.dev20240609/src/lightning/app/components/serve/python_server.py +0 -328
  205. lightning-2.3.0.dev20240609/src/lightning/app/components/serve/serve.py +0 -170
  206. lightning-2.3.0.dev20240609/src/lightning/app/components/serve/streamlit.py +0 -174
  207. lightning-2.3.0.dev20240609/src/lightning/app/components/serve/types/__init__.py +0 -4
  208. lightning-2.3.0.dev20240609/src/lightning/app/components/serve/types/image.py +0 -45
  209. lightning-2.3.0.dev20240609/src/lightning/app/components/serve/types/type.py +0 -32
  210. lightning-2.3.0.dev20240609/src/lightning/app/components/training.py +0 -203
  211. lightning-2.3.0.dev20240609/src/lightning/app/core/__init__.py +0 -5
  212. lightning-2.3.0.dev20240609/src/lightning/app/core/api.py +0 -498
  213. lightning-2.3.0.dev20240609/src/lightning/app/core/app.py +0 -741
  214. lightning-2.3.0.dev20240609/src/lightning/app/core/constants.py +0 -127
  215. lightning-2.3.0.dev20240609/src/lightning/app/core/flow.py +0 -861
  216. lightning-2.3.0.dev20240609/src/lightning/app/core/queues.py +0 -574
  217. lightning-2.3.0.dev20240609/src/lightning/app/core/work.py +0 -769
  218. lightning-2.3.0.dev20240609/src/lightning/app/frontend/__init__.py +0 -7
  219. lightning-2.3.0.dev20240609/src/lightning/app/frontend/frontend.py +0 -68
  220. lightning-2.3.0.dev20240609/src/lightning/app/frontend/just_py/__init__.py +0 -0
  221. lightning-2.3.0.dev20240609/src/lightning/app/frontend/just_py/just_py.py +0 -114
  222. lightning-2.3.0.dev20240609/src/lightning/app/frontend/just_py/just_py_base.py +0 -66
  223. lightning-2.3.0.dev20240609/src/lightning/app/frontend/panel/__init__.py +0 -6
  224. lightning-2.3.0.dev20240609/src/lightning/app/frontend/panel/app_state_comm.py +0 -101
  225. lightning-2.3.0.dev20240609/src/lightning/app/frontend/panel/app_state_watcher.py +0 -123
  226. lightning-2.3.0.dev20240609/src/lightning/app/frontend/panel/panel_frontend.py +0 -193
  227. lightning-2.3.0.dev20240609/src/lightning/app/frontend/panel/panel_serve_render_fn.py +0 -71
  228. lightning-2.3.0.dev20240609/src/lightning/app/frontend/stream_lit.py +0 -113
  229. lightning-2.3.0.dev20240609/src/lightning/app/frontend/streamlit_base.py +0 -50
  230. lightning-2.3.0.dev20240609/src/lightning/app/frontend/utils.py +0 -72
  231. lightning-2.3.0.dev20240609/src/lightning/app/frontend/web.py +0 -140
  232. lightning-2.3.0.dev20240609/src/lightning/app/launcher/__init__.py +0 -0
  233. lightning-2.3.0.dev20240609/src/lightning/app/launcher/launcher.py +0 -440
  234. lightning-2.3.0.dev20240609/src/lightning/app/launcher/lightning_backend.py +0 -525
  235. lightning-2.3.0.dev20240609/src/lightning/app/launcher/lightning_hybrid_backend.py +0 -155
  236. lightning-2.3.0.dev20240609/src/lightning/app/pdb/__init__.py +0 -6
  237. lightning-2.3.0.dev20240609/src/lightning/app/pdb/pdb.py +0 -50
  238. lightning-2.3.0.dev20240609/src/lightning/app/plugin/__init__.py +0 -3
  239. lightning-2.3.0.dev20240609/src/lightning/app/plugin/plugin.py +0 -237
  240. lightning-2.3.0.dev20240609/src/lightning/app/runners/__init__.py +0 -14
  241. lightning-2.3.0.dev20240609/src/lightning/app/runners/backends/__init__.py +0 -24
  242. lightning-2.3.0.dev20240609/src/lightning/app/runners/backends/backend.py +0 -143
  243. lightning-2.3.0.dev20240609/src/lightning/app/runners/backends/cloud.py +0 -49
  244. lightning-2.3.0.dev20240609/src/lightning/app/runners/backends/docker.py +0 -40
  245. lightning-2.3.0.dev20240609/src/lightning/app/runners/backends/mp_process.py +0 -137
  246. lightning-2.3.0.dev20240609/src/lightning/app/runners/cloud.py +0 -1109
  247. lightning-2.3.0.dev20240609/src/lightning/app/runners/multiprocess.py +0 -161
  248. lightning-2.3.0.dev20240609/src/lightning/app/runners/runtime.py +0 -182
  249. lightning-2.3.0.dev20240609/src/lightning/app/runners/runtime_type.py +0 -33
  250. lightning-2.3.0.dev20240609/src/lightning/app/source_code/__init__.py +0 -7
  251. lightning-2.3.0.dev20240609/src/lightning/app/source_code/copytree.py +0 -183
  252. lightning-2.3.0.dev20240609/src/lightning/app/source_code/hashing.py +0 -51
  253. lightning-2.3.0.dev20240609/src/lightning/app/source_code/local.py +0 -149
  254. lightning-2.3.0.dev20240609/src/lightning/app/source_code/tar.py +0 -201
  255. lightning-2.3.0.dev20240609/src/lightning/app/source_code/uploader.py +0 -111
  256. lightning-2.3.0.dev20240609/src/lightning/app/storage/__init__.py +0 -6
  257. lightning-2.3.0.dev20240609/src/lightning/app/storage/copier.py +0 -155
  258. lightning-2.3.0.dev20240609/src/lightning/app/storage/drive.py +0 -341
  259. lightning-2.3.0.dev20240609/src/lightning/app/storage/filesystem.py +0 -166
  260. lightning-2.3.0.dev20240609/src/lightning/app/storage/mount.py +0 -75
  261. lightning-2.3.0.dev20240609/src/lightning/app/storage/orchestrator.py +0 -208
  262. lightning-2.3.0.dev20240609/src/lightning/app/storage/path.py +0 -453
  263. lightning-2.3.0.dev20240609/src/lightning/app/storage/payload.py +0 -274
  264. lightning-2.3.0.dev20240609/src/lightning/app/storage/requests.py +0 -57
  265. lightning-2.3.0.dev20240609/src/lightning/app/structures/__init__.py +0 -4
  266. lightning-2.3.0.dev20240609/src/lightning/app/structures/dict.py +0 -160
  267. lightning-2.3.0.dev20240609/src/lightning/app/structures/list.py +0 -177
  268. lightning-2.3.0.dev20240609/src/lightning/app/testing/__init__.py +0 -20
  269. lightning-2.3.0.dev20240609/src/lightning/app/testing/config.py +0 -28
  270. lightning-2.3.0.dev20240609/src/lightning/app/testing/helpers.py +0 -179
  271. lightning-2.3.0.dev20240609/src/lightning/app/testing/testing.py +0 -535
  272. lightning-2.3.0.dev20240609/src/lightning/app/ui/asset-manifest.json +0 -19
  273. lightning-2.3.0.dev20240609/src/lightning/app/ui/index.html +0 -1
  274. lightning-2.3.0.dev20240609/src/lightning/app/ui/static/css/main.fb7060be.css +0 -2
  275. lightning-2.3.0.dev20240609/src/lightning/app/ui/static/css/main.fb7060be.css.map +0 -1
  276. lightning-2.3.0.dev20240609/src/lightning/app/ui/static/favicon.ico +0 -0
  277. lightning-2.3.0.dev20240609/src/lightning/app/ui/static/js/787.418637a8.chunk.js +0 -2
  278. lightning-2.3.0.dev20240609/src/lightning/app/ui/static/js/787.418637a8.chunk.js.map +0 -1
  279. lightning-2.3.0.dev20240609/src/lightning/app/ui/static/js/main.c1f02aeb.js +0 -3
  280. lightning-2.3.0.dev20240609/src/lightning/app/ui/static/js/main.c1f02aeb.js.LICENSE.txt +0 -87
  281. lightning-2.3.0.dev20240609/src/lightning/app/ui/static/js/main.c1f02aeb.js.map +0 -1
  282. lightning-2.3.0.dev20240609/src/lightning/app/ui/static/lightningState.js +0 -24
  283. lightning-2.3.0.dev20240609/src/lightning/app/ui/static/manifest.json +0 -15
  284. lightning-2.3.0.dev20240609/src/lightning/app/ui/static/media/error.11892047d0183a4723b91dc0fb98cb95.svg +0 -5
  285. lightning-2.3.0.dev20240609/src/lightning/app/ui/static/media/lightning-logo-with-text.b964c8fbf221c97eb8ce52bb6e3a30d6.svg +0 -16
  286. lightning-2.3.0.dev20240609/src/lightning/app/ui/static/media/success.5edae4c5b171e2c1c5a3c54273c47ba8.svg +0 -4
  287. lightning-2.3.0.dev20240609/src/lightning/app/ui/static/media/warning.5c542673e84e77ceb6a230bfea7f7263.svg +0 -4
  288. lightning-2.3.0.dev20240609/src/lightning/app/ui/static/robots.txt +0 -3
  289. lightning-2.3.0.dev20240609/src/lightning/app/ui/version.info +0 -1
  290. lightning-2.3.0.dev20240609/src/lightning/app/utilities/__init__.py +0 -0
  291. lightning-2.3.0.dev20240609/src/lightning/app/utilities/app_commands.py +0 -127
  292. lightning-2.3.0.dev20240609/src/lightning/app/utilities/app_helpers.py +0 -582
  293. lightning-2.3.0.dev20240609/src/lightning/app/utilities/app_logs.py +0 -137
  294. lightning-2.3.0.dev20240609/src/lightning/app/utilities/app_status.py +0 -44
  295. lightning-2.3.0.dev20240609/src/lightning/app/utilities/auth.py +0 -61
  296. lightning-2.3.0.dev20240609/src/lightning/app/utilities/cli_helpers.py +0 -358
  297. lightning-2.3.0.dev20240609/src/lightning/app/utilities/cloud.py +0 -63
  298. lightning-2.3.0.dev20240609/src/lightning/app/utilities/clusters.py +0 -52
  299. lightning-2.3.0.dev20240609/src/lightning/app/utilities/commands/__init__.py +0 -3
  300. lightning-2.3.0.dev20240609/src/lightning/app/utilities/commands/base.py +0 -308
  301. lightning-2.3.0.dev20240609/src/lightning/app/utilities/component.py +0 -152
  302. lightning-2.3.0.dev20240609/src/lightning/app/utilities/data_structures.py +0 -50
  303. lightning-2.3.0.dev20240609/src/lightning/app/utilities/dependency_caching.py +0 -27
  304. lightning-2.3.0.dev20240609/src/lightning/app/utilities/enum.py +0 -82
  305. lightning-2.3.0.dev20240609/src/lightning/app/utilities/exceptions.py +0 -101
  306. lightning-2.3.0.dev20240609/src/lightning/app/utilities/frontend.py +0 -89
  307. lightning-2.3.0.dev20240609/src/lightning/app/utilities/git.py +0 -86
  308. lightning-2.3.0.dev20240609/src/lightning/app/utilities/imports.py +0 -148
  309. lightning-2.3.0.dev20240609/src/lightning/app/utilities/introspection.py +0 -400
  310. lightning-2.3.0.dev20240609/src/lightning/app/utilities/layout.py +0 -215
  311. lightning-2.3.0.dev20240609/src/lightning/app/utilities/load_app.py +0 -304
  312. lightning-2.3.0.dev20240609/src/lightning/app/utilities/log.py +0 -23
  313. lightning-2.3.0.dev20240609/src/lightning/app/utilities/log_helpers.py +0 -49
  314. lightning-2.3.0.dev20240609/src/lightning/app/utilities/login.py +0 -213
  315. lightning-2.3.0.dev20240609/src/lightning/app/utilities/logs_socket_api.py +0 -94
  316. lightning-2.3.0.dev20240609/src/lightning/app/utilities/name_generator.py +0 -1359
  317. lightning-2.3.0.dev20240609/src/lightning/app/utilities/network.py +0 -215
  318. lightning-2.3.0.dev20240609/src/lightning/app/utilities/openapi.py +0 -75
  319. lightning-2.3.0.dev20240609/src/lightning/app/utilities/packaging/__init__.py +0 -0
  320. lightning-2.3.0.dev20240609/src/lightning/app/utilities/packaging/app_config.py +0 -76
  321. lightning-2.3.0.dev20240609/src/lightning/app/utilities/packaging/build_config.py +0 -208
  322. lightning-2.3.0.dev20240609/src/lightning/app/utilities/packaging/cloud_compute.py +0 -188
  323. lightning-2.3.0.dev20240609/src/lightning/app/utilities/packaging/docker.py +0 -127
  324. lightning-2.3.0.dev20240609/src/lightning/app/utilities/packaging/lightning_utils.py +0 -219
  325. lightning-2.3.0.dev20240609/src/lightning/app/utilities/packaging/tarfile.py +0 -52
  326. lightning-2.3.0.dev20240609/src/lightning/app/utilities/port.py +0 -168
  327. lightning-2.3.0.dev20240609/src/lightning/app/utilities/proxies.py +0 -745
  328. lightning-2.3.0.dev20240609/src/lightning/app/utilities/redis.py +0 -34
  329. lightning-2.3.0.dev20240609/src/lightning/app/utilities/safe_pickle.py +0 -107
  330. lightning-2.3.0.dev20240609/src/lightning/app/utilities/scheduler.py +0 -60
  331. lightning-2.3.0.dev20240609/src/lightning/app/utilities/secrets.py +0 -41
  332. lightning-2.3.0.dev20240609/src/lightning/app/utilities/state.py +0 -323
  333. lightning-2.3.0.dev20240609/src/lightning/app/utilities/tracer.py +0 -193
  334. lightning-2.3.0.dev20240609/src/lightning/app/utilities/tree.py +0 -88
  335. lightning-2.3.0.dev20240609/src/lightning/app/utilities/types.py +0 -28
  336. lightning-2.3.0.dev20240609/src/lightning/app/utilities/warnings.py +0 -17
  337. lightning-2.3.0.dev20240609/src/lightning/pytorch/overrides/__init__.py +0 -0
  338. lightning-2.3.0.dev20240609/src/lightning/pytorch/trainer/connectors/__init__.py +0 -0
  339. lightning-2.3.0.dev20240609/src/lightning/store/__init__.py +0 -3
  340. lightning-2.3.0.dev20240609/src/lightning/store/store.py +0 -92
  341. lightning-2.3.0.dev20240609/src/lightning/store/utils.py +0 -67
  342. lightning-2.3.0.dev20240609/src/lightning/version.info +0 -1
  343. lightning-2.3.0.dev20240609/src/lightning.egg-info/SOURCES.txt +0 -568
  344. lightning-2.3.0.dev20240609/src/lightning.egg-info/requires.txt +0 -589
  345. lightning-2.3.0.dev20240609/src/version.info +0 -1
  346. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/CITATION.cff +0 -0
  347. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/LICENSE +0 -0
  348. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/requirements/fabric/docs.txt +0 -0
  349. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/requirements/fabric/strategies.txt +0 -0
  350. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/requirements/fabric/test.txt +0 -0
  351. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/requirements/pytorch/docs.txt +0 -0
  352. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/requirements/pytorch/strategies.txt +0 -0
  353. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/setup.cfg +0 -0
  354. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/__about__.py +0 -0
  355. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/__version__.py +0 -0
  356. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/data/__init__.py +0 -0
  357. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/fabric/_graveyard/__init__.py +0 -0
  358. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/fabric/_graveyard/tpu.py +0 -0
  359. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/fabric/accelerators/__init__.py +0 -0
  360. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/fabric/accelerators/accelerator.py +0 -0
  361. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/fabric/accelerators/cpu.py +0 -0
  362. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/fabric/accelerators/cuda.py +0 -0
  363. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/fabric/accelerators/mps.py +0 -0
  364. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/fabric/accelerators/registry.py +0 -0
  365. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/fabric/accelerators/xla.py +0 -0
  366. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/fabric/connector.py +0 -0
  367. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/fabric/loggers/__init__.py +0 -0
  368. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/fabric/loggers/csv_logs.py +0 -0
  369. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/fabric/loggers/logger.py +0 -0
  370. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/fabric/plugins/__init__.py +0 -0
  371. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/fabric/plugins/collectives/__init__.py +0 -0
  372. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/fabric/plugins/collectives/collective.py +0 -0
  373. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/fabric/plugins/collectives/single_device.py +0 -0
  374. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/fabric/plugins/collectives/torch_collective.py +0 -0
  375. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/fabric/plugins/environments/__init__.py +0 -0
  376. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/fabric/plugins/environments/cluster_environment.py +0 -0
  377. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/fabric/plugins/environments/kubeflow.py +0 -0
  378. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/fabric/plugins/environments/lightning.py +0 -0
  379. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/fabric/plugins/environments/lsf.py +0 -0
  380. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/fabric/plugins/environments/mpi.py +0 -0
  381. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/fabric/plugins/environments/slurm.py +0 -0
  382. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/fabric/plugins/environments/torchelastic.py +0 -0
  383. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/fabric/plugins/environments/xla.py +0 -0
  384. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/fabric/plugins/io/__init__.py +0 -0
  385. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/fabric/plugins/io/checkpoint_io.py +0 -0
  386. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/fabric/plugins/io/torch_io.py +0 -0
  387. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/fabric/plugins/io/xla.py +0 -0
  388. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/fabric/plugins/precision/__init__.py +0 -0
  389. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/fabric/plugins/precision/bitsandbytes.py +0 -0
  390. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/fabric/plugins/precision/deepspeed.py +0 -0
  391. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/fabric/plugins/precision/double.py +0 -0
  392. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/fabric/plugins/precision/fsdp.py +0 -0
  393. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/fabric/plugins/precision/half.py +0 -0
  394. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/fabric/plugins/precision/precision.py +0 -0
  395. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/fabric/plugins/precision/transformer_engine.py +0 -0
  396. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/fabric/plugins/precision/utils.py +0 -0
  397. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/fabric/plugins/precision/xla.py +0 -0
  398. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/fabric/strategies/__init__.py +0 -0
  399. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/fabric/strategies/ddp.py +0 -0
  400. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/fabric/strategies/dp.py +0 -0
  401. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/fabric/strategies/launchers/__init__.py +0 -0
  402. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/fabric/strategies/launchers/launcher.py +0 -0
  403. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/fabric/strategies/launchers/multiprocessing.py +0 -0
  404. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/fabric/strategies/launchers/subprocess_script.py +0 -0
  405. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/fabric/strategies/launchers/xla.py +0 -0
  406. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/fabric/strategies/parallel.py +0 -0
  407. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/fabric/strategies/registry.py +0 -0
  408. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/fabric/strategies/single_device.py +0 -0
  409. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/fabric/strategies/single_xla.py +0 -0
  410. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/fabric/strategies/strategy.py +0 -0
  411. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/fabric/strategies/xla.py +0 -0
  412. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/fabric/strategies/xla_fsdp.py +0 -0
  413. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/fabric/utilities/__init__.py +0 -0
  414. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/fabric/utilities/consolidate_checkpoint.py +0 -0
  415. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/fabric/utilities/data.py +0 -0
  416. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/fabric/utilities/device_dtype_mixin.py +0 -0
  417. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/fabric/utilities/device_parser.py +0 -0
  418. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/fabric/utilities/enums.py +0 -0
  419. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/fabric/utilities/exceptions.py +0 -0
  420. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/fabric/utilities/load.py +0 -0
  421. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/fabric/utilities/optimizer.py +0 -0
  422. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/fabric/utilities/rank_zero.py +0 -0
  423. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/fabric/utilities/spike.py +0 -0
  424. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/fabric/utilities/testing/__init__.py +0 -0
  425. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/fabric/utilities/types.py +0 -0
  426. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/fabric/utilities/warnings.py +0 -0
  427. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/fabric/wrappers.py +0 -0
  428. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/py.typed +0 -0
  429. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/pytorch/__init__.py +0 -0
  430. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/pytorch/_graveyard/__init__.py +0 -0
  431. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/pytorch/_graveyard/_torchmetrics.py +0 -0
  432. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/pytorch/_graveyard/hpu.py +0 -0
  433. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/pytorch/_graveyard/precision.py +0 -0
  434. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/pytorch/_graveyard/tpu.py +0 -0
  435. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/pytorch/accelerators/__init__.py +0 -0
  436. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/pytorch/accelerators/accelerator.py +0 -0
  437. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/pytorch/accelerators/cpu.py +0 -0
  438. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/pytorch/accelerators/cuda.py +0 -0
  439. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/pytorch/accelerators/mps.py +0 -0
  440. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/pytorch/accelerators/xla.py +0 -0
  441. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/pytorch/callbacks/__init__.py +0 -0
  442. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/pytorch/callbacks/batch_size_finder.py +0 -0
  443. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/pytorch/callbacks/callback.py +0 -0
  444. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/pytorch/callbacks/checkpoint.py +0 -0
  445. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/pytorch/callbacks/device_stats_monitor.py +0 -0
  446. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/pytorch/callbacks/early_stopping.py +0 -0
  447. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/pytorch/callbacks/finetuning.py +0 -0
  448. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/pytorch/callbacks/gradient_accumulation_scheduler.py +0 -0
  449. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/pytorch/callbacks/lambda_function.py +0 -0
  450. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/pytorch/callbacks/lr_finder.py +0 -0
  451. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/pytorch/callbacks/lr_monitor.py +0 -0
  452. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/pytorch/callbacks/model_checkpoint.py +0 -0
  453. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/pytorch/callbacks/model_summary.py +0 -0
  454. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/pytorch/callbacks/on_exception_checkpoint.py +0 -0
  455. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/pytorch/callbacks/prediction_writer.py +0 -0
  456. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/pytorch/callbacks/progress/__init__.py +0 -0
  457. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/pytorch/callbacks/progress/tqdm_progress.py +0 -0
  458. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/pytorch/callbacks/rich_model_summary.py +0 -0
  459. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/pytorch/callbacks/spike.py +0 -0
  460. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/pytorch/callbacks/throughput_monitor.py +0 -0
  461. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/pytorch/callbacks/timer.py +0 -0
  462. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/pytorch/core/__init__.py +0 -0
  463. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/pytorch/core/hooks.py +0 -0
  464. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/pytorch/core/mixins/__init__.py +0 -0
  465. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/pytorch/core/mixins/hparams_mixin.py +0 -0
  466. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/pytorch/core/optimizer.py +0 -0
  467. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/pytorch/core/saving.py +0 -0
  468. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/pytorch/demos/__init__.py +0 -0
  469. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/pytorch/demos/boring_classes.py +0 -0
  470. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/pytorch/demos/mnist_datamodule.py +0 -0
  471. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/pytorch/loggers/__init__.py +0 -0
  472. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/pytorch/loggers/csv_logs.py +0 -0
  473. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/pytorch/loggers/logger.py +0 -0
  474. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/pytorch/loggers/mlflow.py +0 -0
  475. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/pytorch/loggers/neptune.py +0 -0
  476. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/pytorch/loggers/tensorboard.py +0 -0
  477. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/pytorch/loggers/utilities.py +0 -0
  478. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/pytorch/loggers/wandb.py +0 -0
  479. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/pytorch/loops/__init__.py +0 -0
  480. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/pytorch/loops/evaluation_loop.py +0 -0
  481. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/pytorch/loops/fetchers.py +0 -0
  482. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/pytorch/loops/fit_loop.py +0 -0
  483. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/pytorch/loops/loop.py +0 -0
  484. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/pytorch/loops/optimization/__init__.py +0 -0
  485. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/pytorch/loops/optimization/automatic.py +0 -0
  486. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/pytorch/loops/optimization/closure.py +0 -0
  487. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/pytorch/loops/optimization/manual.py +0 -0
  488. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/pytorch/loops/prediction_loop.py +0 -0
  489. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/pytorch/loops/progress.py +0 -0
  490. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/pytorch/loops/training_epoch_loop.py +0 -0
  491. {lightning-2.3.0.dev20240609/src/lightning/app/cli → lightning-2.4.0.dev20240714/src/lightning/pytorch/overrides}/__init__.py +0 -0
  492. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/pytorch/overrides/distributed.py +0 -0
  493. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/pytorch/plugins/__init__.py +0 -0
  494. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/pytorch/plugins/environments/__init__.py +0 -0
  495. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/pytorch/plugins/io/__init__.py +0 -0
  496. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/pytorch/plugins/io/async_plugin.py +0 -0
  497. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/pytorch/plugins/io/checkpoint_plugin.py +0 -0
  498. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/pytorch/plugins/io/torch_plugin.py +0 -0
  499. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/pytorch/plugins/io/wrapper.py +0 -0
  500. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/pytorch/plugins/io/xla_plugin.py +0 -0
  501. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/pytorch/plugins/layer_sync.py +0 -0
  502. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/pytorch/plugins/precision/__init__.py +0 -0
  503. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/pytorch/plugins/precision/bitsandbytes.py +0 -0
  504. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/pytorch/plugins/precision/double.py +0 -0
  505. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/pytorch/plugins/precision/fsdp.py +0 -0
  506. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/pytorch/plugins/precision/half.py +0 -0
  507. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/pytorch/plugins/precision/precision.py +0 -0
  508. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/pytorch/plugins/precision/transformer_engine.py +0 -0
  509. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/pytorch/plugins/precision/xla.py +0 -0
  510. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/pytorch/profilers/__init__.py +0 -0
  511. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/pytorch/profilers/advanced.py +0 -0
  512. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/pytorch/profilers/base.py +0 -0
  513. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/pytorch/profilers/profiler.py +0 -0
  514. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/pytorch/profilers/simple.py +0 -0
  515. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/pytorch/profilers/xla.py +0 -0
  516. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/pytorch/serve/__init__.py +0 -0
  517. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/pytorch/serve/servable_module.py +0 -0
  518. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/pytorch/serve/servable_module_validator.py +0 -0
  519. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/pytorch/strategies/__init__.py +0 -0
  520. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/pytorch/strategies/ddp.py +0 -0
  521. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/pytorch/strategies/deepspeed.py +0 -0
  522. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/pytorch/strategies/launchers/__init__.py +0 -0
  523. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/pytorch/strategies/launchers/launcher.py +0 -0
  524. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/pytorch/strategies/launchers/xla.py +0 -0
  525. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/pytorch/strategies/parallel.py +0 -0
  526. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/pytorch/strategies/single_device.py +0 -0
  527. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/pytorch/strategies/single_xla.py +0 -0
  528. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/pytorch/strategies/xla.py +0 -0
  529. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/pytorch/trainer/__init__.py +0 -0
  530. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/pytorch/trainer/configuration_validator.py +0 -0
  531. {lightning-2.3.0.dev20240609/src/lightning/app/cli/app-template/tests → lightning-2.4.0.dev20240714/src/lightning/pytorch/trainer/connectors}/__init__.py +0 -0
  532. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/pytorch/trainer/connectors/accelerator_connector.py +0 -0
  533. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/pytorch/trainer/connectors/callback_connector.py +0 -0
  534. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/pytorch/trainer/connectors/checkpoint_connector.py +0 -0
  535. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/pytorch/trainer/connectors/data_connector.py +0 -0
  536. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/pytorch/trainer/connectors/logger_connector/__init__.py +0 -0
  537. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/pytorch/trainer/connectors/logger_connector/fx_validator.py +0 -0
  538. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/pytorch/trainer/connectors/logger_connector/logger_connector.py +0 -0
  539. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/pytorch/trainer/setup.py +0 -0
  540. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/pytorch/trainer/states.py +0 -0
  541. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/pytorch/tuner/__init__.py +0 -0
  542. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/pytorch/tuner/batch_size_scaling.py +0 -0
  543. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/pytorch/tuner/lr_finder.py +0 -0
  544. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/pytorch/tuner/tuning.py +0 -0
  545. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/pytorch/utilities/__init__.py +0 -0
  546. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/pytorch/utilities/argparse.py +0 -0
  547. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/pytorch/utilities/combined_loader.py +0 -0
  548. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/pytorch/utilities/consolidate_checkpoint.py +0 -0
  549. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/pytorch/utilities/data.py +0 -0
  550. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/pytorch/utilities/deepspeed.py +0 -0
  551. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/pytorch/utilities/enums.py +0 -0
  552. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/pytorch/utilities/exceptions.py +0 -0
  553. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/pytorch/utilities/grads.py +0 -0
  554. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/pytorch/utilities/imports.py +0 -0
  555. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/pytorch/utilities/memory.py +0 -0
  556. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/pytorch/utilities/migration/__init__.py +0 -0
  557. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/pytorch/utilities/migration/migration.py +0 -0
  558. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/pytorch/utilities/migration/utils.py +0 -0
  559. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/pytorch/utilities/model_helpers.py +0 -0
  560. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/pytorch/utilities/model_summary/__init__.py +0 -0
  561. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/pytorch/utilities/model_summary/model_summary.py +0 -0
  562. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/pytorch/utilities/model_summary/model_summary_deepspeed.py +0 -0
  563. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/pytorch/utilities/parameter_tying.py +0 -0
  564. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/pytorch/utilities/parsing.py +0 -0
  565. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/pytorch/utilities/rank_zero.py +0 -0
  566. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/pytorch/utilities/seed.py +0 -0
  567. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/pytorch/utilities/signature_utils.py +0 -0
  568. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/pytorch/utilities/testing/__init__.py +0 -0
  569. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/pytorch/utilities/testing/_runif.py +0 -0
  570. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/pytorch/utilities/upgrade_checkpoint.py +0 -0
  571. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning/pytorch/utilities/warnings.py +0 -0
  572. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning.egg-info/dependency_links.txt +0 -0
  573. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning.egg-info/not-zip-safe +0 -0
  574. {lightning-2.3.0.dev20240609 → lightning-2.4.0.dev20240714}/src/lightning.egg-info/top_level.txt +0 -0
@@ -14,10 +14,8 @@
14
14
  import glob
15
15
  import logging
16
16
  import os
17
- import pathlib
18
17
  import re
19
18
  import shutil
20
- import tarfile
21
19
  import tempfile
22
20
  import urllib.request
23
21
  from distutils.version import LooseVersion
@@ -35,11 +33,6 @@ REQUIREMENT_FILES = {
35
33
  "requirements/pytorch/strategies.txt",
36
34
  "requirements/pytorch/examples.txt",
37
35
  ),
38
- "app": (
39
- "requirements/app/app.txt",
40
- "requirements/app/cloud.txt",
41
- "requirements/app/ui.txt",
42
- ),
43
36
  "fabric": (
44
37
  "requirements/fabric/base.txt",
45
38
  "requirements/fabric/strategies.txt",
@@ -216,30 +209,6 @@ def distribute_version(src_folder: str, ver_file: str = "version.info") -> None:
216
209
  shutil.copy2(ver_template, fpath)
217
210
 
218
211
 
219
- def _download_frontend(pkg_path: str, version: str = "v0.0.0"):
220
- """Downloads an archive file for a specific release of the Lightning frontend and extracts it to the correct
221
- directory."""
222
-
223
- try:
224
- frontend_dir = pathlib.Path(pkg_path, "ui")
225
- download_dir = tempfile.mkdtemp()
226
-
227
- shutil.rmtree(frontend_dir, ignore_errors=True)
228
- # TODO: remove this once lightning-ui package is ready as a dependency
229
- frontend_release_url = f"https://lightning-packages.s3.amazonaws.com/ui/{version}.tar.gz"
230
- response = urllib.request.urlopen(frontend_release_url)
231
-
232
- file = tarfile.open(fileobj=response, mode="r|gz")
233
- file.extractall(path=download_dir) # noqa: S202
234
-
235
- shutil.move(download_dir, frontend_dir)
236
- print("The Lightning UI has successfully been downloaded!")
237
-
238
- # If installing from source without internet connection, we don't want to break the installation
239
- except Exception:
240
- print("The Lightning UI downloading has failed!")
241
-
242
-
243
212
  def _load_aggregate_requirements(req_dir: str = "requirements", freeze_requirements: bool = False) -> None:
244
213
  """Load all base requirements from all particular packages and prune duplicates.
245
214
 
@@ -466,7 +435,7 @@ class AssistantCLI:
466
435
  raise RuntimeError(f"Requesting file '{zip_url}' does not exist or it is just unavailable.")
467
436
 
468
437
  with zipfile.ZipFile(zip_file, "r") as zip_ref:
469
- zip_ref.extractall(tmp) # noqa: S202
438
+ zip_ref.extractall(tmp)
470
439
 
471
440
  zip_dirs = [d for d in glob.glob(os.path.join(tmp, "*")) if os.path.isdir(d)]
472
441
  # check that the extracted archive has only repo folder
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: lightning
3
- Version: 2.3.0.dev20240609
3
+ Version: 2.4.0.dev20240714
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.
@@ -21,43 +21,30 @@ Classifier: Topic :: Scientific/Engineering :: Information Analysis
21
21
  Classifier: License :: OSI Approved :: Apache Software License
22
22
  Classifier: Operating System :: OS Independent
23
23
  Classifier: Programming Language :: Python :: 3
24
- Classifier: Programming Language :: Python :: 3.8
25
24
  Classifier: Programming Language :: Python :: 3.9
26
25
  Classifier: Programming Language :: Python :: 3.10
27
26
  Classifier: Programming Language :: Python :: 3.11
28
- Requires-Python: >=3.8
27
+ Classifier: Programming Language :: Python :: 3.12
28
+ Requires-Python: >=3.9
29
29
  Description-Content-Type: text/markdown
30
- Provides-Extra: fabric-examples
31
30
  Provides-Extra: fabric-strategies
32
31
  Provides-Extra: fabric-test
33
- Provides-Extra: store-test
34
- Provides-Extra: app-ui
35
- Provides-Extra: app-cloud
36
- Provides-Extra: app-test
37
- Provides-Extra: app-components
38
- Provides-Extra: pytorch-examples
32
+ Provides-Extra: fabric-examples
39
33
  Provides-Extra: pytorch-strategies
40
34
  Provides-Extra: pytorch-extra
41
35
  Provides-Extra: pytorch-test
36
+ Provides-Extra: pytorch-examples
42
37
  Provides-Extra: fabric-all
43
38
  Provides-Extra: fabric-dev
44
39
  Provides-Extra: pytorch-all
45
40
  Provides-Extra: pytorch-dev
46
- Provides-Extra: app-extra
47
- Provides-Extra: app-all
48
- Provides-Extra: app-dev
49
- Provides-Extra: data
50
- Provides-Extra: examples
51
41
  Provides-Extra: strategies
52
42
  Provides-Extra: test
53
- Provides-Extra: ui
54
- Provides-Extra: cloud
55
- Provides-Extra: app
56
- Provides-Extra: components
43
+ Provides-Extra: examples
44
+ Provides-Extra: data
57
45
  Provides-Extra: extra
58
46
  Provides-Extra: all
59
47
  Provides-Extra: dev
60
- Provides-Extra: store
61
48
  License-File: LICENSE
62
49
 
63
50
  <div align="center">
@@ -74,11 +61,11 @@ License-File: LICENSE
74
61
  ______________________________________________________________________
75
62
 
76
63
  <p align="center">
77
- <a href="https://lightning.ai/">Lightning.ai</a> •
78
- <a href="https://lightning.ai/docs/pytorch/stable/">PyTorch Lightning</a> •
79
- <a href="https://lightning.ai/docs/fabric/stable/">Fabric</a> •
80
- <a href="https://lightning.ai/docs/app/stable/">Lightning Apps</a> •
81
- <a href="https://pytorch-lightning.readthedocs.io/en/2.3.0.dev20240609">Docs</a> •
64
+ <a href="https://lightning.ai/">Lightning AI</a> •
65
+ <a href="#examples">Examples</a> •
66
+ <a href="#pytorch-lightning-train-and-deploy-pytorch-at-scale">PyTorch Lightning</a> •
67
+ <a href="#lightning-fabric-expert-control">Fabric</a> •
68
+ <a href="https://pytorch-lightning.readthedocs.io/en/2.4.0.dev20240714">Docs</a> •
82
69
  <a href="#community">Community</a> •
83
70
  <a href="https://lightning.ai/docs/pytorch/stable/generated/CONTRIBUTING.html">Contribute</a> •
84
71
  </p>
@@ -101,6 +88,20 @@ ______________________________________________________________________
101
88
 
102
89
  </div>
103
90
 
91
+ <div align="center">
92
+
93
+ <p align="center">
94
+
95
+ &nbsp;
96
+
97
+ <a target="_blank" href="https://lightning.ai/docs/pytorch/latest/starter/introduction.html#define-a-lightningmodule">
98
+ <img src="https://pl-bolts-doc-images.s3.us-east-2.amazonaws.com/app-2/get-started-badge.svg" height="36px" alt="Get started"/>
99
+ </a>
100
+
101
+ </p>
102
+
103
+ </div>
104
+
104
105
  ## Install Lightning
105
106
 
106
107
  Simple installation from PyPI
@@ -113,15 +114,11 @@ pip install lightning
113
114
 
114
115
  ______________________________________________________________________
115
116
 
116
- ## Lightning has 4 core packages
117
+ ## Lightning has 2 core packages
117
118
 
118
119
  [PyTorch Lightning: Train and deploy PyTorch at scale](#pytorch-lightning-train-and-deploy-pytorch-at-scale).
119
120
  <br/>
120
121
  [Lightning Fabric: Expert control](#lightning-fabric-expert-control).
121
- <br/>
122
- [Lightning Data: Blazing fast, distributed streaming of training data from cloud storage](https://github.com/Lightning-AI/pytorch-lightning/tree/master/src/lightning/data).
123
- <br/>
124
- [Lightning Apps: Build AI products and ML workflows](#lightning-apps-build-ai-products-and-ml-workflows).
125
122
 
126
123
  Lightning gives you granular control over how much abstraction you want to add over PyTorch.
127
124
 
@@ -129,7 +126,9 @@ Lightning gives you granular control over how much abstraction you want to add o
129
126
  <img src="https://pl-public-data.s3.amazonaws.com/assets_lightning/continuum.png" width="80%">
130
127
  </div>
131
128
 
132
- ______________________________________________________________________
129
+ &nbsp;
130
+ &nbsp;
131
+
133
132
 
134
133
  # PyTorch Lightning: Train and Deploy PyTorch at Scale
135
134
 
@@ -139,6 +138,16 @@ PyTorch Lightning is just organized PyTorch - Lightning disentangles PyTorch cod
139
138
 
140
139
  ______________________________________________________________________
141
140
 
141
+ ### Examples
142
+ Explore various types of training possible with PyTorch Lightning. Pretrain and finetune ANY kind of model to perform ANY task like classification, segmentation, summarization and more:
143
+
144
+ | Task | Description | Run |
145
+ |-------------------------------------------------------------------------------------------------------------|------------------------------------------------|---|
146
+ | [Hello world](#hello-simple-model) | Pretrain - Hello world example | <a target="_blank" href="https://lightning.ai/lightning-ai/studios/pytorch-lightning-hello-world"><img src="https://pl-bolts-doc-images.s3.us-east-2.amazonaws.com/app-2/studio-badge.svg" alt="Open In Studio"/></a> |
147
+ | [Image segmentation](https://lightning.ai/lightning-ai/studios/image-segmentation-with-pytorch-lightning) | Finetune - ResNet-50 model to segment images | <a target="_blank" href="https://lightning.ai/lightning-ai/studios/image-segmentation-with-pytorch-lightning"><img src="https://pl-bolts-doc-images.s3.us-east-2.amazonaws.com/app-2/studio-badge.svg" alt="Open In Studio"/></a> |
148
+ | [Text classification](https://lightning.ai/lightning-ai/studios/text-classification-with-pytorch-lightning) | Finetune - text classifier (BERT model) | <a target="_blank" href="https://lightning.ai/lightning-ai/studios/text-classification-with-pytorch-lightning"><img src="https://pl-bolts-doc-images.s3.us-east-2.amazonaws.com/app-2/studio-badge.svg" alt="Open In Studio"/></a> |
149
+ | [Audio generation](https://lightning.ai/lightning-ai/studios/finetune-a-personal-ai-music-generator) | Finetune - audio generator (transformer model) | <a target="_blank" href="https://lightning.ai/lightning-ai/studios/finetune-a-personal-ai-music-generator"><img src="https://pl-bolts-doc-images.s3.us-east-2.amazonaws.com/app-2/studio-badge.svg" alt="Open In Studio"/></a> |
150
+
142
151
  ### Hello simple model
143
152
 
144
153
  ```python
@@ -340,7 +349,10 @@ ______________________________________________________________________
340
349
 
341
350
  ______________________________________________________________________
342
351
 
343
- # Lightning Fabric: Expert control.
352
+ &nbsp;
353
+ &nbsp;
354
+
355
+ # Lightning Fabric: Expert control
344
356
 
345
357
  Run on any device at any scale with expert-level control over PyTorch training loop and scaling strategy. You can even write your own Trainer.
346
358
 
@@ -522,62 +534,8 @@ ______________________________________________________________________
522
534
 
523
535
  ______________________________________________________________________
524
536
 
525
- # Lightning Apps: Build AI products and ML workflows
526
-
527
- Lightning Apps remove the cloud infrastructure boilerplate so you can focus on solving the research or business problems. Lightning Apps can run on the Lightning Cloud, your own cluster or a private cloud.
528
-
529
- <div align="center">
530
- <img src="https://pl-public-data.s3.amazonaws.com/assets_lightning/lightning-apps-teaser.png" width="80%">
531
- </div>
532
-
533
- ## Hello Lightning app world
534
-
535
- ```python
536
- # app.py
537
- import lightning as L
538
-
539
-
540
- class TrainComponent(L.LightningWork):
541
- def run(self, x):
542
- print(f"train a model on {x}")
543
-
544
-
545
- class AnalyzeComponent(L.LightningWork):
546
- def run(self, x):
547
- print(f"analyze model on {x}")
548
-
549
-
550
- class WorkflowOrchestrator(L.LightningFlow):
551
- def __init__(self) -> None:
552
- super().__init__()
553
- self.train = TrainComponent(cloud_compute=L.CloudCompute("cpu"))
554
- self.analyze = AnalyzeComponent(cloud_compute=L.CloudCompute("gpu"))
555
-
556
- def run(self):
557
- self.train.run("CPU machine 1")
558
- self.analyze.run("GPU machine 2")
559
-
560
-
561
- app = L.LightningApp(WorkflowOrchestrator())
562
- ```
563
-
564
- Run on the cloud or locally
565
-
566
- ```bash
567
- # run on the cloud
568
- lightning run app app.py --setup --cloud
569
-
570
- # run locally
571
- lightning run app app.py
572
- ```
573
-
574
- ______________________________________________________________________
575
-
576
- <div align="center">
577
- <a href="https://lightning.ai/docs/app/stable/">Read the Lightning Apps docs</a>
578
- </div>
579
-
580
- ______________________________________________________________________
537
+ &nbsp;
538
+ &nbsp;
581
539
 
582
540
  ## Examples
583
541
 
@@ -608,7 +566,8 @@ ______________________________________________________________________
608
566
  - [Logistic Regression](https://lightning-bolts.readthedocs.io/en/stable/models/classic_ml.html#logistic-regression)
609
567
  - [Linear Regression](https://lightning-bolts.readthedocs.io/en/stable/models/classic_ml.html#linear-regression)
610
568
 
611
- ______________________________________________________________________
569
+ &nbsp;
570
+ &nbsp;
612
571
 
613
572
  ## Continuous Integration
614
573
 
@@ -623,7 +582,7 @@ Lightning is rigorously tested across multiple CPUs, GPUs and TPUs and against m
623
582
 
624
583
  | System / PyTorch ver. | 1.13 | 2.0 | 2.1 |
625
584
  | :--------------------------------: | :-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: | :-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: |:-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------:|
626
- | Linux py3.9 \[GPUs\] | | | [![Build Status](https://dev.azure.com/Lightning-AI/lightning/_apis/build/status%2Fpytorch-lightning%20%28GPUs%29?branchName=refs%2Ftags%2F2.3.0.dev20240609)](https://dev.azure.com/Lightning-AI/lightning/_build/latest?definitionId=24&branchName=master) |
585
+ | Linux py3.9 \[GPUs\] | | | [![Build Status](https://dev.azure.com/Lightning-AI/lightning/_apis/build/status%2Fpytorch-lightning%20%28GPUs%29?branchName=refs%2Ftags%2F2.4.0.dev20240714)](https://dev.azure.com/Lightning-AI/lightning/_build/latest?definitionId=24&branchName=master) |
627
586
  | Linux py3.9 \[TPUs\] | | [![Test PyTorch - TPU](https://github.com/Lightning-AI/lightning/actions/workflows/tpu-tests.yml/badge.svg)](https://github.com/Lightning-AI/lightning/actions/workflows/tpu-tests.yml) | |
628
587
  | Linux (multiple Python versions) | [![Test PyTorch](https://github.com/Lightning-AI/lightning/actions/workflows/ci-tests-pytorch.yml/badge.svg)](https://github.com/Lightning-AI/lightning/actions/workflows/ci-tests-pytorch.yml) | [![Test PyTorch](https://github.com/Lightning-AI/lightning/actions/workflows/ci-tests-pytorch.yml/badge.svg)](https://github.com/Lightning-AI/lightning/actions/workflows/ci-tests-pytorch.yml) | [![Test PyTorch](https://github.com/Lightning-AI/lightning/actions/workflows/ci-tests-pytorch.yml/badge.svg)](https://github.com/Lightning-AI/lightning/actions/workflows/ci-tests-pytorch.yml) |
629
588
  | OSX (multiple Python versions) | [![Test PyTorch](https://github.com/Lightning-AI/lightning/actions/workflows/ci-tests-pytorch.yml/badge.svg)](https://github.com/Lightning-AI/lightning/actions/workflows/ci-tests-pytorch.yml) | [![Test PyTorch](https://github.com/Lightning-AI/lightning/actions/workflows/ci-tests-pytorch.yml/badge.svg)](https://github.com/Lightning-AI/lightning/actions/workflows/ci-tests-pytorch.yml) | [![Test PyTorch](https://github.com/Lightning-AI/lightning/actions/workflows/ci-tests-pytorch.yml/badge.svg)](https://github.com/Lightning-AI/lightning/actions/workflows/ci-tests-pytorch.yml) |
@@ -632,7 +591,8 @@ Lightning is rigorously tested across multiple CPUs, GPUs and TPUs and against m
632
591
  </center>
633
592
  </details>
634
593
 
635
- ______________________________________________________________________
594
+ &nbsp;
595
+ &nbsp;
636
596
 
637
597
  ## Community
638
598
 
@@ -12,10 +12,10 @@
12
12
  ______________________________________________________________________
13
13
 
14
14
  <p align="center">
15
- <a href="https://lightning.ai/">Lightning.ai</a> •
16
- <a href="https://lightning.ai/docs/pytorch/stable/">PyTorch Lightning</a> •
17
- <a href="https://lightning.ai/docs/fabric/stable/">Fabric</a> •
18
- <a href="https://lightning.ai/docs/app/stable/">Lightning Apps</a> •
15
+ <a href="https://lightning.ai/">Lightning AI</a> •
16
+ <a href="#examples">Examples</a> •
17
+ <a href="#pytorch-lightning-train-and-deploy-pytorch-at-scale">PyTorch Lightning</a> •
18
+ <a href="#lightning-fabric-expert-control">Fabric</a> •
19
19
  <a href="https://pytorch-lightning.readthedocs.io/en/stable/">Docs</a> •
20
20
  <a href="#community">Community</a> •
21
21
  <a href="https://lightning.ai/docs/pytorch/stable/generated/CONTRIBUTING.html">Contribute</a> •
@@ -39,6 +39,20 @@ ______________________________________________________________________
39
39
 
40
40
  </div>
41
41
 
42
+ <div align="center">
43
+
44
+ <p align="center">
45
+
46
+ &nbsp;
47
+
48
+ <a target="_blank" href="https://lightning.ai/docs/pytorch/latest/starter/introduction.html#define-a-lightningmodule">
49
+ <img src="https://pl-bolts-doc-images.s3.us-east-2.amazonaws.com/app-2/get-started-badge.svg" height="36px" alt="Get started"/>
50
+ </a>
51
+
52
+ </p>
53
+
54
+ </div>
55
+
42
56
  ## Install Lightning
43
57
 
44
58
  Simple installation from PyPI
@@ -92,15 +106,11 @@ pip install -iU https://test.pypi.org/simple/ pytorch-lightning
92
106
 
93
107
  ______________________________________________________________________
94
108
 
95
- ## Lightning has 4 core packages
109
+ ## Lightning has 2 core packages
96
110
 
97
111
  [PyTorch Lightning: Train and deploy PyTorch at scale](#pytorch-lightning-train-and-deploy-pytorch-at-scale).
98
112
  <br/>
99
113
  [Lightning Fabric: Expert control](#lightning-fabric-expert-control).
100
- <br/>
101
- [Lightning Data: Blazing fast, distributed streaming of training data from cloud storage](https://github.com/Lightning-AI/pytorch-lightning/tree/master/src/lightning/data).
102
- <br/>
103
- [Lightning Apps: Build AI products and ML workflows](#lightning-apps-build-ai-products-and-ml-workflows).
104
114
 
105
115
  Lightning gives you granular control over how much abstraction you want to add over PyTorch.
106
116
 
@@ -108,7 +118,9 @@ Lightning gives you granular control over how much abstraction you want to add o
108
118
  <img src="https://pl-public-data.s3.amazonaws.com/assets_lightning/continuum.png" width="80%">
109
119
  </div>
110
120
 
111
- ______________________________________________________________________
121
+ &nbsp;
122
+ &nbsp;
123
+
112
124
 
113
125
  # PyTorch Lightning: Train and Deploy PyTorch at Scale
114
126
 
@@ -118,6 +130,16 @@ PyTorch Lightning is just organized PyTorch - Lightning disentangles PyTorch cod
118
130
 
119
131
  ______________________________________________________________________
120
132
 
133
+ ### Examples
134
+ Explore various types of training possible with PyTorch Lightning. Pretrain and finetune ANY kind of model to perform ANY task like classification, segmentation, summarization and more:
135
+
136
+ | Task | Description | Run |
137
+ |-------------------------------------------------------------------------------------------------------------|------------------------------------------------|---|
138
+ | [Hello world](#hello-simple-model) | Pretrain - Hello world example | <a target="_blank" href="https://lightning.ai/lightning-ai/studios/pytorch-lightning-hello-world"><img src="https://pl-bolts-doc-images.s3.us-east-2.amazonaws.com/app-2/studio-badge.svg" alt="Open In Studio"/></a> |
139
+ | [Image segmentation](https://lightning.ai/lightning-ai/studios/image-segmentation-with-pytorch-lightning) | Finetune - ResNet-50 model to segment images | <a target="_blank" href="https://lightning.ai/lightning-ai/studios/image-segmentation-with-pytorch-lightning"><img src="https://pl-bolts-doc-images.s3.us-east-2.amazonaws.com/app-2/studio-badge.svg" alt="Open In Studio"/></a> |
140
+ | [Text classification](https://lightning.ai/lightning-ai/studios/text-classification-with-pytorch-lightning) | Finetune - text classifier (BERT model) | <a target="_blank" href="https://lightning.ai/lightning-ai/studios/text-classification-with-pytorch-lightning"><img src="https://pl-bolts-doc-images.s3.us-east-2.amazonaws.com/app-2/studio-badge.svg" alt="Open In Studio"/></a> |
141
+ | [Audio generation](https://lightning.ai/lightning-ai/studios/finetune-a-personal-ai-music-generator) | Finetune - audio generator (transformer model) | <a target="_blank" href="https://lightning.ai/lightning-ai/studios/finetune-a-personal-ai-music-generator"><img src="https://pl-bolts-doc-images.s3.us-east-2.amazonaws.com/app-2/studio-badge.svg" alt="Open In Studio"/></a> |
142
+
121
143
  ### Hello simple model
122
144
 
123
145
  ```python
@@ -319,7 +341,10 @@ ______________________________________________________________________
319
341
 
320
342
  ______________________________________________________________________
321
343
 
322
- # Lightning Fabric: Expert control.
344
+ &nbsp;
345
+ &nbsp;
346
+
347
+ # Lightning Fabric: Expert control
323
348
 
324
349
  Run on any device at any scale with expert-level control over PyTorch training loop and scaling strategy. You can even write your own Trainer.
325
350
 
@@ -501,62 +526,8 @@ ______________________________________________________________________
501
526
 
502
527
  ______________________________________________________________________
503
528
 
504
- # Lightning Apps: Build AI products and ML workflows
505
-
506
- Lightning Apps remove the cloud infrastructure boilerplate so you can focus on solving the research or business problems. Lightning Apps can run on the Lightning Cloud, your own cluster or a private cloud.
507
-
508
- <div align="center">
509
- <img src="https://pl-public-data.s3.amazonaws.com/assets_lightning/lightning-apps-teaser.png" width="80%">
510
- </div>
511
-
512
- ## Hello Lightning app world
513
-
514
- ```python
515
- # app.py
516
- import lightning as L
517
-
518
-
519
- class TrainComponent(L.LightningWork):
520
- def run(self, x):
521
- print(f"train a model on {x}")
522
-
523
-
524
- class AnalyzeComponent(L.LightningWork):
525
- def run(self, x):
526
- print(f"analyze model on {x}")
527
-
528
-
529
- class WorkflowOrchestrator(L.LightningFlow):
530
- def __init__(self) -> None:
531
- super().__init__()
532
- self.train = TrainComponent(cloud_compute=L.CloudCompute("cpu"))
533
- self.analyze = AnalyzeComponent(cloud_compute=L.CloudCompute("gpu"))
534
-
535
- def run(self):
536
- self.train.run("CPU machine 1")
537
- self.analyze.run("GPU machine 2")
538
-
539
-
540
- app = L.LightningApp(WorkflowOrchestrator())
541
- ```
542
-
543
- Run on the cloud or locally
544
-
545
- ```bash
546
- # run on the cloud
547
- lightning run app app.py --setup --cloud
548
-
549
- # run locally
550
- lightning run app app.py
551
- ```
552
-
553
- ______________________________________________________________________
554
-
555
- <div align="center">
556
- <a href="https://lightning.ai/docs/app/stable/">Read the Lightning Apps docs</a>
557
- </div>
558
-
559
- ______________________________________________________________________
529
+ &nbsp;
530
+ &nbsp;
560
531
 
561
532
  ## Examples
562
533
 
@@ -587,7 +558,8 @@ ______________________________________________________________________
587
558
  - [Logistic Regression](https://lightning-bolts.readthedocs.io/en/stable/models/classic_ml.html#logistic-regression)
588
559
  - [Linear Regression](https://lightning-bolts.readthedocs.io/en/stable/models/classic_ml.html#linear-regression)
589
560
 
590
- ______________________________________________________________________
561
+ &nbsp;
562
+ &nbsp;
591
563
 
592
564
  ## Continuous Integration
593
565
 
@@ -611,7 +583,8 @@ Lightning is rigorously tested across multiple CPUs, GPUs and TPUs and against m
611
583
  </center>
612
584
  </details>
613
585
 
614
- ______________________________________________________________________
586
+ &nbsp;
587
+ &nbsp;
615
588
 
616
589
  ## Community
617
590
 
@@ -134,13 +134,7 @@ max-complexity = 10
134
134
  files = [
135
135
  "src/lightning",
136
136
  ]
137
- # This section is for folders with "-" as they are not valid python modules
138
- exclude = [
139
- "src/lightning/app/cli/app-template",
140
- "src/lightning/app/cli/component-template",
141
- "src/lightning/app/cli/pl-app-template",
142
- "src/lightning/app/cli/react-ui-template",
143
- ]
137
+
144
138
  install_types = "True"
145
139
  non_interactive = "True"
146
140
  disallow_untyped_defs = "True"
@@ -155,100 +149,6 @@ disable_error_code = "attr-defined"
155
149
  # style choices
156
150
  warn_no_return = "False"
157
151
 
158
- # Ignore mypy errors for these files
159
- # TODO: the goal is for this to be empty
160
- [[tool.mypy.overrides]]
161
- # the list can be generated with:
162
- # mypy --no-error-summary 2>&1 | tr ':' ' ' | awk '{print $1}' | sort | uniq | sed 's/\.py//g; s|src/||g; s|\/|\.|g' | xargs -I {} echo '"{}",'
163
- module = [
164
- "lightning.app.api.http_methods",
165
- "lightning.app.api.request_types",
166
- "lightning.app.cli.cmd_install",
167
- "lightning.app.cli.commands.app_commands",
168
- "lightning.app.cli.commands.cd",
169
- "lightning.app.cli.commands.cp",
170
- "lightning.app.cli.commands.ls",
171
- "lightning.app.cli.connect.app",
172
- "lightning.app.components.database.client",
173
- "lightning.app.components.database.server",
174
- "lightning.app.components.database.utilities",
175
- "lightning.app.components.multi_node.base",
176
- "lightning.app.components.multi_node.fabric",
177
- "lightning.app.components.multi_node.pytorch_spawn",
178
- "lightning.app.components.multi_node.trainer",
179
- "lightning.app.components.python.popen",
180
- "lightning.app.components.python.tracer",
181
- "lightning.app.components.serve.auto_scaler",
182
- "lightning.app.components.serve.gradio_server",
183
- "lightning.app.components.serve.python_server",
184
- "lightning.app.components.serve.serve",
185
- "lightning.app.components.serve.streamlit",
186
- "lightning.app.components.serve.types.image",
187
- "lightning.app.components.serve.types.type",
188
- "lightning.app.components.training",
189
- "lightning.app.frontend.panel.app_state_comm",
190
- "lightning.app.frontend.panel.app_state_watcher",
191
- "lightning.app.frontend.panel.panel_frontend",
192
- "lightning.app.frontend.panel.panel_serve_render_fn",
193
- "lightning.app.frontend.streamlit_base",
194
- "lightning.app.frontend.stream_lit",
195
- "lightning.app.frontend.utils",
196
- "lightning.app.frontend.web",
197
- "lightning.app.launcher.launcher",
198
- "lightning.app.launcher.lightning_backend",
199
- "lightning.app.launcher.lightning_hybrid_backend",
200
- "lightning.app.pdb.pdb",
201
- "lightning.app.runners.backends.backend",
202
- "lightning.app.runners.backends.cloud",
203
- "lightning.app.runners.backends.docker",
204
- "lightning.app.runners.backends.mp_process",
205
- "lightning.app.runners.cloud",
206
- "lightning.app.runners.multiprocess",
207
- "lightning.app.runners.runtime",
208
- "lightning.app.source_code.copytree",
209
- "lightning.app.source_code.hashing",
210
- "lightning.app.source_code.local",
211
- "lightning.app.source_code.tar",
212
- "lightning.app.source_code.uploader",
213
- "lightning.app.storage.copier",
214
- "lightning.app.storage.drive",
215
- "lightning.app.storage.filesystem",
216
- "lightning.app.storage.orchestrator",
217
- "lightning.app.storage.path",
218
- "lightning.app.storage.payload",
219
- "lightning.app.structures.dict",
220
- "lightning.app.structures.list",
221
- "lightning.app.testing.helpers",
222
- "lightning.app.testing.testing",
223
- "lightning.app.utilities.app_helpers",
224
- "lightning.app.utilities.app_logs",
225
- "lightning.app.utilities.cli_helpers",
226
- "lightning.app.utilities.cloud",
227
- "lightning.app.utilities.commands.base",
228
- "lightning.app.utilities.component",
229
- "lightning.app.utilities.enum",
230
- "lightning.app.utilities.exceptions",
231
- "lightning.app.utilities.git",
232
- "lightning.app.utilities.imports",
233
- "lightning.app.utilities.introspection",
234
- "lightning.app.utilities.layout",
235
- "lightning.app.utilities.load_app",
236
- "lightning.app.utilities.log_helpers",
237
- "lightning.app.utilities.login",
238
- "lightning.app.utilities.name_generator",
239
- "lightning.app.utilities.network",
240
- "lightning.app.utilities.openapi",
241
- "lightning.app.utilities.packaging.cloud_compute",
242
- "lightning.app.utilities.packaging.lightning_utils",
243
- "lightning.app.utilities.proxies",
244
- "lightning.app.utilities.scheduler",
245
- "lightning.app.utilities.state",
246
- "lightning.app.utilities.tracer",
247
- "lightning.app.utilities.tree",
248
- "lightning.store.utils",
249
- ]
250
- ignore_errors = "True"
251
-
252
152
 
253
153
  [tool.coverage.report]
254
154
  exclude_lines = [
@@ -1,9 +1,9 @@
1
1
  PyYAML<7.0,>=5.4
2
2
  fsspec[http]<2025.0,>=2022.5.0
3
- lightning-utilities<1.0,>=0.8.0
4
- numpy<2.0,>=1.17.2
3
+ lightning-utilities<1.0,>=0.10.0
4
+ numpy<2.0,>=1.21.0
5
5
  packaging<24.0,>=20.0
6
- torch<3.0,>=2.0.0
6
+ torch<3.0,>=2.1.0
7
7
  torchmetrics<2.0,>=0.7.0
8
8
  tqdm<5.0,>=4.57.0
9
9
  typing-extensions<5.0,>=4.4.0
@@ -1,9 +1,9 @@
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
- numpy >=1.17.2, <1.27.0
5
- torch >=2.0.0, <2.4.0
4
+ numpy >=1.21.0, <1.27.0
5
+ torch >=2.1.0, <2.5.0
6
6
  fsspec[http] >=2022.5.0, <2024.4.0
7
7
  packaging >=20.0, <=23.1
8
8
  typing-extensions >=4.4.0, <4.10.0
9
- lightning-utilities >=0.8.0, <0.12.0
9
+ lightning-utilities >=0.10.0, <0.12.0
@@ -1,6 +1,6 @@
1
1
  # NOTE: the upper bound for the package version is only set for CI stability, and it is dropped while installing this package
2
2
  # in case you want to preserve/enforce restrictions on the latest compatible version, add "strict" as an in-line comment
3
3
 
4
- torchvision >=0.15.0, <0.19.0
4
+ torchvision >=0.16.0, <0.20.0
5
5
  torchmetrics >=0.10.0, <1.3.0
6
6
  lightning-utilities >=0.8.0, <0.12.0
@@ -1,12 +1,12 @@
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
- numpy >=1.17.2, <1.27.0
5
- torch >=2.0.0, <2.4.0
4
+ numpy >=1.21.0, <1.27.0
5
+ torch >=2.1.0, <2.5.0
6
6
  tqdm >=4.57.0, <4.67.0
7
7
  PyYAML >=5.4, <6.1.0
8
8
  fsspec[http] >=2022.5.0, <2024.4.0
9
9
  torchmetrics >=0.7.0, <1.3.0 # needed for using fixed compare_version
10
10
  packaging >=20.0, <=23.1
11
11
  typing-extensions >=4.4.0, <4.10.0
12
- lightning-utilities >=0.8.0, <0.12.0
12
+ lightning-utilities >=0.10.0, <0.12.0
@@ -2,7 +2,7 @@
2
2
  # in case you want to preserve/enforce restrictions on the latest compatible version, add "strict" as an in-line comment
3
3
 
4
4
  requests <2.32.0
5
- torchvision >=0.15.0, <0.19.0
5
+ torchvision >=0.16.0, <0.20.0
6
6
  ipython[all] <8.15.0
7
7
  torchmetrics >=0.10.0, <1.3.0
8
8
  lightning-utilities >=0.8.0, <0.12.0