picpilot-server / utils.py
VikramSingh178's picture
feature: Add mode option for generating S3 URL or b64 JSON in SDXL-LoRA inference
d8b5430
raw
history blame
85 Bytes
import gc
import torch
def flush():
gc.collect()
torch.cuda.empty_cache()