Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Weekly minor patch release 2.0.7 [rebase & merge] #18270

Merged
merged 55 commits into from
Aug 14, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
55 commits
Select commit Hold shift + click to select a range
55d19b0
chlog: new section
Borda Jul 7, 2023
90d26e4
Update setuptools requirement from <67.7.0 to <68.1.0 in /requirement…
dependabot[bot] Jul 26, 2023
ec641bb
Update streamlit requirement from <1.22.1,>=1.13.0 to >=1.13.0,<1.25.…
dependabot[bot] Jul 26, 2023
05a456d
Verify `torch.compile` compatibility with strategy before launching p…
awaelchli Jul 26, 2023
d5f6574
Only redirect imports when unpickling Lightning checkpoints (#18154)
awaelchli Jul 26, 2023
64c673b
fixing precommit
Borda Aug 12, 2023
2a74b2c
Bump pytest from 7.3.1 to 7.4.0 in /requirements (#18038)
dependabot[bot] Jul 26, 2023
8217af3
ci: do not fail if AWS CLI exists (#18153)
Borda Jul 27, 2023
8864674
bump Ruff & fixing
Borda Aug 13, 2023
ed383e4
fix tests with file's listing
Borda Aug 14, 2023
0111e76
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Aug 14, 2023
9af6ee4
Add note to `Trainer.log_dir` docs when used with multi-processing (#…
awaelchli Jul 27, 2023
2e828e2
Freeze version for jsonargparse <4.23.0 (#18182)
awaelchli Jul 28, 2023
29486ab
Use hydra.run.dir (not os.getcwd) for DDP subprocesses' run dir (#18145)
nisheethlahoti Jul 30, 2023
39f92db
Update migration guide for renamed progress bar base class (#18178)
awaelchli Jul 31, 2023
d368970
Avoid setting the multiprocessing context when importing lightning (#…
awaelchli Jul 31, 2023
1f7c131
Fix pip install instructions in LightningCLI docs (#18201)
awaelchli Jul 31, 2023
a92636d
Bump semver from 6.3.0 to 6.3.1 in /src/lightning/app/cli/react-ui-te…
dependabot[bot] Aug 1, 2023
b9872f4
Fix Google Cloud Storage checkpointing (#18088)
bilelomrani1 Aug 1, 2023
239579c
update codeowners (#17979)
Borda Aug 1, 2023
38cee7d
Update numpy requirement from <1.25.1,>=1.17.2 to >=1.17.2,<1.25.2 in…
dependabot[bot] Aug 1, 2023
b69f1e3
Update pandas requirement from <2.0.3,>1.0 to >1.0,<2.0.4 in /require…
dependabot[bot] Aug 1, 2023
f288c04
Bump pytest-asyncio from 0.21.0 to 0.21.1 in /requirements (#18197)
dependabot[bot] Aug 1, 2023
ab982f8
Bump click from 8.1.3 to 8.1.6 in /requirements (#18141)
dependabot[bot] Aug 1, 2023
db36e37
Update aiohttp requirement from <=3.8.4,>=3.8.0 to >=3.8.0,<=3.8.5 in…
dependabot[bot] Aug 1, 2023
a309f64
Update panel requirement from <=1.1.1,>=1.0.0 to >=1.0.0,<=1.2.1 in /…
dependabot[bot] Aug 1, 2023
6768d6b
Bump pytest-cov from 4.0.0 to 4.1.0 in /requirements (#18036)
dependabot[bot] Aug 1, 2023
d27dbb8
Update uvicorn requirement from <0.22.1 to <0.23.2 in /requirements (…
dependabot[bot] Aug 2, 2023
1432299
Address test flakiness (#18223)
awaelchli Aug 3, 2023
64327be
ci/docs: use python 3.9 (#18199)
Borda Aug 4, 2023
7e72f64
ci: drop nightly from required checks (#18250)
Borda Aug 7, 2023
e72009a
Fix adlfs import error when gcsfs is installed (#18227)
bilelomrani1 Aug 7, 2023
cb2829a
Update psutil requirement from <5.9.5 to <5.9.6 in /requirements (#18…
dependabot[bot] Aug 8, 2023
164734c
Update uvicorn requirement from <=0.23.1 to <=0.23.2 in /requirements…
dependabot[bot] Aug 8, 2023
fccf8a8
Bump playwright from 1.35.0 to 1.36.0 in /requirements (#18247)
dependabot[bot] Aug 8, 2023
fd738e4
Update pydantic requirement from <2.1.0,>=1.7.4 to >=1.7.4,<2.2.0 in …
dependabot[bot] Aug 8, 2023
48dd21a
Update pyyaml requirement from <=6.0 to <=6.0.1 in /requirements (#18…
dependabot[bot] Aug 8, 2023
55d8746
Update numpy requirement from <1.25.2,>=1.17.2 to >=1.17.2,<1.25.3 in…
dependabot[bot] Aug 8, 2023
c4e87fd
Update fsspec[http] requirement from <2023.5.0,>2021.06.0 to >2021.06…
dependabot[bot] Aug 8, 2023
f2fd779
Update tensorboardx requirement from <=2.6.1,>=2.2 to >=2.2,<=2.6.2 i…
dependabot[bot] Aug 8, 2023
ed0213f
Update packaging requirement from <=23.0,>=20.0 to >=20.0,<=23.1 in /…
dependabot[bot] Aug 8, 2023
0583c8e
[pre-commit.ci] pre-commit suggestions (#17983)
pre-commit-ci[bot] Aug 8, 2023
a6b7d18
Adding test for legacy checkpoint created with 2.0.5 (#18046)
pl-ghost Aug 8, 2023
e49345c
[App] Client retries forever (#18065)
ethanwharris Aug 8, 2023
d09c828
[App] Fix app unit tests (#18262)
ethanwharris Aug 8, 2023
9b02f26
docformatter: config with black (#18064)
Borda Aug 9, 2023
34d9bc9
Make `all_reduce` consistent for both NCCL and GLOO (#18235)
awaelchli Aug 9, 2023
cdaec95
Explicitly enable grad in closure (#18268)
0x404 Aug 10, 2023
9d222ab
improve debug failing warning test (#18271)
Borda Aug 12, 2023
6a38819
fix badges in readme (#18260)
Borda Aug 14, 2023
0e8c349
Disable auto-detection of Kubeflow environment (#18137)
awaelchli Jul 28, 2023
763c4c7
Support None from training_step in LRFinder (#18129)
NikolasWolke Aug 3, 2023
6c9765b
Refresh the internal LightningOptimizer state for inspection (#18280)
awaelchli Aug 11, 2023
6c5be30
Support skipping training step when using mixed precision training (#…
awaelchli Aug 11, 2023
fbbc3e4
releasing 2.0.7
Borda Aug 14, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
11 changes: 8 additions & 3 deletions .actions/assistant.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ def adjust(self, unfreeze: str) -> str:
'arrow>=1.2.0'
>>> _RequirementWithComment("arrow").adjust("major")
'arrow'

"""
out = str(self)
if self.strict:
Expand Down Expand Up @@ -110,6 +111,7 @@ def _parse_requirements(strs: Union[str, Iterable[str]]) -> Iterator[_Requiremen
>>> txt = '\\n'.join(txt)
>>> [r.adjust('none') for r in _parse_requirements(txt)]
['this', 'example', 'foo # strict', 'thing']

"""
lines = yield_lines(strs)
pip_argument = None
Expand Down Expand Up @@ -144,6 +146,7 @@ def load_requirements(path_dir: str, file_name: str = "base.txt", unfreeze: str
>>> path_req = os.path.join(_PROJECT_ROOT, "requirements")
>>> load_requirements(path_req, "docs.txt", unfreeze="major") # doctest: +ELLIPSIS +NORMALIZE_WHITESPACE
['sphinx<...]

"""
assert unfreeze in {"none", "major", "all"}
path = Path(path_dir) / file_name
Expand All @@ -157,6 +160,7 @@ def load_readme_description(path_dir: str, homepage: str, version: str) -> str:

>>> load_readme_description(_PROJECT_ROOT, "", "") # doctest: +ELLIPSIS +NORMALIZE_WHITESPACE
'...PyTorch Lightning is just organized PyTorch...'

"""
path_readme = os.path.join(path_dir, "README.md")
with open(path_readme, encoding="utf-8") as fo:
Expand Down Expand Up @@ -187,14 +191,13 @@ def load_readme_description(path_dir: str, homepage: str, version: str) -> str:

skip_begin = r"<!-- following section will be skipped from PyPI description -->"
skip_end = r"<!-- end skipping PyPI description -->"
# todo: wrap content as commented description
text = re.sub(rf"{skip_begin}.+?{skip_end}", "<!-- -->", text, flags=re.IGNORECASE + re.DOTALL)

# # https://github.com/Borda/pytorch-lightning/releases/download/1.1.0a6/codecov_badge.png
# github_release_url = os.path.join(homepage, "releases", "download", version)
# # download badge and replace url with local file
# text = _parse_for_badge(text, github_release_url)
return text
# todo: wrap content as commented description
return re.sub(rf"{skip_begin}.+?{skip_end}", "<!-- -->", text, flags=re.IGNORECASE + re.DOTALL)


def distribute_version(src_folder: str, ver_file: str = "version.info") -> None:
Expand Down Expand Up @@ -237,6 +240,7 @@ def _load_aggregate_requirements(req_dir: str = "requirements", freeze_requireme
"""Load all base requirements from all particular packages and prune duplicates.

>>> _load_aggregate_requirements(os.path.join(_PROJECT_ROOT, "requirements"))

"""
requires = [
load_requirements(d, unfreeze="none" if freeze_requirements else "major")
Expand Down Expand Up @@ -293,6 +297,7 @@ def _replace_imports(lines: List[str], mapping: List[Tuple[str, str]], lightning
'http://pytorch_lightning.ai', \
'from lightning_fabric import __version__', \
'@lightning.ai']

"""
out = lines[:]
for source_import, target_import in mapping:
Expand Down
2 changes: 1 addition & 1 deletion .azure/app-cloud-e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ jobs:
pool: "azure-cpus"
container:
# see all available tags: https://mcr.microsoft.com/en-us/product/playwright/python/tags
image: mcr.microsoft.com/playwright/python:v1.32.1-focal
image: mcr.microsoft.com/playwright/python:v1.36.0-focal
options: "--shm-size=4gb"
strategy:
matrix:
Expand Down
3 changes: 1 addition & 2 deletions .azure/gpu-tests-fabric.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@

trigger:
tags:
include:
- '*'
include: ['*']
branches:
include:
- "master"
Expand Down
3 changes: 1 addition & 2 deletions .azure/gpu-tests-pytorch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@

trigger:
tags:
include:
- '*'
include: ['*']
branches:
include:
- "master"
Expand Down
35 changes: 20 additions & 15 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@
* @lantiga @borda @tchaton @awaelchli

# CI/CD and configs
/.actions/ @borda @carmocca @akihironitta
/.github/ @borda @carmocca @akihironitta
/.azure/ @borda @carmocca @akihironitta
/.actions/ @borda @carmocca @ethanwharris @justusschock
/.github/ @borda @carmocca @ethanwharris @justusschock
/.azure/ @borda @carmocca @ethanwharris @justusschock
/.azure/app-cloud-e2e.yml @awaelchli @ethanwharris @lantiga
/dockers/ @borda @carmocca @akihironitta
*.yml @borda @carmocca @akihironitta
/dockers/ @borda @carmocca @ethanwharris @justusschock
*.yml @borda @carmocca @ethanwharris @justusschock

# Docs
/docs/ @edenlightning @lantiga @borda @awaelchli @RobertLaurella
Expand All @@ -24,15 +24,15 @@
/docs/source-fabric/index.rst @awaelchli @lantiga @carmocca
/docs/source-pytorch/conf.py @borda @awaelchli @carmocca
/docs/source-pytorch/index.rst @williamfalcon @lantiga
/docs/source-pytorch/levels @williamfalcon @RobertLaurella
/docs/source-app/ @williamfalcon @RobertLaurella @tchaton @awaelchli
/docs/source-pytorch/levels @williamfalcon @lantiga
/docs/source-app/ @williamfalcon @lantiga @tchaton @awaelchli
/docs/source-app/index.rst @williamfalcon @lantiga
/docs/source-app/expertise_levels @williamfalcon @RobertLaurella
/docs/source-app/expertise_levels @williamfalcon @lantiga

# PyTorch Lightning
/src/lightning/pytorch @williamfalcon @awaelchli @carmocca @justusschock
/src/pytorch_lightning @williamfalcon @awaelchli @carmocca @justusschock
/tests/tests_pytorch @awaelchli @carmocca @justusschock
/tests/tests_pytorch @awaelchli @carmocca @justusschock @borda

# Core APIs
/src/lightning/pytorch/callbacks/callback.py @williamfalcon @awaelchli @carmocca
Expand All @@ -41,17 +41,22 @@
/src/lightning/pytorch/core/hooks.py @williamfalcon @tchaton @awaelchli @carmocca
/src/lightning/pytorch/core/module.py @williamfalcon @tchaton @awaelchli @carmocca

# Data Utilities
/examples/data/ @nohalon @justusschock @lantiga
/src/lightning/data/ @nohalon @justusschock @lantiga
/tests/tests_data @nohalon @justusschock @lantiga

# Lightning Fabric
/src/lightning/fabric @awaelchli @carmocca @justusschock
/src/lightning_fabric @awaelchli @carmocca @justusschock
/tests/tests_fabric @awaelchli @carmocca @justusschock

# Lightning App
/src/lightning/app @tchaton @lantiga @awaelchli @hhsecond @ethanwharris
/src/lightning_app @tchaton @lantiga @awaelchli @hhsecond @ethanwharris
/tests/tests_app @tchaton @lantiga @awaelchli @hhsecond @ethanwharris
/tests/integrations_app @tchaton @lantiga @awaelchli @hhsecond @ethanwharris
/examples/app_* @tchaton @lantiga @awaelchli @hhsecond @ethanwharris
/src/lightning/app @tchaton @lantiga @awaelchli @ethanwharris
/src/lightning_app @tchaton @lantiga @awaelchli @ethanwharris
/tests/tests_app @tchaton @lantiga @awaelchli @ethanwharris
/tests/integrations_app @tchaton @lantiga @awaelchli @ethanwharris
/examples/app_* @tchaton @lantiga @awaelchli @ethanwharris

/.github/CODEOWNERS @williamfalcon
/SECURITY.md @williamfalcon @lantiga
Expand All @@ -60,4 +65,4 @@
/src/pytorch_lightning/__about__.py @williamfalcon @borda @carmocca
/src/lightning_app/__about__.py @williamfalcon @lantiga @borda
/src/lightning_fabric/__about__.py @williamfalcon @borda @awaelchli
/src/*/__setup__.py @borda @carmocca
/src/*/__setup__.py @borda @carmocca @justusschock
6 changes: 4 additions & 2 deletions .github/checkgroup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,8 @@ subprojects:
- "!*.md"
- "!**/*.md"
checks:
- "pytorch-lightning (GPUs)"
- "pytorch-lightning (GPUs) (testing Lightning | latest)"
- "pytorch-lightning (GPUs) (testing PyTorch | latest)"

- id: "pytorch_lightning: Benchmarks"
paths:
Expand Down Expand Up @@ -257,7 +258,8 @@ subprojects:
- "!*.md"
- "!**/*.md"
checks:
- "lightning-fabric (GPUs)"
- "lightning-fabric (GPUs) (testing Fabric | latest)"
- "lightning-fabric (GPUs) (testing Lightning | latest)"

# SECTION: lightning_app

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/_flagship-apps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
if: github.event.pull_request.draft == false
runs-on: ubuntu-latest
container:
image: mcr.microsoft.com/playwright/python:v1.35.0-focal
image: mcr.microsoft.com/playwright/python:v1.36.0-focal
strategy:
fail-fast: false
matrix:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/_legacy-checkpoints.yml
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ jobs:
retention-days: ${{ env.KEEP_DAYS }}

- name: Install AWS CLI
continue-on-error: true
run: |
curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscli.zip"
unzip -qq awscli.zip
Expand Down
28 changes: 21 additions & 7 deletions .github/workflows/docs-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,7 @@ env:

jobs:
make-doctest:
runs-on: ubuntu-latest
container:
image: pytorchlightning/pytorch_lightning:docs
runs-on: ubuntu-20.04
strategy:
fail-fast: false
matrix:
Expand All @@ -47,9 +45,13 @@ jobs:
with:
submodules: true
ref: ${{ github.event.pull_request.head.sha }}
- uses: actions/setup-python@v4
with:
python-version: "3.9"

- name: Install AWS CLI
if: ${{ matrix.pkg-name != 'pytorch' }}
continue-on-error: true
run: |
curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscli.zip"
unzip -qq awscli.zip
Expand All @@ -68,6 +70,11 @@ jobs:
path: ${{ env.PYPI_CACHE_DIR }}
key: pypi_wheels

- name: Install pandoc & texlive
if: ${{ matrix.pkg-name == 'pytorch' }}
run: |
sudo apt-get update
sudo apt-get install -y pandoc texlive-latex-extra dvipng texlive-pictures
- name: Install package & dependencies
run: |
mkdir -p $PYPI_CACHE_DIR # in case cache was not hit
Expand All @@ -87,9 +94,7 @@ jobs:


make-html:
runs-on: ubuntu-latest
container:
image: pytorchlightning/pytorch_lightning:docs
runs-on: ubuntu-20.04
strategy:
fail-fast: false
matrix:
Expand All @@ -99,9 +104,13 @@ jobs:
with:
submodules: true
ref: ${{ github.event.pull_request.head.sha }}
- uses: actions/setup-python@v4
with:
python-version: "3.9"

- name: Install AWS CLI
if: ${{ matrix.pkg-name != 'pytorch' }}
continue-on-error: true
run: |
curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscli.zip"
unzip -qq awscli.zip
Expand All @@ -120,6 +129,11 @@ jobs:
path: ${{ env.PYPI_CACHE_DIR }}
key: pypi_wheels

- name: Install pandoc & texlive
if: ${{ matrix.pkg-name == 'pytorch' }}
run: |
sudo apt-get update
sudo apt-get install -y pandoc texlive-latex-extra dvipng texlive-pictures
- name: Install package & dependencies
run: |
mkdir -p $PYPI_CACHE_DIR # in case cache was not hit
Expand Down Expand Up @@ -163,7 +177,7 @@ jobs:
deploy-docs:
needs: [make-doctest, make-html]
if: github.repository_owner == 'Lightning-AI' && github.event_name == 'push'
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
strategy:
fail-fast: false
matrix:
Expand Down
13 changes: 7 additions & 6 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,20 +50,21 @@ repos:
- id: detect-private-key

- repo: https://github.com/asottile/pyupgrade
rev: v3.3.1
rev: v3.8.0
hooks:
- id: pyupgrade
args: [--py38-plus]
name: Upgrade code

- repo: https://github.com/PyCQA/docformatter
rev: v1.6.3
rev: v1.7.3
hooks:
- id: docformatter
args: [--in-place, --wrap-summaries=115, --wrap-descriptions=120]
additional_dependencies: [tomli]
args: ["--in-place"]

- repo: https://github.com/asottile/yesqa
rev: v1.4.0
rev: v1.5.0
hooks:
- id: yesqa
name: Unused noqa
Expand All @@ -89,7 +90,7 @@ repos:
exclude: docs/source-app

- repo: https://github.com/asottile/blacken-docs
rev: 1.13.0
rev: 1.14.0
hooks:
- id: blacken-docs
args: [--line-length=120]
Expand All @@ -112,7 +113,7 @@ repos:
)$

- repo: https://github.com/charliermarsh/ruff-pre-commit
rev: 'v0.0.262'
rev: v0.0.282
hooks:
- id: ruff
args: ["--fix"]
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ ______________________________________________________________________
[![PyPI Status](https://badge.fury.io/py/pytorch-lightning.svg)](https://badge.fury.io/py/pytorch-lightning)
[![PyPI Status](https://pepy.tech/badge/pytorch-lightning)](https://pepy.tech/project/pytorch-lightning)
[![Conda](https://img.shields.io/conda/v/conda-forge/lightning?label=conda&color=success)](https://anaconda.org/conda-forge/lightning)
[![DockerHub](https://img.shields.io/docker/pulls/pytorchlightning/pytorch_lightning.svg)](https://hub.docker.com/r/pytorchlightning/pytorch_lightning)
[![codecov](https://codecov.io/gh/Lightning-AI/lightning/branch/master/graph/badge.svg?token=SmzX8mnKlA)](https://codecov.io/gh/Lightning-AI/lightning)

[![Discord](https://img.shields.io/discord/1077906959069626439?style=plastic)](https://discord.gg/VptPCZkGNa)
Expand Down
2 changes: 2 additions & 0 deletions docs/source-app/examples/file_server/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ def __init__(
drive: The drive can share data inside your application.
base_dir: The local directory where the data will be stored.
chunk_size: The quantity of bytes to download/upload at once.

"""
super().__init__(
cloud_build_config=L.BuildConfig(["flask, flask-cors"]),
Expand Down Expand Up @@ -238,4 +239,5 @@ def test_file_server_in_cloud():

# 2. By calling logs = get_logs_fn(),
# you get all the logs currently on the admin page.

"""
1 change: 1 addition & 0 deletions docs/source-app/examples/github_repo_runner/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ def __init__(
script_args: The arguments to be provided to the script.
requirements: The python requirements tp run the script.
cloud_compute: The object to select the cloud instance.

"""
super().__init__(
script_path=script_path,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ def __init__(self, num_users: int = 100):

Arguments:
num_users: Number of users emulated by Locust

"""
# Note: Using the default port 8089 of Locust.
super().__init__(
Expand Down
2 changes: 2 additions & 0 deletions docs/source-app/examples/model_server_app/model_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ class MLServer(LightningWork):
Example: "mlserver_sklearn.SKLearnModel".
Learn more here: $ML_SERVER_URL/tree/master/runtimes
workers: Number of server worker.

"""

def __init__(
Expand Down Expand Up @@ -51,6 +52,7 @@ def run(self, model_path: Path):

Arguments:
model_path: The path to the trained model.

"""
# 1: Use the host and port at runtime so it works in the cloud.
# $ML_SERVER_URL/blob/master/mlserver/settings.py#L50
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
# app.py
import lightning as L
from lightning.app.pdb import set_trace

class Component(L.LightningWork):
def run(self, x):
print(x)
L.pdb.set_trace()
set_trace()

class WorkflowOrchestrator(L.LightningFlow):
def __init__(self) -> None:
Expand Down
Loading