-
Notifications
You must be signed in to change notification settings - Fork 16
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
Create lightning_utilities.testing
subpackage
#45
Comments
lightning_utilities.testing
subpackagelightning_utilities.testing
subpackage
@carmocca still thinking about having the |
What simple functionality? Only |
I added #55 but haven't updated the projects to use it. |
I found with cutting strategies and accelerators that I am always coping with GPU, standalone, min torch, etc. |
What's the issue with copying it? It's very simple infrastructure. If you wanted to share code, then it should be done through fabric or pytorch lightning, which do install torch |
🚀 Feature
Collect common classes, functions, e.g.
RunIf
: https://github.com/Lightning-AI/lightning/blob/95374440ce9b4f499f83b0e6b8cee0bc715aa18b/tests/tests_pytorch/helpers/runif.py#L55no_warning_call
: https://github.com/Lightning-AI/lightning/blob/95374440ce9b4f499f83b0e6b8cee0bc715aa18b/tests/tests_pytorch/helpers/utils.py#L92Motivation
Prevents duplication across repositories.
The text was updated successfully, but these errors were encountered: