-
Notifications
You must be signed in to change notification settings - Fork 6.4k
[Support PyTorch 1.8] Remove inference mode #707
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
Conversation
The documentation is not available anymore as the PR was closed or merged. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Comment: There are a few mentions of I also have a question, do we have a policy to obsolete and upgrade dependencies? We currently seem to require PyTorch >= 1.4, I'm not sure about the features that got added in later versions and could inadvertently break that assumption. But more importantly, how do we decide that we no longer support an old version of any of the dependencies? |
I'm okay with replacing it with |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Ok for me to leave it in the docs (if we mention that one needs PyTorch >= 1.9). If |
…ggingface#707) At this point, all the utilities of SD web and CLI are exactly same. Signed-Off-by: Gaurav Shukla <gaurav@nod-labs.com> Signed-off-by: Gaurav Shukla <gaurav@nod-labs.com>
Let's try to not force high PyTorch versions if we can avoid it.
Inference mode was only introduced in PyTorch 1.9. The safety checker is used in many different other libraries (mainly
ComVis/stable-diffusion
) and we don't want to force these libraries to use higher PyTorch versions.cc @anton-l