Commit Graph

665 Commits

Author SHA1 Message Date
Haoming
2edac94e68 oops 2026-02-01 13:48:38 +08:00
Haoming
78af5c4d44 blur 2026-01-31 23:39:26 +08:00
Haoming
5d4efc6c20 hires 2026-01-31 16:45:27 +08:00
Haoming
269eae883b pil 2026-01-20 20:43:00 +08:00
Haoming
2bec129ad1 hash 2025-12-30 22:22:21 +08:00
Haoming
e9adaa6450 latents 2025-12-29 12:23:24 +08:00
Haoming
1ffc61b056 persistent_cond_cache 2025-11-24 22:44:34 +08:00
Haoming
983a0ea79b attr 2025-11-21 15:10:18 +08:00
Haoming
06ce29feb4 xyz 2025-11-21 14:55:39 +08:00
Haoming
6b954996c5 wan 2025-11-19 23:58:55 +08:00
Haoming
3068c0546d comments 2025-11-06 12:04:06 +08:00
Haoming
f7cb7cdb0d infotext 2025-10-31 11:31:37 +08:00
Haoming
f9f0954024 lint 2025-10-29 11:14:50 +08:00
Haoming
6069aaa95a clean up 2025-10-28 16:50:56 +08:00
Haoming
40e9decd09 option 2025-10-28 11:12:15 +08:00
Haoming
442123122a Epsilon Scaling
https://github.com/comfyanonymous/ComfyUI/pull/10132
2025-10-27 09:31:29 +08:00
Haoming
659d735e44 cached_params 2025-10-20 10:43:09 +08:00
Haoming
ce066b9a49 qwen inpaint 2025-10-19 01:03:06 +08:00
Haoming
5213740aba cond cache 2025-10-13 15:57:51 +08:00
Haoming
ad1ca5a80c Alt + Shift + F 2025-10-13 13:56:39 +08:00
Haoming
1518c77273 flux-kontext ref_latents 2025-10-08 18:02:46 +08:00
ZhenyaPav
50488312a5 fix(api): resolve TypeError by aligning checkpoint_change/modules_change calls with 'preset' param and guarding None preset writes\n\n- Add preset=None to calls from sysinfo, processing\n- Avoid writing forge_additional_modules_\u003cpreset\u003e when preset is None\n- Prevents: TypeError: checkpoint_change() missing required positional argument 'preset' 2025-09-07 20:40:12 +03:00
Haoming
04cf6f699d sampling 2025-09-01 15:21:35 +08:00
Haoming
4e8dc22b09 option - optimizations 2025-08-05 10:43:06 +08:00
Haoming
b343ae4753 yeet 2025-07-31 14:41:56 +08:00
Haoming
3d8212a718 upscale 2025-07-31 11:54:04 +08:00
Haoming
80fb8b33c4 deps 2025-07-26 19:03:45 +08:00
DenOfEquity
bae1bba891
avoid forcing API to send hr_additional_modules (#2406) 2024-12-02 22:15:59 +00:00
DenOfEquity
70f3499d0f
avoid potential unnecessary model load with hiresfix quickbutton (#2189) 2024-10-26 21:48:36 +01:00
altoiddealer
145a46907e
Improve option handling (sd_model_checkpoint / forge_additional_modules) (#2181)
* Sort modules when checking for changes
* Compare consistent checkpoint values
2024-10-26 21:10:05 +01:00
DenOfEquity
d4d8ad406e
save (Hires) Distilled CFG to infotext (#2172)
changing hires model could lead to not writing
2024-10-24 20:37:34 +01:00
DenOfEquity
9a698e26d6
Properly load/save infotext for empty selection of hrfix additional modules (#2156)
empty selection for *Hires VAE / TE* means 'use modules built-in to the model file', same as top-row VAE / TE selection. But this must be written to infotext as something, to distinguish from the non-HiRes case.
2024-10-23 11:08:45 +01:00
DenOfEquity
0c97a5347a
properly load/save 'Use same choices' infotext (#2147)
* save 'Use same choices' to infotext, and load
* reload models as needed for batch iterations
2024-10-22 16:34:40 +01:00
Kazancev Danil
518e3cdbd5
fix txt2img pydantic error (#2138)
Co-authored-by: kazanplova <kazanplova@mt-dev-gpu-hotel-01.novalocal>
2024-10-22 15:31:58 +01:00
DenOfEquity
e4ad1140c8
handle before_process scripts earlier (#2132)
this allows the built-in extension 'extra options section' to override correctly
2024-10-21 11:07:48 +01:00
DenOfEquity
aaa2fe761b
Hires additional modules (#2116)
adds selection of none/same/different modules for hiresfix
('Use same choices' default option has priority over other selections made at same time.)
includes saving/loading from infotext
2024-10-21 11:03:12 +01:00
catboxanon
edc46380cc
Automatically enable ztSNR when applicable (#2122) 2024-10-19 20:33:34 -04:00
catboxanon
aba35cde5f Fix Zero Terminal SNR option 2024-10-19 12:28:14 -04:00
DenOfEquity
a06cfc9634
Hiresfix checkpoint (#2100)
restores checkpoint selection for highres fix
2024-10-17 13:39:42 +01:00
altoiddealer
2c543719e3
Improve options management (#2078)
- `/sdapi/v1/options` GET now calls `get_config()` from **sysinfo** module, instead of from its own version of the function.

- Defined a new, flexible and more robust `set_config()` function in **sysinfo** module, which:
  - obsoletes redundant code
  - skips updating values that are unchanged
  - has flexible args for both API and UI use

- `/sdapi/v1/options` POST and `override_settings` now use the new `set_config()` function.  `set_config()` could possibly obsolete additional functions, but I'm not going to get into that just yet.

- Options for `forge_additional_modules` can now be provided either as the file path, or just the module name.

- Most importantly, `refresh_model_loading_parameters()` is now only called ONCE per request, and **only** if necessary.

- It is now much easier to call `shared.opts.save()` as needed
2024-10-16 11:21:54 +01:00
altoiddealer
cce30d3340
Include Extra Images via API (#2066) 2024-10-15 13:52:08 +01:00
altoiddealer
77464215c3
Make SD Models work with Override Settings (#2054)
* Do refresh load params for modules
* Adjust call order for model mgmt/prompt cache
* new function `manage_model_and_prompt_cache()` to improve code clarity
2024-10-14 11:47:39 +01:00
altoiddealer
862c7a589e
API Improvements: Modules Change AND Restore override_settings (#2027)
* Improve API modules change
* Restore override_settings and make it work
* Simplify some memory management
2024-10-13 12:29:02 +01:00
DenOfEquity
cb412b290b
CFG and Distilled CFG for hiresfix (#1810) 2024-09-13 15:01:40 +01:00
DenOfEquity
720b80daea
force clipskip to int (#1775)
#1760, original solution by cmdr2. extended to 2 other locations where setting is read. I could replicate the issue only by manually entering a decimal value.

Possibly also #1764. Though I don't know how the clipskip setting became a string.
2024-09-10 14:39:53 +01:00
layerdiffusion
d1d0ec46aa Maintain patching related
1. fix several problems related to layerdiffuse not unloaded
2. fix several problems related to Fooocus inpaint
3. Slightly speed up on-the-fly LoRAs by precomputing them to computation dtype
2024-08-30 15:18:21 -07:00
layerdiffusion
df598c4df5 add "Diffusion in Low Bits" to info text 2024-08-22 23:23:14 -07:00
layerdiffusion
08f7487590 revise "send distilled_cfg_scale when generating hires conds" 2024-08-22 06:35:13 -07:00
DenOfEquity
bfd7fb1d9f
send distilled_cfg_scale when generating hires conds (#1403) 2024-08-22 06:33:48 -07:00
layerdiffusion
14ac95f908 fix 2024-08-20 01:37:01 -07:00