Skip to content

Can this be used to clean up ram used when offloading models from vram? #10

@stranger-games

Description

@stranger-games

Hi

There's an issue with comfyui that eats up ram very quickly and causing crashes.

I think the main reason is because when it cleans up a model from vram it moves it to ram.

And as stated in this issue I have a loop that goes through wan, qwen, flux klien along with vae, clip for each one and some loras. When the model is not used going to system ram eventually causes system OOM. So can I use this node unload unused model from both vram and ram and when the processing loop needs a model again it gets loads from disk not memory?

Thanks for advance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions