Commit Graph

3465 Commits

Author SHA1 Message Date
Hameer Abbasi 00a5df5806 Small fix for refiner (untested). 2023-08-06 07:24:20 +00:00
Hameer Abbasi bb66b5ce0e Ruff fix and refiner->is_refiner. 2023-08-06 07:37:45 +02:00
AI-Casanova e65e959eef Enable A1111 and Full parsing conversion 2023-08-06 02:52:03 +00:00
AI-Casanova 685ede9e15 Merge branch 'master' into Compel 2023-08-04 20:59:39 -05:00
Marcin Dzierwa 0611b1e4d9 added /sdapi/v1/sd-vae endpoint 2023-08-04 18:58:47 +02:00
root 076acf0664 Linting fixes. 2023-08-04 15:16:13 +00:00
root fdbafbd713 Clean up code. 2023-08-04 15:12:37 +00:00
Vladimir Mandic a12c9117e6 add requirement check install flag 2023-08-04 11:23:25 +02:00
Disty0 fc3d96f6f6 IPEX fix ControlNet PidiNet 2023-08-04 04:15:25 +03:00
Disty0 5f5a564d41 Update compile settings 2023-08-03 22:38:43 +03:00
Disty0 434a1f967f IPEX fixes 2023-08-03 21:06:15 +03:00
Disty0 44b17b7418 Add compile type option 2023-08-03 17:51:29 +03:00
Disty0 4535a99fff Model compile support for IPEX 2023-08-03 17:25:15 +03:00
Disty0 a293e3cdcb Torch 2.0 for IPEX 2023-08-03 16:29:56 +03:00
Vladimir Mandic 246989129f ui settings logging 2023-08-02 08:27:16 +02:00
AI-Casanova b166dcbfad Add prompt_parser_diffusers.py 2023-08-01 02:46:53 +00:00
AI-Casanova bb7a71becd Merge branch 'vladmandic:master' into Compel 2023-07-31 18:36:01 -05:00
Seunghoon Lee 8787f36b2c Merge branch 'master' of https://github.com/vladmandic/automatic 2023-08-01 02:03:51 +09:00
Seunghoon Lee d711880aa9 New option for DirectML: memory stats provider.
1. Performance Counter.
    Get vram size allocated to & used by python.exe from pdh.dll.
    Generation can be slower than atiadlxx.
    Use memory less greedy then atiadlxx.
    Windows only.
2. atiadlxx.
    Get max vram size and available vram size from AMD GPU driver (atiadlxx.dll).
    Use memory more greedy than Performance Counter.
    Windows & WSL are supported.
3. None.
    Assume available vram size is 8GB.
    Use memory regardless of current vram usage.
2023-08-01 01:58:04 +09:00
Disty0 8ffaea76ba Add Diffusers model and VAE variant loading option 2023-07-31 14:39:41 +03:00
Vladimir Mandic 2cf4014040 refresh 2023-07-31 11:36:51 +02:00
Seunghoon Lee 1524365284 Update Korean localization & DirectML bug fix. 2023-08-02 02:32:11 +09:00
Disty0 80b834054b CPU offload mode check & Enable compile for IPEX 2023-08-01 02:51:50 +03:00
AI-Casanova 397d7ea6de Add Compel Parsing for SDXL 2023-07-30 22:26:55 -05:00
Disty0 884e464693 Move base to cpu when using refiner with offload 2023-07-30 18:39:27 +03:00
Vladimir Mandic 2300329893 fix lint 2023-07-30 17:17:56 +02:00
Vladimir Mandic 6e428ff0a2 update diffusers 2023-07-30 17:14:34 +02:00
Vladimir Mandic 13ba9531a5 Merge pull request #1875 from AI-Casanova/diffusers-LoRA
Enable SDXL LoRA (Must install the newest Diffusers!)
2023-07-30 11:13:36 -04:00
Disty0 350be09282 w/a for model cpu offload refiner 2023-07-30 17:18:57 +03:00
Disty0 0180402563 Better move and accelerate handling 2023-07-30 11:36:47 +03:00
Disty0 66a6e783f0 has_accelerate = False for original backend 2023-07-30 01:22:29 +03:00
Kubuxu 4d00224082 Fix pipeline switching 2023-07-30 00:51:35 +03:00
Kubuxu 7e1030d499 Introduce sd_model.has_accelerate 2023-07-30 00:51:35 +03:00
Kubuxu f945cf14b0 Fix model offload by not focring the model to GPU 2023-07-30 00:51:35 +03:00
Disty0 085d1da825 Fix force upcast VAE with Diffusers 2023-07-29 21:01:24 +03:00
Disty0 3258b27523 Update sequential CPU offload check 2023-07-29 19:13:29 +03:00
Disty0 38ecfb6dff Add Move UNet to CPU option 2023-07-29 18:58:08 +03:00
Disty0 3010d1823d Fix modules 2023-07-29 15:44:55 +03:00
Seunghoon Lee 42c6147ac8 cleanup 2023-07-29 13:48:28 +09:00
Seunghoon Lee 7017a4a2a9 Fix UniPC sampler issue on DirectML. 2023-07-29 13:38:41 +09:00
Seunghoon Lee 813eb48bf7 Restore Python 3.9 compatibility. (DirectML) 2023-07-29 12:10:41 +09:00
Seunghoon Lee 47f2f50574 Restore Python 3.9 compatibility. (DirectML) 2023-07-29 12:08:22 +09:00
Disty0 025df86ac0 Cleanup 2023-07-29 02:06:34 +03:00
AI-Casanova fd7f51302e Update processing_diffusers.py 2023-07-28 18:01:38 -05:00
AI-Casanova 942371b25a Update lora_diffusers.py 2023-07-28 18:00:44 -05:00
Kubuxu 1da64b9d08 Fix setting VAE Force Upcast in diffusers 2023-07-28 23:07:11 +01:00
Disty0 31e1bb01ff Fix VAE reloading 2023-07-28 23:23:36 +03:00
Disty0 dbd7887632 Fix refiner unloading 2023-07-28 23:12:45 +03:00
Disty0 c8af2affaf Fix original backend reloading 2023-07-28 21:26:54 +03:00
Disty0 cfcf481992 cleanup 2023-07-28 21:10:38 +03:00