aboutsummaryrefslogtreecommitdiffstats
path: root/modules/sd_hijack.py
Commit message (Collapse)AuthorAgeFilesLines
* add textual inversion hashes to infotextAUTOMATIC11112023-07-151-1/+4
|
* revert default cross attention optimization to DoggettxAUTOMATIC2023-06-011-0/+2
| | | | make --disable-opt-split-attention command line option work again
* custom unet supportAUTOMATIC2023-05-271-6/+14
|
* possible fix for empty list of optimizations #10605AUTOMATIC2023-05-231-6/+15
|
* make it actually work after suggestionsAUTOMATIC2023-05-191-1/+1
|
* fix linter issuesAUTOMATIC2023-05-181-1/+0
|
* make it possible for scripts to add cross attention optimizationsAUTOMATIC2023-05-181-41/+49
| | | | add UI selection for cross attention optimization
* fix model loading twice in some situationsAUTOMATIC2023-05-141-0/+3
|
* Autofix Ruff W (not W605) (mostly whitespace)Aarni Koskela2023-05-111-6/+6
|
* ruff auto fixesAUTOMATIC2023-05-101-1/+1
|
* imports cleanup for ruffAUTOMATIC2023-05-101-1/+1
|
* autofixes from ruffAUTOMATIC2023-05-101-2/+2
|
* sdp_attnblock_forward hijackPam2023-03-101-0/+2
|
* sdp refactoringPam2023-03-101-9/+10
|
* argument to disable memory efficient for sdpPam2023-03-101-3/+8
|
* scaled dot product attentionPam2023-03-061-0/+4
|
* Merge branch 'master' into weighted-learningAUTOMATIC11112023-02-191-0/+2
|\
| * Apply hijacks in ddpm_edit for upcast samplingbrkirch2023-02-081-0/+3
| | | | | | | | To avoid import errors, ddpm_edit hijacks are done after an instruct pix2pix model is loaded.
* | Hijack to add weighted_forward to model: return loss * weight mapShondoit2023-02-151-0/+52
|/
* Merge pull request #7309 from brkirch/fix-embeddingsAUTOMATIC11112023-01-281-1/+1
|\ | | | | Fix embeddings, upscalers, and refactor `--upcast-sampling`
| * Refactor conditional casting, fix upscalersbrkirch2023-01-281-1/+1
| |
| * Fix embeddings dtype mismatchbrkirch2023-01-261-1/+1
| |
* | automatically detect v-parameterization for SD2 checkpointsAUTOMATIC2023-01-281-0/+2
|/
* write a comment for fix_checkpoint functionAUTOMATIC2023-01-191-0/+7
|
* add option to show/hide warningsAUTOMATIC2023-01-181-8/+0
| | | | | removed hiding warnings from LDSR fixed/reworked few places that produced warnings
* make it possible for extensions/scripts to add their own embedding directoriesAUTOMATIC2023-01-081-3/+4
|
* Merge pull request #6055 from brkirch/sub-quad_attn_optAUTOMATIC11112023-01-071-12/+9
|\ | | | | Add Birch-san's sub-quadratic attention implementation
| * Allow Doggettx's cross attention opt without CUDAbrkirch2023-01-061-1/+1
| |
| * Merge remote-tracking branch 'upstream/master' into sub-quad_attn_optbrkirch2023-01-061-1/+11
| |\
| * \ Merge branch 'AUTOMATIC1111:master' into sub-quad_attn_optbrkirch2023-01-061-6/+19
| |\ \
| * | | Add Birch-san's sub-quadratic attention implementationbrkirch2023-01-061-9/+6
| | | |
* | | | CLIP hijack reworkAUTOMATIC2023-01-061-3/+3
| |_|/ |/| |
* | | add cross-attention infoVladimir Mandic2023-01-041-1/+11
| |/ |/|
* | alt-diffusion integrationAUTOMATIC2022-12-311-8/+10
| |
* | Merge remote-tracking branch 'baai-open-internal/master' into alt-diffusionAUTOMATIC2022-12-311-6/+17
|\ \ | |/ |/|
| * add hash and fix undo hijack bugzhaohu xing2022-12-061-1/+5
| | | | | | | | Signed-off-by: zhaohu xing <920232796@qq.com>
| * Merge pull request #3 from 920232796/masterZac Liu2022-12-061-1/+1
| |\ | | | | | | | | | fix device support for mps update the support for SD2.0
| | * fix bugszhaohu xing2022-12-061-1/+1
| | | | | | | | | | | | Signed-off-by: zhaohu xing <920232796@qq.com>
| * | Merge branch 'AUTOMATIC1111:master' into masterZac Liu2022-12-061-5/+2
| |\ \ | | |/ | |/|
| * | fix bugszhaohu xing2022-11-301-7/+8
| | | | | | | | | | | | Signed-off-by: zhaohu xing <920232796@qq.com>
| * | Merge branch 'master' into masterzhaohu xing2022-11-301-280/+40
| |\ \
| * | | add AltDiffusion to webuizhaohu xing2022-11-291-6/+17
| | | | | | | | | | | | | | | | Signed-off-by: zhaohu xing <920232796@qq.com>
* | | | cleanup some unneeded imports for hijack filesAUTOMATIC2022-12-101-8/+2
| | | |
* | | | do not replace entire unet for the resolution hackAUTOMATIC2022-12-101-2/+3
| | | |
* | | | Merge pull request #4978 from aliencaocao/support_any_resolutionAUTOMATIC11112022-12-101-0/+1
|\ \ \ \ | |_|_|/ |/| | | Patch UNet Forward to support resolutions that are not multiples of 64
| * | | Merge branch 'master' into support_any_resolutionBilly Cao2022-11-271-269/+29
| |\ \ \
| * | | | Patch UNet Forward to support resolutions that are not multiples of 64Billy Cao2022-11-231-0/+2
| | |/ / | |/| | | | | | | | | | Also modifed the UI to no longer step in 64
* | | | move #5216 to the extensionAUTOMATIC2022-12-031-1/+1
| | | |
* | | | Merge remote-tracking branch 'wywywywy/autoencoder-hijack'AUTOMATIC2022-12-031-1/+1
|\ \ \ \
| * | | | Add autoencoder to sd_hijackwywywywy2022-11-291-1/+1
| | |_|/ | |/| |