Skip to content

Memory leak / Accumulation of VRAM garbage between runs #279

@ansovald

Description

@ansovald

When calling run from a custom loop, it can happen that when switching models or games, something is left in the VRAM (observed up to 90GB so far), leading to OOM. Calling gc.collect() between runs fixes the issue, but I couldn't find out what exactly is left behind in the VRAM

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions