• clarencechen's avatar
    Add Recent Timestep Scheduling Improvements to DDIM Inverse Scheduler (#3865) · c6e56e92
    clarencechen authored
    * Add Recent Timestep Scheduling Improvements to DDIM Inverse Scheduler
    
    Roll timesteps by one to reflect origin-destination semantic discrepancy
    
    Restore `set_alpha_to_one` option to handle negative initial timesteps
    
    Remove `set_alpha_to_zero` option not used due to previous truncation
    
    * Bugfix
    
    * Remove unnecessary calls to `detach()`
    
    Use `self.image_processor.preprocess` in DiffEdit pipeline functions
    
    * Preprocess list input for inverted image latents in diffedit pipeline
    
    * Add `timestep_spacing` and `steps_offset` to `DPMSolverMultistepInverseScheduler`
    
    * Update expected test results to account for inverting last forward diffusion step
    
    * Fix inversion progress bar bug
    
    * Add first draft for proper fast tests for DDIMInverseScheduler
    
    * Add deprecated DDIMInverseScheduler kwarg to ConfigMixer registry
    
    * Fix test failure in DPMMultistepInverseScheduler
    
    Invert step specification leads to negative noise variance in SDE-based algs
    
    Add first draft for proper fast tests for DPMMultistepInverseScheduler
    
    * Update expected test results to account for inverting last forward diffusion step
    
    Clean up diffedit fast test
    c6e56e92
scheduling_ddim_inverse.py 16.1 KB