• Rafie Walker's avatar
    Implement Self-Attention Guidance (#2201) · 6761233e
    Rafie Walker authored
    * First SAG test
    
    * need to put extra options on the model instead of patcher
    
    * no errors and results seem not-broken
    
    * Use @ashen-uncensored formula, which works better!!!
    
    * Fix a crash when using weird resolutions. Remove an unnecessary UNet call
    
    * Improve comments, optimize memory in blur routine
    
    * SAG works with sampler_cfg_function
    6761233e
nodes.py 68.9 KB