Skip to content
This repository has been archived by the owner on Oct 9, 2023. It is now read-only.

Commit

Permalink
Update pytorch-lightning requirement from <1.9.0,>1.6.0 to >1.6.0,<2.…
Browse files Browse the repository at this point in the history
…0.0 in /requirements (#1590)

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jirka Borovec <[email protected]>
Co-authored-by: Jirka <[email protected]>
  • Loading branch information
3 people authored Jun 18, 2023
1 parent 2907166 commit 4c858b6
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 12 deletions.
4 changes: 2 additions & 2 deletions requirements/base.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
packaging <24.0
setuptools <=59.5.0 # Prevent install bug with tensorboard
numpy <1.24 # strict - freeze for using np.long
torch >1.7.0
torch >1.7.0, <=2.0.1
torchmetrics >0.7.0, <0.11.0 # strict
pytorch-lightning >1.7.0, <1.9.0 # strict
pytorch-lightning >1.8.0, <2.0.0 # strict
pyDeprecate >0.1.0
pandas >1.1.0, <=1.5.2
jsonargparse[signatures] >4.0.0, <=4.9.0
Expand Down
13 changes: 7 additions & 6 deletions requirements/datatype_image.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,14 @@

torchvision <=0.15.2
timm >0.4.5, <=0.9.2 # effdet 0.3.0 depends on timm>=0.4.12
lightning-bolts >0.3.3, <=0.6.0
Pillow >7.1, <=9.5.0
albumentations <=1.3.1
# lightning-bolts >0.3.3, <=0.6.0 # todo: waiting on release including all compatibility fixes
lightning-bolts @ https://github.com/Lightning-Universe/lightning-bolts/archive/refs/heads/master.zip
Pillow >8.0, <=9.5.0
albumentations >1.0.0, <=1.3.1
pystiche >1.0.0, <=1.0.1
ftfy <=6.1.1
ftfy >6.0.0, <=6.1.1
regex <=2022.10.31
sahi >=0.8.19, <0.11 # strict - Fixes compatibility with icevision

icevision >0.8
icedata <=0.5.1 # dead
icevision >0.8, <0.13.0
icedata >0.5.0, <=0.5.1 # dead
3 changes: 0 additions & 3 deletions requirements/datatype_image_extras.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,6 @@ learn2learn <=0.1.7; platform_system != "Windows" # dead
fastface <=0.1.3 # dead
fairscale

# pin PL for testing, remove when fastface is updated
pytorch-lightning <1.5.0

# pinned PL so we force a compatible TM version
torchmetrics<0.8.0

Expand Down
8 changes: 8 additions & 0 deletions requirements/datatype_image_vissl.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,11 @@

# This is a separate file, as vissl integration is affected by baal installation (conflicts)
vissl >=0.1.5, <=0.1.6 # dead

# CI: lover bound is set just to limit the search space for pip/installation
torch >1.10.0
torchvision >0.11.0
torchmetrics >0.10.0
timm >0.9.0
sahi >0.10.0
icevision >0.11
3 changes: 2 additions & 1 deletion requirements/testing_audio.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ torchaudio ==0.11.0
torchvision ==0.12.0

timm >0.4.5, <=0.9.2 # effdet 0.3.0 depends on timm>=0.4.12
lightning-bolts >=0.3.3, <=0.6.0
# lightning-bolts >=0.3.3, <=0.6.0 # todo: waiting on release including all compatibility fixes
lightning-bolts @ https://github.com/Lightning-Universe/lightning-bolts/archive/refs/heads/master.zip
Pillow >7.1, <=9.5.0
albumentations <=1.3.1
pystiche >1.0.0, <=1.0.1
1 change: 1 addition & 0 deletions tests/core/utilities/test_lightning_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -578,6 +578,7 @@ def on_exception(self, execption):
raise execption


@pytest.mark.skipif(os.name == "nt", reason="Strange DDP values, need to debug later...") # todo
@pytest.mark.skipif(not _TOPIC_CORE_AVAILABLE, reason="Not testing core.")
@pytest.mark.parametrize("logger", [False, True])
@pytest.mark.parametrize(
Expand Down

0 comments on commit 4c858b6

Please sign in to comment.