• dg845's avatar
    Implement Frequency-Decoupled Guidance (FDG) as a Guider (#11976) · d45199a2
    dg845 authored
    
    
    * Initial commit implementing frequency-decoupled guidance (FDG) as a guider
    
    * Update FrequencyDecoupledGuidance docstring to describe FDG
    
    * Update project so that it accepts any number of non-batch dims
    
    * Change guidance_scale and other params to accept a list of params for each freq level
    
    * Add comment with Laplacian pyramid shapes
    
    * Add function to import_utils to check if the kornia package is available
    
    * Only import from kornia if package is available
    
    * Fix bug: use pred_cond/uncond in freq space rather than data space
    
    * Allow guidance rescaling to be done in data space or frequency space (speculative)
    
    * Add kornia install instructions to kornia import error message
    
    * Add config to control whether operations are upcast to fp64
    
    * Add parallel_weights recommended values to docstring
    
    * Apply style fixes
    
    * make fix-copies
    
    ---------
    Co-authored-by: default avatargithub-actions[bot] <github-actions[bot]@users.noreply.github.com>
    Co-authored-by: default avatarAryan <aryan@huggingface.co>
    d45199a2
dummy_pt_objects.py 59.2 KB