automatic/modules
CalamitousFelicitousness 76aa949a26 refactor: integrate sharpfin for high-quality image resize
Vendor sharpfin library (Apache 2.0) and add centralized wrapper
module (images_sharpfin.py) replacing torchvision tensor/PIL
conversion and resize operations throughout the codebase.

- Add modules/sharpfin/ vendored library with MKS2021, Lanczos3,
  Mitchell, Catmull-Rom kernels and optional Triton sparse acceleration
- Add modules/images_sharpfin.py wrapper with to_tensor(), to_pil(),
  pil_to_tensor(), normalize(), resize(), resize_tensor()
- Add resize_quality and resize_linearize_srgb settings
- Add MKS2021 and Lanczos3 upscaler entries
- Replace torchvision.transforms.functional imports across 18 files
- to_pil() auto-detects HWC/BHWC layout, adds .round() before uint8
- Sparse Triton path falls back to dense GPU on compilation failure
- Mixed-axis resize splits into two single-axis scale() calls
- Masks and non-sRGB data always use linearize=False
2026-02-11 09:57:37 +01:00
..
apg fix gallery save/delete 2026-01-20 09:53:20 +01:00
api fix(caption): address PR review feedback 2026-02-11 02:50:06 +00:00
ben2 integrate kanvas with server-side masking 2025-11-15 11:56:56 -05:00
caption refactor: integrate sharpfin for high-quality image resize 2026-02-11 09:57:37 +01:00
cfgzero
civitai update base models 2025-12-30 18:36:02 +01:00
control cleanup todo 2026-01-19 11:10:05 +01:00
dml
face Type standardization in `processing_class` 2026-01-21 16:35:19 -08:00
facelib cleanup todo 2026-01-19 11:10:05 +01:00
flash_attn_triton_amd cleanup todo 2026-01-19 11:10:05 +01:00
framepack move vae to subfolder 2026-01-30 11:34:25 +01:00
ggml Fix importlib.metadata 2025-11-27 14:47:56 -08:00
hidiffusion fix gallery save/delete 2026-01-20 09:53:20 +01:00
intel cleanup 2026-01-10 20:48:36 +03:00
linfusion add kanvas integration 2025-11-09 15:41:20 -05:00
lora add --remote cmd opt 2026-02-07 10:17:32 +00:00
ltx fix/add element names for some video controls that were duplicate/missing 2026-01-21 19:53:11 -05:00
merging
onnx_impl fix gallery save/delete 2026-01-20 09:53:20 +01:00
pag Fix if cls is None 2026-01-21 18:16:47 -08:00
postprocess refactor: integrate sharpfin for high-quality image resize 2026-02-11 09:57:37 +01:00
ras cleanup todo 2026-01-19 11:10:05 +01:00
res4lyf add sampler api endpoints 2026-02-04 13:08:31 +01:00
rife
schedulers add sampler api endpoints 2026-02-04 13:08:31 +01:00
sdnq SDNQ update CosmosTransformer3DModel keys 2026-02-04 10:19:23 +03:00
seedvr linting 2025-10-16 19:39:05 -04:00
sharpfin refactor: integrate sharpfin for high-quality image resize 2026-02-11 09:57:37 +01:00
taesd cleanup todo 2026-01-19 11:10:05 +01:00
teacache
todo
vae fix lora unload and improve preview error handler 2026-02-07 09:07:34 +00:00
video_models move vae to subfolder 2026-01-30 11:34:25 +01:00
attention.py get_hip_arch_name -> get_hip_agent, use amdhip64_7.dll served within rocm package 2026-01-03 21:00:36 +09:00
cachedit.py allow lora specifier to select model component. see changelog/wiki for docs on how to. 2025-09-23 15:25:13 -04:00
call_queue.py improve wrap_gradio_call 2026-01-20 18:56:49 +01:00
cmd_args.py ability to disable parts of the app 2025-11-03 19:36:55 -05:00
detailer.py
devices.py style(caption): fix lint warnings across caption module 2026-02-11 02:50:06 +00:00
devices_mac.py
errorlimiter.py Move to `modules` 2026-01-24 02:16:05 -08:00
errors.py log captured exceptions 2026-01-24 13:57:13 +01:00
extensions.py Merge pull request #4507 from awsr/ext-table 2026-01-01 10:28:52 +01:00
extra_networks.py allow different lora in hires 2026-02-09 22:31:00 +01:00
extras.py upadte qwen pruning and allow hf models in subfolders 2025-10-04 15:49:20 -04:00
face_restoration.py
files_cache.py
generation_parameters_copypaste.py fix metadata save and temp file handler 2026-01-28 19:28:49 +01:00
gr_hijack.py kanvas bindings 2025-11-07 12:21:48 -05:00
gr_tempdir.py fix metadata save and temp file handler 2026-01-28 19:28:49 +01:00
hashes.py relocate all jsons to data 2026-01-24 13:54:40 +01:00
history.py cleanup todo 2026-01-19 11:10:05 +01:00
images.py Revert "Mark public re-exports" 2026-02-09 18:30:18 +01:00
images_grid.py guard against images list and avoid pipeline switches 2025-10-28 14:38:35 -04:00
images_namegen.py fix metadata save and temp file handler 2026-01-28 19:28:49 +01:00
images_resize.py refactor: integrate sharpfin for high-quality image resize 2026-02-11 09:57:37 +01:00
images_sharpfin.py refactor: integrate sharpfin for high-quality image resize 2026-02-11 09:57:37 +01:00
img2img.py feat(settings): add base path support for output folders 2026-01-16 16:24:05 +00:00
infotext.py update override settings 2025-10-30 14:01:32 -04:00
infotext_utils.py
ipadapter.py Update typing 2026-01-21 18:15:20 -08:00
json_helpers.py relocate all jsons to data 2026-01-24 13:54:40 +01:00
lama.py refactor: integrate sharpfin for high-quality image resize 2026-02-11 09:57:37 +01:00
loader.py res4lyf epsilon validated 2026-01-31 12:37:17 +00:00
localization.py
masking.py cleanup todo 2026-01-19 11:10:05 +01:00
memmon.py
memstats.py lint 2025-11-17 20:12:47 -05:00
migrate.py relocate all jsons to data 2026-01-24 13:54:40 +01:00
mit_nunchaku.py refactor: update nunchaku repo URLs and version handling 2026-02-07 22:27:05 +00:00
model_quant.py feat: add Nunchaku group to reference 2026-02-07 22:27:05 +00:00
model_te.py
model_tools.py
modeldata.py fix: Anima pipeline detection, custom module loading, and model type 2026-02-02 00:44:51 +00:00
modelloader.py allow unsafe ssl context for downloads 2026-01-19 17:36:01 +01:00
models_hf.py fix hf downloader 2025-10-17 13:42:28 -04:00
modelstats.py upadte qwen pruning and allow hf models in subfolders 2025-10-04 15:49:20 -04:00
modular.py add hunyuanimage-2.1 2025-10-24 10:29:58 -04:00
modular_guiders.py add hunyuanimage-2.1 2025-10-24 10:29:58 -04:00
olive_script.py
options.py move vae to subfolder 2026-01-30 11:34:25 +01:00
options_handler.py Rewrite to satisfy type checker 2026-01-13 16:44:54 -08:00
para_attention.py
patches.py
paths.py fix metadata save and temp file handler 2026-01-28 19:28:49 +01:00
paths_internal.py
postprocessing.py feat(settings): add base path support for output folders 2026-01-16 16:24:05 +00:00
processing.py allow different lora in hires 2026-02-09 22:31:00 +01:00
processing_args.py feat: add Anima (Cosmos-Predict-2B variant) pipeline support 2026-02-02 00:44:51 +00:00
processing_callbacks.py lint 2026-01-16 08:56:30 +01:00
processing_class.py Type standardization in `processing_class` 2026-01-21 16:35:19 -08:00
processing_correction.py move vae to subfolder 2026-01-30 11:34:25 +01:00
processing_diffusers.py refactor: integrate sharpfin for high-quality image resize 2026-02-11 09:57:37 +01:00
processing_helpers.py use base steps as-is for non sd/sdxl models 2026-01-23 10:12:11 +01:00
processing_info.py add scheduler class to image metadata 2026-02-04 13:20:26 +01:00
processing_prompt.py allow unsafe ssl context for downloads 2026-01-19 17:36:01 +01:00
processing_vae.py refactor: integrate sharpfin for high-quality image resize 2026-02-11 09:57:37 +01:00
progress.py disabling live preview should not disable progress updates 2025-10-21 11:07:47 -04:00
prompt_parser.py
prompt_parser_diffusers.py refactor prompt set 2026-01-19 10:51:28 +01:00
prompt_parser_xhinker.py lint and crlf 2026-01-24 10:28:46 +01:00
rocm.py update therock sources 2026-02-02 12:28:43 +09:00
rocm_triton_windows.py Fix rocm triton windows patch 2026-01-20 20:58:04 +08:00
safe.py linting 2025-10-16 19:39:05 -04:00
script_callbacks.py
script_loading.py
scripts.py
scripts_auto_postprocessing.py
scripts_manager.py metadata restore to always-on scrips 2026-02-05 10:21:49 +01:00
scripts_postprocessing.py fix postprocess 2025-11-04 08:23:45 -05:00
sd_checkpoint.py relocate all jsons to data 2026-01-24 13:54:40 +01:00
sd_detect.py fix anima 2026-02-05 16:55:06 +01:00
sd_hijack.py
sd_hijack_accelerate.py
sd_hijack_dynamic_atten.py add typing to sdpa hijacks 2025-09-10 04:43:57 +03:00
sd_hijack_freeu.py
sd_hijack_hypertile.py
sd_hijack_safetensors.py Update runai-model-streamer logging integration 2025-12-02 02:01:51 +00:00
sd_hijack_te.py cleanup/refactor state history 2025-09-12 16:12:45 -04:00
sd_hijack_utils.py
sd_hijack_vae.py ltx2 improvements 2026-01-16 17:31:56 +00:00
sd_models.py one-more-offload 2026-02-04 15:05:22 +01:00
sd_models_compile.py Unify compile Upscaler compile command 2025-09-03 18:51:21 +03:00
sd_models_utils.py seedvt2 2025-10-12 15:35:08 -04:00
sd_modules.py
sd_offload.py fix lora load 2026-01-21 08:45:45 +01:00
sd_samplers.py add sampler api endpoints 2026-02-04 13:08:31 +01:00
sd_samplers_common.py refactor: integrate sharpfin for high-quality image resize 2026-02-11 09:57:37 +01:00
sd_samplers_diffusers.py update schedulers and lint everything 2026-02-04 11:58:02 +01:00
sd_te_remote.py experiment: remote-t5 2025-08-15 10:56:36 -04:00
sd_unet.py fix: skip Nunchaku offloading for SDXL models 2026-02-07 22:27:05 +00:00
sd_vae.py force align width/height to vae scale factor 2026-01-05 09:42:37 +01:00
server.py
shared.py refactor: integrate sharpfin for high-quality image resize 2026-02-11 09:57:37 +01:00
shared_defaults.py get_hip_arch_name -> get_hip_agent, use amdhip64_7.dll served within rocm package 2026-01-03 21:00:36 +09:00
shared_helpers.py
shared_items.py feat: add Anima (Cosmos-Predict-2B variant) pipeline support 2026-02-02 00:44:51 +00:00
shared_legacy.py refactor: update imports for caption module rename 2026-02-11 02:47:41 +00:00
shared_state.py disabling live preview should not disable progress updates 2025-10-21 11:07:47 -04:00
styles.py weighted wildcards: corrections after automated tests 2026-02-04 19:11:05 +01:00
sub_quadratic_attention.py
textual_inversion.py Move to `modules` 2026-01-24 02:16:05 -08:00
theme.py relocate all jsons to data 2026-01-24 13:54:40 +01:00
timer.py cleanup 2025-11-02 06:29:19 -05:00
token_merge.py
transformer_cache.py
txt2img.py feat(settings): add base path support for output folders 2026-01-16 16:24:05 +00:00
ui.py update mime-types 2025-11-14 15:47:13 -05:00
ui_caption.py fix(caption): safetensors-only downloads, model load fixes, UI default, prefill tests 2026-02-11 02:48:11 +00:00
ui_common.py refactor: update imports for caption module rename 2026-02-11 02:47:41 +00:00
ui_components.py modernui configurable grid images size 2025-08-31 12:39:59 -04:00
ui_control.py refactor: update imports for caption module rename 2026-02-11 02:47:41 +00:00
ui_control_elements.py controlnet allow processor to keep aspect-ratio for override images based on i2i or t2i resolution 2025-11-04 09:37:18 -05:00
ui_control_helpers.py refactor: update imports for caption module rename 2026-02-11 02:47:41 +00:00
ui_docs.py show_progress requires "full", "minimal", or "hidden" 2025-11-28 02:27:19 -08:00
ui_extensions.py relocate all jsons to data 2026-01-24 13:54:40 +01:00
ui_extra_networks.py feat: add Nunchaku group to reference 2026-02-07 22:27:05 +00:00
ui_extra_networks_checkpoints.py cleanup and update changelog 2026-02-09 18:20:10 +01:00
ui_extra_networks_history.py
ui_extra_networks_lora.py switch lora logic and improve ui networks filter 2026-01-14 10:31:21 +01:00
ui_extra_networks_styles.py fix detailer with lora 2025-11-09 09:14:26 -05:00
ui_extra_networks_textual_inversion.py
ui_extra_networks_vae.py handle missing version 2025-08-25 19:39:40 -04:00
ui_extra_networks_wildcards.py Fix wildcard parents() termination guard 2025-09-02 01:27:58 -04:00
ui_gallery.py Add attachment point for non-ModernUI 2026-01-04 00:37:43 -08:00
ui_guidance.py Change the default SDXL sampler to Euler A + Linear and set Guidence scale value to 4 2025-10-24 19:58:59 +03:00
ui_history.py show_progress requires "full", "minimal", or "hidden" 2025-11-28 02:27:19 -08:00
ui_img2img.py refactor: update imports for caption module rename 2026-02-11 02:47:41 +00:00
ui_javascript.py Fix incorrect variable check 2025-12-26 09:25:25 -08:00
ui_loadsave.py lint and safeguard glm 2026-01-16 09:40:48 +01:00
ui_models.py Trim leading and trailing space from doc 2026-01-13 15:41:30 -08:00
ui_models_load.py
ui_postprocessing.py process tab send-to 2025-11-12 09:19:28 -05:00
ui_prompt_styles.py
ui_sections.py refactor: update imports for caption module rename 2026-02-11 02:47:41 +00:00
ui_settings.py Simplify options init/save/load 2026-01-10 13:27:38 -08:00
ui_symbols.py refactor: update imports for caption module rename 2026-02-11 02:47:41 +00:00
ui_txt2img.py show_progress requires "full", "minimal", or "hidden" 2025-11-28 02:27:19 -08:00
ui_video.py video tab add params.txt 2025-10-22 08:39:45 -04:00
ui_video_vlm.py refactor: update imports for caption module rename 2026-02-11 02:47:41 +00:00
update.py Fix url formatting in update module 2025-11-08 14:54:34 -08:00
upscaler.py refactor: integrate sharpfin for high-quality image resize 2026-02-11 09:57:37 +01:00
upscaler_algo.py add hqx and icb interpolations 2026-02-05 11:21:17 +01:00
upscaler_simple.py refactor: integrate sharpfin for high-quality image resize 2026-02-11 09:57:37 +01:00
upscaler_spandrel.py refactor: integrate sharpfin for high-quality image resize 2026-02-11 09:57:37 +01:00
upscaler_vae.py refactor: integrate sharpfin for high-quality image resize 2026-02-11 09:57:37 +01:00
video.py unified video save 2025-10-05 20:17:32 -04:00
zluda.py clean up 2026-01-07 15:01:39 +09:00
zluda_installer.py allow unsafe ssl context for downloads 2026-01-19 17:36:01 +01:00