ComfyUI/comfy
rattus 18e7d6dba5
mm/mp: always unload re-used but modified models (#10724)
The partial unloader path in model re-use flow skips straight to the
actual unload without any check of the patching UUID. This means that
if you do an upscale flow with a model patch on an existing model, it
will not apply your patchings.

Fix by delaying the partial_unload until after the uuid checks. This
is done by making partial_unload a model of partial_load where extra_mem
is -ve.
2025-11-12 16:19:53 -05:00
..
audio_encoders
cldm
comfy_types LoRA Trainer: LoRA training node in weight adapter scheme (#8446) 2025-06-13 19:25:59 -04:00
extra_samplers
image_encoders
k_diffusion
ldm Make ScaleROPE node work on Flux. (#10686) 2025-11-08 15:52:02 -05:00
sd1_tokenizer
t2i_adapter
taesd
text_encoders Implement gemma 3 as a text encoder. (#10241) 2025-10-06 22:08:08 -04:00
weight_adapter
checkpoint_pickle.py Remove pytorch_lightning dependency. 2023-06-13 10:11:33 -04:00
cli_args.py Enable pinned memory by default on Nvidia. (#10656) 2025-11-05 18:08:13 -05:00
clip_config_bigg.json
clip_model.py
clip_vision_config_g.json
clip_vision_config_h.json
clip_vision_config_vitl_336_llava.json
clip_vision_config_vitl_336.json
clip_vision_config_vitl.json
clip_vision_siglip_384.json Support new flux model variants. 2024-11-21 08:38:23 -05:00
clip_vision_siglip_512.json Support 512 siglip model. 2025-04-05 07:01:01 -04:00
clip_vision.py
conds.py
context_windows.py
controlnet.py Fix Race condition in --async-offload that can cause corruption (#10501) 2025-10-29 17:17:46 -04:00
diffusers_convert.py Remove useless code. 2025-01-24 06:15:54 -05:00
diffusers_load.py
float.py
gligen.py
hooks.py
latent_formats.py
lora_convert.py
lora.py
model_base.py Mixed Precision Quantization System (#10498) 2025-10-28 16:20:53 -04:00
model_detection.py Mixed Precision Quantization System (#10498) 2025-10-28 16:20:53 -04:00
model_management.py mm/mp: always unload re-used but modified models (#10724) 2025-11-12 16:19:53 -05:00
model_patcher.py mm/mp: always unload re-used but modified models (#10724) 2025-11-12 16:19:53 -05:00
model_sampling.py
nested_tensor.py WIP way to support multi multi dimensional latents. (#10456) 2025-10-23 21:21:14 -04:00
ops.py ops: Put weight cast on the offload stream (#10697) 2025-11-09 22:52:11 -05:00
options.py
patcher_extension.py
pixel_space_convert.py
quant_ops.py More fp8 torch.compile regressions fixed. (#10625) 2025-11-03 22:14:20 -05:00
rmsnorm.py
sample.py Fix mistake. (#10484) 2025-10-25 23:07:29 -04:00
sampler_helpers.py
samplers.py WIP way to support multi multi dimensional latents. (#10456) 2025-10-23 21:21:14 -04:00
sd1_clip_config.json
sd1_clip.py
sd.py Add RAM Pressure cache mode (#10454) 2025-10-30 17:39:02 -04:00
sdxl_clip.py
supported_models_base.py Mixed Precision Quantization System (#10498) 2025-10-28 16:20:53 -04:00
supported_models.py
utils.py WIP way to support multi multi dimensional latents. (#10456) 2025-10-23 21:21:14 -04:00