-
Notifications
You must be signed in to change notification settings - Fork 5
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
Support Lightning 2.0.0 >= #54
Conversation
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.
Thanks Sagi!
minors inline
@@ -50,6 +50,7 @@ def test_data_and_model(self) -> None: | |||
# forward pass | |||
lightning_module.forward(smiles, proteins) | |||
|
|||
@unittest.skip("Doesn't support Lightning >= 2.0.0") |
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.
Is this the weird issue?
Can you open an issue and a trello card for alex?
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 it is.
Will do now 👍
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.
Done
@@ -39,7 +39,7 @@ params: | |||
num_epochs: 100 | |||
accelerator: gpu | |||
num_devices: 1 | |||
strategy: null #"auto" for pl 2.0.0 | |||
strategy: "auto" # null for Lightning<2.0.0 |
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.
can you just remove this line? - works for both
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.
Cool :) done.
✅
Same as Fuse's
IMPORTANT
Couldn't fix the following unit-test:
Got some weird issue where it just crashes in the end of the multi-processing part: (without multi-processing it works OK !)
I spent few hours to try to fix it but didn't succeed. The closest thing I found was this Lightning x PyData issue.