Commit graph

4853 commits

Author SHA1 Message Date
Michael Cahill
59e46fa069 M10: ProcessingRunner skeleton
- Add modules/runtime/runner.py with ProcessingRunner and ProcessingRequest
- Wire process_images to delegate through runner (internal only)
- Add test/quality/test_processing_runner.py contract test

Behavior-preserving. Zero blast radius. All callers unchanged.

Made-with: Cursor
2026-03-11 21:50:25 -07:00
Michael Cahill
372e0673f3 feat(M09): introduce RuntimeContext and attach to processing object
- Add modules/runtime_context.py with RuntimeContext dataclass
- Attach p.runtime_context in process_images_inner() after opts_snapshot
- Write-only: no migration of shared.* reads yet
- Completes Phase II runtime seam preparation

Made-with: Cursor
2026-03-11 20:06:35 -07:00
Michael Cahill
be214f4eda M08: Thread opts_snapshot into process_images_inner for save-related reads
- Replace opts.foo with p.opts_snapshot.foo for safe read-only settings
- Migrated: save_images_before_face_restoration, save_images_before_color_correction,
  samples_format, return_mask, save_mask, return_mask_composite, save_mask_composite,
  grid_only_if_multiple, return_grid, grid_save, grid_format, grid_extended_filename
- Leave save_samples(), sample_hr_pass(), create_infotext(), metadata on shared.opts
- Behavior-preserving; no change to save paths or naming

Made-with: Cursor
2026-03-11 19:43:06 -07:00
Michael Cahill
87c8fe8651 M07: Opts snapshot introduction
- Add modules/opts_snapshot.py with create_opts_snapshot(opts)
- Capture snapshot in process_images_inner after prepare_prompt_seed_state
- Full shallow copy of opts.data via SimpleNamespace
- No runtime behavior change; snapshot write-only for M07

Made-with: Cursor
2026-03-10 00:33:55 -07:00
Michael Cahill
92fbf62319 M06: Extract prompt/seed prep to prompt_seed_prep.py
- Add modules/prompt_seed_prep.py with prepare_prompt_seed_state(p)
- Replace inline all_seeds/all_subseeds logic in process_images_inner
- Mutate p.seed/p.subseed before call; prepare_prompt_seed_state writes to p
- Behavior-preserving: fill_fields_from_opts, setup_prompts unchanged
- Phase II runtime seam preparation

Made-with: Cursor
2026-03-09 23:15:47 -07:00
Michael Cahill
5fe8245957 M05: Override isolation / temporary opts seam
- Add modules/runtime_utils.py with temporary_opts context manager
- Refactor process_images() to use temporary_opts for override application
- Preserve opts.set(is_api=True, run_callbacks=False) and setattr restore
- Add test/quality/test_opts_override.py (samples_save, restore_afterwards)
- Model/VAE reload and token merging remain in process_images per decisions

Made-with: Cursor
2026-03-09 14:14:13 -07:00
Michael Cahill
fbd17d1162 M02: API CI truthfulness, fake inference for txt2img/img2img, CONTRIBUTING
Made-with: Cursor
2026-03-08 15:43:47 -07:00
Michael Cahill
9ae76265ba M01: Add --no-build-isolation to clip install in launch_utils
Fixes pkg_resources in pip's isolated build env. Build-time fix only.

Made-with: Cursor
2026-03-07 15:38:39 -08:00
AUTOMATIC1111
1d7e9eca09 Merge pull request #16275 from AUTOMATIC1111/fix-image-upscale-on-cpu
fix image upscale on cpu
2024-07-27 15:48:22 +03:00
AUTOMATIC1111
986c31dcfe
Merge pull request #16180 from light-and-ray/do_not_send_image_size_on_paste_inpaint
do not send image size on paste inpaint
2024-07-20 11:47:27 +03:00
AUTOMATIC1111
5096c163c1
Merge pull request #16173 from AUTOMATIC1111/robust-sysinfo
Robust sysinfo
2024-07-20 11:46:45 +03:00
AUTOMATIC1111
7b99e14ab1
Merge pull request #16194 from light-and-ray/fix_cannot_write_mode_P_as_jpeg
fix OSError: cannot write mode P as JPEG
2024-07-20 11:46:24 +03:00
AUTOMATIC1111
7c8a4ccecb
Merge pull request #16202 from light-and-ray/do_not_break_progressbar_on_non-job_actions
[bug] do not break progressbar on non-job actions (add wrap_gradio_call_no_job)
2024-07-20 11:45:57 +03:00
AUTOMATIC1111
5a10bb9aa6
Merge pull request #16235 from v0xie/beta-sampling
Feature: Beta scheduler
2024-07-20 11:43:39 +03:00
AUTOMATIC1111
fa0ba939a7
Merge pull request #16218 from Haoming02/resize-tabs-id
add ids to the resize tabs in img2img
2024-07-20 11:43:03 +03:00
AUTOMATIC1111
e09104a126
Merge pull request #16239 from AUTOMATIC1111/fix-upscale-logic
fix upscale logic
2024-07-20 11:41:34 +03:00
AUTOMATIC1111
141d4b71b1
Merge pull request #16242 from AUTOMATIC1111/option-to-disable-save-button-log.csv-
option to disable save button log.csv
2024-07-20 11:40:39 +03:00
w-e-w
24a23e1225 option to disable save button log.csv 2024-07-20 15:59:44 +09:00
v0xie
8749540602 fix lint 2024-07-19 15:33:07 -07:00
v0xie
9de7084884 always add alpha/beta to extra_generation_params when schedule is Beta 2024-07-19 14:54:24 -07:00
v0xie
94275b115c enforce beta_dist_alpha / beta_dist_beta > 0 to avoid nan 2024-07-19 14:15:55 -07:00
v0xie
f6f055a93d use configured alpha/beta values in Beta scheduling 2024-07-19 14:08:44 -07:00
v0xie
3a5a66775c add new options 'beta_dist_alpha', 'beta_dist_beta' 2024-07-19 14:08:08 -07:00
v0xie
7e1bd3e3c3 refactor: syntax and add 0.0 on new line 2024-07-19 13:44:22 -07:00
w-e-w
964fc13a99 fix upscale logic 2024-07-20 04:01:13 +09:00
v0xie
a5f66b5003 feature: beta scheduler 2024-07-18 15:53:54 -07:00
Haoming
f5866199c4 add ids 2024-07-16 11:07:22 +08:00
AUTOMATIC1111
7e5cdaab4b SD3 lora support 2024-07-15 08:31:55 +03:00
AUTOMATIC1111
b4d62a05af
Merge pull request #16164 from AUTOMATIC1111/sd3_textual_inversion
sd3 TI support
2024-07-13 09:27:46 +03:00
Andray
589dda3cf2 do not break progressbar on non-job actions 2024-07-12 16:08:36 +04:00
Andray
3d2dbefcde fix OSError: cannot write mode P as JPEG 2024-07-11 23:54:25 +04:00
Andray
d57ff884ed do not send image size on paste inpaint 2024-07-09 16:12:39 +04:00
w-e-w
6a7042fe2f move git_status to sysinfo 2024-07-09 02:27:22 +09:00
w-e-w
72cfa2829d safer Imports 2024-07-09 02:27:22 +09:00
w-e-w
4debd4d3ef compact get_info_from_repo_path 2024-07-09 02:27:22 +09:00
w-e-w
3f6dcda3e5 Extensions info full commit hash 2024-07-09 02:23:23 +09:00
w-e-w
27d96fa608 fallback Extensions info 2024-07-09 02:23:23 +09:00
w-e-w
dd4f798b97 fallback get_config() 2024-07-09 02:23:23 +09:00
w-e-w
27947a79d6 git status 2024-07-09 02:23:23 +09:00
w-e-w
11f827c58b use pip freeze --all to get packages 2024-07-09 02:23:23 +09:00
w-e-w
7d7f7f4b49 sysinfo handle psutil not working 2024-07-08 16:40:20 +09:00
w-e-w
1b0823db94 shlex.join launch args in console log 2024-07-08 15:32:45 +09:00
AUTOMATIC1111
11cfe0dd05 sd3 TI support 2024-07-07 16:36:53 +03:00
AUTOMATIC1111
1da4907927
Merge pull request #16153 from light-and-ray/fix_ui_flashing_on_reload_and_fast_scrollong
fix ui flashing on reloading and fast scrollong
2024-07-07 08:37:58 +03:00
w-e-w
ec580374e5 background-color: background_fill_primary 2024-07-07 00:22:27 +09:00
AUTOMATIC1111
74069addc3 SD2 v autodetection fix 2024-07-06 11:00:22 +03:00
AUTOMATIC1111
477869c044
Merge pull request #16079 from light-and-ray/fix_sd2_switching
fix sd2 switching
2024-07-06 10:41:16 +03:00
AUTOMATIC1111
ffead92d4e Revert "Merge pull request #16078 from huchenlei/fix_sd2"
This reverts commit 4cc3add770, reversing
changes made to 50514ce414.
2024-07-06 10:40:48 +03:00
AUTOMATIC1111
0a6628bad0 remove mentions of specific samplers from CFG denoiser code 2024-07-06 10:31:08 +03:00
AUTOMATIC1111
eb112c6f88
Merge pull request #16035 from v0xie/cfgpp
Add new sampler DDIM CFG++
2024-07-06 10:18:49 +03:00