-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
Update core/lightning.py
to core/lightning_module.py
#10499
Comments
Hey @rohitgr7, I am in favour of this. It would make discoverability of the code simpler. @ananthsub @awaelchli @carmocca Any thoughts ? |
Agree with the renaming. However, it should be because if we choose |
@Borda thoughts? |
I would say that the
I agree with the name, just has |
But that's a separate topic, which would be if This issue is just about consistency of the filenames. The current format is So either (1):
|
This issue has been automatically marked as stale because it hasn't had any recent activity. This issue will be closed in 7 days if no further activity occurs. Thank you for your contributions, Pytorch Lightning Team! |
This issue has been automatically marked as stale because it hasn't had any recent activity. This issue will be closed in 7 days if no further activity occurs. Thank you for your contributions, Pytorch Lightning Team! |
This issue has been automatically marked as stale because it hasn't had any recent activity. This issue will be closed in 7 days if no further activity occurs. Thank you for your contributions, Pytorch Lightning Team! |
@rohitgr7 I want to work on it, |
Hi @tanmoyio! That'll be great! Assigned this issue to you :) |
@akihironitta so |
Proposed refactoring or deprecation
Update
core/lightning.py
tocore/lightning_module.py
Possibly also update
core/datamodule.py
tocore/lightning_datamodule.py
Motivation
Update it since
core/lightning.py
only containsLightningModule
so the filename doesn't signify what it contains.Pitch
It's a simple update. We can deprecate the old filename. Need approvals if it looks good.
Additional context
If you enjoy Lightning, check out our other projects! ⚡
Metrics: Machine learning metrics for distributed, scalable PyTorch applications.
Lite: enables pure PyTorch users to scale their existing code on any kind of device while retaining full control over their own loops and optimization logic.
Flash: The fastest way to get a Lightning baseline! A collection of tasks for fast prototyping, baselining, fine-tuning, and solving problems with deep learning.
Bolts: Pretrained SOTA Deep Learning models, callbacks, and more for research and production with PyTorch Lightning and PyTorch.
Lightning Transformers: Flexible interface for high-performance research using SOTA Transformers leveraging Pytorch Lightning, Transformers, and Hydra.
cc @justusschock @awaelchli @akihironitta @rohitgr7 @carmocca @Borda @ananthsub @ninginthecloud @jjenniferdai
The text was updated successfully, but these errors were encountered: