This repository has been archived by the owner on Oct 9, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 212
Add support for Lightning 1.8 + Fixes for the CI #1479
Merged
Merged
Changes from all 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 cffc3ab
Merge branch 'master' of github.com:Lightning-AI/lightning-flash
krshrimali da73676
checking if issues were there for pl 1.7.7
krshrimali 4438093
Update requirements.txt
krshrimali f189866
Pin sahi version
krshrimali 2e98376
list dependencies as a separate step
krshrimali 0bad50f
Sahi pin to 0.8.19 for serve
krshrimali abc6ef2
try torchscript instead of torch.jit.trace
krshrimali b180bed
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 23c4f1e
Update golang
krshrimali 8757e7c
Merge branch 'debug-lightning-18' of github.com:Lightning-AI/lightnin…
krshrimali 1178289
1.17
krshrimali e125707
1.17.9
krshrimali 105c829
rollback some unrequired changes
krshrimali 21bd12a
@rohitgr7 suggested this
krshrimali bfec178
@rohitgr7 suggested this
krshrimali fd304eb
lr_schedulers to lr_scheduler_configs
krshrimali 82d7785
check if PL greater than equal to 1.8.0
krshrimali 7533ec8
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 563bbfb
add PL check for 1.8.0
krshrimali 81e54f6
Merge branch 'debug-lightning-18' of github.com:Lightning-AI/lightnin…
krshrimali 3d2e791
Start 3.8 to 3.10
krshrimali 3733b5b
Move back to 3.7 to 3.9
krshrimali 30deeb6
Remove _notebooks as it's unused
krshrimali 7ead5d1
Revert "Remove _notebooks as it's unused"
krshrimali e62ed60
fix lr_scheduler_configs usage
krshrimali 5ecaa31
try fixing jsonnet (go < 1.17)
krshrimali f9769e1
Merge branch 'debug-lightning-18' of github.com:Lightning-AI/lightnin…
krshrimali e085737
Try installing 1.17
krshrimali da7a080
Try installing 1.17
krshrimali 5e5af42
Try installing 1.17
krshrimali 4583ef6
Try installing 1.17
krshrimali faa3b17
Try installing 1.17
krshrimali a810e7a
Skip mac os 12 (flaky)
krshrimali 88b1e67
skip flaky test on Mac
krshrimali 7e39c50
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 77d369d
Merge branch 'master' into debug-lightning-18
krshrimali 49cfb60
Update with num_devices instead of tpu_cores
krshrimali c506d59
Add CHANGELOG
krshrimali File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,6 +3,7 @@ fiftyone | |
classy_vision | ||
vissl>=0.1.5 | ||
icevision>=0.8 | ||
sahi >=0.8.19,<0.11.0 | ||
icedata | ||
effdet | ||
kornia>=0.5.1 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why
icevision
,sahi
,effdet
are not part of the requirements?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
They are. We don't need these modules for
serve
though, but forserve
testing we need them. Hence explicit installation. @BordaThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
but still why
all
does not include all?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
uhmm, because we only need
icevision, effdet
for the serve tests. And these are inrequirements/datatype_image_extras.txt
(which has a lot more than we need for serve tests).So basically:
icevision, effdet
are not needed for serve in Lightning Flash.icevision, effdet
are only needed for "serve tests" in Flash.Hence the explicit mention of
sahi, icevision, effdet
(sahi because we need to pin it).Does that help, @Borda ? Please let me know if you have any questions or suggestions.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
still,
sahi, icevision, effdet
shall be in a requirement file for reproducibility in case you would need to restrict versionsThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
They are here: https://github.com/Lightning-AI/lightning-flash/blob/c506d590aebb9e339b159c6aa0d48c97ec1fb733/requirements/datatype_image_extras.txt#L4-L8
And we already use this^ for image.
And this is only temporary, once icevision is fixed for the latest
sahi
release, this will go.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
let's do these requirements cleaning in another PR, and lets link this discussion 🦦
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes! ^ From an off-line discussion with @Borda, I fully agree that we should make reproducible environments for users to have the same testing environment as the CI. Nobody will read the CI dependencies to figure out why it fails in the CI.
So, we'll do something similar to what TorchMetrics has: https://github.com/Lightning-AI/metrics/tree/master/requirements
I'll make a PR and link the discussion here. Thank you, @Borda!!