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

Remove configure_callbacks #1647

Merged
merged 5 commits into from
Nov 6, 2023
Merged

Conversation

robmarkcole
Copy link
Contributor

@robmarkcole robmarkcole commented Oct 11, 2023

The use of configure_callbacks was blocking any use of callbacks and caused #1641

This is now removed. This will require the use to configure these callbacks but this is already documented here

Fixes #1640
Fixes #1641
Fixes #1642
Fixes #1645

@github-actions github-actions bot added the trainers PyTorch Lightning trainers label Oct 11, 2023
@robmarkcole
Copy link
Contributor Author

Unsure why pytest self cancelled

@robmarkcole
Copy link
Contributor Author

OK some args may lead nowhere after this change, e.g. patience=6

@adamjstewart
Copy link
Collaborator

Let's wait for feedback from Lightning-AI/pytorch-lightning#18784

@adamjstewart
Copy link
Collaborator

Unsure why pytest self cancelled

This has been happening to all of our tests recently and I have no idea why. Anyone who figures this out is my hero.

@adamjstewart adamjstewart reopened this Oct 13, 2023
@adamjstewart adamjstewart added this to the 0.5.1 milestone Oct 14, 2023
@adamjstewart
Copy link
Collaborator

Lightning-AI/pytorch-lightning#18784 proposed one possible workaround that will allow us to define defaults but also allow the user to override them. But I'm not sure if the added complexity is worth it. Thoughts?

@robmarkcole
Copy link
Contributor Author

It does sound like a lot of extra complexity to take on and manage - I still think leaving it to the users to set their own callbacks whilst providing a few examples of best practice is the way to go

@adamjstewart adamjstewart merged commit cbe5dac into microsoft:main Nov 6, 2023
21 checks passed
@robmarkcole robmarkcole deleted the issue-1642 branch November 6, 2023 13:02
nilsleh pushed a commit that referenced this pull request Nov 6, 2023
* Remove configure_callbacks

* Remove unused imports
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
trainers PyTorch Lightning trainers
Projects
None yet
2 participants