lightning 2.3.0.dev20240414__tar.gz → 2.3.0.dev20240428__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 (571) hide show
  1. {lightning-2.3.0.dev20240414/src/lightning.egg-info → lightning-2.3.0.dev20240428}/PKG-INFO +17 -17
  2. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/requirements/app/app.txt +1 -1
  3. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/requirements/base.txt +1 -1
  4. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/requirements/fabric/base.txt +1 -1
  5. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/requirements/fabric/examples.txt +1 -1
  6. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/requirements/fabric/strategies.txt +1 -1
  7. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/requirements/pytorch/base.txt +1 -1
  8. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/requirements/pytorch/examples.txt +1 -1
  9. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/requirements/pytorch/strategies.txt +1 -1
  10. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/fabric/CHANGELOG.md +11 -3
  11. lightning-2.3.0.dev20240428/src/lightning/fabric/accelerators/cuda.py +181 -0
  12. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/fabric/fabric.py +2 -29
  13. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/fabric/plugins/precision/amp.py +1 -4
  14. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/fabric/plugins/precision/fsdp.py +3 -7
  15. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/fabric/strategies/fsdp.py +17 -48
  16. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/fabric/strategies/strategy.py +2 -5
  17. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/fabric/strategies/xla_fsdp.py +0 -11
  18. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/fabric/utilities/imports.py +1 -2
  19. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/fabric/utilities/load.py +1 -6
  20. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/fabric/utilities/logger.py +18 -1
  21. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/fabric/utilities/testing/_runif.py +1 -2
  22. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/fabric/utilities/types.py +3 -47
  23. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/fabric/wrappers.py +5 -22
  24. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/pytorch/CHANGELOG.md +10 -4
  25. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/pytorch/callbacks/stochastic_weight_avg.py +1 -1
  26. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/pytorch/cli.py +5 -5
  27. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/pytorch/core/hooks.py +1 -3
  28. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/pytorch/core/module.py +2 -5
  29. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/pytorch/core/optimizer.py +2 -1
  30. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/pytorch/demos/boring_classes.py +2 -2
  31. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/pytorch/loggers/wandb.py +7 -1
  32. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/pytorch/plugins/precision/amp.py +1 -4
  33. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/pytorch/plugins/precision/fsdp.py +3 -7
  34. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/pytorch/strategies/deepspeed.py +2 -1
  35. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/pytorch/strategies/fsdp.py +10 -33
  36. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/pytorch/strategies/strategy.py +2 -4
  37. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/pytorch/trainer/connectors/accelerator_connector.py +4 -3
  38. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/pytorch/trainer/connectors/logger_connector/result.py +2 -4
  39. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/pytorch/trainer/trainer.py +2 -13
  40. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/pytorch/tuner/lr_finder.py +9 -12
  41. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/pytorch/utilities/compile.py +3 -19
  42. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/pytorch/utilities/model_summary/model_summary.py +1 -5
  43. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/pytorch/utilities/testing/_runif.py +1 -2
  44. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/pytorch/utilities/types.py +6 -5
  45. lightning-2.3.0.dev20240428/src/lightning/version.info +1 -0
  46. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428/src/lightning.egg-info}/PKG-INFO +17 -17
  47. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning.egg-info/SOURCES.txt +1 -1
  48. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning.egg-info/requires.txt +27 -27
  49. lightning-2.3.0.dev20240428/src/version.info +1 -0
  50. lightning-2.3.0.dev20240414/src/lightning/fabric/accelerators/cuda.py +0 -381
  51. lightning-2.3.0.dev20240414/src/lightning/version.info +0 -1
  52. lightning-2.3.0.dev20240414/src/version.info +0 -1
  53. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/.actions/assistant.py +0 -0
  54. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/CITATION.cff +0 -0
  55. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/LICENSE +0 -0
  56. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/README.md +0 -0
  57. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/pyproject.toml +0 -0
  58. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/requirements/app/cloud.txt +0 -0
  59. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/requirements/app/components.txt +0 -0
  60. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/requirements/app/docs.txt +0 -0
  61. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/requirements/app/test.txt +0 -0
  62. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/requirements/app/ui.txt +0 -0
  63. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/requirements/fabric/docs.txt +0 -0
  64. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/requirements/fabric/test.txt +0 -0
  65. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/requirements/pytorch/docs.txt +0 -0
  66. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/requirements/pytorch/extra.txt +0 -0
  67. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/requirements/pytorch/test.txt +0 -0
  68. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/setup.cfg +0 -0
  69. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/setup.py +0 -0
  70. /lightning-2.3.0.dev20240414/src/lightning/e4e465c6f6642e9f9fc64f431fc44401b9981f6435f96f96 → /lightning-2.3.0.dev20240428/src/lightning/6f42b0b87641d44deb53e694085e7c51e9796dadd8dfe51a +0 -0
  71. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/__about__.py +0 -0
  72. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/__init__.py +0 -0
  73. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/__main__.py +0 -0
  74. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/__setup__.py +0 -0
  75. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/__version__.py +0 -0
  76. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/CHANGELOG.md +0 -0
  77. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/__init__.py +0 -0
  78. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/api/__init__.py +0 -0
  79. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/api/http_methods.py +0 -0
  80. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/api/request_types.py +0 -0
  81. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/cli/__init__.py +0 -0
  82. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/cli/app-template/.gitignore +0 -0
  83. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/cli/app-template/LICENSE +0 -0
  84. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/cli/app-template/README.md +0 -0
  85. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/cli/app-template/app.py +0 -0
  86. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/cli/app-template/placeholdername/__init__.py +0 -0
  87. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/cli/app-template/placeholdername/components/component_a/__init__.py +0 -0
  88. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/cli/app-template/placeholdername/components/component_a/component_a.py +0 -0
  89. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/cli/app-template/placeholdername/components/component_b/__init__.py +0 -0
  90. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/cli/app-template/placeholdername/components/component_b/component_a.py +0 -0
  91. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/cli/app-template/requirements.txt +0 -0
  92. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/cli/app-template/setup.py +0 -0
  93. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/cli/app-template/tests/README.md +0 -0
  94. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/cli/app-template/tests/__init__.py +0 -0
  95. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/cli/app-template/tests/requirements.txt +0 -0
  96. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/cli/app-template/tests/test_placeholdername_app.py +0 -0
  97. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/cli/cmd_apps.py +0 -0
  98. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/cli/cmd_init.py +0 -0
  99. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/cli/cmd_install.py +0 -0
  100. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/cli/cmd_pl_init.py +0 -0
  101. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/cli/cmd_react_ui_init.py +0 -0
  102. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/cli/commands/__init__.py +0 -0
  103. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/cli/commands/app_commands.py +0 -0
  104. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/cli/commands/cd.py +0 -0
  105. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/cli/commands/cp.py +0 -0
  106. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/cli/commands/logs.py +0 -0
  107. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/cli/commands/ls.py +0 -0
  108. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/cli/commands/pwd.py +0 -0
  109. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/cli/commands/rm.py +0 -0
  110. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/cli/component-template/.github/workflows/ci-testing.yml +0 -0
  111. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/cli/component-template/.gitignore +0 -0
  112. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/cli/component-template/LICENSE +0 -0
  113. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/cli/component-template/README.md +0 -0
  114. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/cli/component-template/app.py +0 -0
  115. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/cli/component-template/placeholdername/__init__.py +0 -0
  116. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/cli/component-template/placeholdername/component.py +0 -0
  117. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/cli/component-template/requirements.txt +0 -0
  118. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/cli/component-template/setup.py +0 -0
  119. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/cli/component-template/tests/README.md +0 -0
  120. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/cli/component-template/tests/__init__.py +0 -0
  121. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/cli/component-template/tests/requirements.txt +0 -0
  122. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/cli/component-template/tests/test_placeholdername_component.py +0 -0
  123. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/cli/connect/__init__.py +0 -0
  124. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/cli/connect/app.py +0 -0
  125. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/cli/connect/data.py +0 -0
  126. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/cli/core.py +0 -0
  127. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/cli/lightning_cli.py +0 -0
  128. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/cli/lightning_cli_delete.py +0 -0
  129. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/cli/lightning_cli_launch.py +0 -0
  130. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/cli/lightning_cli_list.py +0 -0
  131. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/cli/pl-app-template/.gitignore +0 -0
  132. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/cli/pl-app-template/.lightningignore +0 -0
  133. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/cli/pl-app-template/app.py +0 -0
  134. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/cli/pl-app-template/core/__init__.py +0 -0
  135. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/cli/pl-app-template/core/callbacks.py +0 -0
  136. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/cli/pl-app-template/core/components/__init__.py +0 -0
  137. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/cli/pl-app-template/core/components/logger/__init__.py +0 -0
  138. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/cli/pl-app-template/core/components/logger/tensorboard.py +0 -0
  139. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/cli/pl-app-template/core/components/logger/weights_and_biases.py +0 -0
  140. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/cli/pl-app-template/core/components/script_runner/__init__.py +0 -0
  141. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/cli/pl-app-template/core/components/script_runner/script_runner.py +0 -0
  142. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/cli/pl-app-template/core/state.py +0 -0
  143. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/cli/pl-app-template/setup.py +0 -0
  144. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/cli/pl-app-template/tests/__init__.py +0 -0
  145. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/cli/pl-app-template/tests/core/__init__.py +0 -0
  146. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/cli/pl-app-template/tests/core/test_callbacks.py +0 -0
  147. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/cli/pl-app-template/tests/test_app.py +0 -0
  148. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/cli/pl-app-template/ui/.gitignore +0 -0
  149. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/cli/pl-app-template/ui/.prettierignore +0 -0
  150. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/cli/pl-app-template/ui/.prettierrc +0 -0
  151. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/cli/pl-app-template/ui/craco.config.js +0 -0
  152. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/cli/pl-app-template/ui/package.json +0 -0
  153. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/cli/pl-app-template/ui/public/favicon.svg +0 -0
  154. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/cli/pl-app-template/ui/public/index.html +0 -0
  155. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/cli/pl-app-template/ui/public/manifest.json +0 -0
  156. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/cli/pl-app-template/ui/public/robots.txt +0 -0
  157. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/cli/pl-app-template/ui/src/App.tsx +0 -0
  158. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/cli/pl-app-template/ui/src/components/EnvironmentConfigurator.tsx +0 -0
  159. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/cli/pl-app-template/ui/src/components/ErrorPanel.tsx +0 -0
  160. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/cli/pl-app-template/ui/src/components/ExecutionSummary.tsx +0 -0
  161. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/cli/pl-app-template/ui/src/components/HyperparameterSummary.tsx +0 -0
  162. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/cli/pl-app-template/ui/src/components/Launcher.tsx +0 -0
  163. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/cli/pl-app-template/ui/src/components/ProgressBar.tsx +0 -0
  164. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/cli/pl-app-template/ui/src/components/ProgressBarGroup.tsx +0 -0
  165. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/cli/pl-app-template/ui/src/components/Timer.tsx +0 -0
  166. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/cli/pl-app-template/ui/src/hooks/useLightningState.ts +0 -0
  167. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/cli/pl-app-template/ui/src/index.css +0 -0
  168. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/cli/pl-app-template/ui/src/index.tsx +0 -0
  169. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/cli/pl-app-template/ui/src/lightning-colors.ts +0 -0
  170. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/cli/pl-app-template/ui/src/react-app-env.d.ts +0 -0
  171. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/cli/pl-app-template/ui/src/reportWebVitals.ts +0 -0
  172. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/cli/pl-app-template/ui/src/types/lightning.ts +0 -0
  173. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/cli/pl-app-template/ui/tsconfig.json +0 -0
  174. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/cli/react-ui-template/README.md +0 -0
  175. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/cli/react-ui-template/example_app.py +0 -0
  176. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/cli/react-ui-template/ui/index.html +0 -0
  177. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/cli/react-ui-template/ui/package.json +0 -0
  178. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/cli/react-ui-template/ui/src/App.css +0 -0
  179. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/cli/react-ui-template/ui/src/App.tsx +0 -0
  180. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/cli/react-ui-template/ui/src/favicon.svg +0 -0
  181. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/cli/react-ui-template/ui/src/hooks/useLightningState.ts +0 -0
  182. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/cli/react-ui-template/ui/src/index.css +0 -0
  183. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/cli/react-ui-template/ui/src/main.tsx +0 -0
  184. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/cli/react-ui-template/ui/src/types/lightning.ts +0 -0
  185. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/cli/react-ui-template/ui/src/vite-env.d.ts +0 -0
  186. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/cli/react-ui-template/ui/tsconfig.json +0 -0
  187. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/cli/react-ui-template/ui/tsconfig.node.json +0 -0
  188. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/cli/react-ui-template/ui/vite.config.ts +0 -0
  189. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/cli/react-ui-template/ui/yarn.lock +0 -0
  190. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/components/__init__.py +0 -0
  191. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/components/database/__init__.py +0 -0
  192. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/components/database/client.py +0 -0
  193. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/components/database/server.py +0 -0
  194. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/components/database/utilities.py +0 -0
  195. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/components/multi_node/__init__.py +0 -0
  196. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/components/multi_node/base.py +0 -0
  197. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/components/multi_node/fabric.py +0 -0
  198. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/components/multi_node/pytorch_spawn.py +0 -0
  199. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/components/multi_node/trainer.py +0 -0
  200. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/components/python/__init__.py +0 -0
  201. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/components/python/popen.py +0 -0
  202. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/components/python/tracer.py +0 -0
  203. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/components/serve/__init__.py +0 -0
  204. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/components/serve/auto_scaler.py +0 -0
  205. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/components/serve/catimage.png +0 -0
  206. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/components/serve/cold_start_proxy.py +0 -0
  207. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/components/serve/gradio_server.py +0 -0
  208. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/components/serve/python_server.py +0 -0
  209. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/components/serve/serve.py +0 -0
  210. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/components/serve/streamlit.py +0 -0
  211. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/components/serve/types/__init__.py +0 -0
  212. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/components/serve/types/image.py +0 -0
  213. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/components/serve/types/type.py +0 -0
  214. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/components/training.py +0 -0
  215. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/core/__init__.py +0 -0
  216. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/core/api.py +0 -0
  217. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/core/app.py +0 -0
  218. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/core/constants.py +0 -0
  219. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/core/flow.py +0 -0
  220. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/core/queues.py +0 -0
  221. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/core/work.py +0 -0
  222. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/frontend/__init__.py +0 -0
  223. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/frontend/frontend.py +0 -0
  224. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/frontend/just_py/__init__.py +0 -0
  225. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/frontend/just_py/just_py.py +0 -0
  226. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/frontend/just_py/just_py_base.py +0 -0
  227. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/frontend/panel/__init__.py +0 -0
  228. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/frontend/panel/app_state_comm.py +0 -0
  229. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/frontend/panel/app_state_watcher.py +0 -0
  230. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/frontend/panel/panel_frontend.py +0 -0
  231. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/frontend/panel/panel_serve_render_fn.py +0 -0
  232. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/frontend/stream_lit.py +0 -0
  233. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/frontend/streamlit_base.py +0 -0
  234. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/frontend/utils.py +0 -0
  235. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/frontend/web.py +0 -0
  236. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/launcher/__init__.py +0 -0
  237. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/launcher/launcher.py +0 -0
  238. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/launcher/lightning_backend.py +0 -0
  239. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/launcher/lightning_hybrid_backend.py +0 -0
  240. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/pdb/__init__.py +0 -0
  241. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/pdb/pdb.py +0 -0
  242. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/plugin/__init__.py +0 -0
  243. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/plugin/plugin.py +0 -0
  244. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/runners/__init__.py +0 -0
  245. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/runners/backends/__init__.py +0 -0
  246. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/runners/backends/backend.py +0 -0
  247. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/runners/backends/cloud.py +0 -0
  248. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/runners/backends/docker.py +0 -0
  249. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/runners/backends/mp_process.py +0 -0
  250. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/runners/cloud.py +0 -0
  251. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/runners/multiprocess.py +0 -0
  252. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/runners/runtime.py +0 -0
  253. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/runners/runtime_type.py +0 -0
  254. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/source_code/__init__.py +0 -0
  255. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/source_code/copytree.py +0 -0
  256. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/source_code/hashing.py +0 -0
  257. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/source_code/local.py +0 -0
  258. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/source_code/tar.py +0 -0
  259. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/source_code/uploader.py +0 -0
  260. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/storage/__init__.py +0 -0
  261. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/storage/copier.py +0 -0
  262. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/storage/drive.py +0 -0
  263. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/storage/filesystem.py +0 -0
  264. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/storage/mount.py +0 -0
  265. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/storage/orchestrator.py +0 -0
  266. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/storage/path.py +0 -0
  267. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/storage/payload.py +0 -0
  268. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/storage/requests.py +0 -0
  269. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/structures/__init__.py +0 -0
  270. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/structures/dict.py +0 -0
  271. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/structures/list.py +0 -0
  272. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/testing/__init__.py +0 -0
  273. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/testing/config.py +0 -0
  274. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/testing/helpers.py +0 -0
  275. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/testing/testing.py +0 -0
  276. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/ui/asset-manifest.json +0 -0
  277. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/ui/index.html +0 -0
  278. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/ui/static/css/main.fb7060be.css +0 -0
  279. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/ui/static/css/main.fb7060be.css.map +0 -0
  280. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/ui/static/favicon.ico +0 -0
  281. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/ui/static/js/787.418637a8.chunk.js +0 -0
  282. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/ui/static/js/787.418637a8.chunk.js.map +0 -0
  283. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/ui/static/js/main.c1f02aeb.js +0 -0
  284. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/ui/static/js/main.c1f02aeb.js.LICENSE.txt +0 -0
  285. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/ui/static/js/main.c1f02aeb.js.map +0 -0
  286. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/ui/static/lightningState.js +0 -0
  287. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/ui/static/manifest.json +0 -0
  288. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/ui/static/media/error.11892047d0183a4723b91dc0fb98cb95.svg +0 -0
  289. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/ui/static/media/lightning-logo-with-text.b964c8fbf221c97eb8ce52bb6e3a30d6.svg +0 -0
  290. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/ui/static/media/success.5edae4c5b171e2c1c5a3c54273c47ba8.svg +0 -0
  291. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/ui/static/media/warning.5c542673e84e77ceb6a230bfea7f7263.svg +0 -0
  292. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/ui/static/robots.txt +0 -0
  293. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/ui/version.info +0 -0
  294. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/utilities/__init__.py +0 -0
  295. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/utilities/app_commands.py +0 -0
  296. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/utilities/app_helpers.py +0 -0
  297. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/utilities/app_logs.py +0 -0
  298. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/utilities/app_status.py +0 -0
  299. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/utilities/auth.py +0 -0
  300. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/utilities/cli_helpers.py +0 -0
  301. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/utilities/cloud.py +0 -0
  302. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/utilities/clusters.py +0 -0
  303. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/utilities/commands/__init__.py +0 -0
  304. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/utilities/commands/base.py +0 -0
  305. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/utilities/component.py +0 -0
  306. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/utilities/data_structures.py +0 -0
  307. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/utilities/dependency_caching.py +0 -0
  308. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/utilities/enum.py +0 -0
  309. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/utilities/exceptions.py +0 -0
  310. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/utilities/frontend.py +0 -0
  311. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/utilities/git.py +0 -0
  312. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/utilities/imports.py +0 -0
  313. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/utilities/introspection.py +0 -0
  314. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/utilities/layout.py +0 -0
  315. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/utilities/load_app.py +0 -0
  316. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/utilities/log.py +0 -0
  317. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/utilities/log_helpers.py +0 -0
  318. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/utilities/login.py +0 -0
  319. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/utilities/logs_socket_api.py +0 -0
  320. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/utilities/name_generator.py +0 -0
  321. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/utilities/network.py +0 -0
  322. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/utilities/openapi.py +0 -0
  323. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/utilities/packaging/__init__.py +0 -0
  324. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/utilities/packaging/app_config.py +0 -0
  325. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/utilities/packaging/build_config.py +0 -0
  326. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/utilities/packaging/cloud_compute.py +0 -0
  327. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/utilities/packaging/docker.py +0 -0
  328. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/utilities/packaging/lightning_utils.py +0 -0
  329. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/utilities/packaging/tarfile.py +0 -0
  330. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/utilities/port.py +0 -0
  331. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/utilities/proxies.py +0 -0
  332. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/utilities/redis.py +0 -0
  333. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/utilities/safe_pickle.py +0 -0
  334. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/utilities/scheduler.py +0 -0
  335. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/utilities/secrets.py +0 -0
  336. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/utilities/state.py +0 -0
  337. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/utilities/tracer.py +0 -0
  338. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/utilities/tree.py +0 -0
  339. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/utilities/types.py +0 -0
  340. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/app/utilities/warnings.py +0 -0
  341. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/data/__init__.py +0 -0
  342. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/fabric/__init__.py +0 -0
  343. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/fabric/_graveyard/__init__.py +0 -0
  344. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/fabric/_graveyard/tpu.py +0 -0
  345. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/fabric/accelerators/__init__.py +0 -0
  346. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/fabric/accelerators/accelerator.py +0 -0
  347. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/fabric/accelerators/cpu.py +0 -0
  348. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/fabric/accelerators/mps.py +0 -0
  349. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/fabric/accelerators/registry.py +0 -0
  350. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/fabric/accelerators/xla.py +0 -0
  351. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/fabric/cli.py +0 -0
  352. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/fabric/connector.py +0 -0
  353. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/fabric/loggers/__init__.py +0 -0
  354. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/fabric/loggers/csv_logs.py +0 -0
  355. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/fabric/loggers/logger.py +0 -0
  356. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/fabric/loggers/tensorboard.py +0 -0
  357. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/fabric/plugins/__init__.py +0 -0
  358. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/fabric/plugins/collectives/__init__.py +0 -0
  359. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/fabric/plugins/collectives/collective.py +0 -0
  360. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/fabric/plugins/collectives/single_device.py +0 -0
  361. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/fabric/plugins/collectives/torch_collective.py +0 -0
  362. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/fabric/plugins/environments/__init__.py +0 -0
  363. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/fabric/plugins/environments/cluster_environment.py +0 -0
  364. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/fabric/plugins/environments/kubeflow.py +0 -0
  365. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/fabric/plugins/environments/lightning.py +0 -0
  366. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/fabric/plugins/environments/lsf.py +0 -0
  367. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/fabric/plugins/environments/mpi.py +0 -0
  368. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/fabric/plugins/environments/slurm.py +0 -0
  369. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/fabric/plugins/environments/torchelastic.py +0 -0
  370. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/fabric/plugins/environments/xla.py +0 -0
  371. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/fabric/plugins/io/__init__.py +0 -0
  372. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/fabric/plugins/io/checkpoint_io.py +0 -0
  373. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/fabric/plugins/io/torch_io.py +0 -0
  374. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/fabric/plugins/io/xla.py +0 -0
  375. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/fabric/plugins/precision/__init__.py +0 -0
  376. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/fabric/plugins/precision/bitsandbytes.py +0 -0
  377. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/fabric/plugins/precision/deepspeed.py +0 -0
  378. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/fabric/plugins/precision/double.py +0 -0
  379. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/fabric/plugins/precision/half.py +0 -0
  380. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/fabric/plugins/precision/precision.py +0 -0
  381. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/fabric/plugins/precision/transformer_engine.py +0 -0
  382. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/fabric/plugins/precision/utils.py +0 -0
  383. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/fabric/plugins/precision/xla.py +0 -0
  384. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/fabric/strategies/__init__.py +0 -0
  385. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/fabric/strategies/ddp.py +0 -0
  386. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/fabric/strategies/deepspeed.py +0 -0
  387. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/fabric/strategies/dp.py +0 -0
  388. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/fabric/strategies/launchers/__init__.py +0 -0
  389. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/fabric/strategies/launchers/launcher.py +0 -0
  390. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/fabric/strategies/launchers/multiprocessing.py +0 -0
  391. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/fabric/strategies/launchers/subprocess_script.py +0 -0
  392. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/fabric/strategies/launchers/xla.py +0 -0
  393. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/fabric/strategies/parallel.py +0 -0
  394. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/fabric/strategies/registry.py +0 -0
  395. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/fabric/strategies/single_device.py +0 -0
  396. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/fabric/strategies/single_xla.py +0 -0
  397. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/fabric/strategies/xla.py +0 -0
  398. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/fabric/utilities/__init__.py +0 -0
  399. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/fabric/utilities/apply_func.py +0 -0
  400. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/fabric/utilities/cloud_io.py +0 -0
  401. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/fabric/utilities/consolidate_checkpoint.py +0 -0
  402. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/fabric/utilities/data.py +0 -0
  403. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/fabric/utilities/device_dtype_mixin.py +0 -0
  404. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/fabric/utilities/device_parser.py +0 -0
  405. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/fabric/utilities/distributed.py +0 -0
  406. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/fabric/utilities/enums.py +0 -0
  407. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/fabric/utilities/exceptions.py +0 -0
  408. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/fabric/utilities/init.py +0 -0
  409. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/fabric/utilities/optimizer.py +0 -0
  410. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/fabric/utilities/rank_zero.py +0 -0
  411. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/fabric/utilities/registry.py +0 -0
  412. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/fabric/utilities/seed.py +0 -0
  413. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/fabric/utilities/spike.py +0 -0
  414. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/fabric/utilities/testing/__init__.py +0 -0
  415. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/fabric/utilities/throughput.py +0 -0
  416. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/fabric/utilities/warnings.py +0 -0
  417. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/py.typed +0 -0
  418. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/pytorch/__init__.py +0 -0
  419. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/pytorch/_graveyard/__init__.py +0 -0
  420. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/pytorch/_graveyard/_torchmetrics.py +0 -0
  421. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/pytorch/_graveyard/hpu.py +0 -0
  422. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/pytorch/_graveyard/precision.py +0 -0
  423. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/pytorch/_graveyard/tpu.py +0 -0
  424. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/pytorch/accelerators/__init__.py +0 -0
  425. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/pytorch/accelerators/accelerator.py +0 -0
  426. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/pytorch/accelerators/cpu.py +0 -0
  427. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/pytorch/accelerators/cuda.py +0 -0
  428. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/pytorch/accelerators/mps.py +0 -0
  429. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/pytorch/accelerators/xla.py +0 -0
  430. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/pytorch/callbacks/__init__.py +0 -0
  431. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/pytorch/callbacks/batch_size_finder.py +0 -0
  432. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/pytorch/callbacks/callback.py +0 -0
  433. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/pytorch/callbacks/checkpoint.py +0 -0
  434. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/pytorch/callbacks/device_stats_monitor.py +0 -0
  435. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/pytorch/callbacks/early_stopping.py +0 -0
  436. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/pytorch/callbacks/finetuning.py +0 -0
  437. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/pytorch/callbacks/gradient_accumulation_scheduler.py +0 -0
  438. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/pytorch/callbacks/lambda_function.py +0 -0
  439. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/pytorch/callbacks/lr_finder.py +0 -0
  440. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/pytorch/callbacks/lr_monitor.py +0 -0
  441. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/pytorch/callbacks/model_checkpoint.py +0 -0
  442. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/pytorch/callbacks/model_summary.py +0 -0
  443. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/pytorch/callbacks/on_exception_checkpoint.py +0 -0
  444. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/pytorch/callbacks/prediction_writer.py +0 -0
  445. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/pytorch/callbacks/progress/__init__.py +0 -0
  446. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/pytorch/callbacks/progress/progress_bar.py +0 -0
  447. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/pytorch/callbacks/progress/rich_progress.py +0 -0
  448. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/pytorch/callbacks/progress/tqdm_progress.py +0 -0
  449. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/pytorch/callbacks/pruning.py +0 -0
  450. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/pytorch/callbacks/rich_model_summary.py +0 -0
  451. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/pytorch/callbacks/spike.py +0 -0
  452. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/pytorch/callbacks/throughput_monitor.py +0 -0
  453. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/pytorch/callbacks/timer.py +0 -0
  454. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/pytorch/core/__init__.py +0 -0
  455. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/pytorch/core/datamodule.py +0 -0
  456. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/pytorch/core/mixins/__init__.py +0 -0
  457. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/pytorch/core/mixins/hparams_mixin.py +0 -0
  458. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/pytorch/core/saving.py +0 -0
  459. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/pytorch/demos/__init__.py +0 -0
  460. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/pytorch/demos/mnist_datamodule.py +0 -0
  461. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/pytorch/demos/transformer.py +0 -0
  462. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/pytorch/loggers/__init__.py +0 -0
  463. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/pytorch/loggers/comet.py +0 -0
  464. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/pytorch/loggers/csv_logs.py +0 -0
  465. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/pytorch/loggers/logger.py +0 -0
  466. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/pytorch/loggers/mlflow.py +0 -0
  467. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/pytorch/loggers/neptune.py +0 -0
  468. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/pytorch/loggers/tensorboard.py +0 -0
  469. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/pytorch/loggers/utilities.py +0 -0
  470. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/pytorch/loops/__init__.py +0 -0
  471. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/pytorch/loops/evaluation_loop.py +0 -0
  472. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/pytorch/loops/fetchers.py +0 -0
  473. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/pytorch/loops/fit_loop.py +0 -0
  474. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/pytorch/loops/loop.py +0 -0
  475. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/pytorch/loops/optimization/__init__.py +0 -0
  476. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/pytorch/loops/optimization/automatic.py +0 -0
  477. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/pytorch/loops/optimization/closure.py +0 -0
  478. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/pytorch/loops/optimization/manual.py +0 -0
  479. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/pytorch/loops/prediction_loop.py +0 -0
  480. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/pytorch/loops/progress.py +0 -0
  481. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/pytorch/loops/training_epoch_loop.py +0 -0
  482. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/pytorch/loops/utilities.py +0 -0
  483. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/pytorch/overrides/__init__.py +0 -0
  484. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/pytorch/overrides/distributed.py +0 -0
  485. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/pytorch/plugins/__init__.py +0 -0
  486. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/pytorch/plugins/environments/__init__.py +0 -0
  487. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/pytorch/plugins/io/__init__.py +0 -0
  488. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/pytorch/plugins/io/async_plugin.py +0 -0
  489. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/pytorch/plugins/io/checkpoint_plugin.py +0 -0
  490. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/pytorch/plugins/io/torch_plugin.py +0 -0
  491. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/pytorch/plugins/io/wrapper.py +0 -0
  492. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/pytorch/plugins/io/xla_plugin.py +0 -0
  493. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/pytorch/plugins/layer_sync.py +0 -0
  494. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/pytorch/plugins/precision/__init__.py +0 -0
  495. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/pytorch/plugins/precision/bitsandbytes.py +0 -0
  496. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/pytorch/plugins/precision/deepspeed.py +0 -0
  497. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/pytorch/plugins/precision/double.py +0 -0
  498. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/pytorch/plugins/precision/half.py +0 -0
  499. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/pytorch/plugins/precision/precision.py +0 -0
  500. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/pytorch/plugins/precision/transformer_engine.py +0 -0
  501. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/pytorch/plugins/precision/xla.py +0 -0
  502. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/pytorch/profilers/__init__.py +0 -0
  503. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/pytorch/profilers/advanced.py +0 -0
  504. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/pytorch/profilers/base.py +0 -0
  505. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/pytorch/profilers/profiler.py +0 -0
  506. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/pytorch/profilers/pytorch.py +0 -0
  507. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/pytorch/profilers/simple.py +0 -0
  508. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/pytorch/profilers/xla.py +0 -0
  509. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/pytorch/serve/__init__.py +0 -0
  510. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/pytorch/serve/servable_module.py +0 -0
  511. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/pytorch/serve/servable_module_validator.py +0 -0
  512. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/pytorch/strategies/__init__.py +0 -0
  513. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/pytorch/strategies/ddp.py +0 -0
  514. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/pytorch/strategies/launchers/__init__.py +0 -0
  515. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/pytorch/strategies/launchers/launcher.py +0 -0
  516. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/pytorch/strategies/launchers/multiprocessing.py +0 -0
  517. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/pytorch/strategies/launchers/subprocess_script.py +0 -0
  518. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/pytorch/strategies/launchers/xla.py +0 -0
  519. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/pytorch/strategies/parallel.py +0 -0
  520. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/pytorch/strategies/single_device.py +0 -0
  521. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/pytorch/strategies/single_xla.py +0 -0
  522. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/pytorch/strategies/xla.py +0 -0
  523. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/pytorch/trainer/__init__.py +0 -0
  524. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/pytorch/trainer/call.py +0 -0
  525. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/pytorch/trainer/configuration_validator.py +0 -0
  526. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/pytorch/trainer/connectors/__init__.py +0 -0
  527. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/pytorch/trainer/connectors/callback_connector.py +0 -0
  528. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/pytorch/trainer/connectors/checkpoint_connector.py +0 -0
  529. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/pytorch/trainer/connectors/data_connector.py +0 -0
  530. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/pytorch/trainer/connectors/logger_connector/__init__.py +0 -0
  531. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/pytorch/trainer/connectors/logger_connector/fx_validator.py +0 -0
  532. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/pytorch/trainer/connectors/logger_connector/logger_connector.py +0 -0
  533. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/pytorch/trainer/connectors/signal_connector.py +0 -0
  534. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/pytorch/trainer/setup.py +0 -0
  535. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/pytorch/trainer/states.py +0 -0
  536. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/pytorch/tuner/__init__.py +0 -0
  537. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/pytorch/tuner/batch_size_scaling.py +0 -0
  538. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/pytorch/tuner/tuning.py +0 -0
  539. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/pytorch/utilities/__init__.py +0 -0
  540. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/pytorch/utilities/_pytree.py +0 -0
  541. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/pytorch/utilities/argparse.py +0 -0
  542. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/pytorch/utilities/combined_loader.py +0 -0
  543. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/pytorch/utilities/consolidate_checkpoint.py +0 -0
  544. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/pytorch/utilities/data.py +0 -0
  545. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/pytorch/utilities/deepspeed.py +0 -0
  546. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/pytorch/utilities/enums.py +0 -0
  547. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/pytorch/utilities/exceptions.py +0 -0
  548. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/pytorch/utilities/grads.py +0 -0
  549. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/pytorch/utilities/imports.py +0 -0
  550. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/pytorch/utilities/memory.py +0 -0
  551. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/pytorch/utilities/migration/__init__.py +0 -0
  552. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/pytorch/utilities/migration/migration.py +0 -0
  553. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/pytorch/utilities/migration/utils.py +0 -0
  554. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/pytorch/utilities/model_helpers.py +0 -0
  555. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/pytorch/utilities/model_summary/__init__.py +0 -0
  556. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/pytorch/utilities/model_summary/model_summary_deepspeed.py +0 -0
  557. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/pytorch/utilities/parameter_tying.py +0 -0
  558. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/pytorch/utilities/parsing.py +0 -0
  559. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/pytorch/utilities/rank_zero.py +0 -0
  560. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/pytorch/utilities/seed.py +0 -0
  561. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/pytorch/utilities/signature_utils.py +0 -0
  562. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/pytorch/utilities/testing/__init__.py +0 -0
  563. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/pytorch/utilities/upgrade_checkpoint.py +0 -0
  564. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/pytorch/utilities/warnings.py +0 -0
  565. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/store/__init__.py +0 -0
  566. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/store/store.py +0 -0
  567. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning/store/utils.py +0 -0
  568. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning.egg-info/dependency_links.txt +0 -0
  569. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning.egg-info/entry_points.txt +0 -0
  570. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning.egg-info/not-zip-safe +0 -0
  571. {lightning-2.3.0.dev20240414 → lightning-2.3.0.dev20240428}/src/lightning.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: lightning
3
- Version: 2.3.0.dev20240414
3
+ Version: 2.3.0.dev20240428
4
4
  Summary: The Deep Learning framework to train, deploy, and ship AI products Lightning fast.
5
5
  Home-page: https://github.com/Lightning-AI/lightning
6
6
  Author: Lightning AI et al.
@@ -27,18 +27,18 @@ Classifier: Programming Language :: Python :: 3.10
27
27
  Classifier: Programming Language :: Python :: 3.11
28
28
  Requires-Python: >=3.8
29
29
  Description-Content-Type: text/markdown
30
+ Provides-Extra: app-components
31
+ Provides-Extra: app-cloud
32
+ Provides-Extra: app-ui
33
+ Provides-Extra: app-test
30
34
  Provides-Extra: store-test
31
- Provides-Extra: fabric-strategies
32
- Provides-Extra: fabric-examples
33
- Provides-Extra: fabric-test
34
35
  Provides-Extra: pytorch-strategies
35
- Provides-Extra: pytorch-examples
36
36
  Provides-Extra: pytorch-test
37
37
  Provides-Extra: pytorch-extra
38
- Provides-Extra: app-cloud
39
- Provides-Extra: app-ui
40
- Provides-Extra: app-components
41
- Provides-Extra: app-test
38
+ Provides-Extra: pytorch-examples
39
+ Provides-Extra: fabric-strategies
40
+ Provides-Extra: fabric-test
41
+ Provides-Extra: fabric-examples
42
42
  Provides-Extra: fabric-all
43
43
  Provides-Extra: fabric-dev
44
44
  Provides-Extra: pytorch-all
@@ -46,15 +46,15 @@ Provides-Extra: pytorch-dev
46
46
  Provides-Extra: app-extra
47
47
  Provides-Extra: app-all
48
48
  Provides-Extra: app-dev
49
+ Provides-Extra: components
50
+ Provides-Extra: cloud
51
+ Provides-Extra: ui
52
+ Provides-Extra: app
49
53
  Provides-Extra: test
50
- Provides-Extra: data
51
54
  Provides-Extra: strategies
52
- Provides-Extra: examples
53
55
  Provides-Extra: extra
54
- Provides-Extra: cloud
55
- Provides-Extra: app
56
- Provides-Extra: ui
57
- Provides-Extra: components
56
+ Provides-Extra: examples
57
+ Provides-Extra: data
58
58
  Provides-Extra: all
59
59
  Provides-Extra: dev
60
60
  Provides-Extra: store
@@ -78,7 +78,7 @@ ______________________________________________________________________
78
78
  <a href="https://lightning.ai/docs/pytorch/stable/">PyTorch Lightning</a> •
79
79
  <a href="https://lightning.ai/docs/fabric/stable/">Fabric</a> •
80
80
  <a href="https://lightning.ai/docs/app/stable/">Lightning Apps</a> •
81
- <a href="https://pytorch-lightning.readthedocs.io/en/2.3.0.dev20240414">Docs</a> •
81
+ <a href="https://pytorch-lightning.readthedocs.io/en/2.3.0.dev20240428">Docs</a> •
82
82
  <a href="#community">Community</a> •
83
83
  <a href="https://lightning.ai/docs/pytorch/stable/generated/CONTRIBUTING.html">Contribute</a> •
84
84
  </p>
@@ -623,7 +623,7 @@ Lightning is rigorously tested across multiple CPUs, GPUs and TPUs and against m
623
623
 
624
624
  | System / PyTorch ver. | 1.13 | 2.0 | 2.1 |
625
625
  | :--------------------------------: | :-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: | :-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: |:-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------:|
626
- | Linux py3.9 \[GPUs\] | | | [![Build Status](https://dev.azure.com/Lightning-AI/lightning/_apis/build/status%2Fpytorch-lightning%20%28GPUs%29?branchName=refs%2Ftags%2F2.3.0.dev20240414)](https://dev.azure.com/Lightning-AI/lightning/_build/latest?definitionId=24&branchName=master) |
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.dev20240428)](https://dev.azure.com/Lightning-AI/lightning/_build/latest?definitionId=24&branchName=master) |
627
627
  | 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
628
  | 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
629
  | 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) |
@@ -1,4 +1,4 @@
1
- lightning-cloud == 0.5.65 # Must be pinned to ensure compatibility
1
+ lightning-cloud == 0.5.67 # Must be pinned to ensure compatibility
2
2
  packaging
3
3
  typing-extensions >=4.4.0, <4.10.0
4
4
  deepdiff >=5.7.0, <6.6.0
@@ -3,7 +3,7 @@ fsspec[http]<2024.0,>=2022.5.0
3
3
  lightning-utilities<1.0,>=0.8.0
4
4
  numpy<2.0,>=1.17.2
5
5
  packaging<24.0,>=20.0
6
- torch<3.0,>=1.13.0
6
+ torch<3.0,>=2.0.0
7
7
  torchmetrics<2.0,>=0.7.0
8
8
  tqdm<5.0,>=4.57.0
9
9
  typing-extensions<5.0,>=4.4.0
@@ -2,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
  numpy >=1.17.2, <1.27.0
5
- torch >=1.13.0, <2.3.0
5
+ torch >=2.0.0, <2.3.0
6
6
  fsspec[http] >=2022.5.0, <2023.11.0
7
7
  packaging >=20.0, <=23.1
8
8
  typing-extensions >=4.4.0, <4.10.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.14.0, <0.18.0
4
+ torchvision >=0.15.0, <0.18.0
5
5
  torchmetrics >=0.10.0, <1.3.0
6
6
  lightning-utilities >=0.8.0, <0.12.0
@@ -5,5 +5,5 @@
5
5
 
6
6
  # note: is a bug around 0.10 with `MPS_Accelerator must implement all abstract methods`
7
7
  # shall be resolved by https://github.com/microsoft/DeepSpeed/issues/4372
8
- deepspeed >=0.8.2, <=0.9.3; platform_system != "Windows" # strict
8
+ deepspeed >=0.8.2, <=0.9.3; platform_system != "Windows" and platform_system != "Darwin" # strict
9
9
  bitsandbytes >=0.42.0,<0.43.0
@@ -2,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
  numpy >=1.17.2, <1.27.0
5
- torch >=1.13.0, <2.3.0
5
+ torch >=2.0.0, <2.3.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, <2023.11.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.14.0, <0.18.0
5
+ torchvision >=0.15.0, <0.18.0
6
6
  gym[classic_control] >=0.17.0, <0.27.0
7
7
  ipython[all] <8.15.0
8
8
  torchmetrics >=0.10.0, <1.3.0
@@ -3,4 +3,4 @@
3
3
 
4
4
  # note: is a bug around 0.10 with `MPS_Accelerator must implement all abstract methods`
5
5
  # shall be resolved by https://github.com/microsoft/DeepSpeed/issues/4372
6
- deepspeed >=0.8.2, <=0.9.3; platform_system != "Windows" # strict
6
+ deepspeed >=0.8.2, <=0.9.3; platform_system != "Windows" and platform_system != "Darwin" # strict
@@ -39,22 +39,30 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/).
39
39
 
40
40
  ### Removed
41
41
 
42
+ - Removed support for PyTorch 1.13 ([#19706](https://github.com/Lightning-AI/lightning/pull/19706))
43
+
44
+ -
45
+
46
+ -
47
+
48
+ ### Fixed
49
+
42
50
  -
43
51
 
44
52
  -
45
53
 
46
54
  -
47
55
 
56
+
57
+ ## [2.2.2] - 2024-04-11
58
+
48
59
  ### Fixed
49
60
 
50
61
  - Fixed an issue causing a TypeError when using `torch.compile` as a decorator ([#19627](https://github.com/Lightning-AI/pytorch-lightning/pull/19627))
51
-
52
62
  - Fixed issue where some model methods couldn't be monkeypatched after being Fabric wrapped ([#19705](https://github.com/Lightning-AI/pytorch-lightning/pull/19705))
53
-
54
63
  - Fixed an issue causing weights to be reset in `Fabric.setup()` when using FSDP ([#19755](https://github.com/Lightning-AI/pytorch-lightning/pull/19755))
55
64
 
56
65
 
57
-
58
66
  ## [2.2.1] - 2024-03-04
59
67
 
60
68
  ### Fixed
@@ -0,0 +1,181 @@
1
+ # Copyright The Lightning AI team.
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+ from functools import lru_cache
15
+ from typing import List, Optional, Union
16
+
17
+ import torch
18
+ from typing_extensions import override
19
+
20
+ from lightning.fabric.accelerators.accelerator import Accelerator
21
+ from lightning.fabric.accelerators.registry import _AcceleratorRegistry
22
+ from lightning.fabric.utilities.rank_zero import rank_zero_info
23
+
24
+
25
+ class CUDAAccelerator(Accelerator):
26
+ """Accelerator for NVIDIA CUDA devices."""
27
+
28
+ @override
29
+ def setup_device(self, device: torch.device) -> None:
30
+ """
31
+ Raises:
32
+ ValueError:
33
+ If the selected device is not of type CUDA.
34
+ """
35
+ if device.type != "cuda":
36
+ raise ValueError(f"Device should be CUDA, got {device} instead.")
37
+ _check_cuda_matmul_precision(device)
38
+ torch.cuda.set_device(device)
39
+
40
+ @override
41
+ def teardown(self) -> None:
42
+ _clear_cuda_memory()
43
+
44
+ @staticmethod
45
+ @override
46
+ def parse_devices(devices: Union[int, str, List[int]]) -> Optional[List[int]]:
47
+ """Accelerator device parsing logic."""
48
+ from lightning.fabric.utilities.device_parser import _parse_gpu_ids
49
+
50
+ return _parse_gpu_ids(devices, include_cuda=True)
51
+
52
+ @staticmethod
53
+ @override
54
+ def get_parallel_devices(devices: List[int]) -> List[torch.device]:
55
+ """Gets parallel devices for the Accelerator."""
56
+ return [torch.device("cuda", i) for i in devices]
57
+
58
+ @staticmethod
59
+ @override
60
+ def auto_device_count() -> int:
61
+ """Get the devices when set to auto."""
62
+ return num_cuda_devices()
63
+
64
+ @staticmethod
65
+ @override
66
+ def is_available() -> bool:
67
+ return num_cuda_devices() > 0
68
+
69
+ @classmethod
70
+ @override
71
+ def register_accelerators(cls, accelerator_registry: _AcceleratorRegistry) -> None:
72
+ accelerator_registry.register(
73
+ "cuda",
74
+ cls,
75
+ description=cls.__name__,
76
+ )
77
+
78
+
79
+ def find_usable_cuda_devices(num_devices: int = -1) -> List[int]:
80
+ """Returns a list of all available and usable CUDA GPU devices.
81
+
82
+ A GPU is considered usable if we can successfully move a tensor to the device, and this is what this function
83
+ tests for each GPU on the system until the target number of usable devices is found.
84
+
85
+ A subset of GPUs on the system might be used by other processes, and if the GPU is configured to operate in
86
+ 'exclusive' mode (configurable by the admin), then only one process is allowed to occupy it.
87
+
88
+ Args:
89
+ num_devices: The number of devices you want to request. By default, this function will return as many as there
90
+ are usable CUDA GPU devices available.
91
+
92
+ Warning:
93
+ If multiple processes call this function at the same time, there can be race conditions in the case where
94
+ both processes determine that the device is unoccupied, leading into one of them crashing later on.
95
+
96
+ """
97
+ if num_devices == 0:
98
+ return []
99
+ visible_devices = _get_all_visible_cuda_devices()
100
+ if not visible_devices:
101
+ raise ValueError(
102
+ f"You requested to find {num_devices} devices but there are no visible CUDA devices on this machine."
103
+ )
104
+ if num_devices > len(visible_devices):
105
+ raise ValueError(
106
+ f"You requested to find {num_devices} devices but this machine only has {len(visible_devices)} GPUs."
107
+ )
108
+
109
+ available_devices = []
110
+ unavailable_devices = []
111
+
112
+ for gpu_idx in visible_devices:
113
+ try:
114
+ torch.tensor(0, device=torch.device("cuda", gpu_idx))
115
+ except RuntimeError:
116
+ unavailable_devices.append(gpu_idx)
117
+ continue
118
+
119
+ available_devices.append(gpu_idx)
120
+ if len(available_devices) == num_devices:
121
+ # exit early if we found the right number of GPUs
122
+ break
123
+
124
+ if num_devices != -1 and len(available_devices) != num_devices:
125
+ raise RuntimeError(
126
+ f"You requested to find {num_devices} devices but only {len(available_devices)} are currently available."
127
+ f" The devices {unavailable_devices} are occupied by other processes and can't be used at the moment."
128
+ )
129
+ return available_devices
130
+
131
+
132
+ def _get_all_visible_cuda_devices() -> List[int]:
133
+ """Returns a list of all visible CUDA GPU devices.
134
+
135
+ Devices masked by the environment variabale ``CUDA_VISIBLE_DEVICES`` won't be returned here. For example, assume you
136
+ have 8 physical GPUs. If ``CUDA_VISIBLE_DEVICES="1,3,6"``, then this function will return the list ``[0, 1, 2]``
137
+ because these are the three visible GPUs after applying the mask ``CUDA_VISIBLE_DEVICES``.
138
+
139
+ """
140
+ return list(range(num_cuda_devices()))
141
+
142
+
143
+ def num_cuda_devices() -> int:
144
+ """Returns the number of available CUDA devices."""
145
+ return torch.cuda.device_count()
146
+
147
+
148
+ def is_cuda_available() -> bool:
149
+ """Returns a bool indicating if CUDA is currently available."""
150
+ # We set `PYTORCH_NVML_BASED_CUDA_CHECK=1` in lightning.fabric.__init__.py
151
+ return torch.cuda.is_available()
152
+
153
+
154
+ def _is_ampere_or_later(device: Optional[torch.device] = None) -> bool:
155
+ major, _ = torch.cuda.get_device_capability(device)
156
+ return major >= 8 # Ampere and later leverage tensor cores, where this setting becomes useful
157
+
158
+
159
+ @lru_cache(1) # show the warning only ever once
160
+ def _check_cuda_matmul_precision(device: torch.device) -> None:
161
+ if not torch.cuda.is_available() or not _is_ampere_or_later(device):
162
+ return
163
+ # check that the user hasn't changed the precision already, this works for both `allow_tf32 = True` and
164
+ # `set_float32_matmul_precision`
165
+ if torch.get_float32_matmul_precision() == "highest": # default
166
+ rank_zero_info(
167
+ f"You are using a CUDA device ({torch.cuda.get_device_name(device)!r}) that has Tensor Cores. To properly"
168
+ " utilize them, you should set `torch.set_float32_matmul_precision('medium' | 'high')` which will trade-off"
169
+ " precision for performance. For more details, read https://pytorch.org/docs/stable/generated/"
170
+ "torch.set_float32_matmul_precision.html#torch.set_float32_matmul_precision"
171
+ )
172
+ # note: no need change `torch.backends.cudnn.allow_tf32` as it's enabled by default:
173
+ # https://pytorch.org/docs/stable/notes/cuda.html#tensorfloat-32-tf32-on-ampere-devices
174
+
175
+
176
+ def _clear_cuda_memory() -> None:
177
+ # strangely, the attribute function be undefined when torch.compile is used
178
+ if hasattr(torch._C, "_cuda_clearCublasWorkspaces"):
179
+ # https://github.com/pytorch/pytorch/issues/95668
180
+ torch._C._cuda_clearCublasWorkspaces()
181
+ torch.cuda.empty_cache()
@@ -51,7 +51,6 @@ from lightning.fabric.strategies import (
51
51
  FSDPStrategy,
52
52
  SingleDeviceStrategy,
53
53
  Strategy,
54
- XLAFSDPStrategy,
55
54
  XLAStrategy,
56
55
  )
57
56
  from lightning.fabric.strategies.fsdp import _has_meta_device_parameters
@@ -67,7 +66,6 @@ from lightning.fabric.utilities.data import (
67
66
  )
68
67
  from lightning.fabric.utilities.device_dtype_mixin import _update_properties
69
68
  from lightning.fabric.utilities.distributed import DistributedSamplerWrapper, _InfiniteBarrier
70
- from lightning.fabric.utilities.imports import _TORCH_GREATER_EQUAL_2_0
71
69
  from lightning.fabric.utilities.rank_zero import rank_zero_deprecation, rank_zero_warn
72
70
  from lightning.fabric.utilities.registry import _load_external_callbacks
73
71
  from lightning.fabric.utilities.seed import seed_everything
@@ -699,26 +697,14 @@ class Fabric:
699
697
 
700
698
  def init_tensor(self) -> ContextManager:
701
699
  """Tensors that you instantiate under this context manager will be created on the device right away and have
702
- the right data type depending on the precision setting in Fabric.
703
-
704
- The automatic device placement under this context manager is only supported with PyTorch 2.0 and newer.
705
-
706
- """
707
- if not _TORCH_GREATER_EQUAL_2_0 and self.device.type != "cpu":
708
- rank_zero_warn(
709
- "`Fabric.init_tensor()` can't place tensors on the device directly"
710
- " with PyTorch < 2.0. Parameters will remain on CPU until `Fabric.setup()` is called."
711
- " Upgrade to PyTorch >= 2.0 to fully utilize this feature.",
712
- category=PossibleUserWarning,
713
- )
700
+ the right data type depending on the precision setting in Fabric."""
714
701
  return self._strategy.tensor_init_context()
715
702
 
716
703
  def init_module(self, empty_init: Optional[bool] = None) -> ContextManager:
717
704
  """Instantiate the model and its parameters under this context manager to reduce peak memory usage.
718
705
 
719
706
  The parameters get created on the device and with the right data type right away without wasting memory being
720
- allocated unnecessarily. The automatic device placement under this context manager is only supported with
721
- PyTorch 2.0 and newer.
707
+ allocated unnecessarily.
722
708
 
723
709
  Args:
724
710
  empty_init: Whether to initialize the model with empty weights (uninitialized memory).
@@ -727,13 +713,6 @@ class Fabric:
727
713
 
728
714
  """
729
715
  self._validate_launched()
730
- if not _TORCH_GREATER_EQUAL_2_0 and self.device.type != "cpu":
731
- rank_zero_warn(
732
- "`Fabric.init_module()` can't place the model parameters on the device directly"
733
- " with PyTorch < 2.0. Parameters will remain on CPU until `Fabric.setup()` is called."
734
- " Upgrade to PyTorch >= 2.0 to fully utilize this feature.",
735
- category=PossibleUserWarning,
736
- )
737
716
  return self._strategy.module_init_context(empty_init=empty_init)
738
717
 
739
718
  def save(
@@ -1036,12 +1015,6 @@ class Fabric:
1036
1015
  if any(isinstance(opt, _FabricOptimizer) for opt in optimizers):
1037
1016
  raise ValueError("An optimizer should be passed only once to the `setup` method.")
1038
1017
 
1039
- if isinstance(self._strategy, (FSDPStrategy, XLAFSDPStrategy)) and not _TORCH_GREATER_EQUAL_2_0:
1040
- raise RuntimeError(
1041
- f"The `{type(self).__name__}` requires the model and optimizer(s) to be set up separately."
1042
- " Create and set up the model first through `model = self.setup_module(model)`. Then create the"
1043
- " optimizer and set it up: `optimizer = self.setup_optimizer(optimizer)`."
1044
- )
1045
1018
  if isinstance(self._strategy, FSDPStrategy) and any(
1046
1019
  _has_meta_device_parameters(optimizer) for optimizer in optimizers
1047
1020
  ):
@@ -20,7 +20,6 @@ from torch.nn import Module
20
20
  from torch.optim import LBFGS, Optimizer
21
21
  from typing_extensions import override
22
22
 
23
- from lightning.fabric.accelerators.cuda import _patch_cuda_is_available
24
23
  from lightning.fabric.plugins.precision.precision import Precision
25
24
  from lightning.fabric.plugins.precision.utils import _convert_fp_tensor
26
25
  from lightning.fabric.utilities.types import Optimizable
@@ -50,9 +49,7 @@ class MixedPrecision(Precision):
50
49
 
51
50
  self.precision = precision
52
51
  if scaler is None and self.precision == "16-mixed":
53
- with _patch_cuda_is_available():
54
- # if possible, we defer CUDA initialization to support strategies that will attempt forks
55
- scaler = torch.cuda.amp.GradScaler()
52
+ scaler = torch.cuda.amp.GradScaler()
56
53
  if scaler is not None and self.precision == "bf16-mixed":
57
54
  raise ValueError(f"`precision='bf16-mixed'` does not use a scaler, found {scaler}.")
58
55
  self.device = device
@@ -23,7 +23,6 @@ from typing_extensions import get_args, override
23
23
  from lightning.fabric.plugins.precision.amp import _optimizer_handles_unscaling
24
24
  from lightning.fabric.plugins.precision.precision import Precision
25
25
  from lightning.fabric.plugins.precision.utils import _convert_fp_tensor, _DtypeContextManager
26
- from lightning.fabric.utilities.imports import _TORCH_GREATER_EQUAL_2_0
27
26
  from lightning.fabric.utilities.types import Optimizable
28
27
 
29
28
  if TYPE_CHECKING:
@@ -78,21 +77,18 @@ class FSDPPrecision(Precision):
78
77
  def mixed_precision_config(self) -> "TorchMixedPrecision":
79
78
  from torch.distributed.fsdp.fully_sharded_data_parallel import MixedPrecision as TorchMixedPrecision
80
79
 
81
- # With PyTorch < 2.0, FSDP uses the noneness of `param_dtype` as a proxy for the `_uses_param_mixed_precision`
82
- # property. In order to avoid FSDP assertion failures, we therefore avoid setting `param_dtype` to
83
- # `torch.float32` here with PyTorch < 2.0.
84
80
  if self.precision == "16-mixed":
85
- param_dtype = None if not _TORCH_GREATER_EQUAL_2_0 else torch.float32
81
+ param_dtype = torch.float32
86
82
  reduce_dtype = buffer_dtype = torch.float16
87
83
  elif self.precision == "bf16-mixed":
88
- param_dtype = None if not _TORCH_GREATER_EQUAL_2_0 else torch.float32
84
+ param_dtype = torch.float32
89
85
  reduce_dtype = buffer_dtype = torch.bfloat16
90
86
  elif self.precision == "16-true":
91
87
  param_dtype = reduce_dtype = buffer_dtype = torch.float16
92
88
  elif self.precision == "bf16-true":
93
89
  param_dtype = reduce_dtype = buffer_dtype = torch.bfloat16
94
90
  elif self.precision == "32-true":
95
- param_dtype = None if not _TORCH_GREATER_EQUAL_2_0 else torch.float32
91
+ param_dtype = torch.float32
96
92
  reduce_dtype = buffer_dtype = torch.float32
97
93
  else:
98
94
  raise ValueError(f"Was unable to infer precision type, received {self.precision!r}.")
@@ -63,7 +63,6 @@ from lightning.fabric.utilities.distributed import (
63
63
  )
64
64
  from lightning.fabric.utilities.distributed import group as _group
65
65
  from lightning.fabric.utilities.imports import (
66
- _TORCH_GREATER_EQUAL_2_0,
67
66
  _TORCH_GREATER_EQUAL_2_1,
68
67
  _TORCH_GREATER_EQUAL_2_2,
69
68
  _TORCH_GREATER_EQUAL_2_3,
@@ -76,14 +75,9 @@ from lightning.fabric.utilities.types import _PATH, _Stateful
76
75
 
77
76
  if TYPE_CHECKING:
78
77
  from torch.distributed.fsdp.fully_sharded_data_parallel import CPUOffload, MixedPrecision, ShardingStrategy
78
+ from torch.distributed.fsdp.wrap import ModuleWrapPolicy
79
79
 
80
- if _TORCH_GREATER_EQUAL_2_0:
81
- from torch.distributed.fsdp.wrap import ModuleWrapPolicy
82
-
83
- _POLICY = Union[Set[Type[Module]], Callable[[Module, bool, int], bool], ModuleWrapPolicy]
84
- else:
85
- _POLICY = Union[Set[Type[Module]], Callable[[Module, bool, int], bool]] # type: ignore[misc]
86
-
80
+ _POLICY = Union[Set[Type[Module]], Callable[[Module, bool, int], bool], ModuleWrapPolicy]
87
81
  _SHARDING_STRATEGY = Union[ShardingStrategy, Literal["FULL_SHARD", "SHARD_GRAD_OP", "NO_SHARD", "HYBRID_SHARD"]]
88
82
 
89
83
  _FSDP_ALIASES = ("fsdp", "fsdp_cpu_offload")
@@ -168,9 +162,8 @@ class FSDPStrategy(ParallelStrategy, _Sharded):
168
162
  self._backward_sync_control = _FSDPBackwardSyncControl()
169
163
  self._fsdp_kwargs = _auto_wrap_policy_kwargs(auto_wrap_policy, kwargs)
170
164
 
171
- if _TORCH_GREATER_EQUAL_2_0:
172
- # Enables joint setup of model and optimizer, multiple optimizer param groups, and `torch.compile()`
173
- self._fsdp_kwargs.setdefault("use_orig_params", True)
165
+ # Enables joint setup of model and optimizer, multiple optimizer param groups, and `torch.compile()`
166
+ self._fsdp_kwargs.setdefault("use_orig_params", True)
174
167
 
175
168
  self._activation_checkpointing_kwargs = _activation_checkpointing_kwargs(
176
169
  activation_checkpointing, activation_checkpointing_policy
@@ -259,12 +252,6 @@ class FSDPStrategy(ParallelStrategy, _Sharded):
259
252
  ) -> Tuple[Module, List[Optimizer]]:
260
253
  """Wraps the model into a :class:`~torch.distributed.fsdp.fully_sharded_data_parallel.FullyShardedDataParallel`
261
254
  module and sets `use_orig_params=True` to keep the reference to the original parameters in the optimizer."""
262
- if not _TORCH_GREATER_EQUAL_2_0:
263
- raise NotImplementedError(
264
- f"The `{type(self).__name__}` does not support the joint setup of module and optimizer(s)."
265
- " Please do it in this order: Create the model, call `setup_module`, create the optimizer,"
266
- " call `setup_optimizer`."
267
- )
268
255
  use_orig_params = self._fsdp_kwargs.get("use_orig_params")
269
256
  if use_orig_params is False:
270
257
  raise ValueError(
@@ -428,11 +415,6 @@ class FSDPStrategy(ParallelStrategy, _Sharded):
428
415
  creates a metadata file `meta.pt` with the rest of the user's state (only saved from rank 0).
429
416
 
430
417
  """
431
- if not _TORCH_GREATER_EQUAL_2_0:
432
- raise NotImplementedError(
433
- "Saving and loading checkpoints with the `FSDPStrategy` is not supported in PyTorch < 2.0."
434
- " Please upgrade `torch` or file an issue: `https://github.com/Lightning-AI/lightning/issues`."
435
- )
436
418
  if storage_options is not None:
437
419
  raise TypeError(
438
420
  "`FSDPStrategy.save_checkpoint(..., storage_options=...)` is not supported because"
@@ -530,11 +512,6 @@ class FSDPStrategy(ParallelStrategy, _Sharded):
530
512
  directory of multiple files rather than a single file.
531
513
 
532
514
  """
533
- if not _TORCH_GREATER_EQUAL_2_0:
534
- raise NotImplementedError(
535
- "Saving and loading checkpoints with the `FSDPStrategy` is not supported in PyTorch < 2.0."
536
- " Please upgrade `torch` or file an issue: `https://github.com/Lightning-AI/lightning/issues`."
537
- )
538
515
  if not state:
539
516
  raise ValueError(
540
517
  f"Got FSDPStrategy.load_checkpoint(..., state={state!r}) but a state with at least "
@@ -614,16 +591,15 @@ class FSDPStrategy(ParallelStrategy, _Sharded):
614
591
  return metadata
615
592
 
616
593
  if _is_full_checkpoint(path):
617
- checkpoint = _lazy_load(path) if _TORCH_GREATER_EQUAL_2_0 else torch.load(path, map_location="cpu")
594
+ checkpoint = _lazy_load(path)
618
595
  _load_raw_module_state(checkpoint.pop(module_key), module=module, world_size=self.world_size, strict=strict)
619
596
 
620
597
  if isinstance(state, Module):
621
598
  return {}
622
599
 
623
- if _TORCH_GREATER_EQUAL_2_0:
624
- # Materialize lazy tensors if there are any left in the checkpoint
625
- # The `torch.Optimizer.load_state_dict` method can't load lazy tensors because of deepcopy pickle issues
626
- checkpoint = _materialize_tensors(checkpoint)
600
+ # Materialize lazy tensors if there are any left in the checkpoint
601
+ # The `torch.Optimizer.load_state_dict` method can't load lazy tensors because of deepcopy pickle issues
602
+ checkpoint = _materialize_tensors(checkpoint)
627
603
 
628
604
  # Load optimizer states
629
605
  for optim_key, optim in optimizers.items():
@@ -840,27 +816,20 @@ def _get_full_state_dict_context(
840
816
  ) -> Generator[None, None, None]:
841
817
  from torch.distributed.fsdp import FullStateDictConfig, StateDictType
842
818
  from torch.distributed.fsdp import FullyShardedDataParallel as FSDP
819
+ from torch.distributed.fsdp.api import FullOptimStateDictConfig
843
820
 
844
- # In PyTorch <= 2.0, offload to CPU in combination with `world_size=1` is not possible
821
+ # In PyTorch < 2.1, offload to CPU in combination with `world_size=1` is not possible
845
822
  offload_to_cpu = world_size > 1 or _TORCH_GREATER_EQUAL_2_1
846
823
  state_dict_config = FullStateDictConfig(offload_to_cpu=offload_to_cpu, rank0_only=rank0_only)
847
824
 
848
- if _TORCH_GREATER_EQUAL_2_0:
849
- from torch.distributed.fsdp.api import FullOptimStateDictConfig
825
+ optim_state_dict_config = FullOptimStateDictConfig(offload_to_cpu=offload_to_cpu, rank0_only=rank0_only)
826
+ state_dict_type_context = FSDP.state_dict_type(
827
+ module=module,
828
+ state_dict_type=StateDictType.FULL_STATE_DICT,
829
+ state_dict_config=state_dict_config,
830
+ optim_state_dict_config=optim_state_dict_config,
831
+ )
850
832
 
851
- optim_state_dict_config = FullOptimStateDictConfig(offload_to_cpu=offload_to_cpu, rank0_only=rank0_only)
852
- state_dict_type_context = FSDP.state_dict_type(
853
- module=module,
854
- state_dict_type=StateDictType.FULL_STATE_DICT,
855
- state_dict_config=state_dict_config,
856
- optim_state_dict_config=optim_state_dict_config,
857
- )
858
- else:
859
- state_dict_type_context = FSDP.state_dict_type(
860
- module=module,
861
- state_dict_type=StateDictType.FULL_STATE_DICT,
862
- state_dict_config=state_dict_config,
863
- )
864
833
  return state_dict_type_context # type: ignore[return-value]
865
834
 
866
835
 
@@ -29,7 +29,6 @@ from lightning.fabric.plugins.precision import Precision
29
29
  from lightning.fabric.strategies.launchers.launcher import _Launcher
30
30
  from lightning.fabric.strategies.registry import _StrategyRegistry
31
31
  from lightning.fabric.utilities.apply_func import move_data_to_device
32
- from lightning.fabric.utilities.imports import _TORCH_GREATER_EQUAL_2_0
33
32
  from lightning.fabric.utilities.init import _EmptyInit
34
33
  from lightning.fabric.utilities.types import _PATH, Optimizable, ReduceOp, _Stateful
35
34
 
@@ -122,8 +121,7 @@ class Strategy(ABC):
122
121
  """Controls how tensors get created (device, dtype)."""
123
122
  precision_init_ctx = self.precision.tensor_init_context()
124
123
  stack = ExitStack()
125
- if _TORCH_GREATER_EQUAL_2_0:
126
- stack.enter_context(self.root_device)
124
+ stack.enter_context(self.root_device)
127
125
  stack.enter_context(precision_init_ctx)
128
126
  return stack
129
127
 
@@ -140,8 +138,7 @@ class Strategy(ABC):
140
138
  """
141
139
  precision_module_ctx = self.precision.module_init_context()
142
140
  stack = ExitStack()
143
- if _TORCH_GREATER_EQUAL_2_0:
144
- stack.enter_context(self.root_device)
141
+ stack.enter_context(self.root_device)
145
142
  stack.enter_context(_EmptyInit(enabled=bool(empty_init)))
146
143
  stack.enter_context(precision_module_ctx)
147
144
  return stack