-
Notifications
You must be signed in to change notification settings - Fork 6k
Add timestep_spacing
and steps_offset
to schedulers
#3947
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
Merged
Merged
Changes from all commits
Commits
Show all changes
30 commits
Select commit
Hold shift + click to select a range
326172d
Add timestep_spacing to DDPM, LMSDiscrete, PNDM.
pcuenca 9ac281b
Remove spurious line.
pcuenca 77075af
More easy schedulers.
pcuenca 5e3c4f7
Add `linspace` to DDIM
pcuenca c1e93d2
Noise sigma for `trailing`.
pcuenca cd4cc28
Add timestep_spacing to DEISMultistepScheduler.
pcuenca 02cdd87
Fix: remove line used to debug.
pcuenca 30e3a5d
Support timestep_spacing in DPMSolverMultistep, DPMSolverSDE, UniPC
pcuenca 8375d0a
Fix: convert to numpy.
pcuenca eb60db4
Use sched. defaults when instantiating from_config
pcuenca 81c5a1e
Apply suggestions from code review
pcuenca a38021f
Missing args in DPMSolverMultistep
pcuenca 8f9c73c
Test: default args not in config
pcuenca d833276
Style
pcuenca 3de3909
Fix scheduler name in test
pcuenca 5080d7f
Remove duplicated entries
pcuenca 083c8aa
Add test for solver_type
pcuenca bef7669
UniPC: use same default for solver_type
pcuenca 21d7eea
do not save use default values
patrickvonplaten cb1109f
fix more
patrickvonplaten 46c5c8f
fix all
patrickvonplaten dc8c70b
fix schedulers
patrickvonplaten 6470353
fix more
patrickvonplaten 72949cb
finish for real
patrickvonplaten 45328ef
finish for real
patrickvonplaten 8f4c443
flaky tests
patrickvonplaten cedcb1b
Update tests/pipelines/stable_diffusion/test_stable_diffusion_pix2pix…
patrickvonplaten a8bdf06
Default steps_offset to 0.
pcuenca f5a1d2c
Add missing docstrings
pcuenca 910d609
Apply suggestions from code review
patrickvonplaten File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.