Skip to content
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

allow using lightning/PL & v2.0.0rc #4

Merged
merged 13 commits into from
Feb 27, 2023
Merged

allow using lightning/PL & v2.0.0rc #4

merged 13 commits into from
Feb 27, 2023

Conversation

Borda
Copy link
Member

@Borda Borda commented Feb 27, 2023

Before submitting
  • Was this discussed/agreed via a Github issue? (no need for typos and docs improvements)
  • Did you read the contributor guideline, Pull Request section?
  • Did you make sure to update the docs?
  • Did you write any new necessary tests?

What does this PR do?

it shall be fully compatible with both packages lightning and pytorch-lightning

PR review

Anyone in the community is free to review the PR once the tests have passed.
If we didn't discuss your PR in GitHub issues there's a high chance it will not be merged.

Did you have fun?

Make sure you had fun coding 🙃

@Borda Borda added the enhancement New feature or request label Feb 27, 2023
from torch import Tensor

if module_available("lightning"):
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we check for "lightning.pytorch" here?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think there is no way to have lighting without pytorch :)

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

currently there isn't :)

@Borda
Copy link
Member Author

Borda commented Feb 27, 2023

@justusschock do you know about this test?

FAILED test_strategy.py::test_raise_exception_no_batch_size - Failed: DID NOT RAISE <class 'lightning.fabric.utilities.exceptions.Misconf...

@Borda Borda changed the title allow using lightning/PL allow using lightning/PL & v2.0.0rc Feb 27, 2023
@Borda Borda merged commit 3024b26 into main Feb 27, 2023
@Borda Borda deleted the pkg/lightning branch February 27, 2023 20:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants