Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
179 commits
Select commit Hold shift + click to select a range
8947d13
Skip test with compile error on torch=2.2.2 on Windows (#19734)
awaelchli Apr 3, 2024
ce88483
Add synchronous parameter to MLflowLogger (#19639)
Apr 3, 2024
76b691d
Support pathlib.Path file paths when saving ONNX models (#19727)
dominicgkerr Apr 4, 2024
316cc71
Skip tests that cause CLI argparse errors on Python 3.11.9 (#19756)
awaelchli Apr 11, 2024
dcb91d5
Fix initialized weights resetting in `Fabric.setup()` when using FSDP…
awaelchli Apr 11, 2024
3f97e16
[pre-commit.ci] pre-commit suggestions (#19723)
pre-commit-ci[bot] Apr 12, 2024
f642d68
ci/lint: simlify prettier (#19742)
Borda Apr 12, 2024
67b270b
Adding test for legacy checkpoint created with 2.2.2 (#19760)
pl-ghost Apr 12, 2024
ce90b38
Sanitize hparams that can't be json-serialized in `WandbLogger.log_hy…
awaelchli Apr 14, 2024
58ad56a
Use `step` interval in `estimated_stepping_batches` docs example (#19…
daavoo Apr 15, 2024
c235f20
Remove the requirement for FSDPStrategy subclasses to only support GP…
awaelchli Apr 16, 2024
a2b3ddd
Update Lightning Cloud to 0.5.67 (#19795)
tchaton Apr 22, 2024
b9680a3
Update changelog after 2.2.2 release (#19770)
awaelchli Apr 22, 2024
5e0e02b
Remove support for PyTorch 1.13 (#19706)
awaelchli Apr 27, 2024
2913633
Avoid interactions through test artifacts (#19821)
awaelchli Apr 28, 2024
49ed2b1
Add PyTorch 2.3 to CI matrix (#19708)
awaelchli Apr 29, 2024
d194976
Fix TensorBoardLogger test on Windows (#19824)
awaelchli Apr 29, 2024
8103bd7
Make sure the HTTP client for queues retries for POST and 5xx
lantiga May 1, 2024
4219f30
Fix formatting
lantiga May 1, 2024
d623708
xfail tests for deprecated functionality
lantiga May 1, 2024
0f12271
bump lightning cloud
awaelchli May 1, 2024
0c8a193
(1/n) Support 2D Parallelism (#19846)
awaelchli May 7, 2024
e030727
Add function to explicitly mark forward methods in Fabric (#19690)
awaelchli May 8, 2024
8453e31
Reduce queue fetching (#19856)
tchaton May 9, 2024
90d04b5
Update Lightning Cloud 0.5.69 (#19857)
tchaton May 9, 2024
9455871
(2/n) Support 2D Parallelism - Distributed Checkpoints (#19852)
awaelchli May 15, 2024
cd8acc2
(3/n) Support 2D Parallelism - Efficient loading of full-state checkp…
awaelchli May 15, 2024
1d0c6aa
(4/n) Support 2D Parallelism - Loading optimizer states correctly (#1…
awaelchli May 17, 2024
32e2418
(5/n) Support 2D Parallelism in Lightning Trainer (#19878)
awaelchli May 17, 2024
c8059d7
(6/n) Support 2D Parallelism - Trainer example (#19879)
awaelchli May 19, 2024
d5bf4b9
[App] Extend retry to 4xx except 400, 401, 403, 404 (#19842)
lantiga May 19, 2024
82e6e61
Remove redundant code to set the device on the LightningModule (#19877)
awaelchli May 20, 2024
d76feef
Enable loss-parallel in example (#19882)
awaelchli May 20, 2024
b1bb3f3
Update `LearningRateMonitor` docs and tests for `log_weight_decay` (#…
Peiffap May 21, 2024
7e87ce0
Fix state dict loading in bitsandbytes plugin when checkpoint is alre…
awaelchli May 21, 2024
987c2c4
(7/n) Support 2D Parallelism - TP Fabric Docs (#19884)
awaelchli May 22, 2024
8fc7b4a
Remove the requirement for FSDPStrategy subclasses to only support GP…
awaelchli May 22, 2024
341474a
(8/n) Support 2D Parallelism - 2D Parallel Fabric Docs (#19887)
awaelchli May 22, 2024
fa1126e
docs: fix link to CLIP (#19896)
Borda May 22, 2024
414c863
(9/n) Support 2D Parallelism - Remaining Checkpoint Logic (#19888)
awaelchli May 22, 2024
e0d7ede
docs: prune unused `linkcode` (#19897)
Borda May 23, 2024
7874cd0
[TPU] Fix test assertion error from artifacts (#19825)
awaelchli May 23, 2024
c09356d
(10/10) Support 2D Parallelism - Port Fabric docs to PL (#19899)
awaelchli May 23, 2024
896c2a6
Error for unsupported precision types with ModelParallelStrategy (#19…
awaelchli May 23, 2024
98005bb
Add Studio badge to tensor parallel docs (#19913)
awaelchli May 28, 2024
014cdd8
Update code owners file (#19922)
awaelchli May 30, 2024
5d79325
Update code owners file (#19925)
awaelchli May 30, 2024
95d6b6b
Disable skipping training step in distributed training (#19918)
awaelchli May 30, 2024
dffc0f9
Update FlopCounterMode usage in throughput.py (#19926)
IvanYashchuk May 30, 2024
427fdfa
Update docstring for `self.log` about keys in distributed training (#…
awaelchli May 30, 2024
a99a6d3
Adding test for legacy checkpoint created with 2.2.5 (#19806)
pl-ghost May 31, 2024
fd86ea7
Fix typos in CONTRIBUTING.md (#19937)
Peiffap Jun 3, 2024
bac82b8
Remove unknown `[metadata]` table from `pyproject.toml` (#19904)
Jun 4, 2024
785f15d
Remove `numpy` dependencies in `src/lightning/pytorch` (#19841)
Peiffap Jun 4, 2024
351bec7
Fix typo on `estimated_stepping_batches` property (#19847)
afspies Jun 5, 2024
19f0fb9
Set `_choose_auto_accelerator` to `staticmethod` (#19822)
fedebotu Jun 5, 2024
8bfbe0c
Fix strict loading from distributed checkpoints vs PyTorch nightly (#…
awaelchli Jun 5, 2024
5aadfa6
fix(docs): fix broken link to ensure the docs can be built (#19941)
yurijmikhalevich Jun 5, 2024
e0b7c04
ci/docs: enable dispatch build without warning as errors (#19948)
Borda Jun 5, 2024
b9f215d
Replace usage of `grep -P` with `perl` in `run_standalone_tests.sh` (…
Peiffap Jun 5, 2024
1a6786d
Destroy process group in atexit handler (#19931)
awaelchli Jun 5, 2024
7668a6b
Flexible and easy to use HSDP setting (#19504)
Liyang90 Jun 6, 2024
812ffde
Fix `save_last` type annotation for ModelCheckpoint (#19808)
mariovas3 Jun 6, 2024
a611de0
Removing numpy requirement from all files in examples/pytorch/domain_…
Bhavay-2001 Jun 6, 2024
4f96c83
Sanitize argument-free object params before logging (#19771)
V0XNIHILI Jun 6, 2024
5fa32d9
Ignore parameters causing ValueError when dumping to YAML (#19804)
Callidior Jun 6, 2024
06ea3a0
Fix resetting epoch loop restarting flag in LearningRateFinder (#19819)
Jun 7, 2024
fa5da26
Update README.md (#19968)
williamFalcon Jun 11, 2024
a97814a
Update README.md
williamFalcon Jun 11, 2024
f6fd046
Release 2.3.0 (#19954)
awaelchli Jun 11, 2024
a42484c
Fix failing app tests (#19971)
awaelchli Jun 13, 2024
bb511b0
Fix minor typo in Trainer's documentation (#19969)
SamuelLarkin Jun 13, 2024
b16e998
Adding test for legacy checkpoint created with 2.3.0 (#19974)
pl-ghost Jun 16, 2024
c1af4d0
Better graceful shutdown for KeyboardInterrupt (#19976)
awaelchli Jun 16, 2024
394c42a
Fix callback call in Fabric Trainer example (#19986)
liambsmith Jun 18, 2024
1e83a1b
Check if CometLogger experiment is alive (#19915)
EtayLivne Jun 18, 2024
cec6ae1
Fix typo `scrict` -> `strict` in types.py (#19998)
elmuz Jun 20, 2024
d3a0ada
Fix dtype for MPS in reinforcement learning example (#19982)
swyo Jun 21, 2024
5981aeb
Update `test_lightning_cli_help` for future change in jsonargparse (#…
mauvilsa Jun 21, 2024
709a2a9
Updated Fabric trainer example to not call `self.trainer.model` durin…
liambsmith Jun 21, 2024
e330da5
Fix torch-numpy compatibility conflict in tests (#20004)
awaelchli Jun 22, 2024
9304a2c
Convert tensors to bytes instead of numpy in multiprocessing result-q…
awaelchli Jun 23, 2024
55b95f2
build(deps): bump docker/build-push-action from 5 to 6 (#20007)
dependabot[bot] Jun 24, 2024
d0d01d3
Fix package build dependencies (#20015)
awaelchli Jun 25, 2024
d53e107
Scale mmt (#19984)
tchaton Jun 26, 2024
df0d462
Add support for batch stop (#20017)
tchaton Jun 26, 2024
3f69134
Fix seed in test to avoid interactions on global random state (#20014)
awaelchli Jun 27, 2024
967413a
Add atomic save to checkpoint routine (#20011)
corwinjoy Jun 27, 2024
c2a96e8
Set development version for 2.4 (#20022)
awaelchli Jun 27, 2024
b6be13c
Fix dependency issues with omegaconf and hydra (#20025)
awaelchli Jun 28, 2024
aa2da72
docs: Bump HPU ref `1.5.0` (#19843)
pl-ghost Jun 28, 2024
fa5af16
docs: Bump HPU ref `1.6.0` (#20026)
pl-ghost Jun 28, 2024
2524864
Adding test for legacy checkpoint created with 2.3.1 (#20023)
pl-ghost Jun 28, 2024
5636fe4
CI: replace macOS-11 with macOS-14 (#20029)
awaelchli Jun 30, 2024
14493c0
Drop PyTorch 2.0 from the test matrix (#20009)
awaelchli Jun 30, 2024
37e04d0
build(deps): bump Lightning-AI/utilities from 0.11.2 to 0.11.3 (#20031)
dependabot[bot] Jul 1, 2024
693c21a
Add testing for PyTorch 2.4 (Fabric) (#20028)
awaelchli Jul 2, 2024
b8a5236
Move checkpoint customization docs sections (#20006)
awaelchli Jul 4, 2024
c00ed5c
Adding test for legacy checkpoint created with 2.3.2 (#20042)
pl-ghost Jul 4, 2024
90f23b3
Add audio example to README (#20044)
awaelchli Jul 4, 2024
330af38
Remove the lightning app code (#20039)
awaelchli Jul 5, 2024
3730e98
CI: Remove waiting logic in release workflow (#20050)
awaelchli Jul 5, 2024
a40affb
[pre-commit.ci] pre-commit suggestions (#20035)
pre-commit-ci[bot] Jul 5, 2024
a6562b4
Docs: Fix typo in pruning callback (#19979)
omahs Jul 6, 2024
9e6c02a
Update DeepSpeedOptimizer import for deepspeed >= 0.14.1 (#20040)
linbo0518 Jul 8, 2024
5829ef8
Set `weights_only` in tests to avoid warnings in PyTorch 2.4 (#20057)
awaelchli Jul 8, 2024
00cf5c9
Adding test for legacy checkpoint created with 2.3.3 (#20061)
pl-ghost Jul 8, 2024
50af052
Add reference to the `torch.compile` manual (#20066)
awaelchli Jul 9, 2024
96b75df
Fix LightningCLI saving hyperparameters breaking change (#20068)
mauvilsa Jul 11, 2024
bf25167
Add testing for PyTorch 2.4 (Trainer) (#20010)
awaelchli Jul 11, 2024
9987d99
Remove support for Python 3.8 (#20071)
awaelchli Jul 12, 2024
d5ae9ec
Make numpy an optional dependency in `utilities\seed.py` (#20055)
01AbhiSingh Jul 12, 2024
7d1a707
Update PyTorch 2.4 tests (#20079)
awaelchli Jul 13, 2024
bdafe5e
Add Python 3.12 to the CPU test matrix (#20078)
awaelchli Jul 13, 2024
5822f51
Made numpy optional dependency in ```apply_func.py``` and ```logger.p…
01AbhiSingh Jul 13, 2024
2dc9c3d
Remove deprecated `pkg_resources` (#20081)
awaelchli Jul 15, 2024
74470a6
Enable dumping raw prof files in `AdvancedProfiler` (#19703)
clumsy Jul 15, 2024
29f70e7
Add example to README (#20091)
awaelchli Jul 15, 2024
d3f9c83
Fixed positional encoding not used in Demo Transformer (#20099)
K-H-Ismail Jul 17, 2024
5ecbbaa
Remove numpy from base requirements (#20090)
01AbhiSingh Jul 18, 2024
abcac66
build(deps): bump Lightning-AI/utilities from 0.11.3 to 0.11.4 (#20084)
dependabot[bot] Jul 18, 2024
e6c26d2
Remove outdated warnings filter for `reduce_op` (#20102)
awaelchli Jul 19, 2024
1cd7741
Update README banner
williamFalcon Jul 19, 2024
e214395
Remove confusing warning "Missing logger folder" (#20109)
awaelchli Jul 20, 2024
d0a6b34
Avoid printing the seed info message multiple times (#20108)
awaelchli Jul 20, 2024
f91349c
build(deps): bump Lightning-AI/utilities from 0.11.4 to 0.11.5 (#20112)
dependabot[bot] Jul 22, 2024
6c70dd7
Fix attribute error on `_NotYetLoadedTensor` after loading checkpoint…
awaelchli Jul 24, 2024
2064887
Switch to PyTorch 2.4 stable testing (#20126)
awaelchli Jul 25, 2024
b19eba3
Fix moving keys to device in ResultCollection (#19814)
clumsy Jul 26, 2024
12881e8
docs: update ref to latest tutorials (#20132)
pl-ghost Jul 28, 2024
f5d8250
build(deps): bump Lightning-AI/utilities from 0.11.5 to 0.11.6 (#20134)
dependabot[bot] Jul 29, 2024
194c3c3
Add simple LSTM example to demo folder (#20143)
awaelchli Jul 31, 2024
f0c243b
docs: adding link to img classif. studio (#20144)
Borda Jul 31, 2024
ea5f9fa
docs: adding link to obj detect. studio (#20150)
Borda Aug 2, 2024
b5695c5
Add LLM finetuning Studio example to README.md (#20142)
awaelchli Aug 2, 2024
1bc2aad
Update type check workflow to PyTorch 2.4 (#20155)
awaelchli Aug 3, 2024
854d166
Docs: Add note about version counter in `ModelCheckpoint` (#20146)
adosar Aug 4, 2024
83ba2df
docs: update ref to latest tutorials (#20157)
pl-ghost Aug 4, 2024
e61eafa
Add ability for TQDMProgressBar to retain prior epoch training bars (…
jojje Aug 4, 2024
2638d82
Avoid deprecated distutils for docs build (#20156)
awaelchli Aug 4, 2024
60fe36a
Remove outdated `process_position` reference in progress bar docs. (#…
awaelchli Aug 4, 2024
d4de8e2
Count number of modules in train/eval mode in ModelSummary (#20159)
awaelchli Aug 4, 2024
e9d4ef8
Add diffusion example to README (#20161)
awaelchli Aug 5, 2024
3de60f4
docs: fix typo in `linkcheck_ignore` (#20164)
Borda Aug 5, 2024
345450b
Fix parameter count in ModelSummary when parameters are DTensors (#20…
awaelchli Aug 5, 2024
631911c
Add special logic for 'step' in _optimizer_to_device (#20019)
corwinjoy Aug 5, 2024
b3ee85d
Prepare Lightning 2.4.0 release (#20154)
awaelchli Aug 5, 2024
87ffd8c
ci: fix cleaning caches (#20167)
Borda Aug 6, 2024
a3e60ad
ci/docs: disable optional cache pkg (#20168)
Borda Aug 6, 2024
cf24a19
fix(docs): remove dead link from readme (#20170)
Borda Aug 6, 2024
2129fdf
fix(ci): resolve input str -> num conversion (#20169)
Borda Aug 7, 2024
be0ae06
Add `ddp_find_unused_parameters_true` alias in Fabric's DDPStrategy (…
01AbhiSingh Aug 7, 2024
828fd99
Re-enable passing BytesIO as path in `.to_onnx()` (#20172)
GdoongMathew Aug 7, 2024
1551a16
Add device property to lazy load functionality (#20183)
t-vi Aug 9, 2024
025c30e
Update README.md
williamFalcon Aug 15, 2024
f6627ea
docs: adding link to forecasting studio (#20196)
Borda Aug 20, 2024
f5bc685
docs: adding link to recommendation studio (#20197)
Borda Aug 20, 2024
f3f10d4
Update README.md
williamFalcon Aug 22, 2024
bc3c9c5
docs: update ref to latest tutorials (#20262)
pl-ghost Sep 8, 2024
7d2b859
docs: update ref to latest tutorials (#20284)
pl-ghost Sep 15, 2024
9490915
build(deps): bump Lightning-AI/utilities from 0.11.6 to 0.11.7 (#20267)
dependabot[bot] Sep 16, 2024
7eafab9
build(deps): bump peter-evans/create-pull-request from 6 to 7 (#20266)
dependabot[bot] Sep 16, 2024
48279a7
Update favicon to match Lightning AI app consistency (#20290)
EmilieLny Sep 20, 2024
e452fe8
fix(ci): update for breaking change with upload/download (#20304)
Borda Sep 26, 2024
d1ca3c6
fix(tests): update tests after torch 2.4.1 (#20302)
Borda Sep 26, 2024
70f188b
docs: fix broken links to W&B (#20298)
Borda Sep 26, 2024
5be58f6
docs: fix a typo of precision (#20252)
vincentme Sep 27, 2024
474bdd0
Make RichProgressBar visible for both light and dark background (#20260)
tshu-w Sep 30, 2024
66508ff
docs: add note for `TQDMProgressBar` (#20198)
NishantDahal Sep 30, 2024
5dea36c
update BitsandBytes version (#20313)
ali-alshaar7 Oct 2, 2024
8ad3e29
Decoupled checkpoint artifact path from model artifact path (#20325)
pete-mcelroy Oct 8, 2024
af19dda
fix(lint): emergency bump `docformatter` (#20352)
Borda Oct 21, 2024
0e1e14f
docs: fix removed ref to `deepspeed.initialize` (#20353)
Borda Oct 21, 2024
6f86497
docs: fix pytorch version typo in upgrade/from_2_0 (#20333)
wujian752 Oct 21, 2024
8c5fc89
build(deps): bump Lightning-AI/utilities from 0.11.7 to 0.11.8 (#20354)
dependabot[bot] Oct 21, 2024
2110a39
docs: update ref to latest tutorials (#20322)
pl-ghost Oct 21, 2024
06a8d5b
Update version.info to `2.5.0.dev` (#20316)
rasbt Oct 21, 2024
897b2af
docs: update ref to latest tutorials (#20387)
pl-ghost Nov 3, 2024
3627c5b
ci: bump deprecated mac 12 to 13 (#20393)
Borda Nov 4, 2024
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
  •  
  •  
  •  
66 changes: 14 additions & 52 deletions .actions/assistant.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,19 +14,17 @@
import glob
import logging
import os
import pathlib
import re
import shutil
import tarfile
import tempfile
import urllib.request
from distutils.version import LooseVersion
from itertools import chain
from os.path import dirname, isfile
from pathlib import Path
from typing import Any, Dict, Iterable, Iterator, List, Optional, Sequence, Tuple, Union
from typing import Any, Dict, Iterable, Iterator, List, Optional, Sequence, Tuple

from pkg_resources import Requirement, parse_requirements, yield_lines
from packaging.requirements import Requirement
from packaging.version import Version

REQUIREMENT_FILES = {
"pytorch": (
Expand All @@ -35,11 +33,6 @@
"requirements/pytorch/strategies.txt",
"requirements/pytorch/examples.txt",
),
"app": (
"requirements/app/app.txt",
"requirements/app/cloud.txt",
"requirements/app/ui.txt",
),
"fabric": (
"requirements/fabric/base.txt",
"requirements/fabric/strategies.txt",
Expand Down Expand Up @@ -87,14 +80,15 @@ def adjust(self, unfreeze: str) -> str:
out = str(self)
if self.strict:
return f"{out} {self.strict_string}"
specs = [(spec.operator, spec.version) for spec in self.specifier]
if unfreeze == "major":
for operator, version in self.specs:
for operator, version in specs:
if operator in ("<", "<="):
major = LooseVersion(version).version[0]
major = Version(version).major
# replace upper bound with major version increased by one
return out.replace(f"{operator}{version}", f"<{major + 1}.0")
elif unfreeze == "all":
for operator, version in self.specs:
for operator, version in specs:
if operator in ("<", "<="):
# drop upper bound
return out.replace(f"{operator}{version},", "")
Expand All @@ -103,33 +97,25 @@ def adjust(self, unfreeze: str) -> str:
return out


def _parse_requirements(strs: Union[str, Iterable[str]]) -> Iterator[_RequirementWithComment]:
def _parse_requirements(lines: Iterable[str]) -> Iterator[_RequirementWithComment]:
"""Adapted from `pkg_resources.parse_requirements` to include comments.

>>> txt = ['# ignored', '', 'this # is an', '--piparg', 'example', 'foo # strict', 'thing', '-r different/file.txt']
>>> [r.adjust('none') for r in _parse_requirements(txt)]
['this', 'example', 'foo # strict', 'thing']
>>> 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
for line in lines:
line = line.strip()
if not line or line.startswith("#"):
continue
# Drop comments -- a hash without a space may be in a URL.
if " #" in line:
comment_pos = line.find(" #")
line, comment = line[:comment_pos], line[comment_pos:]
else:
comment = ""
# If there is a line continuation, drop it, and append the next line.
if line.endswith("\\"):
line = line[:-2].strip()
try:
line += next(lines)
except StopIteration:
return
# If there's a pip argument, save it
if line.startswith("--"):
pip_argument = line
Expand All @@ -155,7 +141,7 @@ def load_requirements(path_dir: str, file_name: str = "base.txt", unfreeze: str
logging.warning(f"Folder {path_dir} does not have any base requirements.")
return []
assert path.exists(), (path_dir, file_name, path)
text = path.read_text()
text = path.read_text().splitlines()
return [req.adjust(unfreeze) for req in _parse_requirements(text)]


Expand Down Expand Up @@ -216,30 +202,6 @@ def distribute_version(src_folder: str, ver_file: str = "version.info") -> None:
shutil.copy2(ver_template, fpath)


def _download_frontend(pkg_path: str, version: str = "v0.0.0"):
"""Downloads an archive file for a specific release of the Lightning frontend and extracts it to the correct
directory."""

try:
frontend_dir = pathlib.Path(pkg_path, "ui")
download_dir = tempfile.mkdtemp()

shutil.rmtree(frontend_dir, ignore_errors=True)
# TODO: remove this once lightning-ui package is ready as a dependency
frontend_release_url = f"https://lightning-packages.s3.amazonaws.com/ui/{version}.tar.gz"
response = urllib.request.urlopen(frontend_release_url)

file = tarfile.open(fileobj=response, mode="r|gz")
file.extractall(path=download_dir) # noqa: S202

shutil.move(download_dir, frontend_dir)
print("The Lightning UI has successfully been downloaded!")

# If installing from source without internet connection, we don't want to break the installation
except Exception:
print("The Lightning UI downloading has failed!")


def _load_aggregate_requirements(req_dir: str = "requirements", freeze_requirements: bool = False) -> None:
"""Load all base requirements from all particular packages and prune duplicates.

Expand Down Expand Up @@ -399,7 +361,7 @@ def _prune_packages(req_file: str, packages: Sequence[str]) -> None:
if not ln_ or ln_.startswith("#"):
final.append(line)
continue
req = list(parse_requirements(ln_))[0]
req = list(_parse_requirements([ln_]))[0]
if req.name not in packages:
final.append(line)
print(final)
Expand Down Expand Up @@ -466,7 +428,7 @@ def pull_docs_files(
raise RuntimeError(f"Requesting file '{zip_url}' does not exist or it is just unavailable.")

with zipfile.ZipFile(zip_file, "r") as zip_ref:
zip_ref.extractall(tmp) # noqa: S202
zip_ref.extractall(tmp)

zip_dirs = [d for d in glob.glob(os.path.join(tmp, "*")) if os.path.isdir(d)]
# check that the extracted archive has only repo folder
Expand Down
1 change: 1 addition & 0 deletions .actions/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
jsonargparse >=4.16.0, <4.28.0
requests
packaging
206 changes: 0 additions & 206 deletions .azure/app-cloud-e2e.yml

This file was deleted.

3 changes: 1 addition & 2 deletions .azure/gpu-benchmarks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,7 @@ jobs:
variables:
DEVICES: $( python -c 'print("$(Agent.Name)".split("_")[-1])' )
container:
# TODO: Upgrade to Python 3.11
image: "pytorchlightning/pytorch_lightning:base-cuda-py3.10-torch2.2-cuda12.1.0"
image: "pytorchlightning/pytorch_lightning:base-cuda-py3.12-torch2.4-cuda12.1.0"
options: "--gpus=all --shm-size=32g"
strategy:
matrix:
Expand Down
Loading
Loading