-
Notifications
You must be signed in to change notification settings - Fork 6.1k
adding more typehints to DDIM scheduler #456
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
adding more typehints to DDIM scheduler #456
Conversation
The documentation is not available anymore as the PR was closed or merged. |
Hey @vishnu-anirudh, this looks great. Can you run (Or I think its just the list order of |
…h/diffusers into type_ddim_diffuser
Thank you @natolambert, yes |
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.
Thanks a lot!
This reverts commit a0558b1.
Hey @vishnu-anirudh, Super sorry, I just noticed that we actually are making our schedulers framework-specific now (cc @kashif ) so that all arrays should not get a numpy type hint anymore. Very sorry 🙏 @kashif could you maybe link your PR here so that maybe we can improve the type hints there once it's ready? :-) |
Apologies! Please continue to check in to PR #534 |
Hello @patrickvonplaten That's not a problem. I am happy to fill in the gaps wherever required after this commit is merged. |
* adding more typehints * resolving mypy issues * resolving formatting issue * fixing isort issue Co-authored-by: V Vishnu Anirudh <git.vva@gmail.com> Co-authored-by: V Vishnu Anirudh <vvani@kth.se>
Revert "adding more typehints to DDIM scheduler (huggingface#456)" This reverts commit a0558b1.
Adding more type hints to DDIM scheduler to make readability better.