Skip to content

stable diffusion machine memory leak #2284

@wen020

Description

@wen020

I have encountered a memory leak problem, we need to store and switch the model of stable diffusion in memory, but when we convert the model in memory to gpu, the memory is not reclaimed, and at the same time, when the model in memory is deleted, the memory also not recycled.
Therefore, what should I do to reclaim the machine memory occupied by the stable diffusion model.

code:
51739229-1161-4286-9FEB-728C4EA7E976.png

runing log:
FF8085CC-A11A-48C3-94ED-1F5BE84AF27A.png

Metadata

Metadata

Assignees

No one assigned

    Labels

    staleIssues that haven't received updates

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions