Skip to content

Commit e0e75d1

Browse files
Bordaethanwharris
andauthored
Releasing/1.8.4 extra (#15952)
* [App] Remove `SingleProcessRuntime` (#15933) * Remove SingleProcessRuntime * Remove unused queues * Docs (cherry picked from commit e250dfe) * [App] Fix bug when using structures with works (#15911) * Fix bug when using structures with works * Add test * Update CHANGELOG.md (cherry picked from commit 1283226) * [App] Wait for full file to be transferred in Path / Payload (#15934) * Wait for full file to be transferred in Path / Payload * Fixes (cherry picked from commit b8c7018) Co-authored-by: Ethan Harris <[email protected]>
1 parent a0d3475 commit e0e75d1

File tree

34 files changed

+160
-231
lines changed

34 files changed

+160
-231
lines changed

docs/source-app/api_reference/runners.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,4 @@ ______________
1818
:template: classtemplate.rst
1919

2020
~cloud.CloudRuntime
21-
~singleprocess.SingleProcessRuntime
2221
~multiprocess.MultiProcessRuntime

docs/source-app/api_references.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,6 @@ _______
8989
:template: classtemplate_no_index.rst
9090

9191
~cloud.CloudRuntime
92-
~singleprocess.SingleProcessRuntime
9392
~multiprocess.MultiProcessRuntime
9493

9594
----

docs/source-app/testing.rst

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,6 @@ We provide ``application_testing`` as a helper funtion to get your application u
120120
os.path.join(_PROJECT_ROOT, "examples/app_v0/app.py"),
121121
"--blocking",
122122
"False",
123-
"--multiprocess",
124123
"--open-ui",
125124
"False",
126125
]
@@ -129,9 +128,7 @@ First in the list for ``command_line`` is the location of your script. It is an
129128

130129
Next there are a couple of options you can leverage:
131130

132-
133131
* ``blocking`` - Blocking is an app status that says "Do not run until I click run in the UI". For our integration test, since we are not using the UI, we are setting this to "False".
134-
* ``multiprocess/singleprocess`` - This is the runtime your app is expected to run under.
135132
* ``open-ui`` - We set this to false since this is the routine that opens a browser for your local execution.
136133

137134
Once you have your commandline ready, you will then be able to kick off the test and gather results:

examples/app_template_streamlit_ui/app.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import logging
22

3-
from lightning_app import LightningApp, LightningFlow
4-
from lightning_app.frontend import StreamlitFrontend
5-
from lightning_app.utilities.state import AppState
3+
from lightning.app import LightningApp, LightningFlow
4+
from lightning.app.frontend import StreamlitFrontend
5+
from lightning.app.utilities.state import AppState
66

77
logger = logging.getLogger(__name__)
88

@@ -45,4 +45,4 @@ def configure_layout(self):
4545
return [{"name": "StreamLitUI", "content": self.streamlit_ui}]
4646

4747

48-
app = LightningApp(HelloWorld(), log_level="debug")
48+
app = LightningApp(HelloWorld())

pyproject.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,6 @@ module = [
102102
"lightning_app.runners.cloud",
103103
"lightning_app.runners.multiprocess",
104104
"lightning_app.runners.runtime",
105-
"lightning_app.runners.singleprocess",
106105
"lightning_app.source_code.copytree",
107106
"lightning_app.source_code.hashing",
108107
"lightning_app.source_code.local",

requirements/app/base.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ fsspec>=2022.5.0, <=2022.7.1
77
croniter>=1.3.0, <1.4.0 # strict; TODO: for now until we find something more robust.
88
traitlets>=5.3.0, <=5.4.0
99
arrow>=1.2.0, <1.2.4
10-
lightning-utilities>=0.3.*, !=0.4.0, <0.5.0
10+
lightning-utilities>=0.3.0, !=0.4.0, <0.5.0
1111
beautifulsoup4>=4.8.0, <4.11.2
1212
inquirer>=2.10.0
1313
psutil<5.9.4

requirements/lite/base.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# in case you want to preserve/enforce restrictions on the latest compatible version, add "strict" as an in-line comment
33

44
numpy>=1.17.2, <1.23.1
5-
torch>=1.9.*, <=1.13.0
5+
torch>=1.9.0, <=1.13.0
66
fsspec[http]>2021.06.0, <2022.6.0
77
packaging>=17.0, <=21.3
88
typing-extensions>=4.0.0, <=4.4.0

requirements/lite/examples.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# NOTE: the upper bound for the package version is only set for CI stability, and it is dropped while installing this package
2+
# in case you want to preserve/enforce restrictions on the latest compatible version, add "strict" as an in-line comment
3+
4+
torchvision>=0.10.0, <=0.13.0

requirements/pytorch/base.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# in case you want to preserve/enforce restrictions on the latest compatible version, add "strict" as an in-line comment
33

44
numpy>=1.17.2, <1.23.1
5-
torch>=1.9.*, <=1.13.0
5+
torch>=1.9.0, <=1.13.0
66
tqdm>=4.57.0, <4.65.0
77
PyYAML>=5.4, <=6.0
88
fsspec[http]>2021.06.0, <2022.8.0

requirements/pytorch/examples.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# NOTE: the upper bound for the package version is only set for CI stability, and it is dropped while installing this package
22
# in case you want to preserve/enforce restrictions on the latest compatible version, add "strict" as an in-line comment
33

4-
torchvision>=0.10.*, <=0.13.0
4+
torchvision>=0.10.0, <=0.14.0
55
gym[classic_control]>=0.17.0, <0.26.3
66
ipython[all] <8.6.1

0 commit comments

Comments
 (0)