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 usage of latest pytorch_lighning #8508

Merged
merged 3 commits into from
Mar 25, 2023

Conversation

vladmandic
Copy link
Collaborator

this is optional PR for people that want to use newer version of pytorch_lightning.

there are number of PRs that tried to update it from 1.7.6 to 1.7.7, but this PR allows usage all the way to newest 1.9.4.
basically, new package is fully compatible except for a future deprecation warning (will be in effect in version 2.0).
to fully address deprecation warning would require changes to imports in several upstream libs as well, so easiest (and safe) for now is to ignore it.

@vladmandic vladmandic changed the title all usage of newer pytorch_lighning allow usage of latest pytorch_lighning Mar 11, 2023
@AUTOMATIC1111
Copy link
Owner

did you forget to import warnings

@vladmandic
Copy link
Collaborator Author

did you forget to import warnings

i did, i need to be more carefull when creating per-pr branches from my main.

@AUTOMATIC1111
Copy link
Owner

Does this just disable all deprecation warnings from all sources?

@vladmandic
Copy link
Collaborator Author

Does this just disable all deprecation warnings from all sources?

i just made it module specific, but i don't think it makes a big difference as webui disables all warnings by default. (pytorch_lightning requires additional handling because it re-enables them in its init code).

@AUTOMATIC1111 AUTOMATIC1111 merged commit d9b9bf7 into AUTOMATIC1111:master Mar 25, 2023
@vladmandic vladmandic deleted the lightning branch March 25, 2023 11:28
brkirch pushed a commit to brkirch/stable-diffusion-webui that referenced this pull request Apr 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants