-
Notifications
You must be signed in to change notification settings - Fork 5.8k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Fix static typing and doc typos #8807
Conversation
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.
Thank you for your first contribution! Looks correct to me, but might require a few minor changes in other files with make fix-copies
cc @sayakpaul
@@ -194,7 +194,7 @@ def __init__( | |||
sample_max_value: float = 1.0, | |||
timestep_spacing: str = "leading", | |||
steps_offset: int = 0, | |||
rescale_betas_zero_snr: int = False, | |||
rescale_betas_zero_snr: bool = False, |
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.
You might have to run make fix-copies
to fix all instances of this type hint. If you find more inconsistencies, please feel free to open follow-up PRs!
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.
Thank you @a-r-r-o-w for the information! I just make fix-copies
and made a follow-up commit that corrects another file scheduling_ddpm_parallel.py
.
The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update. |
thanks for your contribution! |
Thank you @a-r-r-o-w and @yiyixuxu for reviewing and merging this PR! Have a nice day! |
* Fix static typing and doc typos * Fix more same type hint typos with make fix-copies
What does this PR do?
Fixes typos:
scheduling_ddim.py
scheduling_ddpm.py
Before submitting