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

Releasing/1.8.4 #15870

Merged
merged 54 commits into from
Dec 7, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
54 commits
Select commit Hold shift + click to select a range
133cada
update chlog
Borda Nov 30, 2022
24ffa59
Tests/App: refactor examples - structure (#15770)
Borda Nov 22, 2022
197c94d
feature: add `_generate_works_json` method (#15767)
yurijmikhalevich Nov 22, 2022
3d07e45
tests: split examples and pytests (#15774)
Borda Nov 23, 2022
c3d4d81
[App] Stop App when it has succeeded (#15801)
tchaton Nov 24, 2022
0fe095b
Notify the user of ignored requirements (#15799)
carmocca Nov 24, 2022
3fea2d5
Add code_dir argument to tracer run (#15771)
lantiga Nov 24, 2022
a02cb52
[App] Add CloudMultiProcessBackend to run an children App within the …
tchaton Nov 24, 2022
a33d9b8
Update lightning-utilities requirement from ==0.3.* to ==0.4.* in /re…
dependabot[bot] Nov 24, 2022
d9f6317
Ignore `num_nodes` when running MultiNode components locally (#15806)
awaelchli Nov 24, 2022
f844e19
lit extras (#15793)
Borda Nov 24, 2022
a881db9
[App] Add utility to get install command for package extras (#15809)
ethanwharris Nov 24, 2022
a2dadd6
[App] Enable Python Server and Gradio Serve to run on accelerated dev…
tchaton Nov 25, 2022
84c43a3
Update flake8 version (#15816)
carmocca Nov 25, 2022
bbea90f
Checkgroup config fixes (#15787)
carmocca Nov 26, 2022
75ec92f
[App] Resolve a condition bug with spawning (#15812)
tchaton Nov 26, 2022
0ecd1e9
Print the e2e app ID as early as possible (#15821)
carmocca Nov 26, 2022
ac02879
Added note about custom base images (#14125)
Felonious-Spellfire Nov 26, 2022
c6d337f
Add warning comment to cloud requirements (#15790)
lantiga Nov 26, 2022
9ad5c61
[CLI] fix ssh listing stopped components (#15810)
nicolai86 Nov 28, 2022
be4197d
Update fairscale requirement from <=0.4.6,>=0.4.5 to >=0.4.5,<0.4.13 …
dependabot[bot] Nov 28, 2022
7241c56
Bump google-github-actions/get-gke-credentials from 0 to 1 (#15843)
dependabot[bot] Nov 28, 2022
dcfb359
Bump hivemind from 1.0.1 to 1.1.2 in /requirements (#15839)
dependabot[bot] Nov 28, 2022
5d9d5d7
Update cloudpickle requirement from <=2.1.0,>=1.3 to >=1.3,<2.3.0 in …
dependabot[bot] Nov 28, 2022
b4691ff
hotfix import torch (#15849)
Borda Nov 28, 2022
6b761ec
[App] Improve cluster creation / deletion experience (#15458)
luca3rd Nov 28, 2022
5f64ca3
CI: freeze docs requirements [hotfix] (#15865)
Borda Nov 30, 2022
427ca44
fix formatting
Borda Nov 30, 2022
927b305
[App] Raise error when launching app on multiple clusters (#15484)
luca3rd Nov 30, 2022
7b93e9a
Moving `lightning_api_access` out of base requirements (#15844)
Dec 1, 2022
b193718
[App] Fixing Sigterm Handler causing thread lock which caused Keyboar…
Dec 1, 2022
1a50aca
CI: signal lai build (#15871)
Borda Dec 1, 2022
3d6d484
CI: prune dependency for benchmarks (#15879)
Borda Dec 1, 2022
cbb8802
unblock legacy checkpoints (#15798)
Borda Dec 2, 2022
0d2f550
CI: update signalling (#15887)
Borda Dec 2, 2022
f8ff851
update chlog
Borda Dec 2, 2022
cc468d0
waiting on feedback (#15893)
Borda Dec 3, 2022
2dd6056
[CLI] drop name column from cluster list (#15721)
nicolai86 Dec 3, 2022
3376e27
Add CLI Command to Delete Lightning App (#15783)
rlizzo Dec 5, 2022
5559b31
[App] Support for headless apps (#15875)
ethanwharris Dec 5, 2022
bc9e1b3
[App] Fix hanging CI (#15913)
ethanwharris Dec 6, 2022
43ddb88
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Dec 6, 2022
777e4fb
version 1.8.4
Borda Dec 6, 2022
668d8a9
Direct support for compiled models (#15922)
lantiga Dec 6, 2022
6ed0e00
update chlog
Borda Dec 6, 2022
c2ab7f8
CI: parameterize TPU tests (#15876)
Borda Dec 6, 2022
d0941af
[App] Add ready property to the flow (#15921)
tchaton Dec 6, 2022
196bfbc
[App] Enable running with spawn context (#15923)
tchaton Dec 7, 2022
a528d56
Fix compiler support test (#15927)
lantiga Dec 7, 2022
d90f624
Enable back inference mode support with hpu & update links (#15918)
jerome-habana Dec 7, 2022
6bdb7cb
[App] Introduce auto scaler (#15769)
akihironitta Dec 7, 2022
bd1ef0d
ENG-627: Docs for CloudCompute Mount Argument (#15182)
rlizzo Dec 7, 2022
befc4cc
Fix LRScheduler import for PyTorch 2.0 (#15940)
lantiga Dec 7, 2022
bf12213
update chlog
Borda Dec 7, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
47 changes: 30 additions & 17 deletions .azure/app-cloud-e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,16 +27,14 @@ pr:
- "release/*"
paths:
include:
- ".actions/**"
- ".azure/app-cloud-e2e.yml"
- "requirements/app/**"
- "src/lightning_app/**"
- "tests/tests_app/**"
- "examples/app_*/**" # some tests_app tests call examples files
- "tests/tests_app_examples/**"
- "requirements/app/**"
- "tests/tests_examples_app/**"
- "setup.py"
- ".actions/**"
exclude:
- "requirements/app/docs.txt"
- "requirements/*/docs.txt"
- "*.md"
- "**/*.md"

Expand All @@ -59,32 +57,44 @@ jobs:
matrix:
'App: v0_app':
name: "v0_app"
dir: "public"
'App: boring_app':
name: "boring_app"
dir: "public"
'App: template_streamlit_ui':
name: "template_streamlit_ui"
dir: "public"
'App: template_react_ui':
name: "template_react_ui"
dir: "public"
# 'App: template_jupyterlab': # TODO: clarify where these files lives
# name: "template_jupyterlab"
'App: idle_timeout':
name: "idle_timeout"
'App: collect_failures':
name: "collect_failures"
'App: custom_work_dependencies':
name: "custom_work_dependencies"
'App: installation_commands_app':
name: "installation_commands_app"
dir: "public"
'App: drive':
name: "drive"
dir: "public"
'App: payload':
name: "payload"
dir: "public"
'App: commands_and_api':
name: "commands_and_api"
dir: "public"
'App: quick_start':
name: "quick_start"
timeoutInMinutes: "20"
cancelTimeoutInMinutes: "2"
dir: "public"
'App: idle_timeout':
name: "idle_timeout"
dir: "local"
'App: collect_failures':
name: "collect_failures"
dir: "local"
'App: custom_work_dependencies':
name: "custom_work_dependencies"
dir: "local"
timeoutInMinutes: "15"
cancelTimeoutInMinutes: "1"
# values: https://docs.microsoft.com/en-us/azure/devops/pipelines/process/phases?view=azure-devops&tabs=yaml#workspace
workspace:
clean: all
Expand Down Expand Up @@ -124,7 +134,7 @@ jobs:
# - bash: |
# rm -rf examples/app_template_jupyterlab || true
# git clone https://github.com/Lightning-AI/LAI-lightning-template-jupyterlab-App examples/app_template_jupyterlab
# cp examples/app_template_jupyterlab/tests/test_template_jupyterlab.py tests/tests_app_examples/test_template_jupyterlab.py
# cp examples/app_template_jupyterlab/tests/test_template_jupyterlab.py tests/tests_examples_app/test_template_jupyterlab.py
# condition: eq(variables['name'], 'template_jupyterlab')
# displayName: 'Clone Template Jupyter Lab Repo'

Expand Down Expand Up @@ -152,15 +162,17 @@ jobs:
- bash: |
mkdir -p ${VIDEO_LOCATION}
ls -l examples/${TEST_APP_NAME}
ls -l tests/tests_app_examples
python -m pytest tests/tests_app_examples/test_${TEST_APP_NAME}.py::test_${TEST_APP_NAME}_example_cloud --timeout=1200 --capture=no -v --color=yes
ls -l tests/tests_examples_app/public
python -m pytest tests/tests_examples_app/${TEST_APP_FOLDER}/test_${TEST_APP_NAME}.py::test_${TEST_APP_NAME}_example_cloud \
--timeout=540 --capture=no -v --color=yes
env:
HEADLESS: '1'
PACKAGE_LIGHTNING: '1'
CLOUD: '1'
VIDEO_LOCATION: $(video_artifact_dir)
PR_NUMBER: $(local_id)
TEST_APP_NAME: $(name)
TEST_APP_FOLDER: $(dir)
HAR_LOCATION: './artifacts/hars'
SLOW_MO: '50'
#LAI_USER: $(LAI_USER) # for STAGING
Expand Down Expand Up @@ -191,6 +203,7 @@ jobs:
LIGHTNING_CLOUD_URL: $(LIGHTNING_CLOUD_URL_PROD)
PR_NUMBER: $(local_id)
TEST_APP_NAME: $(name)
TEST_APP_FOLDER: $(dir)
# GRID_USER_ID: $(LIGHTNING_USER_ID) # TODO: clarify the meaning
# GRID_USER_KEY: $(LIGHTNING_API_KEY) # TODO: clarify the meaning
# GRID_URL: $(LIGHTNING_CLOUD_URL)
Expand Down
11 changes: 2 additions & 9 deletions .azure/gpu-benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ pr:
- "tests/tests_pytorch/benchmarks/**"
- "requirements/pytorch/**"
exclude:
- "requirements/pytorch/docs.txt"
- "requirements/*/docs.txt"
- "*.md"
- "**/*.md"

Expand Down Expand Up @@ -68,14 +68,7 @@ jobs:
pip list
displayName: 'Image info & NVIDIA'

- bash: |
python .actions/assistant.py requirements_prune_pkgs --packages [horovod,bagua,colossalai] --req_files [requirements/pytorch/strategies.txt]

PYTORCH_VERSION=$(python -c "import torch; print(torch.__version__.split('+')[0])")
python ./requirements/pytorch/adjust-versions.py requirements/pytorch/base.txt ${PYTORCH_VERSION}
displayName: 'Adjust dependencies'

- bash: pip install -e .[dev,strategies,examples] --find-links ${TORCH_URL}
- bash: pip install -e .[dev] --find-links ${TORCH_URL}
env:
PACKAGE_NAME: "pytorch"
FREEZE_REQUIREMENTS: "1"
Expand Down
4 changes: 2 additions & 2 deletions .azure/gpu-tests-lite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ pr:
- "release/*"
paths:
include:
- ".actions/**"
- ".azure/gpu-tests-lite.yml"
- "examples/lite/**"
- "examples/run_lite_examples.sh"
Expand All @@ -29,9 +30,8 @@ pr:
- "src/lightning_lite/**"
- "tests/tests_lite/**"
- "setup.cfg" # includes pytest config
- ".actions/**"
exclude:
- "requirements/lite/docs.txt"
- "requirements/*/docs.txt"
- "*.md"
- "**/*.md"

Expand Down
4 changes: 2 additions & 2 deletions .azure/gpu-tests-pytorch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ pr:
- "release/*"
paths:
include:
- ".actions/**"
- ".azure/gpu-tests-pytorch.yml"
- "examples/run_ddp_examples.sh"
- "examples/convert_from_pt_to_pl/**"
Expand All @@ -36,9 +37,8 @@ pr:
- "setup.cfg" # includes pytest config
- "requirements/lite/**"
- "src/lightning_lite/**"
- ".actions/**"
exclude:
- "requirements/**/docs.txt"
- "requirements/*/docs.txt"
- "*.md"
- "**/*.md"

Expand Down
4 changes: 2 additions & 2 deletions .azure/hpu-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ pr:
- "release/*"
paths:
include:
- ".actions/**"
- ".azure/hpu-tests.yml"
- "examples/pl_hpu/mnist_sample.py"
- "requirements/lite/**"
Expand All @@ -25,9 +26,8 @@ pr:
- "src/pytorch_lightning/**"
- "tests/tests_pytorch/**"
- "setup.cfg" # includes pytest config
- ".actions/**"
exclude:
- "requirements/**/docs.txt"
- "requirements/*/docs.txt"
- "*.md"
- "**/*.md"

Expand Down
4 changes: 2 additions & 2 deletions .azure/ipu-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,16 @@ pr:
- "release/*"
paths:
include:
- ".actions/**"
- ".azure/ipu-tests.yml"
- "requirements/lite/**"
- "src/lightning_lite/**"
- "requirements/pytorch/**"
- "src/pytorch_lightning/**"
- "tests/tests_pytorch/**"
- "setup.cfg" # includes pytest config
- ".actions/**"
exclude:
- "requirements/**/docs.txt"
- "requirements/*/docs.txt"
- "*.md"
- "**/*.md"

Expand Down
2 changes: 1 addition & 1 deletion .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
# Lightning App
/src/lightning_app @tchaton @lantiga @awaelchli @hhsecond @ethanwharris
/tests/tests_app @tchaton @lantiga @awaelchli @hhsecond @ethanwharris
/tests/tests_app_examples @tchaton @lantiga @awaelchli @hhsecond @ethanwharris
/tests/tests_examples_app @tchaton @lantiga @awaelchli @hhsecond @ethanwharris
/examples/app_* @tchaton @lantiga @awaelchli @hhsecond @ethanwharris

/.github/CODEOWNERS @williamfalcon
Expand Down
24 changes: 16 additions & 8 deletions .github/actions/pkg-publish/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,14 @@ inputs:
pkg-pattern:
description: what file pattern is searched in folder, so for example `*_app*`
required: true
pypi-test-token:
description: login token for PyPI
default: ''
required: false
pypi-token:
description: login token for PyPI
required: true
default: ''
required: false

runs:
using: "composite"
Expand All @@ -20,16 +25,19 @@ runs:
shell: bash

# We do this, since failures on test.pypi aren't that bad
#- name: Publish to Test PyPI
# uses: pypa/[email protected]
# with:
# user: __token__
# password: ${{ secrets.test_pypi_token_lai }}
# repository_url: https://test.pypi.org/legacy/
# verbose: true
- name: Publish to Test PyPI
uses: pypa/[email protected]
if: inputs.pypi-test-token != ''
with:
user: __token__
password: ${{ secrets.test_pypi_token_lai }}
repository_url: https://test.pypi.org/legacy/
packages_dir: pypi/
verbose: true

- name: Publish distribution 📦 to PyPI
uses: pypa/[email protected]
if: inputs.pypi-token != ''
with:
user: __token__
password: ${{ inputs.pypi-token }}
Expand Down
Loading