ComfyUI/comfy
rattus 8d723d2caa
Fix/tweak pinned memory accounting (#13221)
* mm: Lower windows pin threshold

Some workflows have more extranous use of shared GPU memory than is
accounted for in the 5% pin headroom. Lower this for safety.

* mm: Remove pin count clearing threshold.

TOTAL_PINNED_MEMORY is shared between the legacy and aimdo pinning
systems, however this catch-all assumes only the legacy system exists.
Remove the catch-all as the PINNED_MEMORY buffer is coherent already.
2026-03-29 16:43:24 -07:00
..
audio_encoders
cldm
comfy_types
extra_samplers
image_encoders
k_diffusion
ldm
sd1_tokenizer
t2i_adapter
taesd
text_encoders
weight_adapter
cli_args.py
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_siglip2_base_naflex.json
clip_vision_siglip_384.json
clip_vision_siglip_512.json
clip_vision.py
conds.py
context_windows.py
controlnet.py
diffusers_convert.py
diffusers_load.py
float.py
gligen.py
hooks.py
latent_formats.py
lora_convert.py
lora.py
memory_management.py
model_base.py
model_detection.py
model_management.py Fix/tweak pinned memory accounting (#13221) 2026-03-29 16:43:24 -07:00
model_patcher.py
model_sampling.py
nested_tensor.py
ops.py
options.py
patcher_extension.py
pinned_memory.py
pixel_space_convert.py
quant_ops.py
rmsnorm.py
sample.py
sampler_helpers.py
samplers.py
sd1_clip_config.json
sd1_clip.py
sd.py
sdxl_clip.py
supported_models_base.py
supported_models.py
utils.py
windows.py