-
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
LightningCLI shouldn't run fit by default #8615
Comments
@tchaton I think strictly this is not a bug as it is documented here right were LightningCLI is first introduced:
I do however agree with you that this is an issue and it is also my opinion that the instantiation of LightningCLI should not run a trainer.fit. |
just for the record, @tchaton #8251 (comment) |
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! |
🐛 Bug
To Reproduce
Currently, the LightingCLI runs fit by default which is an anti-pattern for the Lightning API and seems like magic.
Current implementation.
Expected implementation.
Expected behavior
Environment
conda
,pip
, source):torch.__config__.show()
:Additional context
The text was updated successfully, but these errors were encountered: