Uh oh!
There was an error while loading. Please reload this page.
Fix static typing and doc typos - #8807
Conversation
a-r-r-o-w
left a comment
There was a problem hiding this comment.
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
| 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.
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.
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.
HuggingFaceDocBuilderDev
commented
Jul 8, 2024
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. |
yiyixuxu
commented
Jul 8, 2024
thanks for your contribution! |
zhuoqun-chen
commented
Jul 8, 2024
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.pyscheduling_ddpm.pyBefore submitting