Skip to content

Cache issue #139

@apo818

Description

@apo818

When I first run the workflow in webui, comfyui loads the model. When I run the workflow again, it skips the step of loading the model, so the second subgraph is fast. However, after saving the script, the model is loaded every time it runs. I want to use this script as a service function in Flask. If there were many nodes in the workflow and they were loaded every time, it would take too long. Can we implement the caching principle of webui in the script?

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