App
Added
- Add
code_dir
argument to tracer run (#15771) - Added the CLI command
lightning run model
to launch aLightningLite
accelerated script (#15506) - Added the CLI command
lightning delete app
to delete a lightning app on the cloud (#15783) - Added a CloudMultiProcessBackend which enables running a child App from within the Flow in the cloud (#15800)
- Utility for pickling work object safely even from a child process (#15836)
- Added
AutoScaler
component (#15769) - Added the property
ready
of the LightningFlow to inform when theOpen App
should be visible (#15921) - Added private work attributed
_start_method
to customize how to start the works (#15923) - Added a
configure_layout
method to theLightningWork
which can be used to control how the work is handled in the layout of a parent flow (#15926) - Added the ability to run a Lightning App or Component directly from the Gallery using
lightning run app organization/name
(#15941) - Added automatic conversion of list and dict of works and flows to structures (#15961)
Changed
- The
MultiNode
components now warn the user when running withnum_nodes > 1
locally (#15806) - Cluster creation and deletion now waits by default [#15458
- Running an app without a UI locally no longer opens the browser (#15875)
- Show a message when
BuildConfig(requirements=[...])
is passed but arequirements.txt
file is already present in the Work (#15799) - Show a message when
BuildConfig(dockerfile="...")
is passed but aDockerfile
file is already present in the Work (#15799) - Dropped name column from cluster list (#15721)
- Apps without UIs no longer activate the "Open App" button when running in the cloud (#15875)
- Wait for full file to be transferred in Path / Payload (#15934)
Removed
- Removed the
SingleProcessRuntime
(#15933)
Fixed
- Fixed SSH CLI command listing stopped components (#15810)
- Fixed bug when launching apps on multiple clusters (#15484)
- Fixed Sigterm Handler causing thread lock which caused KeyboardInterrupt to hang (#15881)
- Fixed MPS error for multinode component (defaults to cpu on mps devices now as distributed operations are not supported by pytorch on mps) (#15748)
- Fixed the work not stopped when successful when passed directly to the LightningApp (#15801)
- Fixed the PyTorch Inference locally on GPU (#15813)
- Fixed the
enable_spawn
method of theWorkRunExecutor
(#15812) - Fixed require/import decorator (#15849)
- Fixed a bug where using
L.app.structures
would cause multiple apps to be opened and fail with an error in the cloud (#15911) - Fixed PythonServer generating noise on M1 (#15949)
- Fixed multiprocessing breakpoint (#15950)
- Fixed detection of a Lightning App running in debug mode (#15951)
- Fixed
ImportError
on Multinode if package not present (#15963)
Lite
- Fixed
shuffle=False
having no effect when using DDP/DistributedSampler (#15931)
Pytorch
Changed
- Direct support for compiled models (#15922)
Fixed
- Fixed issue with unsupported torch.inference_mode() on hpu backends (#15918)
- Fixed LRScheduler import for PyTorch 2.0 (#15940)
- Fixed
fit_loop.restarting
to beFalse
for lr finder (#15620) - Fixed
torch.jit.script
-ing a LightningModule causing an unintended error message about deprecateduse_amp
property (#15947)
Full Changelog: 1.8.3...1.8.4