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

Add support for Lightning 1.8 + Fixes for the CI #1479

Merged
merged 39 commits into from
Nov 5, 2022
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
7d067c8
Add requires(icevision) for loading data (icevision integration)
krshrimali Oct 26, 2022
cffc3ab
Merge branch 'master' of github.com:Lightning-AI/lightning-flash
krshrimali Nov 3, 2022
da73676
checking if issues were there for pl 1.7.7
krshrimali Nov 3, 2022
4438093
Update requirements.txt
krshrimali Nov 3, 2022
f189866
Pin sahi version
krshrimali Nov 3, 2022
2e98376
list dependencies as a separate step
krshrimali Nov 4, 2022
0bad50f
Sahi pin to 0.8.19 for serve
krshrimali Nov 4, 2022
abc6ef2
try torchscript instead of torch.jit.trace
krshrimali Nov 4, 2022
b180bed
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Nov 4, 2022
23c4f1e
Update golang
krshrimali Nov 4, 2022
8757e7c
Merge branch 'debug-lightning-18' of github.com:Lightning-AI/lightnin…
krshrimali Nov 4, 2022
1178289
1.17
krshrimali Nov 4, 2022
e125707
1.17.9
krshrimali Nov 4, 2022
105c829
rollback some unrequired changes
krshrimali Nov 4, 2022
21bd12a
@rohitgr7 suggested this
krshrimali Nov 4, 2022
bfec178
@rohitgr7 suggested this
krshrimali Nov 4, 2022
fd304eb
lr_schedulers to lr_scheduler_configs
krshrimali Nov 4, 2022
82d7785
check if PL greater than equal to 1.8.0
krshrimali Nov 4, 2022
7533ec8
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Nov 4, 2022
563bbfb
add PL check for 1.8.0
krshrimali Nov 4, 2022
81e54f6
Merge branch 'debug-lightning-18' of github.com:Lightning-AI/lightnin…
krshrimali Nov 4, 2022
3d2e791
Start 3.8 to 3.10
krshrimali Nov 4, 2022
3733b5b
Move back to 3.7 to 3.9
krshrimali Nov 4, 2022
30deeb6
Remove _notebooks as it's unused
krshrimali Nov 4, 2022
7ead5d1
Revert "Remove _notebooks as it's unused"
krshrimali Nov 4, 2022
e62ed60
fix lr_scheduler_configs usage
krshrimali Nov 4, 2022
5ecaa31
try fixing jsonnet (go < 1.17)
krshrimali Nov 4, 2022
f9769e1
Merge branch 'debug-lightning-18' of github.com:Lightning-AI/lightnin…
krshrimali Nov 4, 2022
e085737
Try installing 1.17
krshrimali Nov 4, 2022
da7a080
Try installing 1.17
krshrimali Nov 4, 2022
5e5af42
Try installing 1.17
krshrimali Nov 4, 2022
4583ef6
Try installing 1.17
krshrimali Nov 4, 2022
faa3b17
Try installing 1.17
krshrimali Nov 4, 2022
a810e7a
Skip mac os 12 (flaky)
krshrimali Nov 4, 2022
88b1e67
skip flaky test on Mac
krshrimali Nov 4, 2022
7e39c50
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Nov 4, 2022
77d369d
Merge branch 'master' into debug-lightning-18
krshrimali Nov 4, 2022
49cfb60
Update with num_devices instead of tpu_cores
krshrimali Nov 4, 2022
c506d59
Add CHANGELOG
krshrimali Nov 5, 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
3 changes: 2 additions & 1 deletion flash/core/integrations/icevision/data.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
from flash.core.data.utilities.loading import IMG_EXTENSIONS, load_image, NP_EXTENSIONS
from flash.core.data.utilities.paths import list_valid_files
from flash.core.integrations.icevision.transforms import from_icevision_record
from flash.core.utilities.imports import _ICEVISION_AVAILABLE
from flash.core.utilities.imports import _ICEVISION_AVAILABLE, requires

if _ICEVISION_AVAILABLE:
from icevision.core.record import BaseRecord
Expand All @@ -33,6 +33,7 @@ class IceVisionInput(Input):
num_classes: int
labels: list

@requires("icevision")
def load_data(
self,
root: str,
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ setuptools<=59.5.0 # Prevent install bug with tensorboard
numpy
torch>=1.7.1
torchmetrics>=0.5.0,!=0.5.1
pytorch-lightning>=1.3.6
pytorch-lightning>=1.3.6, <1.8.0
krshrimali marked this conversation as resolved.
Show resolved Hide resolved
pyDeprecate
pandas>=1.1.0
jsonargparse[signatures]>=3.17.0, <=4.9.0
Expand Down