Free up memory after a prompt

#13
by x0x7 - opened

I'm a bit new to AI but this is as reasonable a place to ask as the frames do persist quite a lot of VRAM. How does one free VRAM before starting a new prompt?

From what I've seen in some examples I think it's done with :

torch.cuda.empty_cache()

Sign up or log in to comment