-
Notifications
You must be signed in to change notification settings - Fork 5.7k
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
Introduce the copy mechanism #924
Conversation
The documentation is not available anymore as the PR was closed or merged. |
# Copied from diffusers.schedulers.scheduling_ddpm.DDPMSchedulerOutput with DDPM->DDIM | ||
class DDIMSchedulerOutput(BaseOutput): |
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.
Quick demo here as well :)
- name: Check quality | ||
run: | | ||
python utils/check_copies.py | ||
python utils/check_dummies.py |
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.
Finally some PR tests for both the dummies and the copies!
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.
Very cool! Feel free to merge whenever :-)
* Introduce the copy mechanism * init tests * fix dummy tests * with * update copies tests
* Introduce the copy mechanism * init tests * fix dummy tests * with * update copies tests
# Copied from transformers.utils.check_copies
All credit goes to the amazing @sgugger!