Skip to content

GFPGAN executing fine for 1 image at a time, but OOM when using -n parameter, is there method to clear memory in between ? #112

Description

@smoke2007

I read about GFPGAN needing more GPU memory, however I always manage to get it working with 1 generation for example for img2img, it produces a double resolution correctly, however if I used -n2 or anything higher, the next generation fails due to a Out of memory error. Is it possible to clear the memory between generations as for example, the rtx 3060 ti seems to be able to always execute it correctly for only 1 image but not in batch?

Thank you, awesome project with insanely fast developments !!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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