You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Environment
• ComfyUI Desktop (official installer version)
• Windows 11
• GPU: NVIDIA RTX 3060 12GB
• RAM: 32GB
• PyTorch: 2.10.0+cu128
• CUDA: cu128
Current version:
ComfyUI version: 0.24.1
Problem Summary
After updating ComfyUI Desktop to Core 0.24.1, model execution became significantly slower.
Previously, after generating an image, the loaded checkpoint, CLIP, text encoder and VAE remained resident in VRAM. Subsequent generations would start immediately.
After the update, ComfyUI unloads all models after every generation.
The next generation always triggers a complete reload of:
• Checkpoint
• CLIP (Lumina2)
• Text Encoder (ZImageTEModel_)
• AutoencodingEngine (VAE)
This dramatically increases generation time.
Evidence
ComfyUI startup log:
Set vram state to: NORMAL_VRAM
Using async weight offloading with 2 streams
DynamicVRAM support detected and enabled
VRAM mode is NORMAL_VRAM.
No LOW_VRAM or NOVRAM mode is enabled.
Runtime Behavior
Every generation produces messages similar to:
Requested to load ZImageTEModel_
Model ZImageTEModel_ prepared for dynamic VRAM loading.
Requested to load Lumina2
Model Lumina2 prepared for dynamic VRAM loading.
Requested to load AutoencodingEngine
Model AutoencodingEngine prepared for dynamic VRAM loading.
After generation completes:
Prompt executed in ~155 seconds
VRAM Verification
Using:
nvidia-smi -l 1
Observed behavior:
Before generation:
VRAM usage ~10-11 GB
After generation completes:
VRAM usage drops to ~936 MB
This confirms that the models are actually being unloaded from VRAM rather than simply being remapped.
The next generation must reload all models again.
Additional Findings
Comfy settings file contains no user-configurable options related to:
• DynamicVRAM
• Weight Offloading
• Async Weight Offloading
• Memory Management
• Model Cache
• Model Retention
Example:
"Comfy.Server.LaunchArgs": {}
"Comfy.Server.ServerConfigValues": {}
There appears to be no exposed UI setting or configuration file entry allowing users to disable this behavior.
Expected Behavior
The previous behavior was:
Load model once
Generate image
Keep model resident in VRAM
Subsequent generations reuse loaded models
This provided significantly faster generation times.
Actual Behavior
Current behavior:
Load model
Generate image
Unload all models
VRAM drops to ~936 MB
Reload all models for next generation
Request
Please provide:
• A way to disable DynamicVRAM unloading.
• A way to disable async weight offloading.
• A "Keep models loaded in VRAM" option.
• Documentation describing the new memory management behavior introduced in 0.24.x.
This behavior causes substantial performance regression on RTX 3060 12GB systems compared to previous releases.
App Version
Environment
• ComfyUI Desktop (official installer version)
• Windows 11
• GPU: NVIDIA RTX 3060 12GB
• RAM: 32GB
• PyTorch: 2.10.0+cu128
• CUDA: cu128
Current version:
ComfyUI version: 0.24.1
Problem Summary
After updating ComfyUI Desktop to Core 0.24.1, model execution became significantly slower.
Previously, after generating an image, the loaded checkpoint, CLIP, text encoder and VAE remained resident in VRAM. Subsequent generations would start immediately.
After the update, ComfyUI unloads all models after every generation.
The next generation always triggers a complete reload of:
• Checkpoint
• CLIP (Lumina2)
• Text Encoder (ZImageTEModel_)
• AutoencodingEngine (VAE)
This dramatically increases generation time.
Evidence
ComfyUI startup log:
Set vram state to: NORMAL_VRAM
Using async weight offloading with 2 streams
DynamicVRAM support detected and enabled
VRAM mode is NORMAL_VRAM.
No LOW_VRAM or NOVRAM mode is enabled.
Runtime Behavior
Every generation produces messages similar to:
Requested to load ZImageTEModel_
Model ZImageTEModel_ prepared for dynamic VRAM loading.
Requested to load Lumina2
Model Lumina2 prepared for dynamic VRAM loading.
Requested to load AutoencodingEngine
Model AutoencodingEngine prepared for dynamic VRAM loading.
After generation completes:
Prompt executed in ~155 seconds
VRAM Verification
Using:
nvidia-smi -l 1
Observed behavior:
Before generation:
VRAM usage ~10-11 GB
After generation completes:
VRAM usage drops to ~936 MB
This confirms that the models are actually being unloaded from VRAM rather than simply being remapped.
The next generation must reload all models again.
Additional Findings
Comfy settings file contains no user-configurable options related to:
• DynamicVRAM
• Weight Offloading
• Async Weight Offloading
• Memory Management
• Model Cache
• Model Retention
Example:
"Comfy.Server.LaunchArgs": {}
"Comfy.Server.ServerConfigValues": {}
There appears to be no exposed UI setting or configuration file entry allowing users to disable this behavior.
Expected Behavior
The previous behavior was:
This provided significantly faster generation times.
Actual Behavior
Current behavior:
Request
Please provide:
• A way to disable DynamicVRAM unloading.
• A way to disable async weight offloading.
• A "Keep models loaded in VRAM" option.
• Documentation describing the new memory management behavior introduced in 0.24.x.
This behavior causes substantial performance regression on RTX 3060 12GB systems compared to previous releases.
Expected Behavior
As stated above.
Actual Behavior
As stated above.
Steps to Reproduce
As stated above.
Debug Logs
Browser Logs
No response
Settings JSON
No response
Other
No response