Spaces:
Runtime error
Runtime error
feature: Add mode option for generating S3 URL or b64 JSON in SDXL-LoRA inference
d8b5430
import gc | |
import torch | |
def flush(): | |
gc.collect() | |
torch.cuda.empty_cache() |